HomeSort by: relevance | last modified time | path
    Searched defs:dolock (Results 1 - 3 of 3) sorted by relevancy

  /src/tests/kernel/
t_lockf.c 191 dolock(int fd, int op, off_t lk_off, off_t lk_size) function in typeref:typename:int
233 error = dolock(fd, F_LOCK, 0, 1);
234 ATF_REQUIRE_MSG(error == 0, "initial dolock: %s", strerror(errno));
239 error = dolock(fd, F_LOCK, 1, 1);
240 ATF_REQUIRE_MSG(error == 0, "child dolock: %s",
242 dolock(fd, F_LOCK, 0, 1); /* will block */
247 error = dolock(fd, F_LOCK, 1, 1);
  /src/sys/kern/
kern_turnstile.c 226 bool dolock; local in function:turnstile_lendpri
253 dolock = l->l_mutex != atomic_load_relaxed(&owner->l_mutex);
254 if (l == owner || (dolock && !lwp_trylock(owner))) {
274 if (dolock)
294 if (dolock)
319 bool dolock; local in function:turnstile_unlendpri
323 dolock = (atomic_load_relaxed(&l->l_mutex) ==
325 if (dolock) {
358 if (dolock) {
  /src/sys/fs/union/
union_vnops.c 994 int dolock = (vp == LOWERVP(ap->a_vp)); local in function:union_read
996 if (dolock)
999 if (dolock)
1168 int dolock = (targetvp == LOWERVP(ap->a_vp)); local in function:union_fsync
1170 if (dolock)
1174 if (dolock)
1556 int dolock, error; local in function:union_readdir
1562 dolock = 1;
1565 dolock = 0;
1570 if (dolock)
1590 int dolock = (vp == LOWERVP(ap->a_vp)); local in function:union_readlink
1770 int dolock = (vp == LOWERVP(ap->a_vp)); local in function:union_bmap
1835 int dolock = (vp == LOWERVP(ap->a_vp)); local in function:union_pathconf
    [all...]

Completed in 13 milliseconds