Searched refs:lock (Results 76 - 100 of 200) sorted by relevance

12345678

/darwin-on-arm/xnu/security/
H A Dmac_pipe.c64 #include <sys/lock.h>
H A Dmac_sysv_msg.c64 #include <sys/lock.h>
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_synch.c46 #include <sys/lock.h>
56 #include <kern/lock.h>
H A Dkern_newsysctl.c222 * Initialise the geometry lock for reading/modifying the
231 /* Get the write lock to modify the geometry */
269 /* Release the write lock */
286 /* Get the write lock to modify the geometry */
331 /* Release the write lock */
334 /* If it was allocated, free it after dropping the lock */
617 * Locks: Acquires and then releases a read lock on the
658 * Locks: Acquires and then releases a read lock on the
668 * delayed until after the geometry lock is dropped. If there
856 * Locks: Acquires and then releases a read lock o
[all...]
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_worker.c34 #include <sys/lock.h>
71 #include <kern/lock.h>
327 * We hold the audit_worker_sl lock over both writes, if there are
413 * disk. In order to minimize lock thrashing, records are dequeued in sets
H A Daudit_mac.c60 #include <kern/lock.h>
/darwin-on-arm/xnu/bsd/sys/
H A DMakefile24 ioctl_compat.h ipc.h kernel.h kernel_types.h kern_event.h loadable_fs.h lock.h lockf.h \
70 ioctl_compat.h kernel.h kernel_types.h kern_event.h lctx.h lock.h lockf.h \
H A Dfile_internal.h75 #include <sys/lock.h>
H A Dmount_internal.h81 #include <sys/lock.h>
138 lck_rw_t mnt_rwlock; /* mutex readwrite lock */
H A Dproc.h76 #include <sys/lock.h>
155 #define P_ADVLOCK 0x00000001 /* Process may hold POSIX adv. lock */
/darwin-on-arm/xnu/bsd/netinet6/
H A Dnd6_rtr.c75 #include <kern/lock.h>
466 lck_mtx_lock(&ndi->lock);
487 lck_mtx_unlock(&ndi->lock);
640 lck_mtx_lock(&ndi->lock);
647 lck_mtx_unlock(&ndi->lock);
657 lck_mtx_unlock(&ndi->lock);
661 lck_mtx_unlock(&ndi->lock);
1091 lck_mtx_lock(&ndi->lock);
1094 lck_mtx_unlock(&ndi->lock);
1805 lck_mtx_lock(&ndi->lock);
[all...]
H A Dnd6_nbr.c947 lck_mtx_lock(&ndi->lock);
949 lck_mtx_unlock(&ndi->lock);
1049 lck_mtx_lock(&ndi->lock);
1052 lck_mtx_unlock(&ndi->lock);
1147 lck_mtx_lock(&ndi->lock);
1151 lck_mtx_unlock(&ndi->lock);
1644 lck_mtx_lock(&ndi->lock);
1646 lck_mtx_unlock(&ndi->lock);
1814 lck_mtx_lock(&ndi->lock);
1816 lck_mtx_unlock(&ndi->lock);
[all...]
H A Din6_ifattach.c70 #include <kern/lock.h>
986 * which is protected by ifnet lock. To avoid violating
987 * lock ordering, we must drop ifnet lock before doing so.
1057 * This is suboptimal, but since we dropped ifnet lock above
1115 lck_mtx_lock(&ndi->lock);
1130 lck_mtx_unlock(&ndi->lock);
1154 lck_mtx_lock(&ndi->lock);
1164 lck_mtx_unlock(&ndi->lock);
H A Dnd6.c153 * operations, the same locks (and thus lock ordering) must be used
158 * - Routing lock (rnh_lock)
163 * - Routing entry lock (rt_lock)
412 lck_mtx_init(&ND.lock, nd_if_lock_grp, nd_if_lock_attr);
451 lck_mtx_lock(&ndi->lock);
479 lck_mtx_unlock(&ndi->lock);
725 lck_mtx_lock(&ndi->lock);
728 lck_mtx_unlock(&ndi->lock);
909 * NOTE: We have to drop the lock here
911 * in6_update_ifa(), which must take the lock
[all...]
/darwin-on-arm/xnu/osfmk/i386/
H A Dmp.c740 * that they are running in parallel and in an unknown lock context.
800 /* obtain rendezvous lock */
840 /* release lock */
895 decl_simple_lock_data(, lock);
907 simple_lock(&cqp->lock);
916 hw_lock_held((hw_lock_t)&cqp->lock);
922 simple_unlock(&cqp->lock);
978 simple_lock_init(&cqp->lock, 0);
997 simple_lock_init(&cqp->lock, 0);
1126 * The topo lock i
[all...]
H A Dcpu_topology.c36 #include <i386/lock.h>
H A Dmp.h78 #include <kern/lock.h>
93 decl_simple_lock_data(extern,kdb_lock) /* kdb lock */
/darwin-on-arm/xnu/osfmk/kern/
H A Dipc_host.c70 #include <kern/lock.h>
100 lck_mtx_init(&realhost.lock, &host_notify_lock_grp, &host_notify_lock_attr);
584 * Consume send rights without any lock held.
753 * Consume send rights without any lock held.
H A Dmachine.c82 #include <kern/lock.h>
277 /* pset lock dropped */
H A Dwait_queue.h45 #include <kern/lock.h>
163 * Double the standard lock timeout, because wait queues tend
165 * a problem with a thread lock, it normally times out at the wait
/darwin-on-arm/xnu/bsd/net/
H A Dether_inet6_pr_module.c71 #include <kern/lock.h>
/darwin-on-arm/xnu/osfmk/arm/
H A Dgenassym.c68 #include <kern/lock.h>
176 * Reader writer lock types
H A Dpmap_asid.c73 #include <kern/lock.h>
/darwin-on-arm/xnu/osfmk/arm64/
H A Dgenassym.c66 #include <kern/lock.h>
159 /* Reader writer lock types */
/darwin-on-arm/xnu/bsd/netat/
H A Dddp.save605 ATDISABLE(s, gref->lock);
621 ATENABLE(s, gref->lock);
642 ATENABLE(s, gref->lock);

Completed in 136 milliseconds

12345678