Searched refs:RSMRC_BLKSZ (Results 1 – 2 of 2) sorted by relevance
157 #define RSMRC_BLKSZ 16 macro322 rsmresource_t *rsmrcblk_blks[RSMRC_BLKSZ];
1134 for (j = 0; j < RSMRC_BLKSZ; j++) { in rsmresource_alloc()1137 (j + (i * RSMRC_BLKSZ)); in rsmresource_alloc()1186 RSMRC_BLKSZ; in rsmresource_alloc()1190 if (rsm_resource.rsmrc_len*RSMRC_BLKSZ >= in rsmresource_alloc()1228 blk->rsmrcblk_avail = RSMRC_BLKSZ - 1; in rsmresource_alloc()1234 *rnum = (minor_t)(empty * RSMRC_BLKSZ); in rsmresource_alloc()1269 i = (int)(rnum / RSMRC_BLKSZ); in rsmresource_free()1270 j = (int)(rnum % RSMRC_BLKSZ); in rsmresource_free()1300 if (blk->rsmrcblk_avail == RSMRC_BLKSZ) { in rsmresource_free()1327 i = (int)(rnum / RSMRC_BLKSZ); in rsmresource_lookup()[all …]