Home
last modified time | relevance | path

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

/linux/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()
/linux/net/netfilter/
H A Dnft_set_pipapo.c415 unsigned long *res_map, *fill_map; in nft_pipapo_lookup() local
434 res_map = scratch->map + (map_index ? m->bsize_max : 0); in nft_pipapo_lookup()
437 pipapo_resmap_init(m, res_map); in nft_pipapo_lookup()
447 pipapo_and_field_buckets_8bit(f, res_map, rp); in nft_pipapo_lookup()
449 pipapo_and_field_buckets_4bit(f, res_map, rp); in nft_pipapo_lookup()
462 b = pipapo_refill(res_map, f->bsize, f->rules, fill_map, f->mt, in nft_pipapo_lookup()
493 swap(res_map, fill_map); in nft_pipapo_lookup()
526 unsigned long *res_map, *fill_map = NULL; in pipapo_get() local
533 res_map = kmalloc_array(m->bsize_max, sizeof(*res_map), gfp); in pipapo_get()
534 if (!res_map) { in pipapo_get()
[all …]
H A Dnft_set_pipapo.h291 static inline void pipapo_resmap_init(const struct nft_pipapo_match *m, unsigned long *res_map) in pipapo_resmap_init() argument
297 res_map[i] = ULONG_MAX; in pipapo_resmap_init()
300 res_map[i] = 0ul; in pipapo_resmap_init()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlegacy_printk.c40 map_fd = bpf_map__fd(skel->maps.res_map); in execute_one_variant()
/linux/fs/bcachefs/
H A Djournal.h301 lock_release(&j->res_map, _THIS_IP_); in bch2_journal_res_put()
387 lock_acquire_shared(&j->res_map, 0, in bch2_journal_res_get()
H A Djournal.c1395 lockdep_init_map(&j->res_map, "journal res", &res_key, 0); in bch2_fs_journal_init()
/linux/arch/parisc/include/asm/
H A Dropes.h31 char *res_map; /* resource map, bit == pdir entry */ member
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_rm.c23 static inline bool reserved_by_other(uint32_t *res_map, int idx, in reserved_by_other() argument
26 return res_map[idx] && res_map[idx] != enc_id; in reserved_by_other()
/linux/drivers/firmware/
H A Dti_sci.c3078 free_bit = find_first_zero_bit(desc->res_map, res_count); in ti_sci_get_free_resource()
3080 __set_bit(free_bit, desc->res_map); in ti_sci_get_free_resource()
3111 __clear_bit(id - desc->start, desc->res_map); in ti_sci_release_resource()
3114 __clear_bit(id - desc->start_sec, desc->res_map); in ti_sci_release_resource()
3185 res->desc[i].res_map = devm_bitmap_zalloc(dev, res_count, in devm_ti_sci_get_resource_sets()
3187 if (!res->desc[i].res_map) in devm_ti_sci_get_resource_sets()
/linux/include/linux/soc/ti/
H A Dti_sci_protocol.h211 unsigned long *res_map; member