Lines Matching refs:res_map
202 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]);
232 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]);
233 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */
247 ** BUMMER! -- res_map != pdir --
258 rptr++; /* look at next word of res_map */
322 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3)
340 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]);
416 ioc->res_hint = (unsigned long *) ioc->res_map;
459 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map),
493 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]);
1415 ** thus, pdir/res_map will also be log2().
1709 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size));
1712 iterate_pages( sba_dev->ioc[i].res_map, res_size,
1716 if (NULL == sba_dev->ioc[i].res_map)
1722 memset(sba_dev->ioc[i].res_map, 0, res_size);
1725 &(sba_dev->ioc[i].res_map[L1_CACHE_BYTES]);
1729 sba_dev->ioc[i].res_map[0] = 0x80;
1739 long *p_start = (long *) &(sba_dev->ioc[i].res_map[idx_start]);
1740 long *p_end = (long *) &(sba_dev->ioc[i].res_map[idx_end]);
1749 iterate_pages( sba_dev->ioc[i].res_map, res_size,
1755 DBG_INIT("%s() %d res_map %x %p\n",
1756 __func__, i, res_size, sba_dev->ioc[i].res_map);
1853 seq_hex_dump(m, " ", DUMP_PREFIX_NONE, 32, 4, ioc->res_map,