Searched refs:nlocks (Results 1 – 2 of 2) sorted by relevance
916 unsigned int nlocks; in fcntl_getlock_pids() local921 nlocks = fcntl_getlocks(fd[i], 0, sz, in fcntl_getlock_pids()925 ATF_REQUIRE(nlocks < __arraycount(result)); in fcntl_getlock_pids()926 result[nlocks] = lock[i]; in fcntl_getlock_pids()927 result[nlocks].l_pid = pid[i]; in fcntl_getlock_pids()928 nlocks++; in fcntl_getlock_pids()931 ATF_CHECK_EQ(nlocks, __arraycount(expect)); in fcntl_getlock_pids()933 qsort(result, nlocks, sizeof(result[0]), &flock_compare); in fcntl_getlock_pids()935 for (j = 0; j < nlocks; j++) { in fcntl_getlock_pids()
56 #define nlocks 500 /* number of locks per thread */ macro84 for (i = 0; i < nlocks; i++) { in trylocks()