Home
last modified time | relevance | path

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

12345678910>>...42

/arch/mips/mm/
Ddma-noncoherent.c47 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
52 void *arch_dma_set_uncached(void *addr, size_t size) in arch_dma_set_uncached()
57 static inline void dma_sync_virt_for_device(void *addr, size_t size, in dma_sync_virt_for_device()
75 static inline void dma_sync_virt_for_cpu(void *addr, size_t size, in dma_sync_virt_for_cpu()
95 static inline void dma_sync_phys(phys_addr_t paddr, size_t size, in dma_sync_phys()
124 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
131 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
140 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
/arch/x86/mm/
Dioremap.c43 int ioremap_change_attr(unsigned long vaddr, unsigned long size, in ioremap_change_attr()
149 static void __ioremap_check_mem(resource_size_t addr, unsigned long size, in __ioremap_check_mem()
178 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller()
332 void __iomem *ioremap(resource_size_t phys_addr, unsigned long size) in ioremap()
373 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc()
392 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
409 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt()
416 void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size) in ioremap_encrypted()
423 void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) in ioremap_cache()
430 void __iomem *ioremap_prot(resource_size_t phys_addr, unsigned long size, in ioremap_prot()
[all …]
/arch/xtensa/kernel/
Dpci-dma.c24 static void do_cache_op(phys_addr_t paddr, size_t size, in do_cache_op()
46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
83 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
94 void *arch_dma_set_uncached(void *p, size_t size) in arch_dma_set_uncached()
/arch/um/include/asm/
Duaccess.h12 #define __under_task_size(addr, size) \ argument
16 #define __access_ok_vsyscall(addr, size) \ argument
21 #define __addr_range_nowrap(addr, size) \ argument
38 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok()
/arch/arc/mm/
Ddma.c18 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
51 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
72 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
93 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
/arch/parisc/kernel/
Dpci-dma.c78 unsigned long size, unsigned long *paddr_ptr) in map_pte_uncached()
105 unsigned long size, unsigned long *paddr_ptr) in map_pmd_uncached()
127 static inline int map_uncached_pages(unsigned long vaddr, unsigned long size, in map_uncached_pages()
154 unsigned long size) in unmap_uncached_pte()
190 unsigned long size) in unmap_uncached_pmd()
216 static void unmap_uncached_pages(unsigned long vaddr, unsigned long size) in unmap_uncached_pages()
229 #define PCXL_SEARCH_LOOP(idx, mask, size) \ argument
240 #define PCXL_FIND_FREE_MAPPING(idx, mask, size) { \ argument
249 pcxl_alloc_range(size_t size) in pcxl_alloc_range()
296 #define PCXL_FREE_MAPPINGS(idx, m, size) \ argument
[all …]
/arch/nios2/mm/
Ddma-mapping.c21 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
45 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
63 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
70 void *arch_dma_set_uncached(void *ptr, size_t size) in arch_dma_set_uncached()
/arch/powerpc/mm/
Ddma-noncoherent.c22 static void __dma_sync(void *vaddr, size_t size, int direction) in __dma_sync()
60 unsigned long offset, size_t size, int direction) in __dma_sync_page_highmem()
94 static void __dma_sync_page(phys_addr_t paddr, size_t size, int dir) in __dma_sync_page()
107 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
113 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
119 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
Dioremap.c12 void __iomem *ioremap(phys_addr_t addr, unsigned long size) in ioremap()
23 void __iomem *ioremap_wc(phys_addr_t addr, unsigned long size) in ioremap_wc()
34 void __iomem *ioremap_coherent(phys_addr_t addr, unsigned long size) in ioremap_coherent()
44 void __iomem *ioremap_prot(phys_addr_t addr, unsigned long size, unsigned long flags) in ioremap_prot()
64 unsigned long size, pgprot_t prot) in early_ioremap_range()
78 void __iomem *do_ioremap(phys_addr_t pa, phys_addr_t offset, unsigned long size, in do_ioremap()
/arch/sh/include/asm/
Dio_trapped.h32 __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/arm/mm/
Dioremap.c49 size_t size, unsigned int mtype) in find_static_vm_paddr()
142 static void unmap_area_sections(unsigned long virt, unsigned long size) in unmap_area_sections()
184 size_t size, const struct mem_type *type) in remap_area_sections()
211 size_t size, const struct mem_type *type) in remap_area_supersections()
245 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller()
322 void __iomem *__arm_ioremap_caller(phys_addr_t phys_addr, size_t size, in __arm_ioremap_caller()
350 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, in __arm_ioremap_pfn()
362 void __iomem *ioremap(resource_size_t res_cookie, size_t size) in ioremap()
369 void __iomem *ioremap_cache(resource_size_t res_cookie, size_t size) in ioremap_cache()
376 void __iomem *ioremap_wc(resource_size_t res_cookie, size_t size) in ioremap_wc()
[all …]
/arch/arm64/mm/
Ddma-mapping.c17 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
23 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
29 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
41 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
/arch/sparc/include/asm/
Duaccess_32.h35 #define __user_ok(addr, size) ({ (void)(size); (addr) < STACK_TOP; }) argument
37 #define __access_ok(addr, size) (__user_ok((addr) & get_fs().seg, (size))) argument
38 #define access_ok(addr, size) __access_ok((unsigned long)(addr), size) argument
74 #define __put_user_check(x, addr, size) ({ \ argument
100 #define __put_user_nocheck(x, addr, size) ({ \ argument
112 #define __put_user_asm(x, size, addr, ret) \ argument
133 #define __get_user_check(x, addr, size, type) ({ \ argument
163 #define __get_user_nocheck(x, addr, size, type) ({ \ argument
180 #define __get_user_asm(x, size, addr, ret) \ argument
217 static inline unsigned long __clear_user(void __user *addr, unsigned long size) in __clear_user()
Duaccess_64.h46 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok()
58 #define __range_not_ok(addr, size, limit) \ argument
64 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok()
69 static inline int access_ok(const void __user * addr, unsigned long size) in access_ok()
103 #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
154 #define __get_user_asm(x, size, addr, ret) \ argument
/arch/openrisc/include/asm/
Duaccess.h51 static inline int __range_ok(unsigned long addr, unsigned long size) in __range_ok()
58 #define access_ok(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
173 #define __get_user_check(x, ptr, size) \ argument
186 #define __get_user_size(x, ptr, size, retval) \ argument
249 raw_copy_from_user(void *to, const void __user *from, unsigned long size) in raw_copy_from_user()
254 raw_copy_to_user(void __user *to, const void *from, unsigned long size) in raw_copy_to_user()
[all …]
/arch/microblaze/kernel/
Ddma.c17 static void __dma_sync(phys_addr_t paddr, size_t size, in __dma_sync()
33 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
39 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
/arch/x86/include/asm/
Duaccess_64.h50 raw_copy_from_user(void *dst, const void __user *src, unsigned long size) in raw_copy_from_user()
56 raw_copy_to_user(void __user *dst, const void *src, unsigned long size) in raw_copy_to_user()
70 unsigned size) in __copy_from_user_inatomic_nocache()
77 __copy_from_user_flushcache(void *dst, const void __user *src, unsigned size) in __copy_from_user_flushcache()
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/m68k/kernel/
Ddma.c21 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
37 void *arch_dma_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle, in arch_dma_alloc()
53 void arch_dma_free(struct device *dev, size_t size, void *vaddr, in arch_dma_free()
61 void arch_sync_dma_for_device(phys_addr_t handle, size_t size, in arch_sync_dma_for_device()
/arch/nds32/kernel/
Ddma.c13 static inline void cache_op(phys_addr_t paddr, size_t size, in cache_op()
49 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
64 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
79 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
/arch/s390/lib/
Duaccess.c62 unsigned long size) in copy_from_user_mvcos()
93 unsigned long size) in copy_from_user_mvcp()
135 unsigned long size) in copy_to_user_mvcos()
166 unsigned long size) in copy_to_user_mvcs()
207 static inline unsigned long clear_user_mvcos(void __user *to, unsigned long size) in clear_user_mvcos()
236 static inline unsigned long clear_user_xc(void __user *to, unsigned long size) in clear_user_xc()
271 unsigned long __clear_user(void __user *to, unsigned long size) in __clear_user()
/arch/s390/kernel/
Dos_info.c30 int size = sizeof(*os_info) - offsetof(struct os_info, version_major); in os_info_csum() local
37 void os_info_crashkernel_add(unsigned long base, unsigned long size) in os_info_crashkernel_add()
47 void os_info_entry_add(int nr, void *ptr, u64 size) in os_info_entry_add()
78 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/xtensa/include/asm/
Duaccess.h41 #define __user_ok(addr, size) \ argument
43 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) argument
44 #define access_ok(addr, size) __access_ok((unsigned long)(addr), (size)) argument
77 #define __put_user_nocheck(x, ptr, size) \ argument
84 #define __put_user_check(x, ptr, size) \ argument
93 #define __put_user_size(x, ptr, size, retval) \ argument
173 #define __get_user_nocheck(x, ptr, size) \ argument
180 #define __get_user_check(x, ptr, size) \ argument
193 #define __get_user_size(x, ptr, size, retval) \ argument
275 __xtensa_clear_user(void __user *addr, unsigned long size) in __xtensa_clear_user()
[all …]
/arch/csky/mm/
Ddma-mapping.c15 static inline void cache_op(phys_addr_t paddr, size_t size, in cache_op()
54 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
59 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
75 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
/arch/powerpc/kexec/
Dranges.c33 static inline unsigned int get_max_nr_ranges(size_t size) in get_max_nr_ranges()
48 size_t size; in get_mem_rngs_size() local
73 static int __add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in __add_mem_range()
177 size_t size; in realloc_mem_ranges() local
208 int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in add_mem_range()
250 u32 size; in add_tce_mem_ranges() local
337 u32 base, size; in add_rtas_mem_range() local
362 u64 base, size; in add_opal_mem_range() local
400 u64 base, size; in add_reserved_mem_ranges() local

12345678910>>...42