Lines Matching refs:vs_size
1263 vs->vs_size = ((atop_32(round_page_32(size)) - 1) >> vs->vs_clshift) + 1;
1270 if (INDIRECT_CLMAP(vs->vs_size)) {
1272 kalloc(INDIRECT_CLMAP_SIZE(vs->vs_size));
1276 kalloc(CLMAP_SIZE(vs->vs_size));
1296 INDIRECT_CLMAP_SIZE(vs->vs_size));
1298 for (i = 0; i < vs->vs_size; i++)
1303 bs_commit(vs->vs_size);
1644 for (i = 0; i < INDIRECT_CLMAP_ENTRIES(vs->vs_size); i++) {
1650 kfree(vs->vs_imap, INDIRECT_CLMAP_SIZE(vs->vs_size));
1655 ps_dealloc_vsmap(vs->vs_dmap, vs->vs_size);
1656 kfree(vs->vs_dmap, CLMAP_SIZE(vs->vs_size));
1660 bs_commit(- vs->vs_size);
1678 if (vs->vs_size >= new_size) {
1707 old_map_size = INDIRECT_CLMAP_SIZE(vs->vs_size);
1710 bs_commit(new_size - vs->vs_size);
1711 vs->vs_size = new_size;
1755 old_map_size = CLMAP_SIZE(vs->vs_size);
1761 for (i = vs->vs_size; i < newdsize; i++)
1769 bs_commit(new_size - vs->vs_size);
1770 vs->vs_size = new_size;
1804 if (cluster >= vs->vs_size) {
3206 for (i = 0; i < INDIRECT_CLMAP_ENTRIES(vs->vs_size); i++) {
3257 for (i = 0; i < INDIRECT_CLMAP_ENTRIES(vs->vs_size); i++) {
3345 for (i = 0; i < INDIRECT_CLMAP_ENTRIES(vs->vs_size); i++) {
3352 if(i+1 == INDIRECT_CLMAP_ENTRIES(vs->vs_size))
3353 vsmap_size = vs->vs_size - (CLMAP_ENTRIES * i);
3399 for (j = 0; j < vs->vs_size; j++) {