Home
last modified time | relevance | path

Searched refs:nr_fds (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/tools/perf/tests/
H A Dfdarray.c33 int nr_fds, err = TEST_FAIL; in test__fdarray__filter() local
42 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
43 if (nr_fds != fda->nr_alloc) { in test__fdarray__filter()
45 nr_fds, fda->nr_alloc); in test__fdarray__filter()
50 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
51 if (nr_fds != 0) { in test__fdarray__filter()
53 nr_fds, fda->nr_alloc); in test__fdarray__filter()
62 nr_fds = fdarray__filter(fda, POLLHUP, NULL, NULL); in test__fdarray__filter()
64 if (nr_fds != 1) { in test__fdarray__filter()
65 pr_debug("\nfdarray__filter()=%d != 1, should have left just one event", nr_fds); in test__fdarray__filter()
[all …]
/OK3568_Linux_fs/kernel/include/net/
H A Daf_unix.h45 atomic_t nr_fds; member
/OK3568_Linux_fs/external/security/librkcrypto/third_party/libdrm/src/
H A Dxf86drm.c3067 static int nr_fds = 0; variable
3080 for (i = 0; i < nr_fds; i++) in drmOpenOnceWithType()
3089 if (fd < 0 || nr_fds == DRM_MAX_FDS) in drmOpenOnceWithType()
3092 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnceWithType()
3093 connection[nr_fds].fd = fd; in drmOpenOnceWithType()
3094 connection[nr_fds].refcount = 1; in drmOpenOnceWithType()
3095 connection[nr_fds].type = type; in drmOpenOnceWithType()
3100 nr_fds, connection[nr_fds].BusID, in drmOpenOnceWithType()
3101 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnceWithType()
3103 nr_fds++; in drmOpenOnceWithType()
[all …]
/OK3568_Linux_fs/kernel/net/unix/
H A Daf_unix.c715 atomic_read(&u->scm_stat.nr_fds)); in unix_show_fdinfo()
1668 atomic_add(fp->count, &u->scm_stat.nr_fds); in scm_stat_add()
1677 atomic_sub(fp->count, &u->scm_stat.nr_fds); in scm_stat_del()