| /linux-6.15/drivers/parisc/ |
| H A D | sba_iommu.c | 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() 421 ioc->res_hint = (unsigned long *) ioc->res_map; in sba_search_bitmap() 1722 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init() 1726 if (NULL == sba_dev->ioc[i].res_map) in sba_common_init() 1732 memset(sba_dev->ioc[i].res_map, 0, res_size); in sba_common_init() 1735 &(sba_dev->ioc[i].res_map[L1_CACHE_BYTES]); in sba_common_init() 1739 sba_dev->ioc[i].res_map[0] = 0x80; in sba_common_init() 1759 iterate_pages( sba_dev->ioc[i].res_map, res_size, in sba_common_init() 1766 __func__, i, res_size, sba_dev->ioc[i].res_map); in sba_common_init() [all …]
|
| H A 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.15/tools/testing/selftests/bpf/progs/ |
| H A 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.15/net/netfilter/ |
| H A D | nft_set_pipapo.c | 415 unsigned long *res_map, *fill_map; in nft_pipapo_lookup() local 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() 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() 545 pipapo_resmap_init(m, res_map); in pipapo_get() 594 swap(res_map, fill_map); in pipapo_get() [all …]
|
| H A D | nft_set_pipapo.h | 291 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-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_xdp_veth.c | 465 int mac_map, egress_map, res_map; in xdp_veth_egress() local 528 res_map = bpf_map__fd(xdp_redirect_map->maps.rx_mac); in xdp_veth_egress() 529 if (!ASSERT_OK_FD(res_map, "open rx_map")) in xdp_veth_egress() 536 err = bpf_map_lookup_elem(res_map, &key, &res); in xdp_veth_egress()
|
| H A D | legacy_printk.c | 40 map_fd = bpf_map__fd(skel->maps.res_map); in execute_one_variant()
|
| /linux-6.15/fs/bcachefs/ |
| H A D | journal.h | 317 lock_release(&j->res_map, _THIS_IP_); in bch2_journal_res_put() 406 lock_acquire_shared(&j->res_map, 0, in bch2_journal_res_get()
|
| H A D | journal_types.h | 301 struct lockdep_map res_map; member
|
| H A D | journal.c | 1607 lockdep_init_map(&j->res_map, "journal res", &res_key, 0); in bch2_fs_journal_init()
|
| /linux-6.15/arch/parisc/include/asm/ |
| H A D | ropes.h | 31 char *res_map; /* resource map, bit == pdir entry */ member
|
| /linux-6.15/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_rm.c | 24 static inline bool reserved_by_other(uint32_t *res_map, int idx, in reserved_by_other() argument 27 return res_map[idx] && res_map[idx] != crtc_id; in reserved_by_other()
|
| /linux-6.15/drivers/firmware/ |
| H A D | ti_sci.c | 3450 free_bit = find_first_zero_bit(desc->res_map, res_count); in ti_sci_get_free_resource() 3452 __set_bit(free_bit, desc->res_map); in ti_sci_get_free_resource() 3483 __clear_bit(id - desc->start, desc->res_map); in ti_sci_release_resource() 3486 __clear_bit(id - desc->start_sec, desc->res_map); in ti_sci_release_resource() 3557 res->desc[i].res_map = devm_bitmap_zalloc(dev, res_count, in devm_ti_sci_get_resource_sets() 3559 if (!res->desc[i].res_map) in devm_ti_sci_get_resource_sets()
|
| /linux-6.15/include/linux/soc/ti/ |
| H A D | ti_sci_protocol.h | 240 unsigned long *res_map; member
|