Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A 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()
H A Dswiotlb.h46 size_t mapping_size, size_t alloc_size,
52 size_t mapping_size,
H A Dhyperv.h1652 u32 mapping_size; member
/openbmc/linux/arch/sparc/vdso/
H A 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()
/openbmc/linux/arch/x86/entry/vdso/
H A 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()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A 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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A 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()
/openbmc/linux/kernel/dma/
H A Dswiotlb.c1302 size_t mapping_size, size_t alloc_size, in swiotlb_tbl_map_single() argument
1323 if (mapping_size > alloc_size) { in swiotlb_tbl_map_single()
1325 mapping_size, alloc_size); in swiotlb_tbl_map_single()
1359 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_TO_DEVICE); in swiotlb_tbl_map_single()
1456 size_t mapping_size, enum dma_data_direction dir, in swiotlb_tbl_unmap_single() argument
1464 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_FROM_DEVICE); in swiotlb_tbl_unmap_single()
/openbmc/linux/arch/arm/mm/
H A 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()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc.c986 packet->dma_range[i].mapping_size, in netvsc_dma_unmap()
1043 packet->dma_range[i].mapping_size = len; in netvsc_dma_map()
/openbmc/linux/drivers/block/
H A 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()