Searched refs:alloc_map (Results 1 - 8 of 8) sorted by relevance

/linux-master/kernel/irq/
H A Dmatrix.c19 unsigned long alloc_map[]; member in struct:cpumap
64 m->maps = __alloc_percpu(struct_size(m->maps, alloc_map, matrix_size * 2),
74 cm->managed_map = &cm->alloc_map[matrix_size];
123 bitmap_or(m->scratch_map, m->scratch_map, cm->alloc_map, end);
130 bitmap_set(cm->alloc_map, area, num);
197 BUG_ON(!test_and_clear_bit(bit, cm->alloc_map));
269 bitmap_andnot(m->scratch_map, cm->managed_map, cm->alloc_map, end);
308 bitmap_andnot(m->scratch_map, cm->managed_map, cm->alloc_map, end);
312 set_bit(bit, cm->alloc_map);
334 if (WARN_ON_ONCE(test_and_set_bit(bit, cm->alloc_map)))
[all...]
/linux-master/mm/
H A Dpercpu-stats.c69 last_alloc = find_last_bit(chunk->alloc_map,
72 last_alloc = test_bit(last_alloc, chunk->alloc_map) ?
88 if (test_bit(start, chunk->alloc_map)) {
93 end = find_next_bit(chunk->alloc_map, last_alloc,
H A Dpercpu-internal.h54 unsigned long *alloc_map; /* allocation map */ member in struct:pcpu_chunk
H A Dpercpu.c288 return chunk->alloc_map +
777 unsigned long *alloc_map = pcpu_index_alloc_map(chunk, index); local
794 for_each_clear_bitrange_from(start, end, alloc_map, PCPU_BITMAP_BLOCK_BITS)
1233 bit_off = pcpu_find_zero_area(chunk->alloc_map, end, start, alloc_bits,
1242 bitmap_set(chunk->alloc_map, bit_off, alloc_bits);
1254 chunk->alloc_map,
1292 bitmap_clear(chunk->alloc_map, bit_off, bits);
1376 alloc_size = BITS_TO_LONGS(region_bits) * sizeof(chunk->alloc_map[0]);
1377 chunk->alloc_map = memblock_alloc(alloc_size, SMP_CACHE_BYTES);
1378 if (!chunk->alloc_map)
[all...]
/linux-master/include/linux/
H A Dmhi_ep.h104 * @alloc_map: CB function for allocating memory in endpoint for storing host context and mapping it
159 int (*alloc_map)(struct mhi_ep_cntrl *mhi_cntrl, u64 pci_addr, phys_addr_t *phys_ptr, member in struct:mhi_ep_cntrl
/linux-master/drivers/dma/
H A Dste_dma40.c417 * @alloc_map: big map over which LCLA entry is own by which job.
425 struct d40_desc **alloc_map; member in struct:d40_lcla_pool
740 if (!d40c->base->lcla_pool.alloc_map[idx]) {
741 d40c->base->lcla_pool.alloc_map[idx] = d40d;
768 if (d40c->base->lcla_pool.alloc_map[idx] == d40d) {
769 d40c->base->lcla_pool.alloc_map[idx] = NULL;
3283 base->lcla_pool.alloc_map = devm_kcalloc(dev, num_phy_chans
3285 sizeof(*base->lcla_pool.alloc_map),
3287 if (!base->lcla_pool.alloc_map)
/linux-master/drivers/bus/mhi/ep/
H A Dmain.c652 ret = mhi_cntrl->alloc_map(mhi_cntrl, mhi_cntrl->ch_ctx_host_pa,
665 ret = mhi_cntrl->alloc_map(mhi_cntrl, mhi_cntrl->ev_ctx_host_pa,
678 ret = mhi_cntrl->alloc_map(mhi_cntrl, mhi_cntrl->cmd_ctx_host_pa,
/linux-master/drivers/pci/endpoint/functions/
H A Dpci-epf-mhi.c783 mhi_cntrl->alloc_map = pci_epf_mhi_alloc_map;

Completed in 156 milliseconds