Lines Matching defs:res_size
210 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]);
318 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]);
422 if (pide >= (ioc->res_size << 3)) {
424 if (pide >= (ioc->res_size << 3))
1565 int res_size;
1573 res_size = sba_dev->ioc[i].pdir_size/sizeof(u64); /* entries */
1577 res_size -= (128*1024)/sizeof(u64);
1580 res_size >>= 3; /* convert bit count to byte count */
1581 DBG_INIT("%s() res_size 0x%x\n",
1582 __func__, res_size);
1584 sba_dev->ioc[i].res_size = res_size;
1585 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size));
1588 iterate_pages( sba_dev->ioc[i].res_map, res_size,
1598 memset(sba_dev->ioc[i].res_map, 0, res_size);
1625 iterate_pages( sba_dev->ioc[i].res_map, res_size,
1632 __func__, i, res_size, sba_dev->ioc[i].res_map);
1657 int total_pages = (int) (ioc->res_size << 3); /* 8 bits per byte */
1669 (int) ((ioc->res_size << 3) * sizeof(u64)), /* 8 bits/byte */
1673 ioc->res_size, ioc->res_size << 3); /* 8 bits per byte */
1747 for (i = 0; i < (ioc->res_size/sizeof(unsigned int)); ++i, ++res_ptr) {