Home
last modified time | relevance | path

Searched refs:res_map (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/parisc/
Dsba_iommu.c208 unsigned long *rptr = (unsigned long *) &(ioc->res_map[(pide >>3) & ~(sizeof(unsigned long) - 1)]); in sba_dump_pdir_entry()
238 u32 *rptr_end = (u32 *) &(ioc->res_map[ioc->res_size]); in sba_check_pdir()
239 u32 *rptr = (u32 *) ioc->res_map; /* resource map ptr */ in sba_check_pdir()
328 return (((unsigned long)res_ptr - (unsigned long)ioc->res_map) << 3) in ptr_to_pide()
346 unsigned long *res_end = (unsigned long *) &(ioc->res_map[ioc->res_size]); in sba_search_bitmap()
422 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()
1715 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init()
1718 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init()
[all …]
Dccio-dma.c227 u8 *res_map; /* resource map, bit == pdir entry */ member
299 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]; \
417 u##size *res_ptr = (u##size *)&((ioc)->res_map[res_idx]); \
1105 seq_hex_dump(m, " ", DUMP_PREFIX_NONE, 32, 4, ioc->res_map, in ccio_proc_bitmap_info()
1169 res_ptr = ioc->res_map; in ccio_cujo20_fixup()
1304 ioc->res_map = (u8 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
1306 if(NULL == ioc->res_map) { in ccio_ioc_init()
[all …]
/linux-6.1.9/net/netfilter/
Dnft_set_pipapo.c415 unsigned long *res_map, *fill_map; in nft_pipapo_lookup() local
432 res_map = *raw_cpu_ptr(m->scratch) + (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.1.9/tools/testing/selftests/bpf/progs/
Dtest_legacy_printk.c22 } res_map SEC(".maps");
40 my_res = bpf_map_lookup_elem(&res_map, &zero); in handle_legacy()
/linux-6.1.9/arch/ia64/hp/common/
Dsba_iommu.c200 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.1.9/tools/testing/selftests/bpf/prog_tests/
Dlegacy_printk.c40 map_fd = bpf_map__fd(skel->maps.res_map); in execute_one_variant()
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_rm.c20 static inline bool reserved_by_other(uint32_t *res_map, int idx, in reserved_by_other() argument
23 return res_map[idx] && res_map[idx] != enc_id; in reserved_by_other()
/linux-6.1.9/arch/parisc/include/asm/
Dropes.h31 char *res_map; /* resource map, bit == pdir entry */ member
/linux-6.1.9/drivers/firmware/
Dti_sci.c3096 free_bit = find_first_zero_bit(desc->res_map, res_count); in ti_sci_get_free_resource()
3098 set_bit(free_bit, desc->res_map); in ti_sci_get_free_resource()
3129 clear_bit(id - desc->start, desc->res_map); in ti_sci_release_resource()
3132 clear_bit(id - desc->start_sec, desc->res_map); in ti_sci_release_resource()
3203 res->desc[i].res_map = in devm_ti_sci_get_resource_sets()
3205 sizeof(*res->desc[i].res_map), GFP_KERNEL); in devm_ti_sci_get_resource_sets()
3206 if (!res->desc[i].res_map) in devm_ti_sci_get_resource_sets()
/linux-6.1.9/include/linux/soc/ti/
Dti_sci_protocol.h211 unsigned long *res_map; member