/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6protosw.h | 158 int (*pr_lock) (struct socket *so, int locktype, int debug); /* lock function for protocol */ 159 int (*pr_unlock) (struct socket *so, int locktype, int debug); /* unlock for protocol */ 161 lck_mtx_t * (*pr_getlock) (struct socket *so, int locktype); /* unlock for protocol */ 163 void * (*pr_getlock) (struct socket *so, int locktype); /* unlock for protocol */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_node.c | 584 nfs_lock(nfsnode_t np, int locktype) argument 586 FSDBG_TOP(268, np, locktype, np->n_lockowner, 0); 587 if (locktype == NFS_NODE_LOCK_SHARED) { 593 if ((locktype != NFS_NODE_LOCK_FORCE) && !(np->n_hflag && NHHASHED)) { 598 FSDBG_BOT(268, np, locktype, np->n_lockowner, 0); 620 nfs_lock2(nfsnode_t np1, nfsnode_t np2, int locktype) argument 624 if ((error = nfs_lock(np1, locktype))) 628 if ((error = nfs_lock(np2, locktype))) 653 nfs_lock4(nfsnode_t fdnp, nfsnode_t fnp, nfsnode_t tdnp, nfsnode_t tnp, int locktype) argument 687 if ((error = nfs_lock(list[i], locktype))) { 740 nfs_data_lock(nfsnode_t np, int locktype) argument 745 nfs_data_lock2(nfsnode_t np, int locktype, int updatesize) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | protosw.h | 147 int (*pr_lock) (struct socket *so, int locktype, int debug); /* lock function for protocol */ 148 int (*pr_unlock) (struct socket *so, int locktype, int debug); /* unlock for protocol */ 150 lck_mtx_t * (*pr_getlock) (struct socket *so, int locktype); 152 void * (*pr_getlock) (struct socket *so, int locktype);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_cnode.c | 980 hfs_lock(struct cnode *cp, enum hfslocktype locktype) argument 994 } else if (locktype == HFS_SHARED_LOCK) { 1049 if ((locktype != HFS_FORCE_LOCK) && 1063 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfslocktype locktype) argument 1072 return hfs_lock(cp1, locktype); 1086 if ( (error = hfs_lock(first, locktype))) { 1089 if ( (error = hfs_lock(last, locktype))) { 1124 struct cnode *cp4, enum hfslocktype locktype) 1161 if ((error = hfs_lock(list[i], locktype))) { 1123 hfs_lockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3, struct cnode *cp4, enum hfslocktype locktype) argument
|
H A D | hfs_vfsutils.c | 858 hfs_systemfile_lock(struct hfsmount *hfsmp, int flags, enum hfslocktype locktype) argument 877 (void) hfs_lock(hfsmp->hfs_catalog_cp, locktype); 900 (void) hfs_lock(hfsmp->hfs_attribute_cp, locktype); 921 (void) hfs_lock(hfsmp->hfs_startup_cp, locktype);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_xattr.c | 1271 static int lock_xattrfile(vnode_t xvp, short locktype, vfs_context_t context); 2367 short locktype; local 2369 locktype = (fileflags & O_EXLOCK) ? F_WRLCK : F_RDLCK; 2370 error = lock_xattrfile(xvp, locktype, context); 3064 lock_xattrfile(vnode_t xvp, short locktype, vfs_context_t context) argument 3072 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip_divert.c | 707 div_getlock(struct socket *so, __unused int locktype) argument
|
H A D | udp_usrreq.c | 1417 udp_getlock(struct socket *so, __unused int locktype) argument
|
H A D | tcp_subr.c | 1909 __unused int locktype)
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_control.c | 985 ctl_getlock(struct socket *so, __unused int locktype) argument
|