Home
last modified time | relevance | path

Searched refs:mapping_size (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/include/linux/
Dtpm_eventlog.h167 int mapping_size; in __calc_tpm2_event_size() local
185 mapping_size = marker - marker_start; in __calc_tpm2_event_size()
187 mapping_size); in __calc_tpm2_event_size()
233 TPM_MEMUNMAP(mapping, mapping_size); in __calc_tpm2_event_size()
234 mapping_size = halg_size; in __calc_tpm2_event_size()
236 mapping_size); in __calc_tpm2_event_size()
267 TPM_MEMUNMAP(mapping, mapping_size); in __calc_tpm2_event_size()
268 mapping_size += sizeof(event_field->event_size); in __calc_tpm2_event_size()
270 mapping_size); in __calc_tpm2_event_size()
290 TPM_MEMUNMAP(mapping, mapping_size); in __calc_tpm2_event_size()
Dswiotlb.h46 size_t mapping_size, size_t alloc_size,
52 size_t mapping_size,
Dhyperv.h1631 u32 mapping_size; member
/linux-6.6.21/arch/sparc/vdso/
Dvdso2c.h17 unsigned long mapping_size; in BITSFUNC() local
116 mapping_size = (stripped_len + 8191) / 8192 * 8192; in BITSFUNC()
124 mapping_size); in BITSFUNC()
135 fprintf(outfile, "\t.size = %lu,\n", mapping_size); in BITSFUNC()
/linux-6.6.21/arch/x86/entry/vdso/
Dvdso2c.h49 unsigned long mapping_size; in BITSFUNC() local
178 mapping_size = (stripped_len + 4095) / 4096 * 4096; in BITSFUNC()
188 mapping_size); in BITSFUNC()
202 fprintf(outfile, "\t.size = %lu,\n", mapping_size); in BITSFUNC()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dradix_pgtable.c298 unsigned long vaddr, addr, mapping_size = 0; in create_physical_mapping() local
309 for (addr = start; addr < end; addr += mapping_size) { in create_physical_mapping()
316 previous_size = mapping_size; in create_physical_mapping()
321 mapping_size = PUD_SIZE; in create_physical_mapping()
325 mapping_size = PMD_SIZE; in create_physical_mapping()
328 mapping_size = PAGE_SIZE; in create_physical_mapping()
334 if (overlaps_kernel_text(vaddr, vaddr + mapping_size) || in create_physical_mapping()
335 overlaps_interrupt_vector_text(vaddr, vaddr + mapping_size)) { in create_physical_mapping()
343 if (mapping_size != previous_size || exec != prev_exec) { in create_physical_mapping()
348 rc = __map_kernel_page(vaddr, addr, prot, mapping_size, nid, start, end); in create_physical_mapping()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c76 u32 mapping_size = 1 << (rq->mpwqe.page_shift - 2); in mlx5e_xsk_alloc_rx_mpwqe() local
88 .va = cpu_to_be64(addr + mapping_size), in mlx5e_xsk_alloc_rx_mpwqe()
92 .va = cpu_to_be64(addr + mapping_size * 2), in mlx5e_xsk_alloc_rx_mpwqe()
/linux-6.6.21/kernel/dma/
Dswiotlb.c1267 size_t mapping_size, size_t alloc_size, in swiotlb_tbl_map_single() argument
1287 if (mapping_size > alloc_size) { in swiotlb_tbl_map_single()
1289 mapping_size, alloc_size); in swiotlb_tbl_map_single()
1318 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_TO_DEVICE); in swiotlb_tbl_map_single()
1410 size_t mapping_size, enum dma_data_direction dir, in swiotlb_tbl_unmap_single() argument
1418 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_FROM_DEVICE); in swiotlb_tbl_unmap_single()
/linux-6.6.21/arch/arm/mm/
Ddma-mapping.c762 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __alloc_iova() local
808 iova = mapping->base + (mapping_size * i); in __alloc_iova()
818 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __free_iova() local
826 bitmap_index = (u32) (addr - mapping->base) / (u32) mapping_size; in __free_iova()
829 bitmap_base = mapping->base + mapping_size * bitmap_index; in __free_iova()
833 if (addr + size > bitmap_base + mapping_size) { in __free_iova()
/linux-6.6.21/drivers/net/hyperv/
Dnetvsc.c983 packet->dma_range[i].mapping_size, in netvsc_dma_unmap()
1040 packet->dma_range[i].mapping_size = len; in netvsc_dma_map()
/linux-6.6.21/drivers/block/
Drbd.c4728 u64 mapping_size; in rbd_queue_workfn() local
4741 mapping_size = rbd_dev->mapping.size; in rbd_queue_workfn()
4745 if (offset + length > mapping_size) { in rbd_queue_workfn()
4747 length, mapping_size); in rbd_queue_workfn()