Searched refs:RSMRC_BLKSZ (Results 1 – 2 of 2) sorted by relevance
155 #define RSMRC_BLKSZ 16 macro320 rsmresource_t *rsmrcblk_blks[RSMRC_BLKSZ];
1136 for (j = 0; j < RSMRC_BLKSZ; j++) { in rsmresource_alloc()1139 (j + (i * RSMRC_BLKSZ)); in rsmresource_alloc()1188 RSMRC_BLKSZ; in rsmresource_alloc()1192 if (rsm_resource.rsmrc_len*RSMRC_BLKSZ >= in rsmresource_alloc()1230 blk->rsmrcblk_avail = RSMRC_BLKSZ - 1; in rsmresource_alloc()1236 *rnum = (minor_t)(empty * RSMRC_BLKSZ); in rsmresource_alloc()1271 i = (int)(rnum / RSMRC_BLKSZ); in rsmresource_free()1272 j = (int)(rnum % RSMRC_BLKSZ); in rsmresource_free()1302 if (blk->rsmrcblk_avail == RSMRC_BLKSZ) { in rsmresource_free()1329 i = (int)(rnum / RSMRC_BLKSZ); in rsmresource_lookup()[all …]