Searched refs:locktype (Results 1 - 10 of 10) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6protosw.h158 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 Dnfs_node.c584 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 Dprotosw.h147 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 Dhfs_cnode.c980 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 Dhfs_vfsutils.c858 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 Dvfs_xattr.c1271 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 Dip_divert.c707 div_getlock(struct socket *so, __unused int locktype) argument
H A Dudp_usrreq.c1417 udp_getlock(struct socket *so, __unused int locktype) argument
H A Dtcp_subr.c1909 __unused int locktype)
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_control.c985 ctl_getlock(struct socket *so, __unused int locktype) argument

Completed in 122 milliseconds