Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/parisc/
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()
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[ridx & ~RESMAP_IDX_MASK]); in sba_free_range()
1708 sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size)); in sba_common_init()
1711 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]); \
1104 seq_hex_dump(m, " ", DUMP_PREFIX_NONE, 32, 4, ioc->res_map, in ccio_proc_bitmap_info()
1168 res_ptr = ioc->res_map; in ccio_cujo20_fixup()
1303 ioc->res_map = (u8 *)__get_free_pages(GFP_KERNEL, in ccio_ioc_init()
1305 if(NULL == ioc->res_map) { in ccio_ioc_init()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/dpu1/
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-5.10/arch/parisc/include/asm/
Dropes.h31 char *res_map; /* resource map, bit == pdir entry */ member
/kernel/linux/linux-5.10/drivers/firmware/
Dti_sci.c3160 free_bit = find_first_zero_bit(res->desc[set].res_map, in ti_sci_get_free_resource()
3163 set_bit(free_bit, res->desc[set].res_map); in ti_sci_get_free_resource()
3189 res->desc[set].res_map); in ti_sci_release_resource()
3260 res->desc[i].res_map = in devm_ti_sci_get_resource_sets()
3262 sizeof(*res->desc[i].res_map), GFP_KERNEL); in devm_ti_sci_get_resource_sets()
3263 if (!res->desc[i].res_map) in devm_ti_sci_get_resource_sets()
/kernel/linux/linux-5.10/include/linux/soc/ti/
Dti_sci_protocol.h532 unsigned long *res_map; member