Searched refs:reqblks (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_io.c | 106 sdbc_alloc_static_cache(int reqblks) in sdbc_alloc_static_cache() argument 111 if (centry = sdbc_centry_alloc_blks(_CD_NOHASH, 0, reqblks, in sdbc_alloc_static_cache() 119 return (reqblks); in sdbc_alloc_static_cache() 128 int reqblks = MEGABYTE/BLK_SIZE(1); /* alloc in mb chunks */ in _sdbc_dealloc_configure_dm() local 138 dynmem_processing_dm.max_dyn_list = reqblks; in _sdbc_dealloc_configure_dm() 140 blk_groups = CBLOCKS / reqblks; in _sdbc_dealloc_configure_dm() 141 blks_remaining = CBLOCKS % reqblks; in _sdbc_dealloc_configure_dm() 144 if (!sdbc_alloc_static_cache(reqblks)) in _sdbc_dealloc_configure_dm() 146 blks_allocd += reqblks; in _sdbc_dealloc_configure_dm() 164 CBLOCKS/reqblks, blks_allocd/reqblks); in _sdbc_dealloc_configure_dm()
|
H A D | sd_bcache.c | 4145 sdbc_centry_alloc_blks(int cd, nsc_off_t cblk, nsc_size_t reqblks, int flag) argument 4154 ASSERT(reqblks); 4156 while (reqblks) { 4157 centry = sdbc_centry_alloc(cd, cblk, reqblks, &stall, 4183 --reqblks; 4188 if (reqblks || (_sd_setup_category_on_type(anchor))) {
|