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

/darwin-on-arm/xnu/libsyscall/wrappers/cancelable/
H A Dfcntl-base.c43 case F_SETLK:
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dfile_lock.c67 return (fcntl(file, F_SETLK, &fl) == -1);
H A Dcascade_fcntl.c151 return (fcntl(file, F_SETLK, &fl) == -1);
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_bsm_fcntl.c56 { BSM_F_SETLK, F_SETLK },
57 { BSM_F_SETLKW, F_SETLK },
/darwin-on-arm/xnu/bsd/sys/
H A Dfcntl.h245 #define F_SETLK 8 /* set record locking information */ macro
246 #define F_SETLKW 9 /* F_SETLK; wait if blocked */
325 /* record locking flags (F_GETLK, F_SETLK, F_SETLKW) */
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_lockf.c178 if (ap->a_op != F_SETLK) {
272 case F_SETLK:
326 * currently blocked F_SETLK request to
H A Dkern_descrip.c639 * [F_SETLK]
847 /* Fall into F_SETLK */
849 case F_SETLK:
881 F_SETLK, &fl);
897 error = VNOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg, &context);
909 error = VNOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg, &context);
4762 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, F_SETLK, &lf);
4768 error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, F_FLOCK, ctx);
4771 error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, F_FLOCK|F_WAIT, ctx);
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_syscalls.c625 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx))) {
H A Dnfs4_vnops.c4357 } else if ((op == F_SETLK) || (op == F_SETLKW)) {
4358 if ((op == F_SETLK) && (flags & F_WAIT))
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_xattr.c3288 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK|F_WAIT, context);
H A Dvfs_syscalls.c3071 F_SETLK, &lf);
3075 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->f_fglob, F_SETLK, &lf, type, ctx)))

Completed in 174 milliseconds