Home
last modified time | relevance | path

Searched refs:file_ptr (Results 1 – 3 of 3) sorted by relevance

/glibc-2.36/catgets/
Dopen_catalog.c218 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()
[all …]
Dcatgets.c134 __munmap ((void *) catalog->file_ptr, catalog->file_size); in catclose()
138 free ((void *) catalog->file_ptr); in catclose()
Dcatgetsinfo.h42 struct catalog_obj *file_ptr; member