Home
last modified time | relevance | path

Searched refs:res_map (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_legacy_printk.c22 } res_map SEC(".maps");
40 my_res = bpf_map_lookup_elem(&res_map, &zero); in handle_legacy()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnft_set_pipapo.c218 * - start with an all-ones result bitmap (res_map in pipapo_lookup())
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()
456 * Now res_map contains the matching bitmap, and fill_map is the in nft_pipapo_lookup()
460 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in nft_pipapo_lookup()
486 /* Swap bitmap indices: res_map i in nft_pipapo_lookup()
521 unsigned long *res_map, *fill_map = NULL; pipapo_get() local
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dnft_set_pipapo.c218 * - start with an all-ones result bitmap (res_map in pipapo_lookup())
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()
456 * Now res_map contains the matching bitmap, and fill_map is the in nft_pipapo_lookup()
460 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in nft_pipapo_lookup()
486 /* Swap bitmap indices: res_map i in nft_pipapo_lookup()
521 unsigned long *res_map, *fill_map = NULL; pipapo_get() local
[all...]
/kernel/linux/linux-5.10/arch/ia64/hp/common/
H A 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()
360 ** BUMMER! -- res_map != pdir -- in sba_check_pdir()
371 rptr++; /* look at next word of res_map */ 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()
[all...]
/kernel/linux/linux-6.6/arch/ia64/hp/common/
H A 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()
360 ** BUMMER! -- res_map != pdir -- in sba_check_pdir()
371 rptr++; /* look at next word of res_map */ 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()
[all...]
/kernel/linux/linux-5.10/drivers/parisc/
H A Dsba_iommu.c202 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()
247 ** BUMMER! -- res_map != pdir -- in sba_check_pdir()
258 rptr++; /* look at next word of res_map */ 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()
416 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap()
459 (uint) ((unsigned long) ioc->res_hint - (unsigned long) ioc->res_map), in sba_alloc_range()
493 unsigned long *res_ptr = (unsigned long *) &((ioc)->res_map[rid in sba_free_range()
[all...]
H A 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()
1261 ** thus, pdir/res_map will also be log2(). in ccio_ioc_init()
1304 ioc->res_map in ccio_ioc_init()
[all...]
/kernel/linux/linux-6.6/drivers/parisc/
H A Dsba_iommu.c206 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()
251 ** BUMMER! -- res_map != pdir -- in sba_check_pdir()
262 rptr++; /* look at next word of res_map */ 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[rid in sba_free_range()
[all...]
H A Dccio-dma.c216 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()
1257 ** thus, pdir/res_map will also be log2(). in ccio_ioc_init()
1300 ioc->res_map in ccio_ioc_init()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dlegacy_printk.c40 map_fd = bpf_map__fd(skel->maps.res_map); in execute_one_variant()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c17 static inline bool reserved_by_other(uint32_t *res_map, int idx, in reserved_by_other() argument
20 return res_map[idx] && res_map[idx] != enc_id; in reserved_by_other()
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c22 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()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dropes.h31 char *res_map; /* resource map, bit == pdir entry */ member
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dropes.h31 char *res_map; /* resource map, bit == pdir entry */ member
/kernel/linux/linux-5.10/drivers/firmware/
H A Dti_sci.c3147 free_bit = find_first_zero_bit(res->desc[set].res_map, in ti_sci_get_free_resource()
3150 set_bit(free_bit, res->desc[set].res_map); in ti_sci_get_free_resource()
3176 res->desc[set].res_map); in ti_sci_release_resource()
3247 res->desc[i].res_map = in devm_ti_sci_get_resource_sets()
3249 sizeof(*res->desc[i].res_map), GFP_KERNEL); in devm_ti_sci_get_resource_sets()
3250 if (!res->desc[i].res_map) in devm_ti_sci_get_resource_sets()
/kernel/linux/linux-6.6/drivers/firmware/
H A Dti_sci.c3082 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()
/kernel/linux/linux-5.10/include/linux/soc/ti/
H A Dti_sci_protocol.h527 * @res_map: Bitmap to manage the allocation of these resources.
532 unsigned long *res_map; member
/kernel/linux/linux-6.6/include/linux/soc/ti/
H A Dti_sci_protocol.h204 * @res_map: Bitmap to manage the allocation of these resources.
211 unsigned long *res_map; member

Completed in 27 milliseconds