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

/darwin-on-arm/xnu/bsd/netinet6/
H A Dip6protosw.h193 int (*pr_lock) (struct socket *so, int locktype, void *debug); /* lock function for protocol */
194 int (*pr_unlock) (struct socket *so, int locktype, void *debug); /* unlock for protocol */
196 lck_mtx_t * (*pr_getlock) (struct socket *so, int locktype); /* unlock for protocol */
198 void * (*pr_getlock) (struct socket *so, int locktype); /* unlock for protocol */
/darwin-on-arm/xnu/bsd/sys/
H A Dprotosw.h157 int (*pr_lock) (struct socket *so, int locktype, void *debug); /* lock function for protocol */
158 int (*pr_unlock) (struct socket *so, int locktype, void *debug); /* unlock for protocol */
160 lck_mtx_t * (*pr_getlock) (struct socket *so, int locktype);
162 void * (*pr_getlock) (struct socket *so, int locktype);
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_cnode.c1739 hfs_lock(struct cnode *cp, enum hfslocktype locktype) argument
1753 } else if (locktype == HFS_SHARED_LOCK) {
1808 if ((locktype != HFS_FORCE_LOCK) &&
1821 hfs_lockpair(struct cnode *cp1, struct cnode *cp2, enum hfslocktype locktype) argument
1830 return hfs_lock(cp1, locktype);
1844 if ( (error = hfs_lock(first, locktype))) {
1847 if ( (error = hfs_lock(last, locktype))) {
1881 struct cnode *cp4, enum hfslocktype locktype, struct cnode **error_cnode)
1921 if ((error = hfs_lock(list[i], locktype))) {
2051 * shared. The locktype argumen
1880 hfs_lockfour(struct cnode *cp1, struct cnode *cp2, struct cnode *cp3, struct cnode *cp4, enum hfslocktype locktype, struct cnode **error_cnode) argument
2055 hfs_lock_truncate(struct cnode *cp, enum hfslocktype locktype) argument
2092 hfs_try_trunclock(struct cnode *cp, enum hfslocktype locktype) argument
[all...]
H A Dhfs_vfsutils.c995 hfs_lock_global (struct hfsmount *hfsmp, enum hfslocktype locktype) { argument
1004 if (locktype == HFS_SHARED_LOCK) {
1042 hfs_systemfile_lock(struct hfsmount *hfsmp, int flags, enum hfslocktype locktype) argument
1062 (void) hfs_lock(hfsmp->hfs_catalog_cp, locktype);
1089 (void) hfs_lock(hfsmp->hfs_attribute_cp, locktype);
1111 (void) hfs_lock(hfsmp->hfs_startup_cp, locktype);
H A Dhfs.h768 int hfs_lock_global (struct hfsmount *hfsmp, enum hfslocktype locktype);
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_node.c1216 nfs_data_lock(nfsnode_t np, int locktype) argument
1218 nfs_data_lock_internal(np, locktype, 1);
1221 nfs_data_lock_noupdate(nfsnode_t np, int locktype) argument
1223 nfs_data_lock_internal(np, locktype, 0);
1226 nfs_data_lock_internal(nfsnode_t np, int locktype, int updatesize) argument
1228 FSDBG_TOP(270, np, locktype, np->n_datalockowner, 0);
1229 if (locktype == NFS_DATA_LOCK_SHARED) {
1239 FSDBG_BOT(270, np, locktype, np->n_datalockowner, 0);
H A Dnfs4_vnops.c3213 uint32_t locktype; local
3224 locktype = (nflp->nfl_flags & NFS_FILE_LOCK_WAIT) ?
3270 nfsm_chain_add_32(error, &nmreq, locktype);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_xattr.c1405 static int lock_xattrfile(vnode_t xvp, short locktype, vfs_context_t context);
2579 short locktype; local
2581 locktype = (fileflags & O_EXLOCK) ? F_WRLCK : F_RDLCK;
2582 error = lock_xattrfile(xvp, locktype, context);
3278 lock_xattrfile(vnode_t xvp, short locktype, vfs_context_t context) argument
3286 lf.l_type = locktype; /* F_WRLCK or F_RDLCK */
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_divert.c737 div_getlock(struct socket *so, __unused int locktype) argument
H A Dudp_usrreq.c1884 udp_getlock(struct socket *so, __unused int locktype) argument
H A Dtcp_subr.c2450 __unused int locktype)
2448 tcp_getlock( struct socket *so, __unused int locktype) argument
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_control.c1082 ctl_getlock(struct socket *so, __unused int locktype) argument
H A Duipc_usrreq.c2376 unp_getlock(struct socket *so, __unused int locktype) argument

Completed in 75 milliseconds