Searched refs:fl (Results 1 - 8 of 8) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_lock.c564 struct flock *fl; local
577 fl = ap->a_fl;
603 if (fl->l_whence != SEEK_END) {
604 if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
605 fl->l_start < 0 ||
606 (fl->l_len > 0 && fl->l_len - 1 > OFF_MAX - fl->l_start) ||
607 (fl
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_lockf.c173 struct flock *fl = ap->a_fl; local
188 fl->l_type = F_UNLCK;
197 switch (fl->l_whence) {
205 start = fl->l_start;
222 (fl->l_start > 0 &&
223 size > (u_quad_t)(OFF_MAX - fl->l_start)))
225 start = size + fl->l_start;
229 LOCKF_DEBUG(0, "lf_advlock: unknown whence %d\n", fl->l_whence);
236 if (fl->l_len < 0) {
242 start += fl
819 lf_getlock(struct lockf *lock, struct flock *fl) argument
[all...]
H A Dkern_descrip.c590 struct flock fl; local
736 error = copyin(argp, (caddr_t)&fl, sizeof(fl));
741 if ((fl.l_whence == SEEK_CUR) && (fl.l_start + offset < fl.l_start)) {
749 if (fl.l_whence == SEEK_CUR)
750 fl.l_start += offset;
754 F_SETLK, &fl);
760 switch (fl
[all...]
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/ppc/
H A Dfp_regs.h74 fl:BIT_WIDTH(15), // negative
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_file.c188 struct flock *fl)
192 MAC_CHECK(file_check_lock, cred, fg, fg->fg_label, op, fl);
187 mac_file_check_lock(struct ucred *cred, struct fileglob *fg, int op, struct flock *fl) argument
H A Dmac_framework.h187 struct flock *fl);
H A Dmac_policy.h805 @param fl The flock structure
808 the lock operation indicated by op and fl on the file represented by fg.
819 struct flock *fl
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dkpi_vfs.c4507 VNOP_ADVLOCK(struct vnode *vp, caddr_t id, int op, struct flock *fl, int flags, vfs_context_t ctx) argument
4519 a.a_fl = fl;

Completed in 129 milliseconds