Home
last modified time | relevance | path

Searched defs:size (Results 1 – 200 of 5046) sorted by relevance

12345678910>>...26

/linux-4.1.27/include/linux/
Dbootmem.h163 phys_addr_t size, phys_addr_t align) in memblock_virt_alloc()
171 phys_addr_t size, phys_addr_t align) in memblock_virt_alloc_nopanic()
184 phys_addr_t size, phys_addr_t align) in memblock_virt_alloc_low()
192 phys_addr_t size, phys_addr_t align) in memblock_virt_alloc_low_nopanic()
201 phys_addr_t size, phys_addr_t align, phys_addr_t min_addr) in memblock_virt_alloc_from_nopanic()
209 phys_addr_t size, int nid) in memblock_virt_alloc_node()
216 phys_addr_t size, int nid) in memblock_virt_alloc_node_nopanic()
224 phys_addr_t base, phys_addr_t size) in memblock_free_early()
230 phys_addr_t base, phys_addr_t size, int nid) in memblock_free_early_nid()
236 phys_addr_t base, phys_addr_t size) in memblock_free_late()
[all …]
Dslab.h246 static __always_inline int kmalloc_index(size_t size) in kmalloc_index()
297 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
319 int node, size_t size) in kmem_cache_alloc_node_trace()
327 gfp_t flags, size_t size) in kmem_cache_alloc_trace()
338 int node, size_t size) in kmem_cache_alloc_node_trace()
353 kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) in kmalloc_order_trace()
359 static __always_inline void *kmalloc_large(size_t size, gfp_t flags) in kmalloc_large()
418 static __always_inline void *kmalloc(size_t size, gfp_t flags) in kmalloc()
458 static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
525 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
[all …]
Ddma-debug.h106 size_t offset, size_t size, in debug_dma_map_page()
118 size_t size, int direction, in debug_dma_unmap_page()
134 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent()
139 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent()
146 size_t size, int direction) in debug_dma_sync_single_for_cpu()
152 size_t size, int direction) in debug_dma_sync_single_for_device()
159 size_t size, in debug_dma_sync_single_range_for_cpu()
167 size_t size, in debug_dma_sync_single_range_for_device()
Dkmemleak.h42 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
66 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
70 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
75 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu()
82 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part()
100 static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) in kmemleak_scan_area()
Dcirc_buf.h15 #define CIRC_CNT(head,tail,size) (((head) - (tail)) & ((size)-1)) argument
20 #define CIRC_SPACE(head,tail,size) CIRC_CNT((tail),((head)+1),(size)) argument
25 #define CIRC_CNT_TO_END(head,tail,size) \ argument
31 #define CIRC_SPACE_TO_END(head,tail,size) \ argument
Ddma-mapping.h138 u64 size, struct iommu_ops *iommu, in arch_setup_dma_ops()
152 unsigned int size) in dma_set_max_seg_size()
183 static inline void *dma_zalloc_coherent(struct device *dev, size_t size, in dma_zalloc_coherent()
210 dma_addr_t device_addr, size_t size, int flags) in dma_declare_coherent_memory()
222 dma_addr_t device_addr, size_t size) in dma_mark_declared_memory_occupied()
248 size_t size, gfp_t gfp) in dmam_declare_coherent_memory()
261 #define dma_map_single_attrs(dev, cpu_addr, size, dir, attrs) \ argument
264 #define dma_unmap_single_attrs(dev, dma_addr, size, dir, attrs) \ argument
274 static inline void *dma_alloc_writecombine(struct device *dev, size_t size, in dma_alloc_writecombine()
282 static inline void dma_free_writecombine(struct device *dev, size_t size, in dma_free_writecombine()
[all …]
Dhighuid.h55 #define __convert_uid(size, uid) \ argument
57 #define __convert_gid(size, gid) \ argument
63 #define __convert_uid(size, uid) (uid) argument
64 #define __convert_gid(size, gid) (gid) argument
/linux-4.1.27/mm/
Dnobootmem.c35 static void * __init __alloc_memory_core_early(int nid, u64 size, u64 align, in __alloc_memory_core_early()
70 void __init free_bootmem_late(unsigned long addr, unsigned long size) in free_bootmem_late()
129 phys_addr_t size; in free_low_memory_core_early() local
202 unsigned long size) in free_bootmem_node()
216 void __init free_bootmem(unsigned long addr, unsigned long size) in free_bootmem()
221 static void * __init ___alloc_bootmem_nopanic(unsigned long size, in ___alloc_bootmem_nopanic()
259 void * __init __alloc_bootmem_nopanic(unsigned long size, unsigned long align, in __alloc_bootmem_nopanic()
267 static void * __init ___alloc_bootmem(unsigned long size, unsigned long align, in ___alloc_bootmem()
295 void * __init __alloc_bootmem(unsigned long size, unsigned long align, in __alloc_bootmem()
304 unsigned long size, in ___alloc_bootmem_node_nopanic()
[all …]
Dmemblock.c74 static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size) in memblock_cap_size()
89 phys_addr_t base, phys_addr_t size) in memblock_overlaps_region()
118 phys_addr_t size, phys_addr_t align, int nid) in __memblock_find_range_bottom_up()
150 phys_addr_t size, phys_addr_t align, int nid) in __memblock_find_range_top_down()
191 phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size, in memblock_find_in_range_node()
252 phys_addr_t end, phys_addr_t size, in memblock_find_in_range()
467 phys_addr_t size, in memblock_insert_region()
499 phys_addr_t base, phys_addr_t size, in memblock_add_range()
577 int __init_memblock memblock_add_node(phys_addr_t base, phys_addr_t size, in memblock_add_node()
584 phys_addr_t size, in memblock_add_region()
[all …]
Dearly_ioremap.c97 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
159 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap()
208 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
215 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
223 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
230 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
235 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap()
242 void __init early_memunmap(void *addr, unsigned long size) in early_memunmap()
Dbootmem.c157 void __init free_bootmem_late(unsigned long physaddr, unsigned long size) in free_bootmem_late()
394 unsigned long size) in free_bootmem_node()
415 void __init free_bootmem(unsigned long physaddr, unsigned long size) in free_bootmem()
439 unsigned long size, int flags) in reserve_bootmem_node()
459 int __init reserve_bootmem(unsigned long addr, unsigned long size, in reserve_bootmem()
494 unsigned long size, unsigned long align, in alloc_bootmem_bdata()
600 static void * __init alloc_bootmem_core(unsigned long size, in alloc_bootmem_core()
625 static void * __init ___alloc_bootmem_nopanic(unsigned long size, in ___alloc_bootmem_nopanic()
657 void * __init __alloc_bootmem_nopanic(unsigned long size, unsigned long align, in __alloc_bootmem_nopanic()
665 static void * __init ___alloc_bootmem(unsigned long size, unsigned long align, in ___alloc_bootmem()
[all …]
Dslob.c125 #define SLOB_UNITS(size) DIV_ROUND_UP(size, SLOB_UNIT) argument
134 int size; member
145 static void set_slob(slob_t *s, slobidx_t size, slob_t *next) in set_slob()
217 static void *slob_page_alloc(struct page *sp, size_t size, int align) in slob_page_alloc()
268 static void *slob_alloc(size_t size, gfp_t gfp, int align, int node) in slob_alloc()
340 static void slob_free(void *block, int size) in slob_free()
427 __do_kmalloc_node(size_t size, gfp_t gfp, int node, unsigned long caller) in __do_kmalloc_node()
465 void *__kmalloc(size_t size, gfp_t gfp) in __kmalloc()
471 void *__kmalloc_track_caller(size_t size, gfp_t gfp, unsigned long caller) in __kmalloc_track_caller()
477 void *__kmalloc_node_track_caller(size_t size, gfp_t gfp, in __kmalloc_node_track_caller()
[all …]
/linux-4.1.27/drivers/mtd/tests/
Dmtd_nandecctest.c47 size_t size) in single_bit_error_data()
56 size_t size) in double_bit_error_data()
71 static unsigned int random_ecc_bit(size_t size) in random_ecc_bit()
88 size_t size) in single_bit_error_ecc()
97 size_t size) in double_bit_error_ecc()
112 void *correct_data, void *correct_ecc, const size_t size) in no_bit_error()
119 void *correct_data, const size_t size) in no_bit_error_verify()
133 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_data()
140 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_ecc()
147 void *correct_data, const size_t size) in single_bit_error_correct()
[all …]
/linux-4.1.27/arch/x86/include/asm/
Duaccess_64.h52 int __copy_from_user_nocheck(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocheck()
95 int __copy_from_user(void *dst, const void __user *src, unsigned size) in __copy_from_user()
102 int __copy_to_user_nocheck(void __user *dst, const void *src, unsigned size) in __copy_to_user_nocheck()
145 int __copy_to_user(void __user *dst, const void *src, unsigned size) in __copy_to_user()
152 int __copy_in_user(void __user *dst, const void __user *src, unsigned size) in __copy_in_user()
205 __copy_from_user_inatomic(void *dst, const void __user *src, unsigned size) in __copy_from_user_inatomic()
211 __copy_to_user_inatomic(void __user *dst, const void *src, unsigned size) in __copy_to_user_inatomic()
220 __copy_from_user_nocache(void *dst, const void __user *src, unsigned size) in __copy_from_user_nocache()
228 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 …]
Dmtrr.h62 static inline int mtrr_add(unsigned long base, unsigned long size, in mtrr_add()
67 static inline int mtrr_add_page(unsigned long base, unsigned long size, in mtrr_add_page()
72 static inline int mtrr_del(int reg, unsigned long base, unsigned long size) in mtrr_del()
76 static inline int mtrr_del_page(int reg, unsigned long base, unsigned long size) in mtrr_del_page()
104 compat_uint_t size; /* Size of region */ member
111 compat_uint_t size; /* Size of region */ member
Duaccess.h44 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok()
63 #define __range_not_ok(addr, size, limit) \ argument
88 #define access_ok(type, addr, size) \ argument
186 #define __put_user_x(size, x, ptr, __ret_pu) \ argument
281 #define __put_user_size(x, ptr, size, retval, errret) \ argument
304 #define __put_user_size_ex(x, ptr, size) \ argument
335 #define __get_user_size(x, ptr, size, retval, errret) \ argument
370 #define __get_user_size_ex(x, ptr, size) \ argument
397 #define __put_user_nocheck(x, ptr, size) \ argument
404 #define __get_user_nocheck(x, ptr, size) \ argument
[all …]
/linux-4.1.27/arch/s390/lib/
Duaccess.c21 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 …]
/linux-4.1.27/sound/pcmcia/pdaudiocf/
Dpdaudiocf_irq.c54 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono16()
62 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono32()
74 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo16()
82 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo32()
95 static inline void pdacf_transfer_mono16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono16sw()
103 static inline void pdacf_transfer_mono32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono32sw()
115 static inline void pdacf_transfer_stereo16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo16sw()
123 static inline void pdacf_transfer_stereo32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo32sw()
136 static inline void pdacf_transfer_mono24le(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24le()
152 static inline void pdacf_transfer_mono24be(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24be()
[all …]
/linux-4.1.27/tools/perf/util/
Dtrace-event-read.c45 static int __do_read(int fd, void *buf, int size) in __do_read()
71 static int do_read(void *data, int size) in do_read()
88 static void skip(int size) in skip()
122 int size = 0; in read_string() local
164 unsigned int size; in read_proc_kallsyms() local
189 unsigned int size; in read_ftrace_printk() local
214 unsigned long long size; in read_header_files() local
263 static int read_ftrace_file(struct pevent *pevent, unsigned long long size) in read_ftrace_file()
282 unsigned long long size) in read_event_file()
302 unsigned long long size; in read_ftrace_files() local
[all …]
Dtrace-event-parse.c32 int *offset, int *size, const char *type) in get_common_field()
56 static int size; in common_lock_depth() local
70 static int size; in common_flags() local
84 static int size; in common_pc() local
110 unsigned long long read_size(struct event_format *event, void *ptr, int size) in read_size()
116 int cpu, void *data, int size, FILE *fp) in event_format__fprintf()
133 int cpu, void *data, int size) in event_format__print()
193 int parse_ftrace_file(struct pevent *pevent, char *buf, unsigned long size) in parse_ftrace_file()
199 char *buf, unsigned long size, char *sys) in parse_event_file()
Dcolor.c45 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf()
95 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf()
106 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf()
196 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf()
202 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf()
213 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
/linux-4.1.27/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 …]
Dpci.c72 #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
202 resource_size_t size, resource_size_t alignment) in pcibios_align_resource()
/linux-4.1.27/arch/arm/mm/
Ddma-mapping.c76 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page()
85 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
106 size_t size, enum dma_data_direction dir, in arm_dma_unmap_page()
115 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
123 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
224 static void __dma_clear_buffer(struct page *page, size_t size) in __dma_clear_buffer()
254 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) in __dma_alloc_buffer()
278 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
299 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
311 static void __dma_free_remap(void *cpu_addr, size_t size) in __dma_free_remap()
[all …]
Dioremap.c46 size_t size, unsigned int mtype) in find_static_vm_paddr()
139 static void unmap_area_sections(unsigned long virt, unsigned long size) in unmap_area_sections()
187 size_t size, const struct mem_type *type) in remap_area_sections()
219 size_t size, const struct mem_type *type) in remap_area_supersections()
259 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller()
334 void __iomem *__arm_ioremap_caller(phys_addr_t phys_addr, size_t size, in __arm_ioremap_caller()
362 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, in __arm_ioremap_pfn()
375 __arm_ioremap(phys_addr_t phys_addr, size_t size, unsigned int mtype) in __arm_ioremap()
390 __arm_ioremap_exec(phys_addr_t phys_addr, size_t size, bool cached) in __arm_ioremap_exec()
/linux-4.1.27/lib/
Dfind_bit.c61 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit()
70 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit()
82 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit()
100 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit()
115 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit()
177 long size, unsigned long offset) in find_next_zero_bit_le()
186 long size, unsigned long offset) in find_next_bit_le()
Dtest_kasan.c23 size_t size = 123; in kmalloc_oob_right() local
39 size_t size = 15; in kmalloc_oob_left() local
55 size_t size = 4096; in kmalloc_node_oob_right() local
71 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_large_oob_rigth() local
144 size_t size = 666; in kmalloc_oob_in_memset() local
160 size_t size = 10; in kmalloc_uaf() local
176 size_t size = 33; in kmalloc_uaf_memset() local
192 size_t size = 43; in kmalloc_uaf2() local
215 size_t size = 200; in kmem_cache_oob() local
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 long (*fill)(void *dest, unsigned long size), in unxz()
Dsort.c11 static void u32_swap(void *a, void *b, int size) in u32_swap()
18 static void generic_swap(void *a, void *b, int size) in generic_swap()
46 void sort(void *base, size_t num, size_t size, in sort()
48 void (*swap_func)(void *, void *, int size)) in sort()
Dgenalloc.c88 const int size = start + nr; in bitmap_set_ll() local
123 const int size = start + nr; in bitmap_clear_ll() local
182 size_t size, int nid) in gen_pool_add_virt()
270 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc()
325 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc()
353 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free()
414 size_t size) in addr_in_gen_pool()
461 size_t size = 0; in gen_pool_size() local
504 unsigned long gen_pool_first_fit(unsigned long *map, unsigned long size, in gen_pool_first_fit()
522 unsigned long size, unsigned long start, in gen_pool_first_fit_order_align()
[all …]
Dswiotlb.c127 unsigned long size; in swiotlb_size_or_default() local
389 size_t size, enum dma_data_direction dir) in swiotlb_bounce()
427 phys_addr_t orig_addr, size_t size, in swiotlb_tbl_map_single()
541 map_single(struct device *hwdev, phys_addr_t phys, size_t size, in map_single()
553 size_t size, enum dma_data_direction dir) in swiotlb_tbl_unmap_single()
597 size_t size, enum dma_data_direction dir, in swiotlb_tbl_sync_single()
629 swiotlb_alloc_coherent(struct device *hwdev, size_t size, in swiotlb_alloc_coherent()
685 swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in swiotlb_free_coherent()
700 swiotlb_full(struct device *dev, size_t size, enum dma_data_direction dir, in swiotlb_full()
732 unsigned long offset, size_t size, in swiotlb_map_page()
[all …]
/linux-4.1.27/sound/core/
Dmemalloc.c45 void *snd_malloc_pages(size_t size, gfp_t gfp_flags) in snd_malloc_pages()
65 void snd_free_pages(void *ptr, size_t size) in snd_free_pages()
83 static void *snd_malloc_dev_pages(struct device *dev, size_t size, dma_addr_t *dma) in snd_malloc_dev_pages()
99 static void snd_free_dev_pages(struct device *dev, size_t size, void *ptr, in snd_free_dev_pages()
118 static void snd_malloc_dev_iram(struct snd_dma_buffer *dmab, size_t size) in snd_malloc_dev_iram()
172 int snd_dma_alloc_pages(int type, struct device *device, size_t size, in snd_dma_alloc_pages()
236 int snd_dma_alloc_pages_fallback(int type, struct device *device, size_t size, in snd_dma_alloc_pages_fallback()
Dpcm_memory.c51 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, size_t size) in preallocate_pcm_pages()
161 size_t size; in snd_pcm_lib_preallocate_proc_write() local
232 size_t size, size_t max) in snd_pcm_lib_preallocate_pages1()
260 size_t size, size_t max) in snd_pcm_lib_preallocate_pages()
284 size_t size, size_t max) in snd_pcm_lib_preallocate_pages_for_all()
332 int snd_pcm_lib_malloc_pages(struct snd_pcm_substream *substream, size_t size) in snd_pcm_lib_malloc_pages()
405 size_t size, gfp_t gfp_flags) in _snd_pcm_lib_alloc_vmalloc_buffer()
/linux-4.1.27/mm/kasan/
Dkasan.c42 static void kasan_poison_shadow(const void *address, size_t size, u8 value) in kasan_poison_shadow()
52 void kasan_unpoison_shadow(const void *address, size_t size) in kasan_unpoison_shadow()
153 size_t size) in bytes_is_zero()
195 size_t size) in memory_is_poisoned_n()
213 static __always_inline bool memory_is_poisoned(unsigned long addr, size_t size) in memory_is_poisoned()
237 size_t size, bool write) in check_memory_region()
329 unsigned long size = cache->object_size; in kasan_slab_free() local
339 void kasan_kmalloc(struct kmem_cache *cache, const void *object, size_t size) in kasan_kmalloc()
358 void kasan_kmalloc_large(const void *ptr, size_t size) in kasan_kmalloc_large()
377 void kasan_krealloc(const void *object, size_t size) in kasan_krealloc()
[all …]
Dreport.c37 static const void *find_first_bad_addr(const void *addr, size_t size) in find_first_bad_addr()
218 void kasan_report(unsigned long addr, size_t size, in kasan_report()
234 #define DEFINE_ASAN_REPORT_LOAD(size) \ argument
241 #define DEFINE_ASAN_REPORT_STORE(size) \ argument
259 void __asan_report_load_n_noabort(unsigned long addr, size_t size) in __asan_report_load_n_noabort()
265 void __asan_report_store_n_noabort(unsigned long addr, size_t size) in __asan_report_store_n_noabort()
/linux-4.1.27/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()
109 #define __put_user_nocheck(data, addr, size) ({ \ argument
121 #define __put_user_asm(x, size, addr, ret) \ argument
143 #define __get_user_nocheck(data, addr, size, type) ({ \ argument
160 #define __get_user_nocheck_ret(data, addr, size, type, retval) ({ \ argument
174 #define __get_user_asm(x, size, addr, ret) \ argument
195 #define __get_user_asm_ret(x, size, addr, retval) \ argument
229 copy_from_user(void *to, const void __user *from, unsigned long size) in copy_from_user()
246 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
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 …]
/linux-4.1.27/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 …]
Dio.h42 unsigned long size) in ioremap_nocache()
52 unsigned long size) in ioremap_cache()
63 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) in ioremap()
/linux-4.1.27/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 …]
Ddma-mapping.h57 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL argument
58 #define __dma_free_coherent(size, addr) ((void)0) argument
59 #define __dma_sync(addr, size, rw) ((void)0) argument
142 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
160 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs()
188 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
218 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/linux-4.1.27/arch/parisc/include/asm/
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 …]
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 …]
/linux-4.1.27/drivers/staging/octeon/
Dethernet-mem.c46 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff()
69 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff()
99 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory()
136 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory()
159 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa()
170 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()
/linux-4.1.27/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-4.1.27/fs/
Dxattr.c93 const void *value, size_t size, int flags) in __vfs_setxattr_noperm()
123 size_t size, int flags) in vfs_setxattr()
147 size_t size) in xattr_getsecurity()
213 const char *value, size_t size, gfp_t flags) in vfs_xattr_cmp()
231 vfs_getxattr(struct dentry *dentry, const char *name, void *value, size_t size) in vfs_getxattr()
267 vfs_listxattr(struct dentry *d, char *list, size_t size) in vfs_listxattr()
323 size_t size, int flags) in setxattr()
369 size_t size, int flags, unsigned int lookup_flags) in path_setxattr()
392 size_t, size, int, flags) in SYSCALL_DEFINE5() argument
399 size_t, size, int, flags) in SYSCALL_DEFINE5() argument
[all …]
/linux-4.1.27/drivers/base/
Ddma-mapping.c21 size_t size; member
65 void *dmam_alloc_coherent(struct device *dev, size_t size, in dmam_alloc_coherent()
100 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent()
124 void *dmam_alloc_noncoherent(struct device *dev, size_t size, in dmam_alloc_noncoherent()
159 void dmam_free_noncoherent(struct device *dev, size_t size, void *vaddr, in dmam_free_noncoherent()
191 dma_addr_t device_addr, size_t size, int flags) in dmam_declare_coherent_memory()
229 void *cpu_addr, dma_addr_t handle, size_t size) in dma_common_get_sgtable()
247 void *cpu_addr, dma_addr_t dma_addr, size_t size) in dma_common_mmap()
278 void *dma_common_pages_remap(struct page **pages, size_t size, in dma_common_pages_remap()
303 void *dma_common_contiguous_remap(struct page *page, size_t size, in dma_common_contiguous_remap()
[all …]
Ddma-coherent.c14 int size; member
21 size_t size, int flags, in dma_init_coherent_memory()
88 dma_addr_t device_addr, size_t size, int flags) in dma_declare_coherent_memory()
118 dma_addr_t device_addr, size_t size) in dma_mark_declared_memory_occupied()
155 int dma_alloc_from_coherent(struct device *dev, ssize_t size, in dma_alloc_from_coherent()
247 void *vaddr, size_t size, int *ret) in dma_mmap_from_coherent()
/linux-4.1.27/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 …]
Duaccess.h51 static inline int ___range_ok(unsigned long addr, unsigned int size) in ___range_ok()
70 #define __range_ok(addr, size) ___range_ok((unsigned long)(addr), (u32)(size)) argument
72 #define access_ok(type, addr, size) (__range_ok((addr), (size)) == 0) argument
73 #define __access_ok(addr, size) (__range_ok((addr), (size)) == 0) argument
75 static inline int verify_area(int type, const void *addr, unsigned long size) in verify_area()
131 #define __get_user_nocheck(x, ptr, size) \ argument
162 #define __get_user_check(x, ptr, size) \ argument
197 #define __put_user_nocheck(x, ptr, size) \ argument
217 #define __put_user_check(x, ptr, size) \ argument
295 #define __copy_user(to, from, size) \ argument
[all …]
Dcacheflush.h60 #define mn10300_local_dcache_flush_range2(start, size) do {} while (0) argument
67 #define mn10300_local_dcache_flush_inv_range2(start, size) \ argument
72 #define mn10300_dcache_flush_range2(start, size) do {} while (0) argument
78 #define mn10300_dcache_flush_inv_range2(start, size) \ argument
85 #define mn10300_local_icache_inv_range2(start, size) do {} while (0) argument
89 #define mn10300_local_dcache_inv_range2(start, size) do {} while (0) argument
94 #define mn10300_local_dcache_flush_inv_range2(start, size) do {} while (0) argument
97 #define mn10300_local_dcache_flush_range2(start, size) do {} while (0) argument
101 #define mn10300_icache_inv_range2(start, size) do {} while (0) argument
105 #define mn10300_dcache_inv_range2(start, size) do {} while (0) argument
[all …]
/linux-4.1.27/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-4.1.27/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()
Dnubus.h19 unsigned long size) in nubus_remap_nocache_ser()
25 unsigned long size) in nubus_remap_nocache_nonser()
31 unsigned long size) in nbus_remap_writethrough()
37 unsigned long size) in nubus_remap_fullcache()
Dzorro.h19 unsigned long size) in z_remap_nocache_ser()
25 unsigned long size) in z_remap_nocache_nonser()
31 unsigned long size) in z_remap_writethrough()
36 unsigned long size) in z_remap_fullcache()
Dfloppy.h102 #define fd_dma_mem_alloc(size) vdma_mem_alloc(size) argument
103 #define fd_dma_setup(addr, size, mode, io) vdma_dma_setup(addr, size, mode, io) argument
144 static unsigned long vdma_mem_alloc(unsigned long size) in vdma_mem_alloc()
150 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) in _fd_dma_mem_free()
154 #define fd_dma_mem_free(addr,size) _fd_dma_mem_free(addr, size) argument
159 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_dma.c54 size_t size, enum dma_data_direction direction) in qib_dma_map_single()
60 static void qib_dma_unmap_single(struct ib_device *dev, u64 addr, size_t size, in qib_dma_unmap_single()
67 unsigned long offset, size_t size, in qib_dma_map_page()
88 static void qib_dma_unmap_page(struct ib_device *dev, u64 addr, size_t size, in qib_dma_unmap_page()
127 size_t size, enum dma_data_direction dir) in qib_sync_single_for_cpu()
132 size_t size, in qib_sync_single_for_device()
137 static void *qib_dma_alloc_coherent(struct ib_device *dev, size_t size, in qib_dma_alloc_coherent()
151 static void qib_dma_free_coherent(struct ib_device *dev, size_t size, in qib_dma_free_coherent()
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_dma.c56 void *cpu_addr, size_t size, in ipath_dma_map_single()
64 u64 addr, size_t size, in ipath_dma_unmap_single()
73 size_t size, in ipath_dma_map_page()
95 u64 addr, size_t size, in ipath_dma_unmap_page()
135 size_t size, in ipath_sync_single_for_cpu()
142 size_t size, in ipath_sync_single_for_device()
147 static void *ipath_dma_alloc_coherent(struct ib_device *dev, size_t size, in ipath_dma_alloc_coherent()
161 static void ipath_dma_free_coherent(struct ib_device *dev, size_t size, in ipath_dma_free_coherent()
/linux-4.1.27/arch/x86/include/asm/xen/
Dpage-coherent.h8 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()
/linux-4.1.27/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
Duaccess.h22 #define __access_ok(addr, size) \ argument
24 #define access_ok(type, addr, size) \ argument
56 #define __get_user_nocheck(x,ptr,size) \ argument
67 #define __get_user_check(x,ptr,size) \ argument
78 #define __put_user_nocheck(x,ptr,size) \ argument
88 #define __put_user_check(x,ptr,size) \ argument
/linux-4.1.27/include/asm-generic/
Dpci-dma-compat.h16 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent()
23 pci_zalloc_consistent(struct pci_dev *hwdev, size_t size, in pci_zalloc_consistent()
31 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent()
38 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single()
45 size_t size, int direction) in pci_unmap_single()
52 unsigned long offset, size_t size, int direction) in pci_map_page()
59 size_t size, int direction) in pci_unmap_page()
80 size_t size, int direction) in pci_dma_sync_single_for_cpu()
87 size_t size, int direction) in pci_dma_sync_single_for_device()
Ddma-mapping-common.h11 size_t size, in dma_map_single_attrs()
30 size_t size, in dma_unmap_single_attrs()
77 size_t offset, size_t size, in dma_map_page()
92 size_t size, enum dma_data_direction dir) in dma_unmap_page()
103 size_t size, in dma_sync_single_for_cpu()
115 dma_addr_t addr, size_t size, in dma_sync_single_for_device()
129 size_t size, in dma_sync_single_range_for_cpu()
143 size_t size, in dma_sync_single_range_for_device()
211 dma_addr_t dma_addr, size_t size, struct dma_attrs *attrs) in dma_mmap_attrs()
228 dma_addr_t dma_addr, size_t size, struct dma_attrs *attrs) in dma_get_sgtable_attrs()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
Dioctl.c34 nvkm_ioctl_nop(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_nop()
51 nvkm_ioctl_sclass(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_sclass()
84 nvkm_ioctl_new(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_new()
183 nvkm_ioctl_del(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_del()
202 nvkm_ioctl_mthd(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_mthd()
224 nvkm_ioctl_rd(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_rd()
266 nvkm_ioctl_wr(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_wr()
309 nvkm_ioctl_map(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_map()
331 nvkm_ioctl_unmap(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_unmap()
348 nvkm_ioctl_ntfy_new(struct nvkm_handle *handle, void *data, u32 size) in nvkm_ioctl_ntfy_new()
[all …]
/linux-4.1.27/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()
/linux-4.1.27/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 …]
Duaccess.h53 #define __user_ok(addr, size) \ argument
55 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) argument
56 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), (size)) argument
107 #define __put_user_size(x, ptr, size, retval) \ argument
128 #define __get_user_size(x, ptr, size, retval) \ argument
149 #define __put_user_nocheck(x, ptr, size) \ argument
156 #define __put_user_check(x, ptr, size) \ argument
170 #define __get_user_nocheck(x, ptr, size) \ argument
178 #define __get_user_check(x, ptr, size) \ argument
/linux-4.1.27/arch/arm/include/asm/xen/
Dpage-coherent.h20 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()
50 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page()
66 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu()
77 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device()
/linux-4.1.27/drivers/infiniband/hw/cxgb3/
Dcxio_dbg.c45 int size = 32; in cxio_dump_tpt() local
78 int size, npages; in cxio_dump_pbl() local
114 uint size = (uint)(be64_to_cpu(*data) & 0xff); in cxio_dump_wqe() local
129 int size = sizeof(*wce); in cxio_dump_wce() local
142 int size = nents * 64; in cxio_dump_rqt() local
175 int size = TCB_SIZE; in cxio_dump_tcb() local
/linux-4.1.27/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()
/linux-4.1.27/arch/tile/kernel/
Dpci-dma.c35 static void *tile_dma_alloc_coherent(struct device *dev, size_t size, in tile_dma_alloc_coherent()
79 static void tile_dma_free_coherent(struct device *dev, size_t size, in tile_dma_free_coherent()
102 size_t size, enum dma_data_direction direction) in __dma_prep_page()
150 size_t size, enum dma_data_direction direction) in __dma_complete_page()
171 static void __dma_prep_pa_range(dma_addr_t dma_addr, size_t size, in __dma_prep_pa_range()
187 static void __dma_complete_pa_range(dma_addr_t dma_addr, size_t size, in __dma_complete_pa_range()
241 unsigned long offset, size_t size, in tile_dma_map_page()
254 size_t size, enum dma_data_direction direction, in tile_dma_unmap_page()
265 size_t size, in tile_dma_sync_single_for_cpu()
274 dma_addr_t dma_handle, size_t size, in tile_dma_sync_single_for_device()
[all …]
/linux-4.1.27/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()
/linux-4.1.27/arch/metag/include/asm/
Duaccess.h42 #define __user_bad(addr, size) (((addr) > 0 && (addr) < META_MEMORY_BASE) || \ argument
46 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok()
51 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), \ argument
54 static inline int verify_area(int type, const void *addr, unsigned long size) in verify_area()
89 #define __put_user_nocheck(x, ptr, size) \ argument
96 #define __put_user_check(x, ptr, size) \ argument
110 #define __put_user_size(x, ptr, size, retval) \ argument
139 #define __get_user_nocheck(x, ptr, size) \ argument
147 #define __get_user_check(x, ptr, size) \ argument
161 #define __get_user_size(x, ptr, size, retval) \ argument
Ddma-mapping.h30 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
40 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
69 size_t size, enum dma_data_direction direction) in dma_map_page()
78 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
105 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
113 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
120 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
129 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
178 dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/linux-4.1.27/arch/frv/include/asm/
Ddma-mapping.h28 void dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
49 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
57 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
63 void dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device()
71 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
78 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
129 void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
138 dma_addr_t dma_addr, size_t size) in dma_mmap_coherent()
145 size_t size) in dma_get_sgtable()
/linux-4.1.27/arch/powerpc/lib/
Dfeature-fixups.c173 int size = &end_ftr_fixup_test1 - &ftr_fixup_test1; in test_basic_patching() local
205 int size = &end_ftr_fixup_test2 - &ftr_fixup_test2; in test_alternative_patching() local
237 int size = &end_ftr_fixup_test3 - &ftr_fixup_test3; in test_alternative_case_too_big() local
264 int size = &end_ftr_fixup_test4 - &ftr_fixup_test4; in test_alternative_case_too_small() local
298 int size = &end_ftr_fixup_test5 - &ftr_fixup_test5; in test_alternative_case_with_branch() local
308 int size = &end_ftr_fixup_test6 - &ftr_fixup_test6; in test_alternative_case_with_external_branch() local
317 unsigned long size = &ftr_fixup_test_FTR_macros_expected - in test_cpu_macros() local
330 unsigned long size = &ftr_fixup_test_FW_FTR_macros_expected - in test_fw_macros() local
345 unsigned long size = &end_lwsync_fixup_test - in test_lwsync_macros() local
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dnv04.c512 void *args, u32 size) in nv04_gr_mthd_set_operation()
529 void *args, u32 size) in nv04_gr_mthd_surf3d_clip_h()
550 void *args, u32 size) in nv04_gr_mthd_surf3d_clip_v()
570 nv04_gr_mthd_bind_class(struct nvkm_object *object, u32 *args, u32 size) in nv04_gr_mthd_bind_class()
579 void *args, u32 size) in nv04_gr_mthd_bind_surf2d()
596 void *args, u32 size) in nv04_gr_mthd_bind_surf2d_swzsurf()
617 void *args, u32 size) in nv01_gr_mthd_bind_patt()
632 void *args, u32 size) in nv04_gr_mthd_bind_patt()
647 void *args, u32 size) in nv04_gr_mthd_bind_rop()
662 void *args, u32 size) in nv04_gr_mthd_bind_beta1()
[all …]
/linux-4.1.27/arch/openrisc/include/asm/
Duaccess.h60 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()-size)) argument
65 #define access_ok(type, addr, size) \ argument
119 #define __put_user_nocheck(x, ptr, size) \ argument
126 #define __put_user_check(x, ptr, size) \ argument
135 #define __put_user_size(x, ptr, size, retval) \ argument
191 #define __get_user_nocheck(x, ptr, size) \ argument
199 #define __get_user_check(x, ptr, size) \ argument
211 #define __get_user_size(x, ptr, size, retval) \ argument
265 #define __copy_from_user(to, from, size) \ argument
267 #define __copy_to_user(to, from, size) \ argument
[all …]
/linux-4.1.27/arch/nios2/mm/
Ddma-mapping.c24 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
50 void dma_free_coherent(struct device *dev, size_t size, void *vaddr, in dma_free_coherent()
81 unsigned long offset, size_t size, in dma_map_page()
95 void dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
124 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
133 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
142 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
152 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
Dioremap.c23 unsigned long size, unsigned long phys_addr, in remap_area_pte()
51 unsigned long size, unsigned long phys_addr, in remap_area_pmd()
77 unsigned long size, unsigned long flags) in remap_area_pages()
115 void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, in __ioremap()
/linux-4.1.27/include/uapi/asm-generic/
Dioctl.h65 #define _IOC(dir,type,nr,size) \ argument
77 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) argument
78 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
79 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) argument
80 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size)) argument
81 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size)) argument
82 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size)) argument
/linux-4.1.27/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()
/linux-4.1.27/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c56 static void cvmx_bootmem_phy_set_size(uint64_t addr, uint64_t size) in cvmx_bootmem_phy_set_size()
76 void *cvmx_bootmem_alloc_range(uint64_t size, uint64_t alignment, in cvmx_bootmem_alloc_range()
89 void *cvmx_bootmem_alloc_address(uint64_t size, uint64_t address, in cvmx_bootmem_alloc_address()
96 void *cvmx_bootmem_alloc(uint64_t size, uint64_t alignment) in cvmx_bootmem_alloc()
101 void *cvmx_bootmem_alloc_named_range(uint64_t size, uint64_t min_addr, in cvmx_bootmem_alloc_named_range()
115 void *cvmx_bootmem_alloc_named_address(uint64_t size, uint64_t address, in cvmx_bootmem_alloc_named_address()
122 void *cvmx_bootmem_alloc_named(uint64_t size, uint64_t alignment, char *name) in cvmx_bootmem_alloc_named()
398 int __cvmx_bootmem_phy_free(uint64_t phy_addr, uint64_t size, uint32_t flags) in __cvmx_bootmem_phy_free()
617 int64_t cvmx_bootmem_phy_named_block_alloc(uint64_t size, uint64_t min_addr, in cvmx_bootmem_phy_named_block_alloc()
/linux-4.1.27/arch/arm64/mm/
Ddma-mapping.c54 static void *__alloc_from_pool(size_t size, struct page **ret_page, gfp_t flags) in __alloc_from_pool()
76 static bool __in_atomic_pool(void *start, size_t size) in __in_atomic_pool()
81 static int __free_from_pool(void *start, size_t size) in __free_from_pool()
91 static void *__dma_alloc_coherent(struct device *dev, size_t size, in __dma_alloc_coherent()
121 static void __dma_free_coherent(struct device *dev, size_t size, in __dma_free_coherent()
140 static void *__dma_alloc(struct device *dev, size_t size, in __dma_alloc()
189 static void __dma_free(struct device *dev, size_t size, in __dma_free()
206 unsigned long offset, size_t size, in __swiotlb_map_page()
221 size_t size, enum dma_data_direction dir, in __swiotlb_unmap_page()
261 dma_addr_t dev_addr, size_t size, in __swiotlb_sync_single_for_cpu()
[all …]
Dmmu.c53 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
92 void *(*alloc)(unsigned long size)) in alloc_init_pte()
127 void *(*alloc)(unsigned long size)) in alloc_init_pmd()
192 void *(*alloc)(unsigned long size)) in alloc_init_pud()
243 phys_addr_t size, pgprot_t prot, in __create_mapping()
244 void *(*alloc)(unsigned long size)) in __create_mapping()
259 static void *late_alloc(unsigned long size) in late_alloc()
270 phys_addr_t size, pgprot_t prot) in create_mapping()
282 unsigned long virt, phys_addr_t size, in create_pgd_mapping()
290 phys_addr_t size, pgprot_t prot) in create_mapping_late()
Dioremap.c32 static void __iomem *__ioremap_caller(phys_addr_t phys_addr, size_t size, in __ioremap_caller()
76 void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) in __ioremap()
96 void __iomem *ioremap_cache(phys_addr_t phys_addr, size_t size) in ioremap_cache()
/linux-4.1.27/drivers/clk/mmp/
Dclk.c28 int size) in mmp_register_fixed_rate_clks()
50 int size) in mmp_register_fixed_factor_clks()
72 void __iomem *base, int size) in mmp_register_general_gate_clks()
98 void __iomem *base, int size) in mmp_register_gate_clks()
126 void __iomem *base, int size) in mmp_register_mux_clks()
154 void __iomem *base, int size) in mmp_register_div_clks()
/linux-4.1.27/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()
/linux-4.1.27/fs/nfsd/
Dnfsctl.c94 static ssize_t nfsctl_transaction_write(struct file *file, const char __user *buf, size_t size, lof… in nfsctl_transaction_write()
115 static ssize_t nfsctl_transaction_read(struct file *file, char __user *buf, size_t size, loff_t *po… in nfsctl_transaction_read()
254 static ssize_t write_unlock_ip(struct file *file, char *buf, size_t size) in write_unlock_ip()
293 static ssize_t write_unlock_fs(struct file *file, char *buf, size_t size) in write_unlock_fs()
350 static ssize_t write_filehandle(struct file *file, char *buf, size_t size) in write_filehandle()
432 static ssize_t write_threads(struct file *file, char *buf, size_t size) in write_threads()
476 static ssize_t write_pool_threads(struct file *file, char *buf, size_t size) in write_pool_threads()
542 static ssize_t __write_versions(struct file *file, char *buf, size_t size) in __write_versions()
672 static ssize_t write_versions(struct file *file, char *buf, size_t size) in write_versions()
775 static ssize_t __write_ports(struct file *file, char *buf, size_t size, in __write_ports()
[all …]
/linux-4.1.27/arch/mips/mm/
Ddma-default.c115 void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
133 static void *mips_dma_alloc_coherent(struct device *dev, size_t size, in mips_dma_alloc_coherent()
167 void dma_free_noncoherent(struct device *dev, size_t size, void *vaddr, in dma_free_noncoherent()
175 static void mips_dma_free_coherent(struct device *dev, size_t size, void *vaddr, in mips_dma_free_coherent()
197 static inline void __dma_sync_virtual(void *addr, size_t size, in __dma_sync_virtual()
225 unsigned long offset, size_t size, enum dma_data_direction direction) in __dma_sync()
256 size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) in mips_dma_unmap_page()
285 unsigned long offset, size_t size, enum dma_data_direction direction, in mips_dma_map_page()
310 dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) in mips_dma_sync_single_for_cpu()
319 dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) in mips_dma_sync_single_for_device()
[all …]
Dioremap.c20 phys_addr_t size, phys_addr_t phys_addr, unsigned long flags) in remap_area_pte()
46 phys_addr_t size, phys_addr_t phys_addr, unsigned long flags) in remap_area_pmd()
68 phys_addr_t size, unsigned long flags) in remap_area_pages()
116 void __iomem * __ioremap(phys_addr_t phys_addr, phys_addr_t size, unsigned long flags) in __ioremap()
Dc-r3k.c30 unsigned long flags, status, dummy, size; in r3k_cache_size() local
105 unsigned long size, i, flags; in r3k_flush_icache_range() local
162 unsigned long size, i, flags; in r3k_flush_dcache_range() local
300 static void r3k_flush_kernel_vmap_range(unsigned long vaddr, int size) in r3k_flush_kernel_vmap_range()
305 static void r3k_dma_cache_wback_inv(unsigned long start, unsigned long size) in r3k_dma_cache_wback_inv()
/linux-4.1.27/fs/ceph/
Dxattr.c68 size_t size) in ceph_vxattrcb_layout()
115 char *val, size_t size) in ceph_vxattrcb_layout_stripe_unit()
122 char *val, size_t size) in ceph_vxattrcb_layout_stripe_count()
129 char *val, size_t size) in ceph_vxattrcb_layout_object_size()
136 char *val, size_t size) in ceph_vxattrcb_layout_pool()
157 size_t size) in ceph_vxattrcb_dir_entries()
163 size_t size) in ceph_vxattrcb_dir_files()
169 size_t size) in ceph_vxattrcb_dir_subdirs()
175 size_t size) in ceph_vxattrcb_dir_rentries()
181 size_t size) in ceph_vxattrcb_dir_rfiles()
[all …]
/linux-4.1.27/arch/mips/pci/
Dops-bcm63xx.c20 static int postprocess_read(u32 data, int where, unsigned int size) in postprocess_read()
40 unsigned int size) in preprocess_write()
101 unsigned int devfn, int where, int size, in bcm63xx_do_cfg_read()
122 unsigned int devfn, int where, int size, in bcm63xx_do_cfg_write()
148 int where, int size, u32 *val) in bcm63xx_pci_read()
162 int where, int size, u32 val) in bcm63xx_pci_write()
208 static int fake_cb_bridge_read(int where, int size, u32 *val) in fake_cb_bridge_read()
291 static int fake_cb_bridge_write(int where, int size, u32 val) in fake_cb_bridge_write()
363 int where, int size, u32 *val) in bcm63xx_cb_read()
387 int where, int size, u32 val) in bcm63xx_cb_write()
[all …]
Dops-bridge.c20 static u32 emulate_ioc3_cfg(int where, int size) in emulate_ioc3_cfg()
44 int where, int size, u32 * value) in pci_conf0_read_config()
104 int where, int size, u32 * value) in pci_conf1_read_config()
168 int where, int size, u32 * value) in pci_read_config()
177 int where, int size, u32 value) in pci_conf0_write_config()
243 int where, int size, u32 value) in pci_conf1_write_config()
311 int where, int size, u32 value) in pci_write_config()
Dops-sni.c41 int size, u32 * val) in pcimt_read()
64 int size, u32 val) in pcimt_write()
101 int size, u32 * val) in pcit_read()
138 int size, u32 val) in pcit_write()
/linux-4.1.27/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()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/sw/
Dnv50.c40 void *args, u32 size) in nv50_sw_mthd_dma_vblsem()
62 void *args, u32 size) in nv50_sw_mthd_vblsem_offset()
71 void *args, u32 size) in nv50_sw_mthd_vblsem_value()
80 void *args, u32 size) in nv50_sw_mthd_vblsem_release()
92 nv50_sw_mthd_flip(struct nvkm_object *object, u32 mthd, void *args, u32 size) in nv50_sw_mthd_flip()
157 struct nvkm_oclass *oclass, void *data, u32 size, in nv50_sw_context_ctor()
205 struct nvkm_oclass *oclass, void *data, u32 size, in nv50_sw_ctor()
Dnv04.c40 nv04_sw_set_ref(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nv04_sw_set_ref()
49 nv04_sw_flip(struct nvkm_object *object, u32 mthd, void *args, u32 size) in nv04_sw_flip()
76 struct nvkm_oclass *oclass, void *data, u32 size, in nv04_sw_context_ctor()
113 struct nvkm_oclass *oclass, void *data, u32 size, in nv04_sw_ctor()
/linux-4.1.27/arch/arm/xen/
Dmm.c48 size_t size, enum dma_data_direction dir, enum dma_cache_op op) in dma_cache_maint()
88 size_t size, enum dma_data_direction dir) in __xen_dma_page_dev_to_cpu()
94 size_t size, enum dma_data_direction dir) in __xen_dma_page_cpu_to_dev()
100 dma_addr_t dev_addr, unsigned long offset, size_t size, in __xen_dma_map_page()
112 size_t size, enum dma_data_direction dir, in __xen_dma_unmap_page()
125 dma_addr_t handle, size_t size, enum dma_data_direction dir) in __xen_dma_sync_single_for_cpu()
133 dma_addr_t handle, size_t size, enum dma_data_direction dir) in __xen_dma_sync_single_for_device()
/linux-4.1.27/drivers/acpi/
Dnvs.c22 __u64 size; member
37 int acpi_nvs_register(__u64 start, __u64 size) in acpi_nvs_register()
51 int acpi_nvs_for_each_region(int (*func)(__u64 start, __u64 size, void *data), in acpi_nvs_for_each_region()
76 unsigned int size; member
94 static int suspend_nvs_register(unsigned long start, unsigned long size) in suspend_nvs_register()
179 unsigned int size = entry->size; in suspend_nvs_save() local
/linux-4.1.27/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()
/linux-4.1.27/drivers/rapidio/
Drio-access.c42 #define RIO_LOP_READ(size,type,len) \ argument
66 #define RIO_LOP_WRITE(size,type,len) \ argument
102 #define RIO_OP_READ(size,type,len) \ argument
126 #define RIO_OP_WRITE(size,type,len) \ argument
/linux-4.1.27/fs/reiserfs/
Dxattr_acl.c25 int size = acl ? posix_acl_xattr_size(acl->a_count) : 0; in reiserfs_set_acl() local
54 static struct posix_acl *reiserfs_posix_acl_from_disk(const void *value, size_t size) in reiserfs_posix_acl_from_disk()
124 static void *reiserfs_posix_acl_to_disk(const struct posix_acl *acl, size_t * size) in reiserfs_posix_acl_to_disk()
184 int size; in reiserfs_get_acl() local
242 size_t size = 0; in __reiserfs_set_acl() local
376 int size = reiserfs_acl_size(acl->a_count); in reiserfs_cache_default_acl() local
/linux-4.1.27/arch/arm64/include/asm/
Ddma-mapping.h48 static inline void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
97 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
105 static inline void dma_mark_clean(void *addr, size_t size) in dma_mark_clean()
112 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
127 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs()
143 static inline void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
149 static inline void dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
/linux-4.1.27/fs/ntfs/
Dmalloc.h42 static inline void *__ntfs_malloc(unsigned long size, gfp_t gfp_mask) in __ntfs_malloc()
64 static inline void *ntfs_malloc_nofs(unsigned long size) in ntfs_malloc_nofs()
81 static inline void *ntfs_malloc_nofs_nofail(unsigned long size) in ntfs_malloc_nofs_nofail()
/linux-4.1.27/arch/arc/include/asm/
Ddma-mapping.h62 static inline void __inline_dma_cache_sync(unsigned long paddr, size_t size, in __inline_dma_cache_sync()
93 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single()
102 size_t size, enum dma_data_direction dir) in dma_unmap_single()
108 unsigned long offset, size_t size, in dma_map_page()
117 size_t size, enum dma_data_direction dir) in dma_unmap_page()
148 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu()
156 size_t size, enum dma_data_direction dir) in dma_sync_single_for_device()
164 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
173 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
/linux-4.1.27/arch/m32r/include/asm/
Duaccess.h71 #define __range_ok(addr, size) ({ \ argument
106 #define access_ok(type, addr, size) (likely(__range_ok(addr, size) == 0)) argument
108 static inline int access_ok(int type, const void *addr, unsigned long size) in access_ok()
215 #define __get_user_nocheck(x, ptr, size) \ argument
225 #define __get_user_check(x, ptr, size) \ argument
239 #define __get_user_size(x, ptr, size, retval) \ argument
295 #define __put_user_nocheck(x, ptr, size) \ argument
304 #define __put_user_check(x, ptr, size) \ argument
369 #define __put_user_size(x, ptr, size, retval) \ argument
424 #define __copy_user(to, from, size) \ argument
[all …]
/linux-4.1.27/arch/microblaze/kernel/
Ddma.c18 static void *dma_direct_alloc_coherent(struct device *dev, size_t size, in dma_direct_alloc_coherent()
43 static void dma_direct_free_coherent(struct device *dev, size_t size, in dma_direct_free_coherent()
79 size_t size, in dma_direct_map_page()
89 size_t size, in dma_direct_unmap_page()
103 dma_addr_t dma_handle, size_t size, in dma_direct_sync_single_for_cpu()
117 dma_addr_t dma_handle, size_t size, in dma_direct_sync_single_for_device()
158 void *cpu_addr, dma_addr_t handle, size_t size, in dma_direct_mmap_coherent()
/linux-4.1.27/arch/x86/lib/
Dusercopy_32.c40 #define __do_clear_user(addr,size) \ argument
101 __copy_user_intel(void __user *to, const void *from, unsigned long size) in __copy_user_intel()
205 __copy_user_zeroing_intel(void *to, const void __user *from, unsigned long size) in __copy_user_zeroing_intel()
302 const void __user *from, unsigned long size) in __copy_user_zeroing_intel_nocache()
396 const void __user *from, unsigned long size) in __copy_user_intel_nocache()
498 #define __copy_user(to, from, size) \ argument
531 #define __copy_user_zeroing(to, from, size) \ argument
/linux-4.1.27/drivers/i2c/busses/
Di2c-nforce2-s4985.c47 u8 command, int size, in nforce2_access_virt0()
73 u8 command, int size, in nforce2_access_channel()
106 u8 command, int size, in nforce2_access_virt1()
116 u8 command, int size, in nforce2_access_virt2()
126 u8 command, int size, in nforce2_access_virt3()
136 u8 command, int size, in nforce2_access_virt4()
Di2c-amd756-s4882.c49 u8 command, int size, in amd756_access_virt0()
77 u8 command, int size, in amd756_access_channel()
111 u8 command, int size, in amd756_access_virt1()
121 u8 command, int size, in amd756_access_virt2()
131 u8 command, int size, in amd756_access_virt3()
141 u8 command, int size, in amd756_access_virt4()
/linux-4.1.27/arch/mips/include/asm/
Dbcache.h39 static inline void bc_wback_inv(unsigned long page, unsigned long size) in bc_wback_inv()
44 static inline void bc_inv(unsigned long page, unsigned long size) in bc_inv()
55 #define bc_wback_inv(page, size) do { } while (0) argument
56 #define bc_inv(page, size) do { } while (0) argument
Dio.h178 static inline void __iomem * __ioremap_mode(phys_addr_t offset, unsigned long size, in __ioremap_mode()
235 #define ioremap(offset, size) \ argument
257 #define ioremap_nocache(offset, size) \ argument
275 #define ioremap_cachable(offset, size) \ argument
284 #define ioremap_cacheable_cow(offset, size) \ argument
286 #define ioremap_uncached_accelerated(offset, size) \ argument
593 #define dma_cache_wback_inv(start, size) _dma_cache_wback_inv(start, size) argument
594 #define dma_cache_wback(start, size) _dma_cache_wback(start, size) argument
595 #define dma_cache_inv(start, size) _dma_cache_inv(start, size) argument
599 #define dma_cache_wback_inv(start,size) \ argument
[all …]
Duaccess.h95 #define __ua_size(size) \ argument
120 #define __access_ok(addr, size, mask) \ argument
133 #define access_ok(type, addr, size) \ argument
228 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument
248 #define __get_kernel_common(val, size, ptr) \ argument
269 #define __get_user_common(val, size, ptr) \ argument
280 #define __get_user_nocheck(x, ptr, size) \ argument
293 #define __get_user_check(x, ptr, size) \ argument
364 #define __put_kernel_common(ptr, size) __put_user_common(ptr, size) argument
385 #define __put_kernel_common(ptr, size) \ argument
[all …]
Ddma-mapping.h23 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
31 static inline void dma_mark_clean(void *addr, size_t size) {} in dma_mark_clean()
70 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
86 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs()
/linux-4.1.27/arch/blackfin/mm/
Dsram-alloc.c29 int size; member
269 static void *_sram_alloc(size_t size, struct sram_piece *pfree_head, in _sram_alloc()
437 void *l1_data_A_sram_alloc(size_t size) in l1_data_A_sram_alloc()
488 void *l1_data_B_sram_alloc(size_t size) in l1_data_B_sram_alloc()
539 void *l1_data_sram_alloc(size_t size) in l1_data_sram_alloc()
550 void *l1_data_sram_zalloc(size_t size) in l1_data_sram_zalloc()
571 void *l1_inst_sram_alloc(size_t size) in l1_inst_sram_alloc()
623 void *l1sram_alloc(size_t size) in l1sram_alloc()
682 void *l2_sram_alloc(size_t size) in l2_sram_alloc()
707 void *l2_sram_zalloc(size_t size) in l2_sram_zalloc()
[all …]
Dmaccess.c12 static int validate_memory_access_address(unsigned long addr, int size) in validate_memory_access_address()
19 long probe_kernel_read(void *dst, const void *src, size_t size) in probe_kernel_read()
58 long probe_kernel_write(void *dst, const void *src, size_t size) in probe_kernel_write()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dfw_inc.c46 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify()
122 size_t size) in fw_handle_comment()
130 size_t size) in fw_handle_data()
151 size_t size) in fw_handle_fill()
185 size_t size) in fw_handle_file_header()
203 size_t size) in fw_handle_direct_write()
259 size_t size) in fw_handle_gateway_data()
318 size_t size) in fw_handle_gateway_data4()
400 const void *data, size_t size) in wil_fw_handle_record()
421 static int wil_fw_load(struct wil6210_priv *wil, const void *data, size_t size) in wil_fw_load()
/linux-4.1.27/arch/score/include/asm/
Duaccess.h28 #define __ua_size(size) \ argument
51 #define __access_ok(addr, size) \ argument
56 #define access_ok(type, addr, size) \ argument
148 #define __get_user_common(val, size, ptr) \ argument
172 #define __get_user_nocheck(x, ptr, size) \ argument
179 #define __get_user_check(x, ptr, size) \ argument
214 #define __put_user_nocheck(val, ptr, size) \ argument
244 #define __put_user_check(val, ptr, size) \ argument
364 static inline unsigned long clear_user(char *src, unsigned long size) in clear_user()
/linux-4.1.27/arch/avr32/include/asm/
Ddma-mapping.h117 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single()
139 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()
183 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
265 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
276 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
283 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
292 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
Duaccess.h63 #define __range_ok(addr, size) \ argument
69 #define access_ok(type, addr, size) (likely(__range_ok(addr, size) == 0)) argument
182 #define __get_user_nocheck(x, ptr, size) \ argument
198 #define __get_user_check(x, ptr, size) \ argument
243 #define __put_user_nocheck(x, ptr, size) \ argument
259 #define __put_user_check(x, ptr, size) \ argument
/linux-4.1.27/arch/metag/kernel/
Ddma.c114 *head, size_t size, in metag_vm_region_alloc()
174 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
271 void dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
336 void *cpu_addr, dma_addr_t dma_addr, size_t size) in dma_mmap()
368 void *cpu_addr, dma_addr_t dma_addr, size_t size) in dma_mmap_coherent()
376 void *cpu_addr, dma_addr_t dma_addr, size_t size) in dma_mmap_writecombine()
426 void dma_sync_for_device(void *vaddr, size_t size, int dma_direction) in dma_sync_for_device()
473 void dma_sync_for_cpu(void *vaddr, size_t size, int dma_direction) in dma_sync_for_cpu()
/linux-4.1.27/arch/s390/include/asm/
Duaccess.h51 static inline int __range_ok(unsigned long addr, unsigned long size) in __range_ok()
56 #define __access_ok(addr, size) \ argument
62 #define access_ok(type, addr, size) __access_ok(addr, size) argument
137 #define __put_get_user_asm(to, from, size, spec) \ argument
158 #define __put_user_fn(x, ptr, size) __put_get_user_asm(ptr, x, size, 0x810000UL) argument
159 #define __get_user_fn(x, ptr, size) __put_get_user_asm(x, ptr, size, 0x81UL) argument
163 static inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) in __put_user_fn()
169 static inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) in __get_user_fn()
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/
Dioremap.h17 static inline phys_addr_t __fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size) in __fixup_bigphys_addr()
26 static inline phys_addr_t fixup_bigphys_addr(phys_addr_t phys_addr, phys_addr_t size) in fixup_bigphys_addr()
31 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, in plat_ioremap()
/linux-4.1.27/arch/frv/mb93090-mb00/
Dpci-dma.c21 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent()
34 void dma_free_coherent(struct device *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) in dma_free_coherent()
41 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
84 size_t size, enum dma_data_direction direction) in dma_map_page()
Dpci-dma-nommu.c37 void *dma_alloc_coherent(struct device *hwdev, size_t size, dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent()
89 void dma_free_coherent(struct device *hwdev, size_t size, void *vaddr, dma_addr_t dma_handle) in dma_free_coherent()
110 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
139 size_t size, enum dma_data_direction direction) in dma_map_page()
/linux-4.1.27/arch/blackfin/kernel/
Dprocess.c231 int in_mem(unsigned long addr, unsigned long size, in in_mem()
237 int in_mem_const_off(unsigned long addr, unsigned long size, unsigned long off, in in_mem_const_off()
244 int in_mem_const(unsigned long addr, unsigned long size, in in_mem_const()
268 int in_async(unsigned long addr, unsigned long size) in in_async()
306 int bfin_mem_access_type(unsigned long addr, unsigned long size) in bfin_mem_access_type()
360 int _access_ok(unsigned long addr, unsigned long size) in _access_ok()
/linux-4.1.27/fs/ecryptfs/
Dread_write.c40 loff_t offset, size_t size) in ecryptfs_write_lower()
71 size_t offset_in_page, size_t size) in ecryptfs_write_lower_page_segment()
106 size_t size) in ecryptfs_write()
231 int ecryptfs_read_lower(char *data, loff_t offset, size_t size, in ecryptfs_read_lower()
258 size_t offset_in_page, size_t size, in ecryptfs_read_lower_page_segment()
/linux-4.1.27/arch/m68k/mm/
Dkmap.c39 static inline struct vm_struct *get_io_area(unsigned long size) in get_io_area()
56 static struct vm_struct *get_io_area(unsigned long size) in get_io_area()
105 void __iomem *__ioremap(unsigned long physaddr, unsigned long size, int cacheflag) in __ioremap()
247 void __iounmap(void *addr, unsigned long size) in __iounmap()
296 void kernel_set_cachemode(void *addr, unsigned long size, int cmode) in kernel_set_cachemode()
/linux-4.1.27/drivers/usb/host/
Dohci-dbg.c22 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument
33 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument
46 unsigned *size) in ohci_dump_intr_mask()
68 unsigned *size) in maybe_print_eds()
100 ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size) in ohci_dump_status()
167 #define dbg_port_sw(hc,num,value,next,size) \ argument
194 unsigned *size) in ohci_dump_roothub()
401 unsigned temp, size = count; in show_list() local
467 size_t temp, size; in fill_async_buffer() local
490 unsigned temp, size, seen_count; in fill_periodic_buffer() local
[all …]
/linux-4.1.27/arch/arm/common/
Ddmabounce.c52 size_t size; member
62 unsigned long size; member
108 size_t size, enum dma_data_direction dir) in alloc_safe_buffer()
222 static int needs_bounce(struct device *dev, dma_addr_t dma_addr, size_t size) in needs_bounce()
245 static inline dma_addr_t map_single(struct device *dev, void *ptr, size_t size, in map_single()
275 size_t size, enum dma_data_direction dir) in unmap_single()
312 unsigned long offset, size_t size, enum dma_data_direction dir, in dmabounce_map_page()
346 static void dmabounce_unmap_page(struct device *dev, dma_addr_t dma_addr, size_t size, in dmabounce_unmap_page()
395 dma_addr_t handle, size_t size, enum dma_data_direction dir) in dmabounce_sync_for_cpu()
435 dma_addr_t handle, size_t size, enum dma_data_direction dir) in dmabounce_sync_for_device()
[all …]
/linux-4.1.27/sound/isa/gus/
Dgus_dram.c29 unsigned int address, unsigned int size) in snd_gus_dram_poke()
60 unsigned int address, unsigned int size) in snd_gus_dram_write()
66 unsigned int address, unsigned int size, in snd_gus_dram_peek()
98 unsigned int address, unsigned int size, in snd_gus_dram_read()
/linux-4.1.27/arch/c6x/include/asm/
Ddma-mapping.h23 size_t size, in dma_sync_single_range_for_device()
60 unsigned long offset, size_t size, in dma_map_page()
73 size_t size, enum dma_data_direction dir) in dma_unmap_page()
103 dma_addr_t dma_addr, size_t size) in dma_mmap_coherent()
110 size_t size) in dma_get_sgtable()
/linux-4.1.27/block/partitions/
Dmsdos.c163 sector_t offs, size, next; in parse_extended() local
216 sector_t offset, sector_t size, int origin) in parse_solaris_x86()
273 sector_t offset, sector_t size, int origin, char *flavour, in parse_bsd()
323 sector_t offset, sector_t size, int origin) in parse_freebsd()
331 sector_t offset, sector_t size, int origin) in parse_netbsd()
339 sector_t offset, sector_t size, int origin) in parse_openbsd()
352 sector_t offset, sector_t size, int origin) in parse_unixware()
396 sector_t offset, sector_t size, int origin) in parse_minix()
530 sector_t size = nr_sects(p)*sector_size; in msdos_partition() local
/linux-4.1.27/arch/microblaze/include/asm/
Ddma-mapping.h35 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL argument
36 #define __dma_free_coherent(size, addr) ((void)0) argument
76 size_t size, enum dma_data_direction direction) in __dma_sync()
107 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
124 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs()
135 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/linux-4.1.27/lib/mpi/
Dmpih-mul.c34 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ argument
42 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ argument
68 mul_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) in mul_n_basecase()
109 mpi_size_t size, mpi_ptr_t tspace) in mul_n()
220 void mpih_sqr_n_basecase(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size) in mpih_sqr_n_basecase()
258 mpih_sqr_n(mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size, mpi_ptr_t tspace) in mpih_sqr_n()
/linux-4.1.27/lib/xz/
Dxz_dec_bcj.c60 size_t size; member
88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
160 static size_t bcj_powerpc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_powerpc()
181 static size_t bcj_ia64(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_ia64()
265 static size_t bcj_arm(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_arm()
288 static size_t bcj_armthumb(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_armthumb()
316 static size_t bcj_sparc(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_sparc()
346 uint8_t *buf, size_t *pos, size_t size) in bcj_apply()
/linux-4.1.27/arch/cris/mm/
Dioremap.c30 void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot) in __ioremap_prot()
63 void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags) in __ioremap()
79 void __iomem *ioremap_nocache(unsigned long phys_addr, unsigned long size) in ioremap_nocache()
/linux-4.1.27/arch/xtensa/kernel/
Dpci-dma.c34 dma_alloc_coherent(struct device *dev,size_t size,dma_addr_t *handle,gfp_t flag) in dma_alloc_coherent()
67 void dma_free_coherent(struct device *hwdev, size_t size, in dma_free_coherent()
81 void consistent_sync(void *vaddr, size_t size, int direction) in consistent_sync()
/linux-4.1.27/arch/nios2/include/asm/
Ddma-mapping.h17 static inline void __dma_sync_for_device(void *vaddr, size_t size, in __dma_sync_for_device()
39 static inline void __dma_sync_for_cpu(void *vaddr, size_t size, in __dma_sync_for_cpu()
65 size_t size, in dma_map_single()
74 size_t size, enum dma_data_direction direction) in dma_unmap_single()
125 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/linux-4.1.27/sound/pci/asihpi/
Dhpimsginit.c40 u16 size; in hpi_init_message() local
67 u16 size; in hpi_init_response() local
94 static void hpi_init_messageV1(struct hpi_message_header *phm, u16 size, in hpi_init_messageV1()
108 void hpi_init_responseV1(struct hpi_response_header *phr, u16 size, in hpi_init_responseV1()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_soc.c58 int size; in get_immrbase() local
85 int size; in fsl_get_sys_freq() local
114 int size; in get_brgfreq() local
165 int size; in get_baudrate() local
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Dmanager-sysfs.c55 const char *buf, size_t size) in manager_display_store()
138 const char *buf, size_t size) in manager_default_color_store()
183 const char *buf, size_t size) in manager_trans_key_type_store()
224 const char *buf, size_t size) in manager_trans_key_value_store()
260 const char *buf, size_t size) in manager_trans_key_enabled_store()
301 const char *buf, size_t size) in manager_alpha_blending_enabled_store()
340 const char *buf, size_t size) in manager_cpr_enable_store()
392 const char *buf, size_t size) in manager_cpr_coef_store()
494 const char *buf, size_t size) in manager_attr_store()
Ddisplay-sysfs.c45 const char *buf, size_t size) in display_enabled_store()
79 const char *buf, size_t size) in display_tear_store()
114 const char *buf, size_t size) in display_timings_store()
161 const char *buf, size_t size) in display_rotate_store()
189 const char *buf, size_t size) in display_mirror_store()
221 const char *buf, size_t size) in display_wss_store()
296 const char *buf, size_t size) in display_attr_store()
Doverlay-sysfs.c46 size_t size) in overlay_manager_store()
146 const char *buf, size_t size) in overlay_position_store()
185 const char *buf, size_t size) in overlay_output_size_store()
219 size_t size) in overlay_enabled_store()
250 const char *buf, size_t size) in overlay_global_alpha_store()
292 const char *buf, size_t size) in overlay_pre_mult_alpha_store()
332 const char *buf, size_t size) in overlay_zorder_store()
421 const char *buf, size_t size) in overlay_attr_store()
/linux-4.1.27/arch/c6x/kernel/
Ddma.c17 static void c6x_dma_sync(dma_addr_t handle, size_t size, in c6x_dma_sync()
39 dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
55 size_t size, enum dma_data_direction dir) in dma_unmap_single()
95 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu()
105 size_t size, enum dma_data_direction dir) in dma_sync_single_for_device()
/linux-4.1.27/fs/xfs/
Dxfs_bit.c32 xfs_bitmap_empty(uint *map, uint size) in xfs_bitmap_empty()
49 xfs_contig_bits(uint *map, uint size, uint start_bit) in xfs_contig_bits()
88 int xfs_next_bit(uint *map, uint size, uint start_bit) in xfs_next_bit()
/linux-4.1.27/net/sctp/
Dssnmap.c56 int size; in sctp_ssnmap_new() local
104 size_t size; in sctp_ssnmap_clear() local
113 int size; in sctp_ssnmap_free() local
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_acpi.c41 u16 size; /* structure size in bytes (includes size field) */ member
48 u16 size; /* structure size in bytes (includes size field) */ member
55 u16 size; /* structure size in bytes (includes size field) */ member
72 u16 size; /* structure size in bytes (includes size field) */ member
80 u16 size; /* structure size in bytes (includes size field) */ member
89 u16 size; /* structure size in bytes (includes size field) */ member
205 size_t size; in radeon_atif_verify_interface() local
252 size_t size; in radeon_atif_get_notification_params() local
313 size_t size; in radeon_atif_get_sbios_requests() local
491 size_t size; in radeon_atcs_verify_interface() local
[all …]
/linux-4.1.27/arch/tile/include/asm/
Dcacheflush.h79 static inline void __flush_buffer(void *buffer, size_t size) in __flush_buffer()
90 static inline void __finv_buffer(void *buffer, size_t size) in __finv_buffer()
105 static inline void flush_buffer_local(void *buffer, size_t size) in flush_buffer_local()
115 static inline void finv_buffer_local(void *buffer, size_t size) in finv_buffer_local()
123 static inline void __inv_buffer(void *buffer, size_t size) in __inv_buffer()
134 static inline void inv_buffer(void *buffer, size_t size) in inv_buffer()
/linux-4.1.27/arch/openrisc/kernel/
Ddma.c84 or1k_dma_alloc(struct device *dev, size_t size, in or1k_dma_alloc()
119 or1k_dma_free(struct device *dev, size_t size, void *vaddr, in or1k_dma_free()
138 unsigned long offset, size_t size, in or1k_map_page()
172 size_t size, enum dma_data_direction dir, in or1k_unmap_page()
209 dma_addr_t dma_handle, size_t size, in or1k_sync_single_for_cpu()
222 dma_addr_t dma_handle, size_t size, in or1k_sync_single_for_device()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_stolen.c156 int size, in find_compression_threshold()
195 static int i915_setup_compression(struct drm_device *dev, int size, int fb_cpp) in i915_setup_compression()
249 int i915_gem_stolen_setup_compression(struct drm_device *dev, int size, int fb_cpp) in i915_gem_stolen_setup_compression()
339 u32 offset, u32 size) in i915_pages_create_for_stolen()
434 i915_gem_object_create_stolen(struct drm_device *dev, u32 size) in i915_gem_object_create_stolen()
472 u32 size) in i915_gem_object_create_stolen_for_preallocated()
/linux-4.1.27/arch/powerpc/mm/
Ddma-noncoherent.c97 ppc_vm_region_alloc(struct ppc_vm_region *head, size_t size, gfp_t gfp) in ppc_vm_region_alloc()
155 __dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp) in __dma_alloc_coherent()
257 void __dma_free_coherent(size_t size, void *vaddr) in __dma_free_coherent()
317 void __dma_sync(void *vaddr, size_t size, int direction) in __dma_sync()
356 unsigned long offset, size_t size, int direction) in __dma_sync_page_highmem()
391 size_t size, int direction) in __dma_sync_page()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_mm.c108 u64 size, unsigned alignment, in drm_mm_insert_helper()
233 u64 size, unsigned alignment, in drm_mm_insert_node_generic()
252 u64 size, unsigned alignment, in drm_mm_insert_helper_range()
333 u64 size, unsigned alignment, in drm_mm_insert_node_in_range_generic()
396 static int check_free_hole(u64 start, u64 end, u64 size, unsigned alignment) in check_free_hole()
414 u64 size, in drm_mm_search_free_generic()
456 u64 size, in drm_mm_search_free_in_range_generic()
572 u64 size, in drm_mm_init_scan()
605 u64 size, in drm_mm_init_scan_with_range()
742 void drm_mm_init(struct drm_mm * mm, u64 start, u64 size) in drm_mm_init()
/linux-4.1.27/fs/f2fs/
Dxattr.c66 void *buffer, size_t size, int type) in f2fs_xattr_generic_get()
90 const void *value, size_t size, int flags, int type) in f2fs_xattr_generic_set()
119 size_t size; in f2fs_xattr_advise_list() local
131 void *buffer, size_t size, int type) in f2fs_xattr_advise_get()
144 const void *value, size_t size, int flags, int type) in f2fs_xattr_advise_set()
273 size_t size = PAGE_SIZE, inline_size = 0; in read_all_xattrs() local
408 size_t size, len; in f2fs_getxattr() local
460 size_t size; in f2fs_listxattr() local
483 const char *name, const void *value, size_t size, in __f2fs_setxattr()
598 const void *value, size_t size, in f2fs_setxattr()
/linux-4.1.27/security/apparmor/
Dpolicy_unpack.c112 static bool inbounds(struct aa_ext *e, size_t size) in inbounds()
126 size_t size = 0; in unpack_u16_chunk() local
178 size_t size = unpack_u16_chunk(e, &tag); in unpack_nameX() local
225 int size; in unpack_array() local
238 u32 size; in unpack_blob() local
255 size_t size = 0; in unpack_str() local
329 size_t size; in unpack_dfa() local
378 int i, size; in unpack_trans_table() local
441 int i, size; in unpack_rlimits() local
749 int aa_unpack(void *udata, size_t size, struct list_head *lh, const char **ns) in aa_unpack()
/linux-4.1.27/arch/x86/kernel/cpu/mtrr/
Damd.c10 unsigned long *size, mtrr_type *type) in amd_get_mtrr()
59 amd_set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) in amd_set_mtrr()
95 amd_validate_add_page(unsigned long base, unsigned long size, unsigned int type) in amd_validate_add_page()
Dcentaur.c26 centaur_get_free_region(unsigned long base, unsigned long size, int replace_reg) in centaur_get_free_region()
58 unsigned long *size, mtrr_type * type) in centaur_get_mcr()
74 unsigned long size, mtrr_type type) in centaur_set_mcr()
99 centaur_validate_add_page(unsigned long base, unsigned long size, unsigned int type) in centaur_validate_add_page()
Dmain.c223 set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) in set_mtrr()
235 unsigned long size, mtrr_type type) in set_mtrr_from_inactive_cpu()
282 int mtrr_add_page(unsigned long base, unsigned long size, in mtrr_add_page()
389 static int mtrr_check(unsigned long base, unsigned long size) in mtrr_check()
435 int mtrr_add(unsigned long base, unsigned long size, unsigned int type, in mtrr_add()
459 int mtrr_del_page(int reg, unsigned long base, unsigned long size) in mtrr_del_page()
524 int mtrr_del(int reg, unsigned long base, unsigned long size) in mtrr_del()
544 int arch_phys_wc_add(unsigned long base, unsigned long size) in arch_phys_wc_add()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_nvif.c43 nvkm_client_unmap(void *priv, void __iomem *ptr, u32 size) in nvkm_client_unmap()
49 nvkm_client_map(void *priv, u64 handle, u32 size) in nvkm_client_map()
55 nvkm_client_ioctl(void *priv, bool super, void *data, u32 size, void **hack) in nvkm_client_ioctl()
82 nvkm_client_ntfy(const void *header, u32 length, const void *data, u32 size) in nvkm_client_ntfy()
/linux-4.1.27/arch/microblaze/mm/
Dconsistent.c62 void *consistent_alloc(gfp_t gfp, size_t size, dma_addr_t *dma_handle) in consistent_alloc()
181 void consistent_free(size_t size, void *vaddr) in consistent_free()
226 void consistent_sync(void *vaddr, size_t size, int direction) in consistent_sync()
261 size_t size, int direction) in consistent_sync_page()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dbmi.c120 u16 size; in ath6kl_bmi_read() local
242 u16 size; in ath6kl_bmi_execute() local
289 u16 size; in ath6kl_bmi_set_app_start() local
325 u16 size; in ath6kl_bmi_reg_read() local
368 u16 size; in ath6kl_bmi_reg_write() local
410 u16 size; in ath6kl_bmi_lz_data() local
459 u16 size; in ath6kl_bmi_lz_stream_start() local
/linux-4.1.27/drivers/of/
Dfdt.c151 static void *unflatten_dt_alloc(void **mem, unsigned long size, in unflatten_dt_alloc()
383 void * (*dt_alloc)(u64 size, u64 align)) in __unflatten_device_tree()
385 unsigned long size; in __unflatten_device_tree() local
431 static void *kernel_tree_alloc(u64 size, u64 align) in kernel_tree_alloc()
468 phys_addr_t base, size; in __reserved_mem_reserve_reg() local
578 u64 base, size; in early_init_fdt_scan_reserved_mem() local
653 int *size) in of_get_flat_dt_prop()
724 int size; in of_flat_dt_match_machine() local
904 u64 base, size; in early_init_dt_scan_memory() local
962 void __init __weak early_init_dt_add_memory_arch(u64 base, u64 size) in early_init_dt_add_memory_arch()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c34 nvkm_control_mthd_pstate_info(struct nvkm_object *object, void *data, u32 size) in nvkm_control_mthd_pstate_info()
67 nvkm_control_mthd_pstate_attr(struct nvkm_object *object, void *data, u32 size) in nvkm_control_mthd_pstate_attr()
140 nvkm_control_mthd_pstate_user(struct nvkm_object *object, void *data, u32 size) in nvkm_control_mthd_pstate_user()
169 nvkm_control_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_control_mthd()
/linux-4.1.27/arch/powerpc/boot/
Dpage.h25 #define _ALIGN_UP(addr,size) (((addr)+((size)-1))&(~((size)-1))) argument
26 #define _ALIGN_DOWN(addr,size) ((addr)&(~((size)-1))) argument
29 #define _ALIGN(addr,size) _ALIGN_UP(addr,size) argument
/linux-4.1.27/arch/x86/boot/compressed/
Deboot.c170 efi_file_read(void *handle, unsigned long *size, void *addr) in efi_file_read()
289 static void find_bits(unsigned long mask, u8 *pos, u8 *size) in find_bits()
317 unsigned long size; in __setup_efi_pci32() local
377 unsigned long size) in setup_efi_pci32()
425 unsigned long size; in __setup_efi_pci64() local
484 unsigned long size) in setup_efi_pci64()
541 unsigned long size = 0; in setup_efi_pci() local
627 unsigned long *size, u32 *fb_base) in __gop_query32()
647 unsigned long size, void **gop_handle) in setup_gop32()
732 unsigned long *size, u32 *fb_base) in __gop_query64()
[all …]
/linux-4.1.27/drivers/mmc/core/
Dsdio_cis.c28 const unsigned char *buf, unsigned size) in cistpl_vers_1()
75 const unsigned char *buf, unsigned size) in cistpl_manfid()
115 const unsigned char *buf, unsigned size) in cis_tpl_parse()
147 const unsigned char *buf, unsigned size) in cistpl_funce_common()
164 const unsigned char *buf, unsigned size) in cistpl_funce_func()
209 const unsigned char *buf, unsigned size) in cistpl_funce()
/linux-4.1.27/arch/x86/mm/
Dioremap.c31 int ioremap_change_attr(unsigned long vaddr, unsigned long size, in ioremap_change_attr()
83 unsigned long size, enum page_cache_mode pcm, void *caller) in __ioremap_caller()
233 void __iomem *ioremap_nocache(resource_size_t phys_addr, unsigned long size) in ioremap_nocache()
259 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
269 void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) in ioremap_cache()
276 void __iomem *ioremap_prot(resource_size_t phys_addr, unsigned long size, in ioremap_prot()
Diomap_32.c24 static int is_io_mapping_possible(resource_size_t base, unsigned long size) in is_io_mapping_possible()
34 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc()
51 void iomap_free(resource_size_t base, unsigned long size) in iomap_free()
/linux-4.1.27/arch/ia64/sn/pci/
Dpci_dma.c78 static void *sn_dma_alloc_coherent(struct device *dev, size_t size, in sn_dma_alloc_coherent()
140 static void sn_dma_free_coherent(struct device *dev, size_t size, void *cpu_addr, in sn_dma_free_coherent()
177 unsigned long offset, size_t size, in sn_dma_map_page()
220 size_t size, enum dma_data_direction dir, in sn_dma_unmap_page()
324 size_t size, enum dma_data_direction dir) in sn_dma_sync_single_for_cpu()
330 size_t size, in sn_dma_sync_single_for_device()
367 int sn_pci_legacy_read(struct pci_bus *bus, u16 port, u32 *val, u8 size) in sn_pci_legacy_read()
412 int sn_pci_legacy_write(struct pci_bus *bus, u16 port, u32 val, u8 size) in sn_pci_legacy_write()
/linux-4.1.27/drivers/acpi/acpica/
Dnsnames.c69 acpi_size size, char *name_buffer) in acpi_ns_build_external_path()
138 acpi_size size; in acpi_ns_get_external_pathname() local
182 acpi_size size; in acpi_ns_get_pathname_length() local
/linux-4.1.27/arch/m68k/amiga/
Dchipram.c44 void *amiga_chip_alloc(unsigned long size, const char *name) in amiga_chip_alloc()
72 void *amiga_chip_alloc_res(unsigned long size, struct resource *res) in amiga_chip_alloc_res()
97 unsigned long size; in amiga_chip_free() local
/linux-4.1.27/arch/sh/mm/
Dcache-sh2.c19 static void sh2__flush_wback_region(void *start, int size) in sh2__flush_wback_region()
40 static void sh2__flush_purge_region(void *start, int size) in sh2__flush_purge_region()
54 static void sh2__flush_invalidate_region(void *start, int size) in sh2__flush_invalidate_region()
Dflush-sh4.c13 static void sh4__flush_wback_region(void *start, int size) in sh4__flush_wback_region()
47 static void sh4__flush_purge_region(void *start, int size) in sh4__flush_purge_region()
77 static void sh4__flush_invalidate_region(void *start, int size) in sh4__flush_invalidate_region()
/linux-4.1.27/arch/unicore32/include/asm/
Dio.h37 #define ioremap(cookie, size) __uc32_ioremap(cookie, size) argument
38 #define ioremap_cached(cookie, size) __uc32_ioremap_cached(cookie, size) argument
39 #define ioremap_nocache(cookie, size) __uc32_ioremap(cookie, size) argument
Ddma-mapping.h55 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
73 static inline void dma_mark_clean(void *addr, size_t size) {} in dma_mark_clean()
87 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
98 static inline void dma_free_attrs(struct device *dev, size_t size, in dma_free_attrs()
111 size_t size, enum dma_data_direction direction) in dma_cache_sync()
/linux-4.1.27/arch/m68k/68000/
Dm68VZ328.c63 static void __init init_hardware(char *command, int size) in init_hardware()
171 static void __init init_hardware(char *command, int size) in init_hardware()
179 void __init config_BSP(char *command, int size) in config_BSP()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c250 loff_t offset, size_t size) in qlcnic_sysfs_validate_crb()
273 loff_t offset, size_t size) in qlcnic_sysfs_read_crb()
290 loff_t offset, size_t size) in qlcnic_sysfs_write_crb()
306 loff_t offset, size_t size) in qlcnic_sysfs_validate_mem()
319 loff_t offset, size_t size) in qlcnic_sysfs_read_mem()
341 loff_t offset, size_t size) in qlcnic_sysfs_write_mem()
406 size_t size) in qlcnic_sysfs_write_pm_config()
456 size_t size) in qlcnic_sysfs_read_pm_config()
549 size_t size) in qlcnic_sysfs_write_esw_config()
633 size_t size) in qlcnic_sysfs_read_esw_config()
[all …]
/linux-4.1.27/drivers/hwtracing/coresight/
Dcoresight-etm3x.c500 const char *buf, size_t size) in reset_store()
544 const char *buf, size_t size) in mode_store()
613 const char *buf, size_t size) in trigger_event_store()
641 const char *buf, size_t size) in enable_event_store()
669 const char *buf, size_t size) in fifofull_level_store()
697 const char *buf, size_t size) in addr_idx_store()
745 const char *buf, size_t size) in addr_single_store()
802 const char *buf, size_t size) in addr_range_store()
862 const char *buf, size_t size) in addr_start_store()
914 const char *buf, size_t size) in addr_stop_store()
[all …]
/linux-4.1.27/drivers/tty/
Dtty_buffer.c97 static void tty_buffer_reset(struct tty_buffer *p, size_t size) in tty_buffer_reset()
149 static struct tty_buffer *tty_buffer_alloc(struct tty_port *port, size_t size) in tty_buffer_alloc()
248 static int __tty_buffer_request_room(struct tty_port *port, size_t size, in __tty_buffer_request_room()
282 int tty_buffer_request_room(struct tty_port *port, size_t size) in tty_buffer_request_room()
300 const unsigned char *chars, char flag, size_t size) in tty_insert_flip_string_fixed_flag()
336 const unsigned char *chars, const char *flags, size_t size) in tty_insert_flip_string_flags()
390 size_t size) in tty_prepare_flip_string()
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_malloc.c60 static void *___sym_malloc(m_pool_p mp, int size) in ___sym_malloc()
106 static void ___sym_mfree(m_pool_p mp, void *ptr, int size) in ___sym_mfree()
158 static void *__sym_calloc2(m_pool_p mp, int size, char *name, int uflags) in __sym_calloc2()
179 static void __sym_mfree(m_pool_p mp, void *ptr, int size, char *name) in __sym_mfree()
312 void *__sym_calloc_dma(m_pool_ident_t dev_dmat, int size, char *name) in __sym_calloc_dma()
335 void __sym_mfree_dma(m_pool_ident_t dev_dmat, void *m, int size, char *name) in __sym_mfree_dma()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dresource.c254 u32 c4iw_pblpool_alloc(struct c4iw_rdev *rdev, int size) in c4iw_pblpool_alloc()
269 void c4iw_pblpool_free(struct c4iw_rdev *rdev, u32 addr, int size) in c4iw_pblpool_free()
324 u32 c4iw_rqtpool_alloc(struct c4iw_rdev *rdev, int size) in c4iw_rqtpool_alloc()
342 void c4iw_rqtpool_free(struct c4iw_rdev *rdev, u32 addr, int size) in c4iw_rqtpool_free()
394 u32 c4iw_ocqp_pool_alloc(struct c4iw_rdev *rdev, int size) in c4iw_ocqp_pool_alloc()
408 void c4iw_ocqp_pool_free(struct c4iw_rdev *rdev, u32 addr, int size) in c4iw_ocqp_pool_free()
/linux-4.1.27/drivers/char/xillybus/
Dxillybus_of.c44 size_t size, in xilly_dma_sync_single_for_cpu_of()
52 size_t size, in xilly_dma_sync_single_for_device_of()
60 size_t size, in xilly_dma_sync_single_nop()
77 size_t size, in xilly_map_single_of()
/linux-4.1.27/include/asm-generic/bitops/
Dle.h12 unsigned long size, unsigned long offset) in find_next_zero_bit_le()
18 unsigned long size, unsigned long offset) in find_next_bit_le()
24 unsigned long size) in find_first_zero_bit_le()
44 #define find_first_zero_bit_le(addr, size) \ argument
/linux-4.1.27/drivers/xen/
Dswiotlb-xen.c127 static inline int range_straddles_page_boundary(phys_addr_t p, size_t size) in range_straddles_page_boundary()
160 xen_swiotlb_fixup(void *buf, size_t size, unsigned long nslabs) in xen_swiotlb_fixup()
296 xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size, in xen_swiotlb_alloc_coherent()
352 xen_swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in xen_swiotlb_free_coherent()
386 unsigned long offset, size_t size, in xen_swiotlb_map_page()
443 size_t size, enum dma_data_direction dir, in xen_unmap_single()
471 size_t size, enum dma_data_direction dir, in xen_swiotlb_unmap_page()
490 size_t size, enum dma_data_direction dir, in xen_swiotlb_sync_single()
515 size_t size, enum dma_data_direction dir) in xen_swiotlb_sync_single_for_cpu()
523 size_t size, enum dma_data_direction dir) in xen_swiotlb_sync_single_for_device()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dbase.c38 nvkm_perfsig_find_(struct nvkm_perfdom *dom, const char *name, u32 size) in nvkm_perfsig_find_()
61 nvkm_perfsig_find(struct nvkm_pm *ppm, const char *name, u32 size, in nvkm_perfsig_find()
106 nvkm_perfctr_query(struct nvkm_object *object, void *data, u32 size) in nvkm_perfctr_query()
165 nvkm_perfctr_sample(struct nvkm_object *object, void *data, u32 size) in nvkm_perfctr_sample()
218 nvkm_perfctr_read(struct nvkm_object *object, void *data, u32 size) in nvkm_perfctr_read()
241 nvkm_perfctr_mthd(struct nvkm_object *object, u32 mthd, void *data, u32 size) in nvkm_perfctr_mthd()
267 struct nvkm_oclass *oclass, void *data, u32 size, in nvkm_perfctr_ctor()
343 struct nvkm_oclass *oclass, void *data, u32 size, in nvkm_perfctx_ctor()
/linux-4.1.27/arch/x86/mm/kmemcheck/
Dkmemcheck.c136 unsigned int size; member
313 unsigned long addr, unsigned int size) in kmemcheck_read_strict()
337 bool kmemcheck_is_obj_initialized(unsigned long addr, size_t size) in kmemcheck_is_obj_initialized()
353 unsigned long addr, unsigned int size) in kmemcheck_read()
376 unsigned long addr, unsigned int size) in kmemcheck_write_strict()
389 unsigned long addr, unsigned int size) in kmemcheck_write()
410 unsigned long src_addr, unsigned long dst_addr, unsigned int size) in kmemcheck_copy()
529 unsigned int size; in kmemcheck_access() local
/linux-4.1.27/arch/powerpc/kernel/
Ddma-iommu.c19 static void *dma_iommu_alloc_coherent(struct device *dev, size_t size, in dma_iommu_alloc_coherent()
28 static void dma_iommu_free_coherent(struct device *dev, size_t size, in dma_iommu_free_coherent()
41 unsigned long offset, size_t size, in dma_iommu_map_page()
51 size_t size, enum dma_data_direction direction, in dma_iommu_unmap_page()
Ddma.c42 void *dma_direct_alloc_coherent(struct device *dev, size_t size, in dma_direct_alloc_coherent()
99 void dma_direct_free_coherent(struct device *dev, size_t size, in dma_direct_free_coherent()
111 void *cpu_addr, dma_addr_t handle, size_t size, in dma_direct_mmap_coherent()
177 size_t size, in dma_direct_map_page()
188 size_t size, in dma_direct_unmap_page()
207 dma_addr_t dma_handle, size_t size, in dma_direct_sync_single()
/linux-4.1.27/arch/arm/mach-ixp4xx/
Dcommon-pci.c196 static u32 local_byte_lane_enable_bits(u32 n, int size) in local_byte_lane_enable_bits()
207 static int local_read_config(int where, int size, u32 *value) in local_read_config()
218 static int local_write_config(int where, int size, u32 value) in local_write_config()
231 static u32 byte_lane_enable_bits(u32 n, int size) in byte_lane_enable_bits()
242 static int ixp4xx_pci_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32… in ixp4xx_pci_read_config()
265 static int ixp4xx_pci_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u… in ixp4xx_pci_write_config()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
De1000_mbx.c35 s32 igb_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_read_mbx()
59 s32 igb_write_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) in igb_write_mbx()
195 static s32 igb_read_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, in igb_read_posted_mbx()
222 static s32 igb_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, in igb_write_posted_mbx()
346 static s32 igb_write_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, in igb_write_mbx_pf()
387 static s32 igb_read_mbx_pf(struct e1000_hw *hw, u32 *msg, u16 size, in igb_read_mbx_pf()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c43 s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_read_mbx()
66 s32 ixgbe_write_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id) in ixgbe_write_mbx()
190 static s32 ixgbe_read_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_posted_mbx()
217 static s32 ixgbe_write_posted_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_posted_mbx()
356 static s32 ixgbe_write_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_write_mbx_pf()
395 static s32 ixgbe_read_mbx_pf(struct ixgbe_hw *hw, u32 *msg, u16 size, in ixgbe_read_mbx_pf()
/linux-4.1.27/fs/btrfs/
Dxattr.c36 void *buffer, size_t size) in __btrfs_getxattr()
93 const void *value, size_t size, int flags) in do_setxattr()
235 const void *value, size_t size, int flags) in __btrfs_setxattr()
261 ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size) in btrfs_listxattr()
401 void *buffer, size_t size) in btrfs_getxattr()
420 size_t size, int flags) in btrfs_setxattr()
/linux-4.1.27/fs/9p/
Dacl.c30 ssize_t size; in __v9fs_get_acl() local
121 size_t size; in v9fs_set_acl() local
216 void *buffer, size_t size, int type) in v9fs_remote_get_acl()
234 void *buffer, size_t size, int type) in v9fs_xattr_get_acl()
262 const void *value, size_t size, in v9fs_remote_set_acl()
282 const void *value, size_t size, in v9fs_xattr_set_acl()
/linux-4.1.27/drivers/usb/core/
Dbuffer.c63 int i, size; in hcd_buffer_create() local
112 size_t size, in hcd_buffer_alloc()
136 size_t size, in hcd_buffer_free()
/linux-4.1.27/tools/perf/tests/
Ddso-data.c15 static char *test_file(int size) in test_file()
54 int size; member
121 ssize_t size; in test__dso_data() local
134 ssize_t size; in test__dso_data() local
190 static int dsos__create(int cnt, int size) in dsos__create()
/linux-4.1.27/arch/ia64/include/asm/
Duaccess.h66 #define __access_ok(addr, size, segment) \ argument
73 #define access_ok(type, addr, size) __access_ok((addr), (size), get_fs()) argument
187 #define __do_get_user(check, x, ptr, size, segment) \ argument
205 #define __get_user_nocheck(x, ptr, size) __do_get_user(0, x, ptr, size, KERNEL_DS) argument
206 #define __get_user_check(x, ptr, size, segment) __do_get_user(1, x, ptr, size, segment) argument
214 #define __do_put_user(check, x, ptr, size, segment) \ argument
232 #define __put_user_nocheck(x, ptr, size) __do_put_user(0, x, ptr, size, KERNEL_DS) argument
233 #define __put_user_check(x, ptr, size, segment) __do_put_user(1, x, ptr, size, segment) argument
278 #define __copy_in_user(to, from, size) __copy_user((to), (from), (size)) argument
/linux-4.1.27/fs/hfsplus/
Dxattr.c264 const void *value, size_t size, int flags) in __hfsplus_setxattr()
428 const void *value, size_t size, int flags, in hfsplus_setxattr()
450 void *value, size_t size) in hfsplus_getxattr_finder_info()
500 void *value, size_t size) in __hfsplus_getxattr()
586 void *value, size_t size, in hfsplus_getxattr()
620 char *buffer, size_t size) in hfsplus_listxattr_finder_info()
687 ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size) in hfsplus_listxattr()
853 void *buffer, size_t size, int type) in hfsplus_osx_getxattr()
875 const void *buffer, size_t size, int flags, int type) in hfsplus_osx_setxattr()

12345678910>>...26