| /arch/x86/mm/ |
| D | ioremap.c | 34 int ioremap_change_attr(unsigned long vaddr, unsigned long size, in ioremap_change_attr() 87 unsigned long size, enum page_cache_mode pcm, void *caller) in __ioremap_caller() 226 void __iomem *ioremap_nocache(resource_size_t phys_addr, unsigned long size) in ioremap_nocache() 267 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc() 286 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc() 303 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt() 310 void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) in ioremap_cache() 317 void __iomem *ioremap_prot(resource_size_t phys_addr, unsigned long size, in ioremap_prot() 427 unsigned long size) in memremap_should_map_decrypted() 475 unsigned long size) in memremap_is_efi_data() [all …]
|
| /arch/s390/lib/ |
| D | uaccess.c | 44 unsigned long size) in copy_from_user_mvcos() 74 unsigned long size) in copy_from_user_mvcp() 117 unsigned long size) in copy_to_user_mvcos() 147 unsigned long size) in copy_to_user_mvcs() 190 unsigned long size) in copy_in_user_mvcos() 213 unsigned long size) in copy_in_user_mvc() 252 static inline unsigned long clear_user_mvcos(void __user *to, unsigned long size) in clear_user_mvcos() 280 static inline unsigned long clear_user_xc(void __user *to, unsigned long size) in clear_user_xc() 316 unsigned long __clear_user(void __user *to, unsigned long size) in __clear_user() 325 unsigned long size) in strnlen_user_srst() [all …]
|
| /arch/x86/include/asm/ |
| D | uaccess_64.h | 50 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user() 107 raw_copy_to_user(void __user *dst, const void *src, unsigned long size) in raw_copy_to_user() 166 unsigned long raw_copy_in_user(void __user *dst, const void __user *src, unsigned long size) in raw_copy_in_user() 181 unsigned size) in __copy_from_user_inatomic_nocache() 188 __copy_from_user_flushcache(void *dst, const void __user *src, unsigned size) in __copy_from_user_flushcache()
|
| 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/x86/include/asm/xen/ |
| D | page-coherent.h | 8 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages() 17 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages() 25 dma_addr_t dev_addr, unsigned long offset, size_t size, in xen_dma_map_page() 29 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page() 33 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_cpu() 36 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_device()
|
| /arch/sh/include/asm/ |
| 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/um/include/asm/ |
| D | uaccess.h | 12 #define __under_task_size(addr, size) \ argument 16 #define __access_ok_vsyscall(addr, size) \ argument 21 #define __addr_range_nowrap(addr, size) \ argument 41 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok()
|
| /arch/openrisc/include/asm/ |
| D | uaccess.h | 56 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()-size)) argument 61 #define access_ok(type, addr, size) \ argument 94 #define __put_user_nocheck(x, ptr, size) \ argument 101 #define __put_user_check(x, ptr, size) \ argument 110 #define __put_user_size(x, ptr, size, retval) \ argument 166 #define __get_user_nocheck(x, ptr, size) \ argument 174 #define __get_user_check(x, ptr, size) \ argument 186 #define __get_user_size(x, ptr, size, retval) \ argument 240 raw_copy_from_user(void *to, const void __user *from, unsigned long size) in raw_copy_from_user() 245 raw_copy_to_user(void *to, const void __user *from, unsigned long size) in raw_copy_to_user() [all …]
|
| /arch/microblaze/include/asm/ |
| D | dma-mapping.h | 31 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL argument 32 #define __dma_free_coherent(size, addr) ((void)0) argument 45 size_t size, enum dma_data_direction direction) in __dma_sync() 60 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
|
| /arch/arm/mm/ |
| D | ioremap.c | 47 size_t size, unsigned int mtype) in find_static_vm_paddr() 140 static void unmap_area_sections(unsigned long virt, unsigned long size) in unmap_area_sections() 188 size_t size, const struct mem_type *type) in remap_area_sections() 220 size_t size, const struct mem_type *type) in remap_area_supersections() 260 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller() 336 void __iomem *__arm_ioremap_caller(phys_addr_t phys_addr, size_t size, in __arm_ioremap_caller() 364 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, in __arm_ioremap_pfn() 376 void __iomem *ioremap(resource_size_t res_cookie, size_t size) in ioremap() 386 void __iomem *ioremap_cached(resource_size_t res_cookie, size_t size) in ioremap_cached() 394 void __iomem *ioremap_wc(resource_size_t res_cookie, size_t size) in ioremap_wc() [all …]
|
| /arch/sparc/include/asm/ |
| D | uaccess_64.h | 48 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok() 60 #define __range_not_ok(addr, size, limit) \ argument 66 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok() 71 static inline int access_ok(int type, const void __user * addr, unsigned long size) in access_ok() 105 #define __put_user_nocheck(data, addr, size) ({ \ argument 117 #define __put_user_asm(x, size, addr, ret) \ argument 139 #define __get_user_nocheck(data, addr, size, type) ({ \ argument 156 #define __get_user_asm(x, size, addr, ret) \ argument
|
| D | uaccess_32.h | 39 #define __user_ok(addr, size) ({ (void)(size); (addr) < STACK_TOP; }) argument 41 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size))) argument 42 #define access_ok(type, addr, size) \ argument 109 #define __put_user_check(x, addr, size) ({ \ argument 135 #define __put_user_nocheck(x, addr, size) ({ \ argument 147 #define __put_user_asm(x, size, addr, ret) \ argument 168 #define __get_user_check(x, addr, size, type) ({ \ argument 198 #define __get_user_nocheck(x, addr, size, type) ({ \ argument 215 #define __get_user_asm(x, size, addr, ret) \ argument 252 static inline unsigned long __clear_user(void __user *addr, unsigned long size) in __clear_user()
|
| /arch/metag/include/asm/ |
| D | uaccess.h | 28 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok() 56 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), \ argument 73 #define __put_user_nocheck(x, ptr, size) \ argument 80 #define __put_user_check(x, ptr, size) \ argument 94 #define __put_user_size(x, ptr, size, retval) \ argument 123 #define __get_user_nocheck(x, ptr, size) \ argument 132 #define __get_user_check(x, ptr, size) \ argument 148 #define __get_user_size(x, ptr, size, retval) \ argument
|
| /arch/parisc/include/asm/ |
| D | floppy.h | 54 #define fd_dma_mem_alloc(size) SW._dma_mem_alloc(size) argument 55 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) argument 166 static unsigned long dma_mem_alloc(unsigned long size) in dma_mem_alloc() 172 static unsigned long vdma_mem_alloc(unsigned long size) in vdma_mem_alloc() 178 #define nodma_mem_alloc(size) vdma_mem_alloc(size) argument 180 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) in _fd_dma_mem_free() 188 #define fd_dma_mem_free(addr, size) _fd_dma_mem_free(addr, size) argument 190 static void _fd_chose_dma_mode(char *addr, unsigned long size) in _fd_chose_dma_mode() 204 #define fd_chose_dma_mode(addr, size) _fd_chose_dma_mode(addr, size) argument 207 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup() [all …]
|
| /arch/xtensa/include/asm/ |
| D | uaccess.h | 42 #define __user_ok(addr, size) \ argument 44 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) argument 45 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), (size)) argument 76 #define __put_user_nocheck(x, ptr, size) \ argument 83 #define __put_user_check(x, ptr, size) \ argument 92 #define __put_user_size(x, ptr, size, retval) \ argument 173 #define __get_user_nocheck(x, ptr, size) \ argument 181 #define __get_user_check(x, ptr, size) \ argument 193 #define __get_user_size(x, ptr, size, retval) \ argument 262 __xtensa_clear_user(void *addr, unsigned long size) in __xtensa_clear_user() [all …]
|
| /arch/unicore32/mm/ |
| D | ioremap.c | 66 static void unmap_area_sections(unsigned long virt, unsigned long size) in unmap_area_sections() 103 size_t size, const struct mem_type *type) in remap_area_sections() 130 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __uc32_ioremap_pfn_caller() 184 void __iomem *__uc32_ioremap_caller(unsigned long phys_addr, size_t size, in __uc32_ioremap_caller() 211 __uc32_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, in __uc32_ioremap_pfn() 220 __uc32_ioremap(unsigned long phys_addr, size_t size) in __uc32_ioremap() 228 __uc32_ioremap_cached(unsigned long phys_addr, size_t size) in __uc32_ioremap_cached()
|
| /arch/score/include/asm/ |
| D | uaccess.h | 25 #define __ua_size(size) \ argument 49 #define __access_ok(addr, size) \ argument 54 #define access_ok(type, addr, size) \ argument 150 #define __get_user_common(val, size, ptr) \ argument 174 #define __get_user_nocheck(x, ptr, size) \ argument 181 #define __get_user_check(x, ptr, size) \ argument 219 #define __put_user_nocheck(val, ptr, size) \ argument 249 #define __put_user_check(val, ptr, size) \ argument 326 static inline unsigned long clear_user(char *src, unsigned long size) in clear_user()
|
| /arch/s390/kernel/ |
| D | os_info.c | 29 int size = sizeof(*os_info) - offsetof(struct os_info, version_major); in os_info_csum() local 36 void os_info_crashkernel_add(unsigned long base, unsigned long size) in os_info_crashkernel_add() 46 void os_info_entry_add(int nr, void *ptr, u64 size) in os_info_entry_add() 77 unsigned long addr, size = 0; in os_info_old_alloc() local 159 void *os_info_old_entry(int nr, unsigned long *size) in os_info_old_entry()
|
| /arch/parisc/kernel/ |
| D | pci-dma.c | 85 unsigned long size, unsigned long *paddr_ptr) in map_pte_uncached() 112 unsigned long size, unsigned long *paddr_ptr) in map_pmd_uncached() 134 static inline int map_uncached_pages(unsigned long vaddr, unsigned long size, in map_uncached_pages() 156 unsigned long size) in unmap_uncached_pte() 192 unsigned long size) in unmap_uncached_pmd() 218 static void unmap_uncached_pages(unsigned long vaddr, unsigned long size) in unmap_uncached_pages() 231 #define PCXL_SEARCH_LOOP(idx, mask, size) \ argument 242 #define PCXL_FIND_FREE_MAPPING(idx, mask, size) { \ argument 251 pcxl_alloc_range(size_t size) in pcxl_alloc_range() 298 #define PCXL_FREE_MAPPINGS(idx, m, size) \ argument [all …]
|
| D | pci.c | 72 #define EISA_IN(size) if (EISA_bus && (b == 0)) return eisa_in##size(addr) argument 73 #define EISA_OUT(size) if (EISA_bus && (b == 0)) return eisa_out##size(d, addr) argument 75 #define EISA_IN(size) argument 76 #define EISA_OUT(size) argument 79 #define PCI_PORT_IN(type, size) \ argument 94 #define PCI_PORT_OUT(type, size) \ argument 210 resource_size_t size, resource_size_t alignment) in pcibios_align_resource()
|
| /arch/hexagon/kernel/ |
| D | dma.c | 43 static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size, in hexagon_dma_alloc_coherent() 77 static void hexagon_free_coherent(struct device *dev, size_t size, void *vaddr, in hexagon_free_coherent() 84 dma_addr_t bus, size_t size) in check_addr() 126 static inline void dma_sync(void *addr, size_t size, in dma_sync() 167 unsigned long offset, size_t size, in hexagon_map_page() 184 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_cpu() 191 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_device()
|
| /arch/mips/include/asm/mach-au1x00/ |
| D | ioremap.h | 17 static inline phys_addr_t __fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size) in __fixup_bigphys_addr() 26 static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size) in fixup_bigphys_addr() 31 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, in plat_ioremap()
|
| /arch/s390/include/asm/ |
| D | uaccess.h | 51 static inline int __range_ok(unsigned long addr, unsigned long size) in __range_ok() 56 #define __access_ok(addr, size) \ argument 62 #define access_ok(type, addr, size) __access_ok(addr, size) argument 77 #define __put_get_user_asm(to, from, size, spec) \ argument 98 static __always_inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) in __put_user_fn() 128 static __always_inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) in __get_user_fn() 160 static inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) in __put_user_fn() 166 static inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) in __get_user_fn()
|
| /arch/mn10300/include/asm/ |
| D | uaccess.h | 45 static inline int ___range_ok(unsigned long addr, unsigned int size) in ___range_ok() 64 #define __range_ok(addr, size) ___range_ok((unsigned long)(addr), (u32)(size)) argument 66 #define access_ok(type, addr, size) (__range_ok((addr), (size)) == 0) argument 67 #define __access_ok(addr, size) (__range_ok((addr), (size)) == 0) argument 85 #define __get_user_nocheck(x, ptr, size) \ argument 116 #define __get_user_check(x, ptr, size) \ argument 152 #define __put_user_nocheck(x, ptr, size) \ argument 172 #define __put_user_check(x, ptr, size) \ argument 250 #define __copy_user(to, from, size) \ argument
|
| /arch/ia64/mm/ |
| D | ioremap.c | 25 early_ioremap (unsigned long phys_addr, unsigned long size) in early_ioremap() 35 ioremap (unsigned long phys_addr, unsigned long size) in ioremap() 105 ioremap_nocache (unsigned long phys_addr, unsigned long size) in ioremap_nocache() 115 early_iounmap (volatile void __iomem *addr, unsigned long size) in early_iounmap()
|