Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 6 of 6) sorted by relevance

/libpthread/linuxthreads/
A Dlockfile.c32 FILE *fp; in __fresetlockfiles() local
38 for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) in __fresetlockfiles()
39 __pthread_mutex_init(&fp->__lock, &attr); in __fresetlockfiles()
A Dpthread.c336 FILE *fp; in pthread_initialize() local
339 for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) { in pthread_initialize()
340 if (fp->__user_locking != 1) { in pthread_initialize()
341 fp->__user_locking = 0; in pthread_initialize()
/libpthread/nptl/sysdeps/unix/sysv/linux/
A Dfork.c43 FILE *fp; in fresetlockfiles() local
45 for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) in fresetlockfiles()
46 STDIO_INIT_MUTEX(fp->__lock); in fresetlockfiles()
53 for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) in fresetlockfiles()
54 pthread_mutex_init(&fp->__lock, &attr); in fresetlockfiles()
/libpthread/nptl/
A Dpthread_getattr_np.c76 FILE *fp = fopen ("/proc/self/maps", "rc"); in pthread_getattr_np() local
77 if (fp == NULL) in pthread_getattr_np()
87 __fsetlocking (fp, FSETLOCKING_BYCALLER); in pthread_getattr_np()
97 while (! feof_unlocked (fp)) in pthread_getattr_np()
99 if (getdelim (&line, &linelen, '\n', fp) <= 0) in pthread_getattr_np()
128 fclose (fp); in pthread_getattr_np()
A Dinit.c342 FILE *fp; in __pthread_initialize_minimal_internal() local
344 for (fp = _stdio_openlist; fp != NULL; fp = fp->__nextopen) { in __pthread_initialize_minimal_internal()
345 if (fp->__user_locking != 1) { in __pthread_initialize_minimal_internal()
346 fp->__user_locking = 0; in __pthread_initialize_minimal_internal()
A Dsem_open.c71 FILE *fp; in __where_is_shmfs() local
88 fp = __setmntent ("/proc/mounts", "r"); in __where_is_shmfs()
89 if (unlikely (fp == NULL)) in __where_is_shmfs()
91 fp = __setmntent (_PATH_MNTTAB, "r"); in __where_is_shmfs()
92 if (unlikely (fp == NULL)) in __where_is_shmfs()
98 while ((mp = __getmntent_r (fp, &resmem, buf, sizeof buf)) != NULL) in __where_is_shmfs()
136 __endmntent (fp); in __where_is_shmfs()

Completed in 16 milliseconds