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

/xnu-2782.1.97/bsd/sys/
H A Dpthread_shims.h89 int (*psynch_rw_longrdlock)(proc_t p, user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags, uint32_t *retval);
90 int (*psynch_rw_rdlock)(proc_t p, user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags, uint32_t *retval);
91 int (*psynch_rw_unlock)(proc_t p, user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags, uint32_t *retval);
92 int (*psynch_rw_wrlock)(proc_t p, user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags, uint32_t *retval);
93 int (*psynch_rw_yieldwrlock)(proc_t p, user_addr_t rwlock, uint32_t lgenval, uint32_t ugenval, uint32_t rw_wc, int flags, uint32_t *retval);
/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsd.h189 struct rwlock { struct
284 void _audit_rw_init(struct rwlock *lp, const char *name);
285 void _audit_rw_destroy(struct rwlock *lp);
H A Daudit_bsd.c353 _audit_rw_init(struct rwlock *lp, const char *lckname)
355 _audit_rw_init(struct rwlock *lp, __unused const char *lckname)
367 _audit_rw_destroy(struct rwlock *lp)
H A Daudit_bsm_klib.c72 static struct rwlock evclass_lock;
H A Daudit.c186 static struct rwlock audit_kinfo_lock;
H A Daudit_session.c116 static struct rwlock se_entry_lck; /* (1) lock for se_link above */
308 static struct rwlock audit_sdev_lock;
H A Daudit_pipe.c189 * Global list of audit pipes, rwlock to protect it. Individual record
195 static struct rwlock audit_pipe_lock;
/xnu-2782.1.97/bsd/kern/
H A Dpthread_shims.c349 return pthread_functions->psynch_rw_longrdlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
355 return pthread_functions->psynch_rw_rdlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
361 return pthread_functions->psynch_rw_unlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
373 return pthread_functions->psynch_rw_wrlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);
379 return pthread_functions->psynch_rw_yieldwrlock(p, uap->rwlock, uap->lgenval, uap->ugenval, uap->rw_wc, uap->flags, retval);

Completed in 103 milliseconds