Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsm.c448 static struct rsmresource_table rsm_resource; variable
613 rw_init(&rsm_resource.rsmrc_lock, NULL, RW_DRIVER, NULL); in _init()
698 rw_destroy(&rsm_resource.rsmrc_lock); in _fini()
1129 rw_enter(&rsm_resource.rsmrc_lock, RW_WRITER); in rsmresource_alloc()
1132 for (i = 0; i < rsm_resource.rsmrc_len; i++) { in rsmresource_alloc()
1133 blk = rsm_resource.rsmrc_root[i]; in rsmresource_alloc()
1145 rw_exit(&rsm_resource. in rsmresource_alloc()
1164 rw_exit(&rsm_resource.rsmrc_lock); in rsmresource_alloc()
1182 if (rsm_resource.rsmrc_len == rsm_resource.rsmrc_sz) { in rsmresource_alloc()
1187 uint_t newsz = (uint_t)rsm_resource.rsmrc_sz + in rsmresource_alloc()
[all …]
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsm_in.h143 typedef struct rsm_resource { struct
152 struct rsm_resource *rsmrc_next; argument