Searched refs:F_SETLK (Results 1 – 11 of 11) sorted by relevance
| /xnu-11215.1.10/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 | lockf_basic.c | 70 return fcntl(fd, (flags & WAIT) ? F_SETLKW : F_SETLK, &fl); in posix_lock() 96 return fcntl(fd, F_SETLK, &fl); in posix_unlock() 667 T_ASSERT_POSIX_SUCCESS(fcntl(a, F_SETLK, &fl), "SEEK_END: -10, 10"); 676 T_ASSERT_POSIX_SUCCESS(fcntl(a, F_SETLK, &fl), "SEEK_END: -file_len, file_len"); 685 …T_EXPECT_TRUE(fcntl(a, F_SETLK, &fl) && errno == EINVAL, "SEEK_END: -(file_len + 10), 20 => EINVAL…
|
| H A D | file_leases.c | 470 err = fcntl(fd, F_SETLK, &lreq); 479 err = fcntl(fd, F_SETLK, &lreq);
|
| /xnu-11215.1.10/bsd/security/audit/ |
| H A D | audit_bsm_fcntl.c | 56 { BSM_F_SETLK, F_SETLK }, 57 { BSM_F_SETLKW, F_SETLK },
|
| /xnu-11215.1.10/libsyscall/wrappers/cancelable/ |
| H A D | fcntl-base.c | 42 case F_SETLK: in fcntl()
|
| /xnu-11215.1.10/bsd/sys/ |
| H A D | fcntl.h | 281 #define F_SETLK 8 /* set record locking information */ macro
|
| /xnu-11215.1.10/bsd/kern/ |
| H A D | kern_descrip.c | 3018 case F_SETLK: in sys_fcntl_nocancel() 3061 F_SETLK, &fl); in sys_fcntl_nocancel() 3087 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3095 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3132 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 3142 F_SETLK, &fl, flg, &context, timeout); in sys_fcntl_nocancel() 5793 error = mac_file_check_lock(kauth_cred_get(), fp->fp_glob, F_SETLK, &lf); in sys_flock() 5798 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-11215.1.10/bsd/nfs/ |
| H A D | nfs_syscalls.c | 556 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in fhopen()
|
| /xnu-11215.1.10/bsd/vfs/ |
| H A D | vfs_xattr.c | 3249 if ((error = VNOP_ADVLOCK(xvp, (caddr_t)fg, F_SETLK, in open_xattrfile()
|
| H A D | vfs_syscalls.c | 4711 F_SETLK, &lf); in open1() 4716 if ((error = VNOP_ADVLOCK(vp, (caddr_t)fp->fp_glob, F_SETLK, &lf, type, ctx, NULL))) { in open1()
|