Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 1132) sorted by relevance

12345678910>>...46

/arch/x86/include/asm/
Duaccess_64.h72 int copy_to_user(void __user *dst, const void *src, unsigned size) in copy_to_user()
80 int __copy_from_user(void *dst, const void __user *src, unsigned size) in __copy_from_user()
124 int __copy_to_user(void __user *dst, const void *src, unsigned size) in __copy_to_user()
168 int __copy_in_user(void __user *dst, const void __user *src, unsigned size) in __copy_in_user()
221 __copy_from_user_inatomic(void *dst, const void __user *src, unsigned size) in __copy_from_user_inatomic()
227 __copy_to_user_inatomic(void __user *dst, const void *src, unsigned size) in __copy_to_user_inatomic()
236 __copy_from_user_nocache(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocache()
244 unsigned size) in __copy_from_user_inatomic_nocache()
Dfloppy.h43 #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/parisc/kernel/
Dpci-dma.c84 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 …]
/arch/arc/mm/
Ddma.c29 void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
46 void dma_free_noncoherent(struct device *dev, size_t size, void *vaddr, in dma_free_noncoherent()
54 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
76 void dma_free_coherent(struct device *dev, size_t size, void *kvaddr, in dma_free_coherent()
89 void __arc_dma_cache_sync(unsigned long paddr, size_t size, in __arc_dma_cache_sync()
/arch/avr32/mm/
Ddma-coherent.c16 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/sh/include/asm/
Dio_trapped.h31 __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/sparc/include/asm/
Duaccess_64.h52 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok()
57 static inline int access_ok(int type, const void __user * addr, unsigned long size) in access_ok()
107 #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
150 #define __get_user_nocheck_ret(data,addr,size,type,retval) ({ \ argument
160 #define __get_user_asm(x,size,addr,ret) \ argument
181 #define __get_user_asm_ret(x,size,addr,retval) \ argument
215 copy_from_user(void *to, const void __user *from, unsigned long size) in copy_from_user()
232 copy_to_user(void __user *to, const void *from, unsigned long size) in copy_to_user()
[all …]
Duaccess_32.h47 #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
115 #define __put_user_check(x,addr,size) ({ \ argument
126 #define __put_user_nocheck(x,addr,size) ({ \ argument
136 #define __put_user_asm(x,size,addr,ret) \ argument
157 #define __get_user_check(x,addr,size,type) ({ \ argument
169 #define __get_user_check_ret(x,addr,size,type,retval) ({ \ argument
180 #define __get_user_nocheck(x,addr,size,type) ({ \ argument
191 #define __get_user_nocheck_ret(x,addr,size,type,retval) ({ \ argument
[all …]
/arch/arm/mm/
Ddma-mapping.c73 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page()
82 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
103 size_t size, enum dma_data_direction dir, in arm_dma_unmap_page()
112 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
120 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
187 static void __dma_clear_buffer(struct page *page, size_t size) in __dma_clear_buffer()
217 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) in __dma_alloc_buffer()
241 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
265 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
289 static void __dma_free_remap(void *cpu_addr, size_t size) in __dma_free_remap()
[all …]
/arch/m68k/include/asm/
Ddma-mapping.h23 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/parisc/include/asm/
Dfloppy.h54 #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 …]
Ddma-mapping.h53 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent()
60 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_noncoherent()
67 dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
74 dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
81 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
88 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
110 size_t size, enum dma_data_direction direction) in dma_map_page()
116 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
124 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
132 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device()
[all …]
/arch/mn10300/include/asm/
Ddma-mapping.h35 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/blackfin/include/asm/
Ddma-mapping.h45 __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/unicore32/mm/
Dioremap.c66 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/powerpc/include/asm/
Duaccess.h50 #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
278 #define __get_user64_nocheck(x, ptr, size) \ argument
[all …]
/arch/sparc/lib/
Duser_fixup.c21 static unsigned long compute_size(unsigned long start, unsigned long size, unsigned long *offset) in compute_size()
35 unsigned long copy_from_user_fixup(void *to, const void __user *from, unsigned long size) in copy_from_user_fixup()
47 unsigned long copy_to_user_fixup(void __user *to, const void *from, unsigned long size) in copy_to_user_fixup()
55 unsigned long copy_in_user_fixup(void __user *to, void __user *from, unsigned long size) in copy_in_user_fixup()
/arch/s390/kernel/
Dos_info.c28 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/m68k/kernel/
Ddma.c21 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
64 void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
75 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
93 void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
105 size_t size, enum dma_data_direction dir) in dma_sync_single_for_device()
133 dma_addr_t dma_map_single(struct device *dev, void *addr, size_t size, in dma_map_single()
144 unsigned long offset, size_t size, in dma_map_page()
/arch/mips/include/asm/mach-au1x00/
Dioremap.h17 static inline phys_t __fixup_bigphys_addr(phys_t phys_addr, phys_t size) in __fixup_bigphys_addr()
26 static inline phys_t fixup_bigphys_addr(phys_t phys_addr, phys_t size) in fixup_bigphys_addr()
31 static inline void __iomem *plat_ioremap(phys_t offset, unsigned long size, in plat_ioremap()
/arch/xtensa/include/asm/
Ddma-mapping.h39 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
48 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
74 size_t size, enum dma_data_direction direction) in dma_map_page()
81 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
96 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
104 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
111 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
120 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
167 dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
176 dma_addr_t dma_addr, size_t size) in dma_mmap_coherent()
[all …]
/arch/cris/include/asm/
Ddma-mapping.h26 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent()
34 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_coherent()
41 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
49 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
65 size_t size, enum dma_data_direction direction) in dma_map_page()
72 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
87 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
93 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device()
100 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
107 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
[all …]
/arch/ia64/mm/
Dioremap.c25 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/h8300/mm/
Dkmap.c30 void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap()
47 void __iounmap(void *addr, unsigned long size) in __iounmap()
56 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) in kernel_set_cachemode()
/arch/hexagon/kernel/
Ddma.c63 static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size, in hexagon_dma_alloc_coherent()
97 static void hexagon_free_coherent(struct device *dev, size_t size, void *vaddr, in hexagon_free_coherent()
104 dma_addr_t bus, size_t size) in check_addr()
143 static inline void dma_sync(void *addr, size_t size, in dma_sync()
184 unsigned long offset, size_t size, in hexagon_map_page()
200 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_cpu()
207 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_device()

12345678910>>...46