Home
last modified time | relevance | path

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

/linux-5.19.10/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.h1635 u32 mapping_size; member
/linux-5.19.10/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-5.19.10/arch/powerpc/mm/book3s64/
Dradix_pgtable.c273 unsigned long vaddr, addr, mapping_size = 0; in create_physical_mapping() local
280 for (addr = start; addr < end; addr += mapping_size) { in create_physical_mapping()
287 previous_size = mapping_size; in create_physical_mapping()
292 mapping_size = PUD_SIZE; in create_physical_mapping()
296 mapping_size = PMD_SIZE; in create_physical_mapping()
299 mapping_size = PAGE_SIZE; in create_physical_mapping()
305 if (overlaps_kernel_text(vaddr, vaddr + mapping_size) || in create_physical_mapping()
306 overlaps_interrupt_vector_text(vaddr, vaddr + mapping_size)) { in create_physical_mapping()
314 if (mapping_size != previous_size || exec != prev_exec) { in create_physical_mapping()
319 rc = __map_kernel_page(vaddr, addr, prot, mapping_size, nid, start, end); in create_physical_mapping()
[all …]
/linux-5.19.10/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-5.19.10/kernel/dma/
Dswiotlb.c576 size_t mapping_size, size_t alloc_size, in swiotlb_tbl_map_single() argument
592 if (mapping_size > alloc_size) { in swiotlb_tbl_map_single()
594 mapping_size, alloc_size); in swiotlb_tbl_map_single()
623 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_TO_DEVICE); in swiotlb_tbl_map_single()
674 size_t mapping_size, enum dma_data_direction dir, in swiotlb_tbl_unmap_single() argument
682 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_FROM_DEVICE); in swiotlb_tbl_unmap_single()
/linux-5.19.10/arch/arm/mm/
Ddma-mapping.c1111 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __alloc_iova() local
1157 iova = mapping->base + (mapping_size * i); in __alloc_iova()
1167 size_t mapping_size = mapping->bits << PAGE_SHIFT; in __free_iova() local
1175 bitmap_index = (u32) (addr - mapping->base) / (u32) mapping_size; in __free_iova()
1178 bitmap_base = mapping->base + mapping_size * bitmap_index; in __free_iova()
1182 if (addr + size > bitmap_base + mapping_size) { in __free_iova()
/linux-5.19.10/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-5.19.10/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()