Lines Matching refs:res_size
234 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()
342 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap()
446 if (pide >= (ioc->res_size << 3)) { in sba_alloc_range()
448 if (pide >= (ioc->res_size << 3)) in sba_alloc_range()
1708 int res_size; in sba_common_init() local
1716 res_size = sba_dev->ioc[i].pdir_size/sizeof(u64); /* entries */ in sba_common_init()
1720 res_size -= (128*1024)/sizeof(u64); in sba_common_init()
1723 res_size >>= 3; /* convert bit count to byte count */ in sba_common_init()
1725 __func__, res_size); in sba_common_init()
1727 sba_dev->ioc[i].res_size = res_size; in sba_common_init()
1728 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init()
1731 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init()
1741 memset(sba_dev->ioc[i].res_map, 0, res_size); in sba_common_init()
1768 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init()
1775 __func__, i, res_size, sba_dev->ioc[i].res_map); in sba_common_init()
1800 int total_pages = (int) (ioc->res_size << 3); /* 8 bits per byte */ in sba_proc_info()
1811 (int)((ioc->res_size << 3) * sizeof(u64)), /* 8 bits/byte */ in sba_proc_info()
1815 ioc->res_size, ioc->res_size << 3); /* 8 bits per byte */ in sba_proc_info()
1873 ioc->res_size, false); in sba_proc_bitmap_info()