Searched refs:F_SETLK (Results 1 - 7 of 7) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dfcntl.h215 #define F_SETLK 8 /* set record locking information */ macro
216 #define F_SETLKW 9 /* F_SETLK; wait if blocked */
252 /* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_descrip.c549 * [F_SETLK]
722 /* Fall into F_SETLK */
724 case F_SETLK:
754 F_SETLK, &fl);
770 error = VNOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg, &context);
782 error = VNOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg, &context);
4128 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, F_SETLK, &lf);
4134 error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, F_FLOCK, ctx);
4137 error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, F_FLOCK|F_WAIT, ctx);
H A Dkern_lockf.c187 if (ap->a_op != F_SETLK) {
282 case F_SETLK:
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_lock.c991 ((ap->a_op == F_SETLK) || (ap->a_op == F_SETLKW))) {
H A Dnfs_syscalls.c591 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx))) {
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_xattr.c3074 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK|F_WAIT, context);
H A Dvfs_syscalls.c2187 F_SETLK, &lf);
2191 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx)))

Completed in 64 milliseconds