/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_rmx.c | 145 * which the routing lock (rnh_lock) is held and thus protects the variable. 160 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 231 * rt_gateway, since holding rnh_lock here 287 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 374 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 401 * since holding rnh_lock here prevents another thread 449 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 468 * use rt_key, rt_gateway, since holding rnh_lock 510 lck_mtx_lock(rnh_lock); 548 lck_mtx_unlock(rnh_lock); [all...] |
H A D | nd6.c | 152 * Because rnh_lock and rt_lock for the entry are held during those 158 * - Routing lock (rnh_lock) 210 * Insertion and removal from llinfo_nd6 must be done with rnh_lock held. 213 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); \ 222 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); \ 654 * therefore protected by rnh_lock. For obvious reasons, we cannot 655 * hold rnh_lock across calls that might lead to code paths which 656 * attempt to acquire rnh_lock, else we deadlock. Hence for such 657 * cases we drop rt_lock and rnh_lock, make the calls, and repeat the 664 lck_mtx_lock(rnh_lock); [all...] |
H A D | nd6_nbr.c | 2264 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_NOTOWNED); 2265 lck_mtx_lock(rnh_lock); 2291 lck_mtx_unlock(rnh_lock); 2311 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_NOTOWNED); 2312 lck_mtx_lock(rnh_lock); 2337 lck_mtx_unlock(rnh_lock);
|
H A D | in6.c | 259 lck_mtx_lock(rnh_lock); 301 lck_mtx_unlock(rnh_lock);
|
H A D | nd6_rtr.c | 4134 lck_mtx_lock(rnh_lock); 4139 lck_mtx_unlock(rnh_lock); 4150 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 4182 * rnh_lock here prevents another thread from calling rt_setgate()
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | route.c | 104 * lock (rnh_lock) and the per-entry lock (rt_lock); the latter is a mutex that 119 * In cases where both rnh_lock and rt_lock must be held, the former must be 121 * that rnh_lock be acquired first before rt_lock, but in case both must be 128 * - Routing table lock (rnh_lock). 147 * - Always written/modified with both rnh_lock and rt_lock held. 149 * - May be read freely with rnh_lock held, else must hold rt_lock 152 * - In the event rnh_lock is not acquired, or is not possible to be 160 * When rnh_lock is held rt_setgate(), rt_setif(), and rtsetifa() are 176 * INSERTION of an entry into the radix tree holds the rnh_lock, checks 180 * LOOKUP of an entry holds the rnh_lock an 208 lck_mtx_t *rnh_lock = &rnh_lock_data; variable [all...] |
H A D | netsrc.c | 149 lck_mtx_lock(rnh_lock); 152 lck_mtx_unlock(rnh_lock); 202 lck_mtx_lock(rnh_lock); 205 lck_mtx_unlock(rnh_lock);
|
H A D | rtsock.c | 345 lck_mtx_lock(rnh_lock); 564 * Holding rnh_lock here prevents the possibility of 691 lck_mtx_unlock(rnh_lock); 833 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 881 * rnh_lock here prevents another thread from calling 1259 * interface will be locked. Caller must hold rnh_lock and rt_lock. 1271 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 1865 * This test is done without holding rnh_lock; in the even that 1896 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 1932 lck_mtx_lock(rnh_lock); variable 1938 lck_mtx_unlock(rnh_lock); variable 1942 lck_mtx_lock(rnh_lock); variable 1948 lck_mtx_unlock(rnh_lock); variable [all...] |
H A D | if_llreach.c | 448 lck_mtx_lock(rnh_lock); 470 lck_mtx_unlock(rnh_lock);
|
H A D | route.h | 481 __private_extern__ lck_mtx_t *rnh_lock; variable
|
H A D | ntstat.c | 329 lck_mtx_lock(rnh_lock); 331 lck_mtx_unlock(rnh_lock); 399 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 401 /* RTF_UP can't change while rnh_lock is held */ 434 lck_mtx_lock(rnh_lock); 447 lck_mtx_unlock(rnh_lock);
|
H A D | if.c | 1191 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 3260 * since holding rnh_lock here prevents another thread 3288 lck_mtx_lock(rnh_lock); 3290 lck_mtx_unlock(rnh_lock); 3330 lck_mtx_lock(rnh_lock); 3332 lck_mtx_unlock(rnh_lock);
|
H A D | kpi_interface.c | 489 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 532 lck_mtx_lock(rnh_lock); 536 lck_mtx_unlock(rnh_lock);
|
H A D | dlil.c | 314 * radix node head (rnh_lock), in tandem with settting/clearing the 4582 lck_mtx_lock(rnh_lock); 4601 lck_mtx_unlock(rnh_lock); 4752 lck_mtx_lock(rnh_lock); 4769 lck_mtx_unlock(rnh_lock); 4776 lck_mtx_unlock(rnh_lock); 4802 lck_mtx_unlock(rnh_lock);
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_rmx.c | 112 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 177 * rt_gateway, since holding rnh_lock here 299 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 323 * holding rnh_lock here prevents another thread from 368 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 385 * use rt_key, rt_gateway since holding rnh_lock 433 lck_mtx_lock(rnh_lock); 471 lck_mtx_unlock(rnh_lock); 485 lck_mtx_lock(rnh_lock); 487 lck_mtx_unlock(rnh_lock); [all...] |
H A D | in_arp.c | 126 * The following are protected by rnh_lock 148 * Because rnh_lock and rt_lock for the entry are held during those 154 * - Routing lock (rnh_lock) 494 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 516 * rnh_lock here prevents another thread from calling 532 lck_mtx_lock(rnh_lock); 546 lck_mtx_unlock(rnh_lock); 593 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_OWNED); 1408 * rnh_lock and re-hold rt_lock to avoid violating the 1413 lck_mtx_lock(rnh_lock); [all...] |
H A D | in.c | 783 lck_mtx_lock(rnh_lock); 798 lck_mtx_unlock(rnh_lock); 1455 lck_mtx_lock(rnh_lock); 1464 lck_mtx_unlock(rnh_lock); 1649 lck_mtx_lock(rnh_lock); 1698 lck_mtx_unlock(rnh_lock); 1712 lck_mtx_unlock(rnh_lock);
|
H A D | raw_ip.c | 720 lck_mtx_lock(rnh_lock); 732 lck_mtx_unlock(rnh_lock);
|
H A D | ip_output.c | 3206 lck_mtx_lock(rnh_lock); 3226 lck_mtx_unlock(rnh_lock);
|
H A D | tcp_subr.c | 2126 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_NOTOWNED); 2208 lck_mtx_assert(rnh_lock, LCK_MTX_ASSERT_NOTOWNED);
|