Searched refs:res_map (Results 1 – 4 of 4) sorted by relevance
202 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry()232 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()233 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()322 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()340 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap()417 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap()460 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range()494 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]); in sba_free_range()1690 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init()1693 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init()[all …]
227 u8 *res_map; /* resource map, bit == pdir entry */ member299 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \310 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \311 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \313 res_ptr = (u##size *)&(ioc)->res_map[0]; \418 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \1108 u32 *res_ptr = (u32 *)ioc->res_map; in ccio_proc_bitmap_info()1192 res_ptr = ioc->res_map; in ccio_cujo20_fixup()1327 ioc->res_map = (u8 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()1329 if(NULL == ioc->res_map) { in ccio_ioc_init()[all …]
204 char *res_map; /* resource map, bit == pdir entry */ member321 unsigned long *rptr = (unsigned long *) &ioc->res_map[(pide >>3) & -sizeof(unsigned long)]; in sba_dump_pdir_entry()350 u64 *rptr_end = (u64 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()351 u64 *rptr = (u64 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()468 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()487 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap()508 res_ptr = (ulong *)ioc->res_map; in sba_search_bitmap()609 prefetch(ioc->res_map); in sba_search_bitmap()610 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap()713 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range()[all …]
30 char *res_map; /* resource map, bit == pdir entry */ member