Home
last modified time | relevance | path

Searched refs:rnh_lock (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/net/
H A Dradix.h151 krwlock_t rnh_lock; /* locks entire radix tree */ member
192 rw_init(&(rnh)->rnh_lock, NULL, RW_DEFAULT, NULL)
193 #define RADIX_NODE_HEAD_RLOCK(rnh) rw_enter(&(rnh)->rnh_lock, RW_READER)
194 #define RADIX_NODE_HEAD_WLOCK(rnh) rw_enter(&(rnh)->rnh_lock, RW_WRITER)
195 #define RADIX_NODE_HEAD_UNLOCK(rnh) rw_exit(&(rnh)->rnh_lock)
196 #define RADIX_NODE_HEAD_DESTROY(rnh) rw_destroy(&(rnh)->rnh_lock)
197 #define RADIX_NODE_HEAD_LOCK_ASSERT(rnh) RW_WRITE_HELD(&(rnh)->rnh_lock)
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_ire.c2143 ASSERT(RW_READ_HELD(&ipst->ips_ip_ftable->rnh_lock)); in ire_gateway_ok_zone_v4()