Home
last modified time | relevance | path

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

12345678910>>...148

/linux-3.4.99/arch/arm/include/asm/
Ddma-mapping.h78 static inline void __dma_single_cpu_to_dev(const void *kaddr, size_t size, in __dma_single_cpu_to_dev()
88 static inline void __dma_single_dev_to_cpu(const void *kaddr, size_t size, in __dma_single_dev_to_cpu()
99 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev()
109 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu()
133 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
139 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
202 #define dma_free_writecombine(dev,size,cpu_addr,handle) \ argument
273 unsigned long offset, size_t size, enum dma_data_direction dir) in dmabounce_sync_for_cpu()
279 unsigned long offset, size_t size, enum dma_data_direction dir) in dmabounce_sync_for_device()
286 unsigned long offset, size_t size, enum dma_data_direction dir) in __dma_map_page()
[all …]
/linux-3.4.99/mm/
Dnobootmem.c35 static void * __init __alloc_memory_core_early(int nid, u64 size, u64 align, in __alloc_memory_core_early()
68 void __init free_bootmem_late(unsigned long addr, unsigned long size) in free_bootmem_late()
126 phys_addr_t start, end, size; in free_low_memory_core_early() local
182 unsigned long size) in free_bootmem_node()
197 void __init free_bootmem(unsigned long addr, unsigned long size) in free_bootmem()
203 static void * __init ___alloc_bootmem_nopanic(unsigned long size, in ___alloc_bootmem_nopanic()
241 void * __init __alloc_bootmem_nopanic(unsigned long size, unsigned long align, in __alloc_bootmem_nopanic()
249 static void * __init ___alloc_bootmem(unsigned long size, unsigned long align, in ___alloc_bootmem()
277 void * __init __alloc_bootmem(unsigned long size, unsigned long align, in __alloc_bootmem()
300 void * __init __alloc_bootmem_node(pg_data_t *pgdat, unsigned long size, in __alloc_bootmem_node()
[all …]
Dmemblock.c55 static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size) in memblock_cap_size()
70 phys_addr_t base, phys_addr_t size) in memblock_overlaps_region()
98 phys_addr_t end, phys_addr_t size, in memblock_find_in_range_node()
139 phys_addr_t end, phys_addr_t size, in memblock_find_in_range()
332 phys_addr_t size, int nid) in memblock_insert_region()
361 phys_addr_t base, phys_addr_t size, int nid) in memblock_add_region()
435 int __init_memblock memblock_add_node(phys_addr_t base, phys_addr_t size, in memblock_add_node()
441 int __init_memblock memblock_add(phys_addr_t base, phys_addr_t size) in memblock_add()
463 phys_addr_t base, phys_addr_t size, in memblock_isolate_range()
521 phys_addr_t base, phys_addr_t size) in __memblock_remove()
[all …]
/linux-3.4.99/sound/pcmcia/pdaudiocf/
Dpdaudiocf_irq.c53 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono16()
61 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono32()
73 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo16()
81 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo32()
94 static inline void pdacf_transfer_mono16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono16sw()
102 static inline void pdacf_transfer_mono32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono32sw()
114 static inline void pdacf_transfer_stereo16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo16sw()
122 static inline void pdacf_transfer_stereo32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo32sw()
135 static inline void pdacf_transfer_mono24le(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24le()
151 static inline void pdacf_transfer_mono24be(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24be()
[all …]
/linux-3.4.99/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 …]
/linux-3.4.99/include/linux/
Dslab.h243 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
256 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
272 static inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
277 static inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
302 #define kmalloc_track_caller(size, flags) \ argument
305 #define kmalloc_track_caller(size, flags) \ argument
321 #define kmalloc_node_track_caller(size, flags, node) \ argument
325 #define kmalloc_node_track_caller(size, flags, node) \ argument
331 #define kmalloc_node_track_caller(size, flags, node) \ argument
349 static inline void *kzalloc(size_t size, gfp_t flags) in kzalloc()
[all …]
/linux-3.4.99/arch/x86/include/asm/
Duaccess_64.h63 int copy_to_user(void __user *dst, const void *src, unsigned size) in copy_to_user()
71 int __copy_from_user(void *dst, const void __user *src, unsigned size) in __copy_from_user()
115 int __copy_to_user(void __user *dst, const void *src, unsigned size) in __copy_to_user()
159 int __copy_in_user(void __user *dst, const void __user *src, unsigned size) in __copy_in_user()
218 __copy_from_user_inatomic(void *dst, const void __user *src, unsigned size) in __copy_from_user_inatomic()
224 __copy_to_user_inatomic(void __user *dst, const void *src, unsigned size) in __copy_to_user_inatomic()
233 __copy_from_user_nocache(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocache()
241 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 …]
/linux-3.4.99/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 …]
/linux-3.4.99/arch/powerpc/mm/
Dpgtable_64.c63 static void *early_alloc_pgtable(unsigned long size) in early_alloc_pgtable()
155 void __iomem * __ioremap_at(phys_addr_t pa, void *ea, unsigned long size, in __ioremap_at()
189 void __iounmap_at(void *ea, unsigned long size) in __iounmap_at()
197 void __iomem * __ioremap_caller(phys_addr_t addr, unsigned long size, in __ioremap_caller()
242 void __iomem * __ioremap(phys_addr_t addr, unsigned long size, in __ioremap()
248 void __iomem * ioremap(phys_addr_t addr, unsigned long size) in ioremap()
258 void __iomem * ioremap_wc(phys_addr_t addr, unsigned long size) in ioremap_wc()
268 void __iomem * ioremap_prot(phys_addr_t addr, unsigned long size, in ioremap_prot()
/linux-3.4.99/arch/tile/kernel/
Dpci-dma.c29 size_t size, in dma_alloc_coherent()
69 void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
91 static void __dma_map_pa_range(dma_addr_t dma_addr, size_t size) in __dma_map_pa_range()
113 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
127 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
161 unsigned long offset, size_t size, in dma_map_page()
173 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
181 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
188 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
228 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
[all …]
/linux-3.4.99/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()
230 copy_to_user(void __user *to, const void *from, unsigned long size) in copy_to_user()
[all …]
Duaccess_32.h46 #define __user_ok(addr, size) ({ (void)(size); (addr) < STACK_TOP; }) argument
48 #define __access_ok(addr,size) (__user_ok((addr) & get_fs().seg,(size))) argument
49 #define access_ok(type, addr, size) \ argument
114 #define __put_user_check(x,addr,size) ({ \ argument
125 #define __put_user_nocheck(x,addr,size) ({ \ argument
135 #define __put_user_asm(x,size,addr,ret) \ argument
156 #define __get_user_check(x,addr,size,type) ({ \ argument
168 #define __get_user_check_ret(x,addr,size,type,retval) ({ \ argument
179 #define __get_user_nocheck(x,addr,size,type) ({ \ argument
190 #define __get_user_nocheck_ret(x,addr,size,type,retval) ({ \ argument
[all …]
/linux-3.4.99/arch/arm/mm/
Ddma-mapping.c63 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) in __dma_alloc_buffer()
111 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
135 void __init init_consistent_dma_size(unsigned long size) in init_consistent_dma_size()
217 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
274 static void __dma_free_remap(void *cpu_addr, size_t size) in __dma_free_remap()
324 #define __dma_alloc_remap(page, size, gfp, prot, c) page_address(page) argument
325 #define __dma_free_remap(addr, size) do { } while (0) argument
330 __dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp, in __dma_alloc()
370 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp) in dma_alloc_coherent()
388 dma_alloc_writecombine(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp) in dma_alloc_writecombine()
[all …]
/linux-3.4.99/drivers/staging/octeon/
Dethernet-mem.c45 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff()
72 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff()
102 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory()
139 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory()
161 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa()
171 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()
/linux-3.4.99/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()
/linux-3.4.99/arch/m68k/include/asm/
Ddma-mapping.h24 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
29 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
34 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
43 size_t size, enum dma_data_direction dir) in dma_unmap_single()
51 size_t size, enum dma_data_direction dir) in dma_unmap_page()
68 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_device()
76 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu()
86 dma_addr_t dma_handle, unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
/linux-3.4.99/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.h50 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent()
57 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_noncoherent()
64 dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
71 dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
78 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
85 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
107 size_t size, enum dma_data_direction direction) in dma_map_page()
113 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
121 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
129 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device()
[all …]
/linux-3.4.99/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 …]
/linux-3.4.99/tools/perf/util/
Dtrace-event-read.c55 static int do_read(int fd, void *buf, int size) in do_read()
79 static int read_or_die(void *data, int size) in read_or_die()
95 static void skip(int size) in skip()
127 int size = 0; in read_string() local
163 unsigned int size; in read_proc_kallsyms() local
181 unsigned int size; in read_ftrace_printk() local
198 unsigned long long size; in read_header_files() local
226 static void read_ftrace_file(unsigned long long size) in read_ftrace_file()
236 static void read_event_file(char *sys, unsigned long long size) in read_event_file()
248 unsigned long long size; in read_ftrace_files() local
[all …]
/linux-3.4.99/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
/linux-3.4.99/arch/mips/kernel/
Dprom.c33 void __init early_init_dt_add_memory_arch(u64 base, u64 size) in early_init_dt_add_memory_arch()
38 int __init reserve_mem_mach(unsigned long addr, unsigned long size) in reserve_mem_mach()
43 void __init free_mem_mach(unsigned long addr, unsigned long size) in free_mem_mach()
48 void * __init early_init_dt_alloc_memory_arch(u64 size, u64 align) in early_init_dt_alloc_memory_arch()
82 unsigned long base, size; in device_tree_init() local
/linux-3.4.99/fs/reiserfs/
Dxattr_acl.c20 size_t size, int flags, int type) in posix_acl_set()
67 size_t size, int type) in posix_acl_get()
89 static struct posix_acl *posix_acl_from_disk(const void *value, size_t size) in posix_acl_from_disk()
151 static void *posix_acl_to_disk(const struct posix_acl *acl, size_t * size) in posix_acl_to_disk()
205 int size; in reiserfs_get_acl() local
265 size_t size = 0; in reiserfs_set_acl() local
405 int size = reiserfs_acl_size(acl->a_count); in reiserfs_cache_default_acl() local
428 size_t size; in reiserfs_acl_chmod() local
470 const size_t size = sizeof(POSIX_ACL_XATTR_ACCESS); in posix_acl_access_list() local
490 const size_t size = sizeof(POSIX_ACL_XATTR_DEFAULT); in posix_acl_default_list() local
/linux-3.4.99/lib/
Ddecompress_unxz.c157 #define kmalloc(size, flags) malloc(size) argument
159 #define vmalloc(size) malloc(size) argument
177 static bool memeq(const void *a, const void *b, size_t size) in memeq()
192 static void memzero(void *buf, size_t size) in memzero()
204 void *memmove(void *dest, const void *src, size_t size) in memmove()
252 int (*fill)(void *dest, unsigned int size), in unxz()

12345678910>>...148