| /arch/powerpc/include/asm/ |
| D | kup.h | 13 unsigned long size) { } in allow_user_access() 15 unsigned long size) { } in prevent_user_access() 18 static inline void allow_read_from_user(const void __user *from, unsigned long size) in allow_read_from_user() 23 static inline void allow_write_to_user(void __user *to, unsigned long size) in allow_write_to_user() 28 static inline void prevent_read_from_user(const void __user *from, unsigned long size) in prevent_read_from_user() 33 static inline void prevent_write_to_user(void __user *to, unsigned long size) in prevent_write_to_user()
|
| D | uaccess.h | 51 #define __access_ok(addr, size, segment) \ argument 56 #define __access_ok(addr, size, segment) \ argument 62 #define access_ok(type, addr, size) \ argument 170 #define __put_user_size_allowed(x, ptr, size, retval) \ argument 182 #define __put_user_size(x, ptr, size, retval) \ argument 189 #define __put_user_nocheck(x, ptr, size, do_allow) \ argument 207 #define __put_user_check(x, ptr, size) \ argument 221 #define __put_user_nosleep(x, ptr, size) \ argument 277 #define __get_user_size_allowed(x, ptr, size, retval) \ argument 292 #define __get_user_size(x, ptr, size, retval) \ argument [all …]
|
| /arch/x86/include/asm/ |
| D | uaccess_64.h | 52 int __copy_from_user_nocheck(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocheck() 110 int __copy_from_user(void *dst, const void __user *src, unsigned size) in __copy_from_user() 117 int __copy_to_user_nocheck(void __user *dst, const void *src, unsigned size) in __copy_to_user_nocheck() 177 int __copy_to_user(void __user *dst, const void *src, unsigned size) in __copy_to_user() 184 int __copy_in_user(void __user *dst, const void __user *src, unsigned size) in __copy_in_user() 245 __copy_from_user_inatomic(void *dst, const void __user *src, unsigned size) in __copy_from_user_inatomic() 251 __copy_to_user_inatomic(void __user *dst, const void *src, unsigned size) in __copy_to_user_inatomic() 260 __copy_from_user_nocache(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocache() 268 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() 114 unsigned long size) in copy_to_user_mvcos() 144 unsigned long size) in copy_to_user_mvcs() 187 unsigned long size) in copy_in_user_mvcos() 210 unsigned long size) in copy_in_user_mvc() 249 static inline unsigned long clear_user_mvcos(void __user *to, unsigned long size) in clear_user_mvcos() 277 static inline unsigned long clear_user_xc(void __user *to, unsigned long size) in clear_user_xc() 313 unsigned long __clear_user(void __user *to, unsigned long size) in __clear_user() 322 unsigned long size) in strnlen_user_srst() [all …]
|
| /arch/arc/mm/ |
| D | dma.c | 28 void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent() 45 void dma_free_noncoherent(struct device *dev, size_t size, void *vaddr, in dma_free_noncoherent() 52 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() 100 void dma_free_coherent(struct device *dev, size_t size, void *kvaddr, in dma_free_coherent() 115 void __arc_dma_cache_sync(unsigned long paddr, size_t size, in __arc_dma_cache_sync()
|
| /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 184 resource_size_t size, resource_size_t alignment) in pcibios_align_resource()
|
| /arch/avr32/mm/ |
| D | dma-coherent.c | 16 void dma_cache_sync(struct device *dev, void *vaddr, size_t size, int direction) in dma_cache_sync() 40 static struct page *__dma_alloc(struct device *dev, size_t size, in __dma_alloc() 87 static void __dma_free(struct device *dev, size_t size, in __dma_free() 96 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent() 110 void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent() 124 void *dma_alloc_writecombine(struct device *dev, size_t size, in dma_alloc_writecombine() 142 void dma_free_writecombine(struct device *dev, size_t size, in dma_free_writecombine()
|
| /arch/sparc/include/asm/ |
| D | uaccess_64.h | 56 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok() 68 #define __range_not_ok(addr, size, limit) \ argument 74 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok() 79 static inline int access_ok(int type, const void __user * addr, unsigned long size) in access_ok() 130 #define __put_user_nocheck(data, addr, size) ({ \ argument 142 #define __put_user_asm(x, size, addr, ret) \ argument 164 #define __get_user_nocheck(data, addr, size, type) ({ \ argument 181 #define __get_user_asm(x, size, addr, ret) \ argument 208 copy_from_user(void *to, const void __user *from, unsigned long size) in copy_from_user() 218 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_check_ret(x, addr, size, type, retval) ({ \ argument 233 #define __get_user_nocheck(x, addr, size, type) ({ \ argument 250 #define __get_user_nocheck_ret(x, addr, size, type, retval) ({ \ argument [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 | 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/microblaze/include/asm/ |
| D | dma-mapping.h | 34 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL argument 35 #define __dma_free_coherent(size, addr) ((void)0) argument 50 size_t size, enum dma_data_direction direction) in __dma_sync() 65 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
|
| /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/m68k/include/asm/ |
| D | dma-mapping.h | 23 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs() 31 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs() 39 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent() 44 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent() 49 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync() 58 size_t size, enum dma_data_direction dir) in dma_unmap_single() 66 size_t size, enum dma_data_direction dir) in dma_unmap_page() 83 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_device() 91 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu() 101 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
|
| /arch/arm/mm/ |
| D | dma-mapping.c | 77 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page() 86 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page() 107 size_t size, enum dma_data_direction dir, in arm_dma_unmap_page() 116 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu() 124 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device() 228 static void __dma_clear_buffer(struct page *page, size_t size) in __dma_clear_buffer() 258 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) in __dma_alloc_buffer() 282 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer() 303 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap() 315 static void __dma_free_remap(void *cpu_addr, size_t size) in __dma_free_remap() [all …]
|
| /arch/blackfin/include/asm/ |
| D | dma-mapping.h | 45 __dma_sync_inline(dma_addr_t addr, size_t size, enum dma_data_direction dir) in __dma_sync_inline() 61 _dma_sync(dma_addr_t addr, size_t size, enum dma_data_direction dir) in _dma_sync() 70 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single() 79 unsigned long offset, size_t size, in dma_map_page() 86 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() 93 dma_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_page() 111 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu() 119 unsigned long offset, size_t size, in dma_sync_single_range_for_device() 126 dma_sync_single_for_cpu(struct device *dev, dma_addr_t handle, size_t size, in dma_sync_single_for_cpu() 133 dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, in dma_sync_single_for_device() [all …]
|
| /arch/mn10300/include/asm/ |
| D | dma-mapping.h | 35 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single() 44 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() 79 unsigned long offset, size_t size, in dma_map_page() 87 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() 95 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu() 101 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device() 108 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu() 115 unsigned long offset, size_t size, in dma_sync_single_range_for_device() 165 void dma_cache_sync(void *vaddr, size_t size, in dma_cache_sync() 174 dma_addr_t dma_addr, size_t size) in dma_mmap_coherent() [all …]
|
| /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 …]
|
| D | dma-mapping.h | 55 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent() 62 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_noncoherent() 69 dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent() 76 dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent() 83 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single() 90 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() 112 size_t size, enum dma_data_direction direction) in dma_map_page() 118 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() 126 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu() 134 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device() [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 | 20 static inline void *xen_alloc_coherent_pages(struct device *hwdev, size_t size, in xen_alloc_coherent_pages() 27 static inline void xen_free_coherent_pages(struct device *hwdev, size_t size, in xen_free_coherent_pages() 35 dma_addr_t dev_addr, unsigned long offset, size_t size, in xen_dma_map_page() 61 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page() 81 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu() 92 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device()
|
| /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 157 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()
|