| /arch/loongarch/mm/ |
| A D | ioremap.c | 9 void __init __iomem *early_ioremap(u64 phys_addr, unsigned long size) in early_ioremap() 14 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap() 19 void * __init early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro() 24 void * __init early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot()
|
| /arch/mips/mm/ |
| A D | dma-noncoherent.c | 47 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 52 void *arch_dma_set_uncached(void *addr, size_t size) in arch_dma_set_uncached() 57 static inline void dma_sync_virt_for_device(void *addr, size_t size, in dma_sync_virt_for_device() 75 static inline void dma_sync_virt_for_cpu(void *addr, size_t size, in dma_sync_virt_for_cpu() 95 static inline void dma_sync_phys(phys_addr_t paddr, size_t size, in dma_sync_phys() 124 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 131 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
|
| /arch/xtensa/kernel/ |
| A D | pci-dma.c | 24 static void do_cache_op(phys_addr_t paddr, size_t size, in do_cache_op() 46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 83 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 94 void *arch_dma_set_uncached(void *p, size_t size) in arch_dma_set_uncached()
|
| /arch/x86/mm/ |
| A D | ioremap.c | 45 int ioremap_change_attr(unsigned long vaddr, unsigned long size, in ioremap_change_attr() 155 static void __ioremap_check_mem(resource_size_t addr, unsigned long size, in __ioremap_check_mem() 184 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller() 343 void __iomem *ioremap(resource_size_t phys_addr, unsigned long size) in ioremap() 551 unsigned long size) in memremap_should_map_decrypted() 650 unsigned int len, size; in __memremap_is_setup_data() local 757 unsigned long size, in early_memremap_pgprot_adjust() 787 unsigned long size) in early_memremap_encrypted() 797 unsigned long size) in early_memremap_encrypted_wp() 806 unsigned long size) in early_memremap_decrypted() [all …]
|
| A D | iomap_32.c | 11 static int is_io_mapping_possible(resource_size_t base, unsigned long size) in is_io_mapping_possible() 21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc() 41 void iomap_free(resource_size_t base, unsigned long size) in iomap_free()
|
| /arch/nios2/mm/ |
| A D | dma-mapping.c | 21 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 45 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 63 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 70 void *arch_dma_set_uncached(void *ptr, size_t size) in arch_dma_set_uncached()
|
| /arch/powerpc/mm/ |
| A D | dma-noncoherent.c | 22 static void __dma_sync(void *vaddr, size_t size, int direction) in __dma_sync() 60 unsigned long offset, size_t size, int direction) in __dma_sync_page_highmem() 94 static void __dma_sync_page(phys_addr_t paddr, size_t size, int dir) in __dma_sync_page() 107 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 113 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 119 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
|
| A D | ioremap.c | 11 void __iomem *ioremap(phys_addr_t addr, unsigned long size) in ioremap() 20 void __iomem *ioremap_wc(phys_addr_t addr, unsigned long size) in ioremap_wc() 29 void __iomem *ioremap_coherent(phys_addr_t addr, unsigned long size) in ioremap_coherent() 37 void __iomem *ioremap_prot(phys_addr_t addr, size_t size, pgprot_t prot) in ioremap_prot() 51 unsigned long size, pgprot_t prot) in early_ioremap_range()
|
| /arch/riscv/mm/ |
| A D | dma-noncoherent.c | 18 static inline void arch_dma_cache_wback(phys_addr_t paddr, size_t size) in arch_dma_cache_wback() 31 static inline void arch_dma_cache_inv(phys_addr_t paddr, size_t size) in arch_dma_cache_inv() 45 static inline void arch_dma_cache_wback_inv(phys_addr_t paddr, size_t size) in arch_dma_cache_wback_inv() 69 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 98 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 117 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
|
| /arch/parisc/kernel/ |
| A D | pci-dma.c | 78 unsigned long size, unsigned long *paddr_ptr) in map_pte_uncached() 105 unsigned long size, unsigned long *paddr_ptr) in map_pmd_uncached() 154 unsigned long size) in unmap_uncached_pte() 190 unsigned long size) in unmap_uncached_pmd() 229 #define PCXL_SEARCH_LOOP(idx, mask, size) \ argument 240 #define PCXL_FIND_FREE_MAPPING(idx, mask, size) { \ argument 249 pcxl_alloc_range(size_t size) in pcxl_alloc_range() 296 #define PCXL_FREE_MAPPINGS(idx, m, size) \ argument 305 pcxl_free_range(unsigned long vaddr, size_t size) in pcxl_free_range() 401 void *arch_dma_alloc(struct device *dev, size_t size, in arch_dma_alloc() [all …]
|
| A D | pci.c | 61 #define EISA_IN(size) if (EISA_bus && (b == 0)) return eisa_in##size(addr) argument 62 #define EISA_OUT(size) if (EISA_bus && (b == 0)) return eisa_out##size(d, addr) argument 64 #define EISA_IN(size) argument 65 #define EISA_OUT(size) argument 68 #define PCI_PORT_IN(type, size) \ argument 83 #define PCI_PORT_OUT(type, size) \ argument 199 resource_size_t size, resource_size_t alignment) in pcibios_align_resource()
|
| /arch/arm/mm/ |
| A D | ioremap.c | 51 size_t size, unsigned int mtype) in find_static_vm_paddr() 173 static void unmap_area_sections(unsigned long virt, unsigned long size) in unmap_area_sections() 214 size_t size, const struct mem_type *type) in remap_area_sections() 241 size_t size, const struct mem_type *type) in remap_area_supersections() 275 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller() 392 void __iomem *ioremap(resource_size_t res_cookie, size_t size) in ioremap() 399 void __iomem *ioremap_cache(resource_size_t res_cookie, size_t size) in ioremap_cache() 406 void __iomem *ioremap_wc(resource_size_t res_cookie, size_t size) in ioremap_wc() 421 __arm_ioremap_exec(phys_addr_t phys_addr, size_t size, bool cached) in __arm_ioremap_exec() 434 void __arm_iomem_set_ro(void __iomem *ptr, size_t size) in __arm_iomem_set_ro() [all …]
|
| /arch/sh/include/asm/ |
| A D | io_trapped.h | 32 __ioremap_trapped(unsigned long offset, unsigned long size) in __ioremap_trapped() 37 #define __ioremap_trapped(offset, size) NULL argument 44 __ioport_map_trapped(unsigned long offset, unsigned long size) in __ioport_map_trapped() 49 #define __ioport_map_trapped(offset, size) NULL argument 55 #define __ioremap_trapped(offset, size) NULL argument 56 #define __ioport_map_trapped(offset, size) NULL argument
|
| /arch/powerpc/lib/ |
| A D | pmem.c | 18 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in __clean_pmem_range() local 30 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in __flush_pmem_range() local 52 void arch_wb_cache_pmem(void *addr, size_t size) in arch_wb_cache_pmem() 59 void arch_invalidate_pmem(void *addr, size_t size) in arch_invalidate_pmem() 70 unsigned size) in __copy_from_user_flushcache() 80 void memcpy_flushcache(void *dest, const void *src, size_t size) in memcpy_flushcache()
|
| /arch/microblaze/kernel/ |
| A D | dma.c | 17 static void __dma_sync(phys_addr_t paddr, size_t size, in __dma_sync() 33 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 39 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
|
| /arch/openrisc/include/asm/ |
| A D | uaccess.h | 57 #define __put_user_nocheck(x, ptr, size) \ argument 64 #define __put_user_check(x, ptr, size) \ argument 73 #define __put_user_size(x, ptr, size, retval) \ argument 129 #define __get_user_nocheck(x, ptr, size) \ argument 136 #define __get_user_check(x, ptr, size) \ argument 149 #define __get_user_size(x, ptr, size, retval) \ argument 212 raw_copy_from_user(void *to, const void __user *from, unsigned long size) in raw_copy_from_user() 217 raw_copy_to_user(void __user *to, const void *from, unsigned long size) in raw_copy_to_user() 227 clear_user(void __user *addr, unsigned long size) in clear_user()
|
| /arch/csky/mm/ |
| A D | dma-mapping.c | 14 static inline void cache_op(phys_addr_t paddr, size_t size, in cache_op() 53 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 58 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 74 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
|
| /arch/x86/lib/ |
| A D | usercopy_64.c | 28 static void clean_cache_range(void *addr, size_t size) in clean_cache_range() 40 void arch_wb_cache_pmem(void *addr, size_t size) in arch_wb_cache_pmem() 46 long __copy_user_flushcache(void *dst, const void __user *src, unsigned size) in __copy_user_flushcache() 80 void __memcpy_flushcache(void *_dst, const void *_src, size_t size) in __memcpy_flushcache()
|
| /arch/x86/include/asm/ |
| A D | floppy.h | 43 #define fd_dma_mem_alloc(size) SW._dma_mem_alloc(size) argument 44 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) argument 154 static unsigned long dma_mem_alloc(unsigned long size) in dma_mem_alloc() 160 static unsigned long vdma_mem_alloc(unsigned long size) in vdma_mem_alloc() 166 #define nodma_mem_alloc(size) vdma_mem_alloc(size) argument 168 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) in _fd_dma_mem_free() 176 #define fd_dma_mem_free(addr, size) _fd_dma_mem_free(addr, size) argument 178 static void _fd_chose_dma_mode(char *addr, unsigned long size) in _fd_chose_dma_mode() 192 #define fd_chose_dma_mode(addr, size) _fd_chose_dma_mode(addr, size) argument 195 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup() [all …]
|
| /arch/arc/mm/ |
| A D | dma.c | 18 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 51 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 72 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
|
| /arch/loongarch/include/asm/ |
| A D | io.h | 25 static inline void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size, in ioremap_prot() 40 #define ioremap(offset, size) \ argument 56 #define ioremap_wc(offset, size) \ argument 60 #define ioremap_cache(offset, size) \ argument
|
| /arch/sparc/include/asm/ |
| A D | uaccess_64.h | 30 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok() 42 #define __range_not_ok(addr, size, limit) \ argument 93 #define __put_kernel_asm(x, size, addr, ret) \ argument 113 #define __put_user_nocheck(data, addr, size) ({ \ argument 125 #define __put_user_asm(x, size, addr, ret) \ argument 166 #define __get_kernel_asm(x, size, addr, ret) \ argument 187 #define __get_user_nocheck(data, addr, size, type) ({ \ argument 204 #define __get_user_asm(x, size, addr, ret) \ argument
|
| /arch/s390/kernel/ |
| A D | os_info.c | 34 int size = sizeof(*os_info) - offsetof(struct os_info, version_major); in os_info_csum() local 41 void os_info_crashkernel_add(unsigned long base, unsigned long size) in os_info_crashkernel_add() 51 void os_info_entry_add_data(int nr, void *ptr, u64 size) in os_info_entry_add_data() 105 unsigned long addr, size = 0; in os_info_old_alloc() local 186 void *os_info_old_entry(int nr, unsigned long *size) in os_info_old_entry()
|
| /arch/parisc/include/asm/ |
| A D | floppy.h | 41 #define fd_dma_mem_alloc(size) SW._dma_mem_alloc(size) argument 42 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) argument 154 static unsigned long dma_mem_alloc(unsigned long size) in dma_mem_alloc() 160 static unsigned long vdma_mem_alloc(unsigned long size) in vdma_mem_alloc() 166 #define nodma_mem_alloc(size) vdma_mem_alloc(size) argument 168 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) in _fd_dma_mem_free() 176 #define fd_dma_mem_free(addr, size) _fd_dma_mem_free(addr, size) argument 178 static void _fd_chose_dma_mode(char *addr, unsigned long size) in _fd_chose_dma_mode() 192 #define fd_chose_dma_mode(addr, size) _fd_chose_dma_mode(addr, size) argument 195 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup() [all …]
|
| /arch/powerpc/kexec/ |
| A D | ranges.c | 37 static inline unsigned int get_max_nr_ranges(size_t size) in get_max_nr_ranges() 52 size_t size; in get_mem_rngs_size() local 77 static int __add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in __add_mem_range() 181 size_t size; in realloc_mem_ranges() local 212 int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in add_mem_range() 257 u32 size; in add_tce_mem_ranges() local 349 u32 base, size; in add_rtas_mem_range() local 374 u64 base, size; in add_opal_mem_range() local 416 u64 base, size; in add_reserved_mem_ranges() local 565 u64 size = end - base; in get_crash_memory_ranges() local [all …]
|