Home
last modified time | relevance | path

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

12345678910>>...34

/arch/x86/include/asm/
Duaccess_64.h29 int __copy_from_user(void *dst, const void __user *src, unsigned size) in __copy_from_user()
73 int __copy_to_user(void __user *dst, const void *src, unsigned size) in __copy_to_user()
117 int __copy_in_user(void __user *dst, const void __user *src, unsigned size) in __copy_in_user()
183 __copy_to_user_inatomic(void __user *dst, const void *src, unsigned size) in __copy_to_user_inatomic()
192 unsigned size) in __copy_from_user_nocache()
200 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/um/include/shared/
Dum_uaccess.h13 #define __under_task_size(addr, size) \ argument
17 #define __access_ok_vsyscall(type, addr, size) \ argument
23 #define __addr_range_nowrap(addr, size) \ argument
26 #define access_ok(type, addr, size) \ argument
/arch/arm/include/asm/
Ddma-mapping.h109 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
115 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
178 #define dma_free_writecombine(dev,size,cpu_addr,handle) \ argument
262 unsigned long offset, size_t size, enum dma_data_direction dir) in dmabounce_sync_for_cpu()
268 unsigned long offset, size_t size, enum dma_data_direction dir) in dmabounce_sync_for_device()
289 size_t size, enum dma_data_direction dir) in dma_map_single()
314 unsigned long offset, size_t size, enum dma_data_direction dir) in dma_map_page()
339 size_t size, enum dma_data_direction dir) in dma_unmap_single()
360 size_t size, enum dma_data_direction dir) in dma_unmap_page()
384 dma_addr_t handle, unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
[all …]
/arch/alpha/include/asm/
Ddma-mapping.h9 #define dma_map_single(dev, va, size, dir) \ argument
11 #define dma_unmap_single(dev, addr, size, dir) \ argument
13 #define dma_alloc_coherent(dev, size, addr, gfp) \ argument
15 #define dma_free_coherent(dev, size, va, addr) \ argument
17 #define dma_map_page(dev, page, off, size, dir) \ argument
19 #define dma_unmap_page(dev, addr, size, dir) \ argument
40 #define dma_free_coherent(dev, size, va, addr) \ argument
43 #define dma_map_single(dev, va, size, dir) virt_to_phys(va) argument
44 #define dma_map_page(dev, page, off, size, dir) (page_to_pa(page) + off) argument
46 #define dma_unmap_single(dev, addr, size, dir) ((void)0) argument
[all …]
/arch/parisc/kernel/
Dpci-dma.c83 unsigned long size, unsigned long *paddr_ptr) in map_pte_uncached()
108 unsigned long size, unsigned long *paddr_ptr) in map_pmd_uncached()
130 static inline int map_uncached_pages(unsigned long vaddr, unsigned long size, in map_uncached_pages()
152 unsigned long size) in unmap_uncached_pte()
186 unsigned long size) in unmap_uncached_pmd()
212 static void unmap_uncached_pages(unsigned long vaddr, unsigned long size) in unmap_uncached_pages()
225 #define PCXL_SEARCH_LOOP(idx, mask, size) \ argument
236 #define PCXL_FIND_FREE_MAPPING(idx, mask, size) { \ argument
245 pcxl_alloc_range(size_t size) in pcxl_alloc_range()
292 #define PCXL_FREE_MAPPINGS(idx, m, size) \ argument
[all …]
/arch/avr32/mm/
Ddma-coherent.c14 void dma_cache_sync(struct device *dev, void *vaddr, size_t size, int direction) in dma_cache_sync()
38 static struct page *__dma_alloc(struct device *dev, size_t size, in __dma_alloc()
85 static void __dma_free(struct device *dev, size_t size, in __dma_free()
94 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
108 void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
122 void *dma_alloc_writecombine(struct device *dev, size_t size, in dma_alloc_writecombine()
140 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.h50 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok()
55 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
115 #define __put_user_asm(x,size,addr,ret) \ argument
137 #define __get_user_nocheck(data,addr,size,type) ({ \ argument
148 #define __get_user_nocheck_ret(data,addr,size,type,retval) ({ \ argument
158 #define __get_user_asm(x,size,addr,ret) \ argument
179 #define __get_user_asm_ret(x,size,addr,retval) \ argument
213 copy_from_user(void *to, const void __user *from, unsigned long size) in copy_from_user()
229 copy_to_user(void __user *to, const void *from, unsigned long size) in copy_to_user()
[all …]
Duaccess_32.h43 #define __user_ok(addr, size) ({ (void)(size); (addr) < STACK_TOP; }) argument
45 #define __access_ok(addr,size) (__user_ok((addr) & get_fs().seg,(size))) argument
46 #define access_ok(type, addr, size) \ argument
111 #define __put_user_check(x,addr,size) ({ \ argument
122 #define __put_user_nocheck(x,addr,size) ({ \ argument
132 #define __put_user_asm(x,size,addr,ret) \ argument
153 #define __get_user_check(x,addr,size,type) ({ \ argument
165 #define __get_user_check_ret(x,addr,size,type,retval) ({ \ argument
176 #define __get_user_nocheck(x,addr,size,type) ({ \ argument
187 #define __get_user_nocheck_ret(x,addr,size,type,retval) ({ \ argument
[all …]
/arch/mips/mm/
Ddma-default.c68 void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
87 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
111 void dma_free_noncoherent(struct device *dev, size_t size, void *vaddr, in dma_free_noncoherent()
120 void dma_free_coherent(struct device *dev, size_t size, void *vaddr, in dma_free_coherent()
135 static inline void __dma_sync(unsigned long addr, size_t size, in __dma_sync()
156 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
169 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
204 unsigned long offset, size_t size, enum dma_data_direction direction) in dma_map_page()
220 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
259 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
[all …]
/arch/sparc/kernel/
Ddma.c38 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
49 void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
64 size_t size, enum dma_data_direction direction) in dma_map_single()
76 size_t size, in dma_unmap_single()
91 unsigned long offset, size_t size, in dma_map_page()
105 size_t size, enum dma_data_direction direction) in dma_unmap_page()
143 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
157 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
173 size_t size, in dma_sync_single_range_for_cpu()
181 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
/arch/m68k/include/asm/
Ddma-mapping_mm.h34 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
39 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
44 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
53 size_t size, enum dma_data_direction dir) in dma_unmap_single()
61 size_t size, enum dma_data_direction dir) in dma_unmap_page()
78 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_device()
86 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu()
96 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
/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/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 …]
/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/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/m68knommu/mm/
Dkmap.c27 void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap()
44 void __iounmap(void *addr, unsigned long size) in __iounmap()
53 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) in kernel_set_cachemode()
/arch/powerpc/lib/
Dfeature-fixups.c148 int size = &end_ftr_fixup_test1 - &ftr_fixup_test1; in test_basic_patching() local
180 int size = &end_ftr_fixup_test2 - &ftr_fixup_test2; in test_alternative_patching() local
212 int size = &end_ftr_fixup_test3 - &ftr_fixup_test3; in test_alternative_case_too_big() local
239 int size = &end_ftr_fixup_test4 - &ftr_fixup_test4; in test_alternative_case_too_small() local
273 int size = &end_ftr_fixup_test5 - &ftr_fixup_test5; in test_alternative_case_with_branch() local
283 int size = &end_ftr_fixup_test6 - &ftr_fixup_test6; in test_alternative_case_with_external_branch() local
292 unsigned long size = &ftr_fixup_test_FTR_macros_expected - in test_cpu_macros() local
305 unsigned long size = &ftr_fixup_test_FW_FTR_macros_expected - in test_fw_macros() local
320 unsigned long size = &end_lwsync_fixup_test - in test_lwsync_macros() local
/arch/h8300/mm/
Dkmap.c32 void *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap()
49 void __iounmap(void *addr, unsigned long size) in __iounmap()
58 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) in kernel_set_cachemode()
/arch/powerpc/include/asm/
Ddma-mapping.h40 #define __dma_alloc_coherent(gfp, size, handle) NULL argument
41 #define __dma_free_coherent(size, addr) ((void)0) argument
42 #define __dma_sync(addr, size, rw) ((void)0) argument
168 size_t size, in dma_map_single_attrs()
183 size_t size, in dma_unmap_single_attrs()
196 unsigned long offset, size_t size, in dma_map_page_attrs()
209 size_t size, in dma_unmap_page_attrs()
242 static inline void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
251 static inline void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
261 size_t size, in dma_map_single()
[all …]
/arch/arm/mach-orion5x/
Daddr-map.c88 static void __init setup_cpu_win(int win, u32 base, u32 size, in setup_cpu_win()
147 u32 size = readl(DDR_SIZE_CS(i)); in orion5x_setup_cpu_mbus_bridge() local
165 void __init orion5x_setup_dev_boot_win(u32 base, u32 size) in orion5x_setup_dev_boot_win()
171 void __init orion5x_setup_dev0_win(u32 base, u32 size) in orion5x_setup_dev0_win()
177 void __init orion5x_setup_dev1_win(u32 base, u32 size) in orion5x_setup_dev1_win()
183 void __init orion5x_setup_dev2_win(u32 base, u32 size) in orion5x_setup_dev2_win()
189 void __init orion5x_setup_pcie_wa_win(u32 base, u32 size) in orion5x_setup_pcie_wa_win()
/arch/s390/lib/
Duaccess_std.c32 size_t copy_from_user_std(size_t size, const void __user *ptr, void *x) in copy_from_user_std()
73 static size_t copy_from_user_std_check(size_t size, const void __user *ptr, in copy_from_user_std_check()
81 size_t copy_to_user_std(size_t size, void __user *ptr, const void *x) in copy_to_user_std()
112 static size_t copy_to_user_std_check(size_t size, void __user *ptr, in copy_to_user_std_check()
120 static size_t copy_in_user_std(size_t size, void __user *to, in copy_in_user_std()
152 static size_t clear_user_std(size_t size, void __user *to) in clear_user_std()
188 size_t strnlen_user_std(size_t size, const char __user *src) in strnlen_user_std()
209 size_t strncpy_from_user_std(size_t size, const char __user *src, char *dst) in strncpy_from_user_std()
/arch/um/include/asm/
Ddma-mapping.h21 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent()
29 dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in dma_free_coherent()
36 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single()
44 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
52 unsigned long offset, size_t size, in dma_map_page()
60 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
82 dma_sync_single(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single()
108 unsigned long offset, size_t size, in dma_sync_single_range()
115 dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/arch/powerpc/mm/
Dpgtable_64.c105 void __iomem * __ioremap_at(phys_addr_t pa, void *ea, unsigned long size, in __ioremap_at()
139 void __iounmap_at(void *ea, unsigned long size) in __iounmap_at()
147 void __iomem * __ioremap(phys_addr_t addr, unsigned long size, in __ioremap()
190 void __iomem * ioremap(phys_addr_t addr, unsigned long size) in ioremap()
199 void __iomem * ioremap_flags(phys_addr_t addr, unsigned long size, in ioremap_flags()

12345678910>>...34