Searched refs:res_map (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/parisc/ |
D | sba_iommu.c | 206 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry() 236 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir() 237 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir() 326 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide() 345 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap() 421 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap() 465 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range() 499 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[ridx & ~RESMAP_IDX_MASK]); in sba_free_range() 1719 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init() 1722 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init() [all …]
|
D | ccio-dma.c | 216 u8 *res_map; /* resource map, bit == pdir entry */ member 288 idx = (unsigned int)((unsigned long)res_ptr - (unsigned long)ioc->res_map); \ 299 u##size *res_ptr = (u##size *)&((ioc)->res_map[ioa->res_hint & ~((size >> 3) - 1)]); \ 300 u##size *res_end = (u##size *)&(ioc)->res_map[ioa->res_size]; \ 302 res_ptr = (u##size *)&(ioc)->res_map[0]; \ 407 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \ 1101 seq_hex_dump(m, " ", DUMP_PREFIX_NONE, 32, 4, ioc->res_map, in ccio_proc_bitmap_info() 1165 res_ptr = ioc->res_map; in ccio_cujo20_fixup() 1300 ioc->res_map = (u8 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init() 1302 if(NULL == ioc->res_map) { in ccio_ioc_init() [all …]
|
/linux-6.6.21/net/netfilter/ |
D | nft_set_pipapo.c | 413 unsigned long *res_map, *fill_map; in nft_pipapo_lookup() local 432 res_map = scratch->map + (map_index ? m->bsize_max : 0); in nft_pipapo_lookup() 435 memset(res_map, 0xff, m->bsize_max * sizeof(*res_map)); in nft_pipapo_lookup() 445 pipapo_and_field_buckets_8bit(f, res_map, rp); in nft_pipapo_lookup() 447 pipapo_and_field_buckets_4bit(f, res_map, rp); in nft_pipapo_lookup() 460 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in nft_pipapo_lookup() 491 swap(res_map, fill_map); in nft_pipapo_lookup() 521 unsigned long *res_map, *fill_map = NULL; in pipapo_get() local 525 res_map = kmalloc_array(m->bsize_max, sizeof(*res_map), GFP_ATOMIC); in pipapo_get() 526 if (!res_map) { in pipapo_get() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | test_legacy_printk.c | 22 } res_map SEC(".maps"); 40 my_res = bpf_map_lookup_elem(&res_map, &zero); in handle_legacy()
|
/linux-6.6.21/arch/ia64/hp/common/ |
D | sba_iommu.c | 200 char *res_map; /* resource map, bit == pdir entry */ member 313 unsigned long *rptr = (unsigned long *) &ioc->res_map[(pide >>3) & -sizeof(unsigned long)]; in sba_dump_pdir_entry() 342 u64 *rptr_end = (u64 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir() 343 u64 *rptr = (u64 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir() 460 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide() 479 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap() 499 res_ptr = (ulong *)ioc->res_map; in sba_search_bitmap() 600 prefetch(ioc->res_map); in sba_search_bitmap() 601 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap() 704 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | legacy_printk.c | 40 map_fd = bpf_map__fd(skel->maps.res_map); in execute_one_variant()
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_rm.c | 22 static inline bool reserved_by_other(uint32_t *res_map, int idx, in reserved_by_other() argument 25 return res_map[idx] && res_map[idx] != enc_id; in reserved_by_other()
|
/linux-6.6.21/arch/parisc/include/asm/ |
D | ropes.h | 31 char *res_map; /* resource map, bit == pdir entry */ member
|
/linux-6.6.21/drivers/firmware/ |
D | ti_sci.c | 3082 free_bit = find_first_zero_bit(desc->res_map, res_count); in ti_sci_get_free_resource() 3084 __set_bit(free_bit, desc->res_map); in ti_sci_get_free_resource() 3115 __clear_bit(id - desc->start, desc->res_map); in ti_sci_release_resource() 3118 __clear_bit(id - desc->start_sec, desc->res_map); in ti_sci_release_resource() 3189 res->desc[i].res_map = devm_bitmap_zalloc(dev, res_count, in devm_ti_sci_get_resource_sets() 3191 if (!res->desc[i].res_map) in devm_ti_sci_get_resource_sets()
|
/linux-6.6.21/include/linux/soc/ti/ |
D | ti_sci_protocol.h | 211 unsigned long *res_map; member
|