Searched refs:rt_lock (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Droute.h188 decl_lck_mtx_data(, rt_lock); /* lock for routing entry */
404 lck_mtx_assert(&(_rt)->rt_lock, LCK_MTX_ASSERT_OWNED)
407 lck_mtx_assert(&(_rt)->rt_lock, LCK_MTX_ASSERT_NOTOWNED)
411 lck_mtx_lock(&(_rt)->rt_lock); \
413 rt_lock(_rt, FALSE); \
418 lck_mtx_lock_spin(&(_rt)->rt_lock); \
420 rt_lock(_rt, TRUE); \
425 lck_mtx_convert_spin(&(_rt)->rt_lock); \
430 lck_mtx_unlock(&(_rt)->rt_lock); \
537 extern void rt_lock(struc
[all...]
H A Droute.c104 * 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
136 * - Routing entry lock (rt_lock) for read/write access.
140 * be done without rt_lock: RTF_GATEWAY, RTF_HOST, RTF_DYNAMIC,
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
157 * the rt_lock, so that those values will remain the same until
227 #define RTE_NAME "rtentry" /* name for zone and rt_lock */
989 * To avoid violating lock ordering, we must drop rt_lock befor
3111 rt_lock(struct rtentry *rt, boolean_t spin) function
[all...]
/darwin-on-arm/xnu/osfmk/kern/
H A Dsched_prim.c112 decl_simple_lock_data(static,rt_lock);
710 simple_lock_init(&rt_lock, 0);
1655 simple_lock(&rt_lock);
1686 simple_unlock(&rt_lock);
1698 simple_unlock(&rt_lock);
1717 simple_unlock(&rt_lock);
1738 simple_unlock(&rt_lock);
1746 simple_unlock(&rt_lock);
2944 simple_lock(&rt_lock);
2973 simple_unlock(&rt_lock);
[all...]

Completed in 62 milliseconds