Home
last modified time | relevance | path

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

/linux-6.1.9/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.h45 size_t mapping_size, size_t alloc_size,
51 size_t mapping_size,
Dhyperv.h1637 u32 mapping_size; member
/linux-6.1.9/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.1.9/arch/powerpc/mm/book3s64/
Dradix_pgtable.c275 unsigned long vaddr, addr, mapping_size = 0; in create_physical_mapping() local
286 for (addr = start; addr < end; addr += mapping_size) { in create_physical_mapping()
293 previous_size = mapping_size; in create_physical_mapping()
298 mapping_size = PUD_SIZE; in create_physical_mapping()
302 mapping_size = PMD_SIZE; in create_physical_mapping()
305 mapping_size = PAGE_SIZE; in create_physical_mapping()
311 if (overlaps_kernel_text(vaddr, vaddr + mapping_size) || in create_physical_mapping()
312 overlaps_interrupt_vector_text(vaddr, vaddr + mapping_size)) { in create_physical_mapping()
320 if (mapping_size != previous_size || exec != prev_exec) { in create_physical_mapping()
325 rc = __map_kernel_page(vaddr, addr, prot, mapping_size, nid, start, end); in create_physical_mapping()
[all …]
/linux-6.1.9/arch/x86/entry/vdso/
Dvdso2c.h49 unsigned long mapping_size; in BITSFUNC() local
178 mapping_size = (stripped_len + 4095) / 4096 * 4096; in BITSFUNC()
187 mapping_size); in BITSFUNC()
201 fprintf(outfile, "\t.size = %lu,\n", mapping_size); in BITSFUNC()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c62 u32 mapping_size = 1 << (rq->mpwqe.page_shift - 2); in mlx5e_xsk_alloc_rx_mpwqe() local
73 .va = cpu_to_be64(addr + mapping_size), in mlx5e_xsk_alloc_rx_mpwqe()
77 .va = cpu_to_be64(addr + mapping_size * 2), in mlx5e_xsk_alloc_rx_mpwqe()
/linux-6.1.9/kernel/dma/
Dswiotlb.c727 size_t mapping_size, size_t alloc_size, in swiotlb_tbl_map_single() argument
746 if (mapping_size > alloc_size) { in swiotlb_tbl_map_single()
748 mapping_size, alloc_size); in swiotlb_tbl_map_single()
777 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_TO_DEVICE); in swiotlb_tbl_map_single()
832 size_t mapping_size, enum dma_data_direction dir, in swiotlb_tbl_unmap_single() argument
840 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_FROM_DEVICE); in swiotlb_tbl_unmap_single()
/linux-6.1.9/arch/arm/mm/
Ddma-mapping.c766 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __alloc_iova() local
812 iova = mapping->base + (mapping_size * i); in __alloc_iova()
822 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __free_iova() local
830 bitmap_index = (u32) (addr - mapping->base) / (u32) mapping_size; in __free_iova()
833 bitmap_base = mapping->base + mapping_size * bitmap_index; in __free_iova()
837 if (addr + size > bitmap_base + mapping_size) { in __free_iova()
/linux-6.1.9/drivers/net/hyperv/
Dnetvsc.c1003 packet->dma_range[i].mapping_size, in netvsc_dma_unmap()
1062 packet->dma_range[i].mapping_size = len; in netvsc_dma_map()
/linux-6.1.9/drivers/block/
Drbd.c4643 u64 mapping_size; in rbd_queue_workfn() local
4656 mapping_size = rbd_dev->mapping.size; in rbd_queue_workfn()
4660 if (offset + length > mapping_size) { in rbd_queue_workfn()
4662 length, mapping_size); in rbd_queue_workfn()
4860 u64 mapping_size; in rbd_dev_refresh() local
4864 mapping_size = rbd_dev->mapping.size; in rbd_dev_refresh()
4885 if (!ret && mapping_size != rbd_dev->mapping.size) in rbd_dev_refresh()