Lines Matching refs:res_map
206 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]);
236 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]);
237 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */
251 ** BUMMER! -- res_map != pdir --
262 rptr++; /* look at next word of res_map */
326 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3)
345 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]);
421 ioc->res_hint = (unsigned long *) ioc->res_map;
465 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map),
499 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]);
1425 ** thus, pdir/res_map will also be log2().
1719 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size));
1722 iterate_pages( sba_dev->ioc[i].res_map, res_size,
1726 if (NULL == sba_dev->ioc[i].res_map)
1732 memset(sba_dev->ioc[i].res_map, 0, res_size);
1735 &(sba_dev->ioc[i].res_map[L1_CACHE_BYTES]);
1739 sba_dev->ioc[i].res_map[0] = 0x80;
1749 long *p_start = (long *) &(sba_dev->ioc[i].res_map[idx_start]);
1750 long *p_end = (long *) &(sba_dev->ioc[i].res_map[idx_end]);
1759 iterate_pages( sba_dev->ioc[i].res_map, res_size,
1765 DBG_INIT("%s() %d res_map %x %p\n",
1766 __func__, i, res_size, sba_dev->ioc[i].res_map);
1863 seq_hex_dump(m, " ", DUMP_PREFIX_NONE, 32, 4, ioc->res_map,