Searched refs:alloc_map (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/kernel/irq/ |
D | matrix.c | 20 unsigned long alloc_map[IRQ_MATRIX_SIZE]; member 117 bitmap_or(m->scratch_map, m->scratch_map, cm->alloc_map, end); in matrix_alloc_area() 124 bitmap_set(cm->alloc_map, area, num); in matrix_alloc_area() 191 BUG_ON(!test_and_clear_bit(bit, cm->alloc_map)); in irq_matrix_assign_system() 263 bitmap_andnot(m->scratch_map, cm->managed_map, cm->alloc_map, end); in irq_matrix_remove_managed() 302 bitmap_andnot(m->scratch_map, cm->managed_map, cm->alloc_map, end); in irq_matrix_alloc_managed() 306 set_bit(bit, cm->alloc_map); in irq_matrix_alloc_managed() 328 if (WARN_ON_ONCE(test_and_set_bit(bit, cm->alloc_map))) in irq_matrix_assign() 426 if (WARN_ON_ONCE(!test_and_clear_bit(bit, cm->alloc_map))) in irq_matrix_free() 509 m->matrix_bits, cm->alloc_map); in irq_matrix_debug_show()
|
/linux-6.6.21/mm/ |
D | percpu-stats.c | 69 last_alloc = find_last_bit(chunk->alloc_map, in chunk_map_stats() 72 last_alloc = test_bit(last_alloc, chunk->alloc_map) ? in chunk_map_stats() 88 if (test_bit(start, chunk->alloc_map)) { in chunk_map_stats() 93 end = find_next_bit(chunk->alloc_map, last_alloc, in chunk_map_stats()
|
D | percpu.c | 288 return chunk->alloc_map + in pcpu_index_alloc_map() 777 unsigned long *alloc_map = pcpu_index_alloc_map(chunk, index); in pcpu_block_refresh_hint() local 794 for_each_clear_bitrange_from(start, end, alloc_map, PCPU_BITMAP_BLOCK_BITS) in pcpu_block_refresh_hint() 1233 bit_off = pcpu_find_zero_area(chunk->alloc_map, end, start, alloc_bits, in pcpu_alloc_area() 1242 bitmap_set(chunk->alloc_map, bit_off, alloc_bits); in pcpu_alloc_area() 1254 chunk->alloc_map, in pcpu_alloc_area() 1292 bitmap_clear(chunk->alloc_map, bit_off, bits); in pcpu_free_area() 1376 alloc_size = BITS_TO_LONGS(region_bits) * sizeof(chunk->alloc_map[0]); in pcpu_alloc_first_chunk() 1377 chunk->alloc_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES); in pcpu_alloc_first_chunk() 1378 if (!chunk->alloc_map) in pcpu_alloc_first_chunk() [all …]
|
D | percpu-internal.h | 54 unsigned long *alloc_map; /* allocation map */ member
|
/linux-6.6.21/include/linux/ |
D | mhi_ep.h | 148 int (*alloc_map)(struct mhi_ep_cntrl *mhi_cntrl, u64 pci_addr, phys_addr_t *phys_ptr, member
|
/linux-6.6.21/drivers/dma/ |
D | ste_dma40.c | 427 struct d40_desc **alloc_map; member 742 if (!d40c->base->lcla_pool.alloc_map[idx]) { in d40_lcla_alloc_one() 743 d40c->base->lcla_pool.alloc_map[idx] = d40d; in d40_lcla_alloc_one() 770 if (d40c->base->lcla_pool.alloc_map[idx] == d40d) { in d40_lcla_free_all() 771 d40c->base->lcla_pool.alloc_map[idx] = NULL; in d40_lcla_free_all() 3285 base->lcla_pool.alloc_map = devm_kcalloc(dev, num_phy_chans in d40_hw_detect_init() 3287 sizeof(*base->lcla_pool.alloc_map), in d40_hw_detect_init() 3289 if (!base->lcla_pool.alloc_map) in d40_hw_detect_init()
|
/linux-6.6.21/drivers/bus/mhi/ep/ |
D | main.c | 584 ret = mhi_cntrl->alloc_map(mhi_cntrl, mhi_cntrl->ch_ctx_host_pa, in mhi_ep_cache_host_cfg() 597 ret = mhi_cntrl->alloc_map(mhi_cntrl, mhi_cntrl->ev_ctx_host_pa, in mhi_ep_cache_host_cfg() 610 ret = mhi_cntrl->alloc_map(mhi_cntrl, mhi_cntrl->cmd_ctx_host_pa, in mhi_ep_cache_host_cfg()
|
/linux-6.6.21/drivers/pci/endpoint/functions/ |
D | pci-epf-mhi.c | 536 mhi_cntrl->alloc_map = pci_epf_mhi_alloc_map; in pci_epf_mhi_link_up()
|