Searched refs:lockf (Results 1 - 13 of 13) sorted by relevance

/xnu-2422.115.4/bsd/sys/
H A Dlockf.h59 * @(#)lockf.h 8.1 (Berkeley) 6/11/93
60 * $FreeBSD: src/sys/sys/lockf.h,v 1.16 2004/04/07 04:19:49 imp Exp $
82 * The lockf structure is a kernel structure which contains the information
83 * associated with a byte range lock. The lockf structures are linked into
88 TAILQ_HEAD(locklist, lockf);
92 struct lockf { struct
98 struct lockf **lf_head; /* Back pointer to the head of the locf list */
100 struct lockf *lf_next; /* Pointer to the next lock on this inode */
102 TAILQ_ENTRY(lockf) lf_block;/* A request waiting for a lock */
122 void lf_print(char *, struct lockf *);
[all...]
H A DMakefile26 ioctl_compat.h ipc.h kernel.h kernel_types.h kern_event.h loadable_fs.h lock.h lockf.h \
73 ioctl_compat.h kernel.h kernel_types.h kern_event.h lctx.h lock.h lockf.h \
H A Dvnode_internal.h91 struct lockf;
172 struct lockf *v_lockf; /* advisory lock list head */
/xnu-2422.115.4/bsd/kern/
H A Dkern_lockf.c77 #include <sys/lockf.h>
91 void lf_print(const char *tag, struct lockf *lock);
92 void lf_printlist(const char *tag, struct lockf *lock);
110 MALLOC_DEFINE(M_LOCKF, "lockf", "Byte-range locking structures");
112 #define NOLOCKF (struct lockf *)0
129 static int lf_clearlock(struct lockf *);
130 static overlap_t lf_findoverlap(struct lockf *,
131 struct lockf *, int, struct lockf ***, struct lockf **);
[all...]
H A Dkern_malloc.c182 "lockf", /* 40 M_LOCKF */
372 { SOX(lockf), KMZ_CREATEZONE_ACCT, TRUE }, /* 40 M_LOCKF */
/xnu-2422.115.4/tools/tests/libMicro/
H A Dcascade_lockf.c84 "notes: thread cascade using lockf file locking\n",
136 return (lockf(files[index], F_LOCK, 0) == -1);
142 return (lockf(files[index], F_ULOCK, 0) == -1);
/xnu-2422.115.4/tools/lldbmacros/
H A Dmemory.py1453 def GetVnodeLock(lockf):
1455 params: lockf - value representing v_lockf member in struct vnode *
1459 lockf_flags = lockf.lf_flags
1460 lockf_type = lockf.lf_type
1474 lockf_proc = Cast(lockf.lf_id, 'proc *')
1477 vnode_lock_output += ("ID {: <#019x}").format(int(lockf.lf_id))
1492 vnode_lock_output += ("{: #018x} ..").format(lockf.lf_start)
1493 vnode_lock_output += ("{: #018x}\n").format(lockf.lf_end)
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_lock.c65 #include <sys/lockf.h> /* for hz */ /* Must come after sys/malloc.h */
H A Dnfs_syscalls.c94 #include <sys/lockf.h>
H A Dnfs4_vnops.c45 #include <sys/lockf.h>
H A Dnfs_vnops.c85 #include <sys/lockf.h>
/xnu-2422.115.4/bsd/vfs/
H A Dkpi_vfs.c104 #include <sys/lockf.h>
H A Dvfs_subr.c110 #include <sys/lockf.h>

Completed in 177 milliseconds