Lines Matching refs:file_ptr
218 catalog->file_ptr = in __open_catalog()
221 if (__builtin_expect (catalog->file_ptr != (struct catalog_obj *) MAP_FAILED, in __open_catalog()
231 catalog->file_ptr = malloc (st.st_size); in __open_catalog()
232 if (catalog->file_ptr == NULL) in __open_catalog()
239 size_t now = __read_nocancel (fd, (((char *) catalog->file_ptr) in __open_catalog()
247 free ((void *) catalog->file_ptr); in __open_catalog()
259 if (__glibc_likely (catalog->file_ptr->magic == CATGETS_MAGIC)) in __open_catalog()
261 else if (catalog->file_ptr->magic == SWAPU32 (CATGETS_MAGIC)) in __open_catalog()
270 __munmap ((void *) catalog->file_ptr, catalog->file_size); in __open_catalog()
273 free (catalog->file_ptr); in __open_catalog()
280 catalog->plane_size = SWAP (catalog->file_ptr->plane_size); in __open_catalog()
281 catalog->plane_depth = SWAP (catalog->file_ptr->plane_depth); in __open_catalog()
286 catalog->name_ptr = &catalog->file_ptr->name_ptr[0]; in __open_catalog()
288 catalog->name_ptr = &catalog->file_ptr->name_ptr[catalog->plane_size in __open_catalog()
298 (const char *) &catalog->file_ptr->name_ptr[catalog->plane_size in __open_catalog()