Searched refs:nr_fds (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.10/tools/perf/tests/ |
| D | fdarray.c | 33 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 …]
|
| /Linux-v5.10/include/net/ |
| D | af_unix.h | 45 atomic_t nr_fds; member
|
| /Linux-v5.10/net/unix/ |
| D | af_unix.c | 692 atomic_read(&u->scm_stat.nr_fds)); in unix_show_fdinfo() 1598 atomic_add(fp->count, &u->scm_stat.nr_fds); in scm_stat_add() 1607 atomic_sub(fp->count, &u->scm_stat.nr_fds); in scm_stat_del()
|