Searched refs:F_SETLK (Results 1 – 10 of 10) sorted by relevance
| /xnu-8020.121.3/tests/ |
| H A D | lockf_EOF_77264182.c | 46 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");
|
| /xnu-8020.121.3/bsd/security/audit/ |
| H A D | audit_bsm_fcntl.c | 56 { BSM_F_SETLK, F_SETLK }, 57 { BSM_F_SETLKW, F_SETLK },
|
| /xnu-8020.121.3/libsyscall/wrappers/cancelable/ |
| H A D | fcntl-base.c | 42 case F_SETLK: in fcntl()
|
| /xnu-8020.121.3/bsd/sys/ |
| H A D | fcntl.h | 265 #define F_SETLK 8 /* set record locking information */ macro
|
| /xnu-8020.121.3/bsd/kern/ |
| H A D | kern_descrip.c | 3000 case F_SETLK: in sys_fcntl_nocancel() 3043 F_SETLK, &fl); in sys_fcntl_nocancel() 3061 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3069 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3106 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3116 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 5398 error = mac_file_check_lock(kauth_cred_get(), fp->fp_glob, F_SETLK, &lf); in sys_flock() 5403 error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, in sys_flock()
|
| H A D | kern_lockf.c | 219 if (ap->a_op != F_SETLK) { in lf_advlock() 327 case F_SETLK: in lf_advlock()
|
| /xnu-8020.121.3/bsd/nfs/ |
| H A D | nfs_syscalls.c | 808 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in fhopen()
|
| H A D | nfs4_vnops.c | 4928 } else if ((op == F_SETLK) || (op == F_SETLKW)) { in nfs_vnop_advlock() 4929 if ((op == F_SETLK) && (flags & F_WAIT)) { in nfs_vnop_advlock()
|
| /xnu-8020.121.3/bsd/vfs/ |
| H A D | vfs_xattr.c | 3428 error = VNOP_ADVLOCK(xvp, (caddr_t)xvp, F_SETLK, &lf, F_FLOCK | F_WAIT, context, NULL); in lock_xattrfile()
|
| H A D | vfs_syscalls.c | 4246 F_SETLK, &lf); in open1() 4251 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in open1()
|