Home
last modified time | relevance | path

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

/xnu-8792.61.2/tests/
H A Dlockf_EOF_77264182.c46 T_ASSERT_POSIX_SUCCESS(fcntl(fd, F_SETLK, &fl), "wrlock");
49 T_ASSERT_POSIX_SUCCESS(fcntl(fd, F_SETLK, &fl), "unlock");
53 T_ASSERT_POSIX_SUCCESS(fcntl(fd, F_SETLK, &fl), "wrlock 2");
H A Dfile_leases.c469 err = fcntl(fd, F_SETLK, &lreq);
478 err = fcntl(fd, F_SETLK, &lreq);
/xnu-8792.61.2/bsd/security/audit/
H A Daudit_bsm_fcntl.c56 { BSM_F_SETLK, F_SETLK },
57 { BSM_F_SETLKW, F_SETLK },
/xnu-8792.61.2/libsyscall/wrappers/cancelable/
H A Dfcntl-base.c42 case F_SETLK: in fcntl()
/xnu-8792.61.2/bsd/sys/
H A Dfcntl.h281 #define F_SETLK 8 /* set record locking information */ macro
/xnu-8792.61.2/bsd/kern/
H A Dkern_descrip.c3005 case F_SETLK: in sys_fcntl_nocancel()
3048 F_SETLK, &fl); in sys_fcntl_nocancel()
3071 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel()
3079 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel()
3116 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel()
3126 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel()
5702 error = mac_file_check_lock(kauth_cred_get(), fp->fp_glob, F_SETLK, &lf); in sys_flock()
5707 error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, in sys_flock()
H A Dkern_lockf.c220 if (ap->a_op != F_SETLK) { in lf_advlock()
328 case F_SETLK: in lf_advlock()
/xnu-8792.61.2/bsd/nfs/
H A Dnfs_syscalls.c523 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in fhopen()
/xnu-8792.61.2/bsd/vfs/
H A Dvfs_xattr.c3435 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK | F_WAIT, context, NULL); in lock_xattrfile()
H A Dvfs_syscalls.c4620 F_SETLK, &lf); in open1()
4625 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in open1()