Searched refs:nlocks (Results 1 - 2 of 2) sorted by relevance

/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_vnops.c916 unsigned int nlocks; local
921 nlocks = fcntl_getlocks(fd[i], 0, sz,
925 ATF_REQUIRE(nlocks < __arraycount(result));
926 result[nlocks] = lock[i];
927 result[nlocks].l_pid = pid[i];
928 nlocks++;
931 ATF_CHECK_EQ(nlocks, __arraycount(expect));
933 qsort(result, nlocks, sizeof(result[0]), &flock_compare);
935 for (j = 0; j < nlocks; j++) {
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_lockf.c56 #define nlocks 500 /* number of locks per thread */ macro
84 for (i = 0; i < nlocks; i++) {

Completed in 106 milliseconds