| /arch/x86/include/asm/ |
| D | uaccess_64.h | 53 int __copy_from_user_nocheck(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocheck() 111 int __copy_from_user(void *dst, const void __user *src, unsigned size) in __copy_from_user() 119 int __copy_to_user_nocheck(void __user *dst, const void *src, unsigned size) in __copy_to_user_nocheck() 179 int __copy_to_user(void __user *dst, const void *src, unsigned size) in __copy_to_user() 187 int __copy_in_user(void __user *dst, const void __user *src, unsigned size) in __copy_in_user() 248 __copy_from_user_inatomic(void *dst, const void __user *src, unsigned size) in __copy_from_user_inatomic() 255 __copy_to_user_inatomic(void __user *dst, const void *src, unsigned size) in __copy_to_user_inatomic() 265 __copy_from_user_nocache(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocache() 274 unsigned size) in __copy_from_user_inatomic_nocache()
|
| 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/s390/lib/ |
| D | uaccess.c | 21 unsigned long size) in copy_from_user_mvcos() 61 unsigned long size) in copy_from_user_mvcp() 115 unsigned long size) in copy_to_user_mvcos() 145 unsigned long size) in copy_to_user_mvcs() 189 unsigned long size) in copy_in_user_mvcos() 212 unsigned long size) in copy_in_user_mvc() 251 static inline unsigned long clear_user_mvcos(void __user *to, unsigned long size) in clear_user_mvcos() 279 static inline unsigned long clear_user_xc(void __user *to, unsigned long size) in clear_user_xc() 315 unsigned long __clear_user(void __user *to, unsigned long size) in __clear_user() 324 unsigned long size) in strnlen_user_srst() [all …]
|
| /arch/sparc/include/asm/ |
| D | uaccess_64.h | 57 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok() 69 #define __range_not_ok(addr, size, limit) \ argument 75 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok() 80 static inline int access_ok(int type, const void __user * addr, unsigned long size) in access_ok() 114 #define __put_user_nocheck(data, addr, size) ({ \ argument 126 #define __put_user_asm(x, size, addr, ret) \ argument 148 #define __get_user_nocheck(data, addr, size, type) ({ \ argument 165 #define __get_user_asm(x, size, addr, ret) \ argument 192 copy_from_user(void *to, const void __user *from, unsigned long size) in copy_from_user() 204 copy_to_user(void __user *to, const void *from, unsigned long size) in copy_to_user() [all …]
|
| D | uaccess_32.h | 47 #define __user_ok(addr, size) ({ (void)(size); (addr) < STACK_TOP; }) argument 49 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size))) argument 50 #define access_ok(type, addr, size) \ argument 119 #define __put_user_check(x, addr, size) ({ \ argument 145 #define __put_user_nocheck(x, addr, size) ({ \ argument 157 #define __put_user_asm(x, size, addr, ret) \ argument 178 #define __get_user_check(x, addr, size, type) ({ \ argument 208 #define __get_user_nocheck(x, addr, size, type) ({ \ argument 225 #define __get_user_asm(x, size, addr, ret) \ argument 283 static inline unsigned long __clear_user(void __user *addr, unsigned long size) in __clear_user()
|
| /arch/sh/include/asm/ |
| D | io_trapped.h | 31 __ioremap_trapped(unsigned long offset, unsigned long size) in __ioremap_trapped() 36 #define __ioremap_trapped(offset, size) NULL argument 43 __ioport_map_trapped(unsigned long offset, unsigned long size) in __ioport_map_trapped() 48 #define __ioport_map_trapped(offset, size) NULL argument 54 #define __ioremap_trapped(offset, size) NULL argument 55 #define __ioport_map_trapped(offset, size) NULL argument
|
| /arch/x86/include/asm/xen/ |
| D | page-coherent.h | 7 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages() 16 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages() 24 dma_addr_t dev_addr, unsigned long offset, size_t size, in xen_dma_map_page() 28 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page() 32 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_cpu() 35 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_device()
|
| /arch/um/include/asm/ |
| D | uaccess.h | 13 #define __under_task_size(addr, size) \ argument 17 #define __access_ok_vsyscall(addr, size) \ argument 22 #define __addr_range_nowrap(addr, size) \ argument 44 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok()
|
| /arch/microblaze/include/asm/ |
| D | dma-mapping.h | 33 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL argument 34 #define __dma_free_coherent(size, addr) ((void)0) argument 47 size_t size, enum dma_data_direction direction) in __dma_sync() 62 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
|
| /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/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/arm/include/asm/xen/ |
| D | page-coherent.h | 19 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages() 25 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages() 32 dma_addr_t dev_addr, unsigned long offset, size_t size, in xen_dma_map_page() 58 size_t size, enum dma_data_direction dir, unsigned long attrs) in xen_dma_unmap_page() 77 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu() 88 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device()
|
| /arch/parisc/kernel/ |
| D | pci-dma.c | 84 unsigned long size, unsigned long *paddr_ptr) in map_pte_uncached() 111 unsigned long size, unsigned long *paddr_ptr) in map_pmd_uncached() 133 static inline int map_uncached_pages(unsigned long vaddr, unsigned long size, in map_uncached_pages() 155 unsigned long size) in unmap_uncached_pte() 191 unsigned long size) in unmap_uncached_pmd() 217 static void unmap_uncached_pages(unsigned long vaddr, unsigned long size) in unmap_uncached_pages() 230 #define PCXL_SEARCH_LOOP(idx, mask, size) \ argument 241 #define PCXL_FIND_FREE_MAPPING(idx, mask, size) { \ argument 250 pcxl_alloc_range(size_t size) in pcxl_alloc_range() 297 #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/s390/kernel/ |
| D | os_info.c | 28 int size = sizeof(*os_info) - offsetof(struct os_info, version_major); in os_info_csum() local 35 void os_info_crashkernel_add(unsigned long base, unsigned long size) in os_info_crashkernel_add() 45 void os_info_entry_add(int nr, void *ptr, u64 size) in os_info_entry_add() 76 unsigned long addr, size = 0; in os_info_old_alloc() local 158 void *os_info_old_entry(int nr, unsigned long *size) in os_info_old_entry()
|
| /arch/hexagon/kernel/ |
| D | dma.c | 52 static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size, in hexagon_dma_alloc_coherent() 86 static void hexagon_free_coherent(struct device *dev, size_t size, void *vaddr, in hexagon_free_coherent() 93 dma_addr_t bus, size_t size) in check_addr() 132 static inline void dma_sync(void *addr, size_t size, in dma_sync() 173 unsigned long offset, size_t size, in hexagon_map_page() 189 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_cpu() 196 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_device()
|
| /arch/arm/mm/ |
| D | dma-mapping.c | 47 size_t size; member 57 size_t size; member 130 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page() 139 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page() 160 size_t size, enum dma_data_direction dir, unsigned long attrs) in arm_dma_unmap_page() 168 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu() 176 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device() 278 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag) in __dma_clear_buffer() 312 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, in __dma_alloc_buffer() 337 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer() [all …]
|
| 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/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/powerpc/include/asm/ |
| D | uaccess.h | 50 #define __access_ok(addr, size, segment) \ argument 55 #define __access_ok(addr, size, segment) \ argument 61 #define access_ok(type, addr, size) \ argument 164 #define __put_user_size(x, ptr, size, retval) \ argument 176 #define __put_user_nocheck(x, ptr, size) \ argument 187 #define __put_user_check(x, ptr, size) \ argument 197 #define __put_user_nosleep(x, ptr, size) \ argument 249 #define __get_user_size(x, ptr, size, retval) \ argument 264 #define __get_user_nocheck(x, ptr, size) \ argument 277 #define __get_user_check(x, ptr, size) \ argument [all …]
|
| /arch/arm64/mm/ |
| D | dma-mapping.c | 56 static void *__alloc_from_pool(size_t size, struct page **ret_page, gfp_t flags) in __alloc_from_pool() 78 static bool __in_atomic_pool(void *start, size_t size) in __in_atomic_pool() 83 static int __free_from_pool(void *start, size_t size) in __free_from_pool() 93 static void *__dma_alloc_coherent(struct device *dev, size_t size, in __dma_alloc_coherent() 123 static void __dma_free_coherent(struct device *dev, size_t size, in __dma_free_coherent() 142 static void *__dma_alloc(struct device *dev, size_t size, in __dma_alloc() 190 static void __dma_free(struct device *dev, size_t size, in __dma_free() 207 unsigned long offset, size_t size, in __swiotlb_map_page() 222 size_t size, enum dma_data_direction dir, in __swiotlb_unmap_page() 262 dma_addr_t dev_addr, size_t size, in __swiotlb_sync_single_for_cpu() [all …]
|
| /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()
|
| /arch/openrisc/include/asm/ |
| D | uaccess.h | 60 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()-size)) argument 65 #define access_ok(type, addr, size) \ argument 115 #define __put_user_nocheck(x, ptr, size) \ argument 122 #define __put_user_check(x, ptr, size) \ argument 131 #define __put_user_size(x, ptr, size, retval) \ argument 187 #define __get_user_nocheck(x, ptr, size) \ argument 195 #define __get_user_check(x, ptr, size) \ argument 207 #define __get_user_size(x, ptr, size, retval) \ argument 261 #define __copy_from_user(to, from, size) \ argument 263 #define __copy_to_user(to, from, size) \ argument [all …]
|
| /arch/nios2/mm/ |
| D | dma-mapping.c | 23 static inline void __dma_sync_for_device(void *vaddr, size_t size, in __dma_sync_for_device() 45 static inline void __dma_sync_for_cpu(void *vaddr, size_t size, in __dma_sync_for_cpu() 61 static void *nios2_dma_alloc(struct device *dev, size_t size, in nios2_dma_alloc() 86 static void nios2_dma_free(struct device *dev, size_t size, void *vaddr, in nios2_dma_free() 114 unsigned long offset, size_t size, in nios2_dma_map_page() 125 size_t size, enum dma_data_direction direction, in nios2_dma_unmap_page() 149 dma_addr_t dma_handle, size_t size, in nios2_dma_sync_single_for_cpu() 156 dma_addr_t dma_handle, size_t size, in nios2_dma_sync_single_for_device()
|
| /arch/avr32/mm/ |
| D | dma-coherent.c | 21 void dma_cache_sync(struct device *dev, void *vaddr, size_t size, int direction) in dma_cache_sync() 45 static struct page *__dma_alloc(struct device *dev, size_t size, in __dma_alloc() 92 static void __dma_free(struct device *dev, size_t size, in __dma_free() 101 static void *avr32_dma_alloc(struct device *dev, size_t size, in avr32_dma_alloc() 121 static void avr32_dma_free(struct device *dev, size_t size, in avr32_dma_free() 144 unsigned long offset, size_t size, in avr32_dma_map_page() 172 dma_addr_t dma_handle, size_t size, in avr32_dma_sync_single_for_device()
|