Searched refs:F_SETLK (Results 1 – 10 of 10) sorted by relevance
| /xnu-8796.141.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");
|
| H A D | file_leases.c | 469 err = fcntl(fd, F_SETLK, &lreq); 478 err = fcntl(fd, F_SETLK, &lreq);
|
| /xnu-8796.141.3/bsd/security/audit/ |
| H A D | audit_bsm_fcntl.c | 56 { BSM_F_SETLK, F_SETLK }, 57 { BSM_F_SETLKW, F_SETLK },
|
| /xnu-8796.141.3/libsyscall/wrappers/cancelable/ |
| H A D | fcntl-base.c | 42 case F_SETLK: in fcntl()
|
| /xnu-8796.141.3/bsd/sys/ |
| H A D | fcntl.h | 281 #define F_SETLK 8 /* set record locking information */ macro
|
| /xnu-8796.141.3/bsd/kern/ |
| H A D | kern_descrip.c | 2989 case F_SETLK: in sys_fcntl_nocancel() 3032 F_SETLK, &fl); in sys_fcntl_nocancel() 3055 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3063 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3100 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3110 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 5686 error = mac_file_check_lock(kauth_cred_get(), fp->fp_glob, F_SETLK, &lf); in sys_flock() 5691 error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, in sys_flock()
|
| H A D | kern_lockf.c | 220 if (ap->a_op != F_SETLK) { in lf_advlock() 328 case F_SETLK: in lf_advlock()
|
| /xnu-8796.141.3/bsd/nfs/ |
| H A D | nfs_syscalls.c | 554 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in fhopen()
|
| /xnu-8796.141.3/bsd/vfs/ |
| H A D | vfs_xattr.c | 3435 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 | 4645 F_SETLK, &lf); in open1() 4650 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in open1()
|