Home
last modified time | relevance | path

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

/openbsd/sys/kern/
H A Dvfs_lockf.c287 lock->lf_type = fl->l_type; in lf_advlock()
334 if (lock->lf_type == F_WRLCK) in lf_setlock()
367 lock->lf_type = F_UNLCK; in lf_setlock()
369 lock->lf_type = F_WRLCK; in lf_setlock()
437 if (lock->lf_type == F_RDLCK && in lf_setlock()
440 overlap->lf_type = lock->lf_type; in lf_setlock()
448 if (overlap->lf_type == lock->lf_type) { in lf_setlock()
471 if (lock->lf_type == F_RDLCK && in lf_setlock()
597 fl->l_type = block->lf_type; in lf_getlock()
626 if ((lock->lf_type == F_WRLCK || overlap->lf_type == F_WRLCK)) in lf_getblock()
[all …]