Home
last modified time | relevance | path

Searched refs:fdmax (Results 1 – 5 of 5) sorted by relevance

/kernel/liteos_a/testsuites/unittest/extended/signal/full/
DIt_ipc_fdset_001.cpp40 int fdmax = 0; in Testcase() local
50 fdmax = pipeFd[i][1] > fdmax ? pipeFd[i][1] : fdmax; in Testcase()
51 fdmax = pipeFd[i][0] > fdmax ? pipeFd[i][0] : fdmax; in Testcase()
57 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
61 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
69 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
DIt_ipc_fdzero_001.cpp40 int fdmax = 0; in Testcase() local
50 fdmax = pipeFd[i][1] > fdmax ? pipeFd[i][1] : fdmax; in Testcase()
56 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
60 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
69 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
DIt_ipc_fdclr_001.cpp39 int fdmax = 0; in Testcase() local
48 fdmax = pipeFd[i][1] > fdmax ? pipeFd[i][1] : fdmax; in Testcase()
54 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
58 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
67 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
/kernel/linux/linux-5.10/net/core/
Dscm.c301 int fdmax = min_t(int, scm_max_fds(msg), scm->fp->count); in scm_detach_fds() local
314 for (i = 0; i < fdmax; i++) { in scm_detach_fds()
337 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds()
/kernel/linux/linux-5.10/net/
Dcompat.c296 int fdmax = min_t(int, scm_max_fds_compat(msg), scm->fp->count); in scm_detach_fds_compat() local
300 for (i = 0; i < fdmax; i++) { in scm_detach_fds_compat()
323 if (i < scm->fp->count || (scm->fp->count && fdmax <= 0)) in scm_detach_fds_compat()