Searched refs:rsm_resource (Results 1 – 2 of 2) sorted by relevance
446 static struct rsmresource_table rsm_resource; variable611 rw_init(&rsm_resource.rsmrc_lock, NULL, RW_DRIVER, NULL); in _init()696 rw_destroy(&rsm_resource.rsmrc_lock); in _fini()1127 rw_enter(&rsm_resource.rsmrc_lock, RW_WRITER); in rsmresource_alloc()1130 for (i = 0; i < rsm_resource.rsmrc_len; i++) { in rsmresource_alloc()1131 blk = rsm_resource.rsmrc_root[i]; in rsmresource_alloc()1143 rw_exit(&rsm_resource. in rsmresource_alloc()1162 rw_exit(&rsm_resource.rsmrc_lock); in rsmresource_alloc()1180 if (rsm_resource.rsmrc_len == rsm_resource.rsmrc_sz) { in rsmresource_alloc()1185 uint_t newsz = (uint_t)rsm_resource.rsmrc_sz + in rsmresource_alloc()[all …]
145 typedef struct rsm_resource { struct154 struct rsm_resource *rsmrc_next; argument