Home
last modified time | relevance | path

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

12345678910>>...27

/linux-4.4.14/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.h264 static __always_inline int kmalloc_index(size_t size) in kmalloc_index()
325 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
347 int node, size_t size) in kmem_cache_alloc_node_trace()
355 gfp_t flags, size_t size) in kmem_cache_alloc_trace()
366 int node, size_t size) in kmem_cache_alloc_node_trace()
381 kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) in kmalloc_order_trace()
387 static __always_inline void *kmalloc_large(size_t size, gfp_t flags) in kmalloc_large()
446 static __always_inline void *kmalloc(size_t size, gfp_t flags) in kmalloc()
486 static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
544 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
Dpmem.h52 static inline void arch_clear_pmem(void __pmem *addr, size_t size) in arch_clear_pmem()
63 static inline void memcpy_from_pmem(void *dst, void __pmem const *src, size_t size) in memcpy_from_pmem()
95 size_t size) in default_memcpy_to_pmem()
106 static inline void default_clear_pmem(void __pmem *addr, size_t size) in default_clear_pmem()
174 static inline void clear_pmem(void __pmem *addr, size_t size) in clear_pmem()
Ddma-mapping.h139 u64 size, struct iommu_ops *iommu, in arch_setup_dma_ops()
155 unsigned int size) in dma_set_max_seg_size()
187 static inline void *dma_zalloc_coherent(struct device *dev, size_t size, in dma_zalloc_coherent()
214 dma_addr_t device_addr, size_t size, int flags) in dma_declare_coherent_memory()
226 dma_addr_t device_addr, size_t size) in dma_mark_declared_memory_occupied()
252 size_t size, gfp_t gfp) in dmam_declare_coherent_memory()
265 #define dma_map_single_attrs(dev, cpu_addr, size, dir, attrs) \ argument
268 #define dma_unmap_single_attrs(dev, dma_addr, size, dir, attrs) \ argument
278 static inline void *dma_alloc_writecombine(struct device *dev, size_t size, in dma_alloc_writecombine()
286 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.4.14/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.4.14/mm/
Dnobootmem.c35 static void * __init __alloc_memory_core_early(int nid, u64 size, u64 align, in __alloc_memory_core_early()
79 void __init free_bootmem_late(unsigned long addr, unsigned long size) in free_bootmem_late()
142 phys_addr_t size; in free_low_memory_core_early() local
215 unsigned long size) in free_bootmem_node()
229 void __init free_bootmem(unsigned long addr, unsigned long size) in free_bootmem()
234 static void * __init ___alloc_bootmem_nopanic(unsigned long size, in ___alloc_bootmem_nopanic()
272 void * __init __alloc_bootmem_nopanic(unsigned long size, unsigned long align, in __alloc_bootmem_nopanic()
280 static void * __init ___alloc_bootmem(unsigned long size, unsigned long align, in ___alloc_bootmem()
308 void * __init __alloc_bootmem(unsigned long size, unsigned long align, in __alloc_bootmem()
317 unsigned long size, in ___alloc_bootmem_node_nopanic()
[all …]
Dearly_ioremap.c98 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
160 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap()
209 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
216 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
223 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
231 void __init copy_from_early_mem(void *dest, phys_addr_t src, unsigned long size) in copy_from_early_mem()
253 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
260 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
265 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
270 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap()
[all …]
Dmemblock.c80 static inline phys_addr_t memblock_cap_size(phys_addr_t base, phys_addr_t *size) in memblock_cap_size()
95 phys_addr_t base, phys_addr_t size) in memblock_overlaps_region()
125 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_bottom_up()
159 phys_addr_t size, phys_addr_t align, int nid, in __memblock_find_range_top_down()
203 phys_addr_t __init_memblock memblock_find_in_range_node(phys_addr_t size, in memblock_find_in_range_node()
265 phys_addr_t end, phys_addr_t size, in memblock_find_in_range()
493 phys_addr_t size, in memblock_insert_region()
525 phys_addr_t base, phys_addr_t size, in memblock_add_range()
607 int __init_memblock memblock_add_node(phys_addr_t base, phys_addr_t size, in memblock_add_node()
614 phys_addr_t size, in memblock_add_region()
[all …]
Dbootmem.c157 void __init free_bootmem_late(unsigned long physaddr, unsigned long size) in free_bootmem_late()
401 unsigned long size) in free_bootmem_node()
422 void __init free_bootmem(unsigned long physaddr, unsigned long size) in free_bootmem()
446 unsigned long size, int flags) in reserve_bootmem_node()
466 int __init reserve_bootmem(unsigned long addr, unsigned long size, in reserve_bootmem()
501 unsigned long size, unsigned long align, in alloc_bootmem_bdata()
607 static void * __init alloc_bootmem_core(unsigned long size, in alloc_bootmem_core()
632 static void * __init ___alloc_bootmem_nopanic(unsigned long size, in ___alloc_bootmem_nopanic()
664 void * __init __alloc_bootmem_nopanic(unsigned long size, unsigned long align, in __alloc_bootmem_nopanic()
672 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 …]
Dvmalloc.c351 static struct vmap_area *alloc_vmap_area(unsigned long size, in alloc_vmap_area()
934 static void *vb_alloc(unsigned long size, gfp_t gfp_mask) in vb_alloc()
987 static void vb_free(const void *addr, unsigned long size) in vb_free()
1084 unsigned long size = count << PAGE_SHIFT; in vm_unmap_ram() local
1119 unsigned long size = count << PAGE_SHIFT; in vm_map_ram() local
1250 int map_kernel_range_noflush(unsigned long addr, unsigned long size, in map_kernel_range_noflush()
1270 void unmap_kernel_range_noflush(unsigned long addr, unsigned long size) in unmap_kernel_range_noflush()
1284 void unmap_kernel_range(unsigned long addr, unsigned long size) in unmap_kernel_range()
1330 static struct vm_struct *__get_vm_area_node(unsigned long size, in __get_vm_area_node()
1364 struct vm_struct *__get_vm_area(unsigned long size, unsigned long flags, in __get_vm_area()
[all …]
/linux-4.4.14/lib/
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_right() local
144 size_t size = 8; in kmalloc_oob_memset_2() local
160 size_t size = 8; in kmalloc_oob_memset_4() local
177 size_t size = 8; in kmalloc_oob_memset_8() local
193 size_t size = 16; in kmalloc_oob_memset_16() local
209 size_t size = 666; in kmalloc_oob_in_memset() local
225 size_t size = 10; in kmalloc_uaf() local
[all …]
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()
Dsort.c17 static void u32_swap(void *a, void *b, int size) in u32_swap()
24 static void u64_swap(void *a, void *b, int size) in u64_swap()
31 static void generic_swap(void *a, void *b, int size) in generic_swap()
59 void sort(void *base, size_t num, size_t size, in sort()
61 void (*swap_func)(void *, void *, int size)) in sort()
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()
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()
692 swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in swiotlb_free_coherent()
707 swiotlb_full(struct device *dev, size_t size, enum dma_data_direction dir, in swiotlb_full()
739 unsigned long offset, size_t size, in swiotlb_map_page()
[all …]
Dgenalloc.c88 const int size = start + nr; in bitmap_set_ll() local
123 const int size = start + nr; in bitmap_clear_ll() local
183 size_t size, int nid) in gen_pool_add_virt()
271 unsigned long gen_pool_alloc(struct gen_pool *pool, size_t size) in gen_pool_alloc()
326 void *gen_pool_dma_alloc(struct gen_pool *pool, size_t size, dma_addr_t *dma) in gen_pool_dma_alloc()
354 void gen_pool_free(struct gen_pool *pool, unsigned long addr, size_t size) in gen_pool_free()
415 size_t size) in addr_in_gen_pool()
462 size_t size = 0; in gen_pool_size() local
505 unsigned long gen_pool_first_fit(unsigned long *map, unsigned long size, in gen_pool_first_fit()
523 unsigned long size, unsigned long start, in gen_pool_first_fit_order_align()
[all …]
/linux-4.4.14/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.4.14/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 …]
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
89 #define access_ok(type, addr, size) \ argument
188 #define __put_user_x(size, x, ptr, __ret_pu) \ argument
284 #define __put_user_size(x, ptr, size, retval, errret) \ argument
307 #define __put_user_size_ex(x, ptr, size) \ argument
338 #define __get_user_size(x, ptr, size, retval, errret) \ argument
373 #define __get_user_size_ex(x, ptr, size) \ argument
400 #define __put_user_nocheck(x, ptr, size) \ argument
407 #define __get_user_nocheck(x, ptr, size) \ argument
[all …]
Dmtrr.h61 static inline int mtrr_add(unsigned long base, unsigned long size, in mtrr_add()
66 static inline int mtrr_add_page(unsigned long base, unsigned long size, in mtrr_add_page()
71 static inline int mtrr_del(int reg, unsigned long base, unsigned long size) in mtrr_del()
75 static inline int mtrr_del_page(int reg, unsigned long base, unsigned long size) in mtrr_del_page()
99 compat_uint_t size; /* Size of region */ member
106 compat_uint_t size; /* Size of region */ member
/linux-4.4.14/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.4.14/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
187 unsigned int size; in read_ftrace_printk() local
212 unsigned long long size; in read_header_files() local
261 static int read_ftrace_file(struct pevent *pevent, unsigned long long size) in read_ftrace_file()
280 unsigned long long size) in read_event_file()
300 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()
163 int parse_ftrace_file(struct pevent *pevent, char *buf, unsigned long size) in parse_ftrace_file()
169 char *buf, unsigned long size, char *sys) in parse_event_file()
Dsort.c28 static int repsep_snprintf(char *bf, size_t size, const char *fmt, ...) in repsep_snprintf()
71 size_t size, unsigned int width) in hist_entry__thread_snprintf()
110 size_t size, unsigned int width) in hist_entry__comm_snprintf()
153 size_t size, unsigned int width) in _hist_entry__dso_snprintf()
165 size_t size, unsigned int width) in hist_entry__dso_snprintf()
229 u64 ip, char level, char *bf, size_t size, in _hist_entry__sym_snprintf()
268 size_t size, unsigned int width) in hist_entry__sym_snprintf()
311 size_t size, unsigned int width) in hist_entry__srcline_snprintf()
364 size_t size, unsigned int width) in hist_entry__srcfile_snprintf()
391 size_t size, unsigned int width) in hist_entry__parent_snprintf()
[all …]
Dcolor.c45 static int __color_vsnprintf(char *bf, size_t size, const char *color, in __color_vsnprintf()
94 int color_vsnprintf(char *bf, size_t size, const char *color, in color_vsnprintf()
105 int color_snprintf(char *bf, size_t size, const char *color, in color_snprintf()
185 int value_color_snprintf(char *bf, size_t size, const char *fmt, double value) in value_color_snprintf()
191 int percent_color_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_snprintf()
202 int percent_color_len_snprintf(char *bf, size_t size, const char *fmt, ...) in percent_color_len_snprintf()
/linux-4.4.14/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
184 resource_size_t size, resource_size_t alignment) in pcibios_align_resource()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rb.c25 #define scif_rb_ring_cnt(head, tail, size) CIRC_CNT(head, tail, size) argument
26 #define scif_rb_ring_space(head, tail, size) CIRC_SPACE(head, tail, size) argument
37 void *rb_base, u8 size) in scif_rb_init()
49 void *msg, u32 size) in memcpy_torb()
67 void *msg, u32 size) in memcpy_fromrb()
111 int scif_rb_write(struct scif_rb *rb, void *msg, u32 size) in scif_rb_write()
162 static void *scif_rb_get(struct scif_rb *rb, u32 size) in scif_rb_get()
180 u32 scif_rb_get_next(struct scif_rb *rb, void *msg, u32 size) in scif_rb_get_next()
233 u32 scif_rb_count(struct scif_rb *rb, u32 size) in scif_rb_count()
Dscif_map.h25 struct scif_dev *scifdev, size_t size, in scif_alloc_coherent()
45 struct scif_dev *scifdev, size_t size) in scif_free_coherent()
59 void *local, struct scif_dev *scifdev, size_t size) in scif_map_single()
80 size_t size) in scif_unmap_single()
91 scif_ioremap(dma_addr_t phys, size_t size, struct scif_dev *scifdev) in scif_ioremap()
/linux-4.4.14/arch/sparc/include/asm/
Duaccess_64.h56 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok()
68 #define __range_not_ok(addr, size, limit) \ argument
74 static inline int __access_ok(const void __user * addr, unsigned long size) in __access_ok()
79 static inline int access_ok(int type, const void __user * addr, unsigned long size) in access_ok()
131 #define __put_user_nocheck(data, addr, size) ({ \ argument
143 #define __put_user_asm(x, size, addr, ret) \ argument
165 #define __get_user_nocheck(data, addr, size, type) ({ \ argument
182 #define __get_user_nocheck_ret(data, addr, size, type, retval) ({ \ argument
196 #define __get_user_asm(x, size, addr, ret) \ argument
217 #define __get_user_asm_ret(x, size, addr, retval) \ argument
[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.4.14/arch/arm/mm/
Ddma-mapping.c77 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page()
86 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
107 size_t size, enum dma_data_direction dir, in arm_dma_unmap_page()
116 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
124 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
228 static void __dma_clear_buffer(struct page *page, size_t size) in __dma_clear_buffer()
258 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gfp) in __dma_alloc_buffer()
282 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
303 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
315 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()
374 void __iomem *ioremap(resource_size_t res_cookie, size_t size) in ioremap()
381 void __iomem *ioremap_cache(resource_size_t res_cookie, size_t size) in ioremap_cache()
388 void __iomem *ioremap_wc(resource_size_t res_cookie, size_t size) in ioremap_wc()
[all …]
/linux-4.4.14/mm/kasan/
Dkasan.c43 static void kasan_poison_shadow(const void *address, size_t size, u8 value) in kasan_poison_shadow()
53 void kasan_unpoison_shadow(const void *address, size_t size) in kasan_unpoison_shadow()
173 size_t size) in bytes_is_zero()
215 size_t size) in memory_is_poisoned_n()
233 static __always_inline bool memory_is_poisoned(unsigned long addr, size_t size) in memory_is_poisoned()
257 size_t size, bool write) in check_memory_region()
343 unsigned long size = cache->object_size; in kasan_slab_free() local
353 void kasan_kmalloc(struct kmem_cache *cache, const void *object, size_t size) in kasan_kmalloc()
372 void kasan_kmalloc_large(const void *ptr, size_t size) in kasan_kmalloc_large()
391 void kasan_krealloc(const void *object, size_t size) in kasan_krealloc()
[all …]
Dreport.c38 static const void *find_first_bad_addr(const void *addr, size_t size) in find_first_bad_addr()
246 void kasan_report(unsigned long addr, size_t size, in kasan_report()
263 #define DEFINE_ASAN_REPORT_LOAD(size) \ argument
270 #define DEFINE_ASAN_REPORT_STORE(size) \ argument
288 void __asan_report_load_n_noabort(unsigned long addr, size_t size) in __asan_report_load_n_noabort()
294 void __asan_report_store_n_noabort(unsigned long addr, size_t size) in __asan_report_store_n_noabort()
/linux-4.4.14/arch/arm64/mm/
Ddma-mapping.c52 static void *__alloc_from_pool(size_t size, struct page **ret_page, gfp_t flags) in __alloc_from_pool()
74 static bool __in_atomic_pool(void *start, size_t size) in __in_atomic_pool()
79 static int __free_from_pool(void *start, size_t size) in __free_from_pool()
89 static void *__dma_alloc_coherent(struct device *dev, size_t size, in __dma_alloc_coherent()
119 static void __dma_free_coherent(struct device *dev, size_t size, in __dma_free_coherent()
138 static void *__dma_alloc(struct device *dev, size_t size, in __dma_alloc()
186 static void __dma_free(struct device *dev, size_t size, in __dma_free()
203 unsigned long offset, size_t size, in __swiotlb_map_page()
218 size_t size, enum dma_data_direction dir, in __swiotlb_unmap_page()
258 dma_addr_t dev_addr, size_t size, in __swiotlb_sync_single_for_cpu()
[all …]
Dmmu.c55 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
98 void *(*alloc)(unsigned long size)) in alloc_init_pte()
133 void *(*alloc)(unsigned long size)) in alloc_init_pmd()
198 void *(*alloc)(unsigned long size)) in alloc_init_pud()
249 phys_addr_t size, pgprot_t prot, in __create_mapping()
250 void *(*alloc)(unsigned long size)) in __create_mapping()
265 static void *late_alloc(unsigned long size) in late_alloc()
276 phys_addr_t size, pgprot_t prot) in create_mapping()
288 unsigned long virt, phys_addr_t size, in create_pgd_mapping()
296 phys_addr_t size, pgprot_t prot) in create_mapping_late()
[all …]
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.4.14/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.4.14/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.4.14/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.h59 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL argument
60 #define __dma_free_coherent(size, addr) ((void)0) argument
61 #define __dma_sync(addr, size, rw) ((void)0) argument
133 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
160 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Dioctl.c32 nvkm_ioctl_nop(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_nop()
49 nvkm_ioctl_sclass(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_sclass()
81 nvkm_ioctl_new(struct nvkm_object *parent, void *data, u32 size) in nvkm_ioctl_new()
145 nvkm_ioctl_del(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_del()
163 nvkm_ioctl_mthd(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_mthd()
182 nvkm_ioctl_rd(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_rd()
221 nvkm_ioctl_wr(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_wr()
249 nvkm_ioctl_map(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_map()
267 nvkm_ioctl_unmap(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_unmap()
283 nvkm_ioctl_ntfy_new(struct nvkm_object *object, void *data, u32 size) in nvkm_ioctl_ntfy_new()
[all …]
/linux-4.4.14/drivers/staging/octeon/
Dethernet-mem.c30 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff()
53 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff()
83 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory()
120 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory()
143 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa()
154 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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()
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()
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()
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.4.14/include/asm-generic/
Dpci-dma-compat.h10 pci_alloc_consistent(struct pci_dev *hwdev, size_t size, in pci_alloc_consistent()
17 pci_zalloc_consistent(struct pci_dev *hwdev, size_t size, in pci_zalloc_consistent()
25 pci_free_consistent(struct pci_dev *hwdev, size_t size, in pci_free_consistent()
32 pci_map_single(struct pci_dev *hwdev, void *ptr, size_t size, int direction) in pci_map_single()
39 size_t size, int direction) in pci_unmap_single()
46 unsigned long offset, size_t size, int direction) in pci_map_page()
53 size_t size, int direction) in pci_unmap_page()
74 size_t size, int direction) in pci_dma_sync_single_for_cpu()
81 size_t size, int direction) in pci_dma_sync_single_for_device()
Ddma-mapping-common.h12 size_t size, in dma_map_single_attrs()
31 size_t size, in dma_unmap_single_attrs()
78 size_t offset, size_t size, in dma_map_page()
93 size_t size, enum dma_data_direction dir) in dma_unmap_page()
104 size_t size, in dma_sync_single_for_cpu()
116 dma_addr_t addr, size_t size, in dma_sync_single_for_device()
130 size_t size, in dma_sync_single_range_for_cpu()
144 size_t size, in dma_sync_single_range_for_device()
212 dma_addr_t dma_addr, size_t size, struct dma_attrs *attrs) in dma_mmap_attrs()
229 dma_addr_t dma_addr, size_t size, struct dma_attrs *attrs) in dma_get_sgtable_attrs()
[all …]
/linux-4.4.14/drivers/staging/rdma/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.4.14/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.4.14/drivers/staging/rdma/hfi1/
Ddma.c72 size_t size, enum dma_data_direction direction) in hfi1_dma_map_single()
80 static void hfi1_dma_unmap_single(struct ib_device *dev, u64 addr, size_t size, in hfi1_dma_unmap_single()
87 unsigned long offset, size_t size, in hfi1_dma_map_page()
105 static void hfi1_dma_unmap_page(struct ib_device *dev, u64 addr, size_t size, in hfi1_dma_unmap_page()
144 size_t size, enum dma_data_direction dir) in hfi1_sync_single_for_cpu()
149 size_t size, in hfi1_sync_single_for_device()
154 static void *hfi1_dma_alloc_coherent(struct ib_device *dev, size_t size, in hfi1_dma_alloc_coherent()
168 static void hfi1_dma_free_coherent(struct ib_device *dev, size_t size, in hfi1_dma_free_coherent()
/linux-4.4.14/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.4.14/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.4.14/drivers/ntb/test/
Dntb_tool.c158 size_t size, loff_t *offp, in tool_dbfn_read()
186 size_t size, loff_t *offp, in tool_dbfn_write()
231 size_t size, loff_t *offp, in tool_spadfn_read()
265 size_t size, loff_t *offp, in tool_spadfn_write()
310 size_t size, loff_t *offp) in tool_db_read()
319 size_t size, loff_t *offp) in tool_db_write()
333 size_t size, loff_t *offp) in tool_mask_read()
342 size_t size, loff_t *offp) in tool_mask_write()
356 size_t size, loff_t *offp) in tool_peer_db_read()
365 size_t size, loff_t *offp) in tool_peer_db_write()
[all …]
/linux-4.4.14/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.4.14/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.4.14/arch/arc/mm/
Ddma.c28 void *dma_alloc_noncoherent(struct device *dev, size_t size, in dma_alloc_noncoherent()
45 void dma_free_noncoherent(struct device *dev, size_t size, void *vaddr, in dma_free_noncoherent()
52 void *dma_alloc_coherent(struct device *dev, size_t size, in dma_alloc_coherent()
100 void dma_free_coherent(struct device *dev, size_t size, void *kvaddr, in dma_free_coherent()
115 void __arc_dma_cache_sync(unsigned long paddr, size_t size, in __arc_dma_cache_sync()
/linux-4.4.14/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.4.14/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.4.14/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()
182 dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/linux-4.4.14/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()
136 dma_addr_t dma_map_single(struct device *dev, void *addr, size_t size, in dma_map_single()
147 unsigned long offset, size_t size, in dma_map_page()
/linux-4.4.14/arch/hexagon/kernel/
Ddma.c52 static void *hexagon_dma_alloc_coherent(struct device *dev, size_t size, in hexagon_dma_alloc_coherent()
86 static void hexagon_free_coherent(struct device *dev, size_t size, void *vaddr, in hexagon_free_coherent()
93 dma_addr_t bus, size_t size) in check_addr()
132 static inline void dma_sync(void *addr, size_t size, in dma_sync()
173 unsigned long offset, size_t size, in hexagon_map_page()
189 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_cpu()
196 dma_addr_t dma_handle, size_t size, in hexagon_sync_single_for_device()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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()
61 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page()
81 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu()
92 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/clk/mmp/
Dclk.c27 int size) in mmp_register_fixed_rate_clks()
49 int size) in mmp_register_fixed_factor_clks()
71 void __iomem *base, int size) in mmp_register_general_gate_clks()
97 void __iomem *base, int size) in mmp_register_gate_clks()
125 void __iomem *base, int size) in mmp_register_mux_clks()
153 void __iomem *base, int size) in mmp_register_div_clks()
/linux-4.4.14/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.4.14/arch/mips/mm/
Ddma-default.c115 static void *mips_dma_alloc_noncoherent(struct device *dev, size_t size, in mips_dma_alloc_noncoherent()
132 static void *mips_dma_alloc_coherent(struct device *dev, size_t size, in mips_dma_alloc_coherent()
170 static void mips_dma_free_noncoherent(struct device *dev, size_t size, in mips_dma_free_noncoherent()
177 static void mips_dma_free_coherent(struct device *dev, size_t size, void *vaddr, in mips_dma_free_coherent()
201 void *cpu_addr, dma_addr_t dma_addr, size_t size, in mips_dma_mmap()
234 static inline void __dma_sync_virtual(void *addr, size_t size, in __dma_sync_virtual()
262 unsigned long offset, size_t size, enum dma_data_direction direction) in __dma_sync()
293 size_t size, enum dma_data_direction direction, struct dma_attrs *attrs) in mips_dma_unmap_page()
323 unsigned long offset, size_t size, enum dma_data_direction direction, in mips_dma_map_page()
349 dma_addr_t dma_handle, size_t size, enum dma_data_direction direction) in mips_dma_sync_single_for_cpu()
[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()
/linux-4.4.14/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.4.14/arch/arc/include/asm/
Ddma-mapping.h45 static inline void __inline_dma_cache_sync(unsigned long paddr, size_t size, in __inline_dma_cache_sync()
76 dma_map_single(struct device *dev, void *cpu_addr, size_t size, in dma_map_single()
85 size_t size, enum dma_data_direction dir) in dma_unmap_single()
91 unsigned long offset, size_t size, in dma_map_page()
100 size_t size, enum dma_data_direction dir) in dma_unmap_page()
131 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu()
138 size_t size, enum dma_data_direction dir) in dma_sync_single_for_device()
145 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
153 unsigned long offset, size_t size, in dma_sync_single_range_for_device()
/linux-4.4.14/arch/microblaze/include/asm/
Ddma-mapping.h34 #define __dma_alloc_coherent(dev, gfp, size, handle) NULL argument
35 #define __dma_free_coherent(size, addr) ((void)0) argument
50 size_t size, enum dma_data_direction direction) in __dma_sync()
65 static inline void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
/linux-4.4.14/arch/um/include/asm/
Duaccess.h13 #define __under_task_size(addr, size) \ argument
17 #define __access_ok_vsyscall(addr, size) \ argument
22 #define __addr_range_nowrap(addr, size) \ argument
44 static inline int __access_ok(unsigned long addr, unsigned long size) in __access_ok()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_stolen.c49 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node_in_range()
72 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node()
275 unsigned long *base, unsigned long *size) in g4x_get_stolen_reserved()
298 unsigned long *base, unsigned long *size) in gen6_get_stolen_reserved()
324 unsigned long *base, unsigned long *size) in gen7_get_stolen_reserved()
344 unsigned long *base, unsigned long *size) in gen8_get_stolen_reserved()
370 unsigned long *base, unsigned long *size) in bdw_get_stolen_reserved()
489 u32 offset, u32 size) in i915_pages_create_for_stolen()
585 i915_gem_object_create_stolen(struct drm_device *dev, u32 size) in i915_gem_object_create_stolen()
622 u32 size) in i915_gem_object_create_stolen_for_preallocated()
/linux-4.4.14/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.4.14/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.4.14/arch/x86/mm/
Dioremap.c31 int ioremap_change_attr(unsigned long vaddr, unsigned long size, in ioremap_change_attr()
84 unsigned long size, enum page_cache_mode pcm, void *caller) in __ioremap_caller()
229 void __iomem *ioremap_nocache(resource_size_t phys_addr, unsigned long size) in ioremap_nocache()
270 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc()
289 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
306 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt()
313 void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) in ioremap_cache()
320 void __iomem *ioremap_prot(resource_size_t phys_addr, unsigned long size, in ioremap_prot()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/xtensa/kernel/
Dpci-dma.c28 void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
51 static void do_cache_op(dma_addr_t dma_handle, size_t size, in do_cache_op()
74 dma_addr_t dma_handle, size_t size, in xtensa_sync_single_for_cpu()
93 dma_addr_t dma_handle, size_t size, in xtensa_sync_single_for_device()
143 static void *xtensa_dma_alloc(struct device *dev, size_t size, in xtensa_dma_alloc()
173 static void xtensa_dma_free(struct device *hwdev, size_t size, void *vaddr, in xtensa_dma_free()
186 unsigned long offset, size_t size, in xtensa_map_page()
197 size_t size, enum dma_data_direction dir, in xtensa_unmap_page()
/linux-4.4.14/arch/m32r/include/asm/
Duaccess.h71 #define __range_ok(addr, size) ({ \ argument
107 #define access_ok(type, addr, size) (likely(__range_ok(addr, size) == 0)) argument
109 static inline int access_ok(int type, const void *addr, unsigned long size) in access_ok()
219 #define __get_user_nocheck(x, ptr, size) \ argument
229 #define __get_user_check(x, ptr, size) \ argument
243 #define __get_user_size(x, ptr, size, retval) \ argument
300 #define __put_user_nocheck(x, ptr, size) \ argument
309 #define __put_user_check(x, ptr, size) \ argument
374 #define __put_user_size(x, ptr, size, retval) \ argument
429 #define __copy_user(to, from, size) \ argument
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
159 void *cpu_addr, dma_addr_t handle, size_t size, in dma_direct_mmap_coherent()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/score/include/asm/
Duaccess.h28 #define __ua_size(size) \ argument
52 #define __access_ok(addr, size) \ argument
57 #define access_ok(type, addr, size) \ argument
153 #define __get_user_common(val, size, ptr) \ argument
177 #define __get_user_nocheck(x, ptr, size) \ argument
184 #define __get_user_check(x, ptr, size) \ argument
219 #define __put_user_nocheck(val, ptr, size) \ argument
249 #define __put_user_check(val, ptr, size) \ argument
369 static inline unsigned long clear_user(char *src, unsigned long size) in clear_user()
/linux-4.4.14/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.4.14/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()
266 size_t size, enum dma_data_direction direction) in dma_sync_single_for_cpu()
277 size_t size, enum dma_data_direction direction) in dma_sync_single_for_device()
284 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu()
293 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
186 #define __get_user_nocheck(x, ptr, size) \ argument
202 #define __get_user_check(x, ptr, size) \ argument
247 #define __put_user_nocheck(x, ptr, size) \ argument
263 #define __put_user_check(x, ptr, size) \ argument
/linux-4.4.14/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
139 #define __put_get_user_asm(to, from, size, spec) \ argument
160 #define __put_user_fn(x, ptr, size) __put_get_user_asm(ptr, x, size, 0x810000UL) argument
161 #define __get_user_fn(x, ptr, size) __put_get_user_asm(x, ptr, size, 0x81UL) argument
165 static inline int __put_user_fn(void *x, void __user *ptr, unsigned long size) in __put_user_fn()
171 static inline int __get_user_fn(void *x, const void __user *ptr, unsigned long size) in __get_user_fn()
/linux-4.4.14/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.4.14/arch/mips/include/asm/
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
276 #define ioremap_cachable(offset, size) \ argument
285 #define ioremap_cacheable_cow(offset, size) \ argument
287 #define ioremap_uncached_accelerated(offset, size) \ argument
594 #define dma_cache_wback_inv(start, size) _dma_cache_wback_inv(start, size) argument
595 #define dma_cache_wback(start, size) _dma_cache_wback(start, size) argument
596 #define dma_cache_inv(start, size) _dma_cache_inv(start, size) argument
600 #define dma_cache_wback_inv(start,size) \ argument
[all …]
Duaccess.h110 #define __ua_size(size) \ argument
136 #define __access_ok(addr, size, mask) \ argument
149 #define access_ok(type, addr, size) \ argument
248 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument
268 #define __get_kernel_common(val, size, ptr) \ argument
289 #define __get_user_common(val, size, ptr) \ argument
300 #define __get_user_nocheck(x, ptr, size) \ argument
313 #define __get_user_check(x, ptr, size) \ argument
384 #define __put_kernel_common(ptr, size) __put_user_common(ptr, size) argument
405 #define __put_kernel_common(ptr, size) \ argument
[all …]
Dbcache.h43 static inline void bc_wback_inv(unsigned long page, unsigned long size) in bc_wback_inv()
48 static inline void bc_inv(unsigned long page, unsigned long size) in bc_inv()
79 #define bc_wback_inv(page, size) do { } while (0) argument
80 #define bc_inv(page, size) do { } while (0) argument
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dctrl.c34 nvkm_control_mthd_pstate_info(struct nvkm_control *ctrl, void *data, u32 size) in nvkm_control_mthd_pstate_info()
67 nvkm_control_mthd_pstate_attr(struct nvkm_control *ctrl, void *data, u32 size) in nvkm_control_mthd_pstate_attr()
140 nvkm_control_mthd_pstate_user(struct nvkm_control *ctrl, 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()
192 void *data, u32 size, struct nvkm_object **pobject) in nvkm_control_new()
/linux-4.4.14/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()
85 size_t size, enum dma_data_direction direction) in dma_map_page()
/linux-4.4.14/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.4.14/drivers/hwtracing/coresight/
Dcoresight-etm4x.c424 const char *buf, size_t size) in reset_store()
545 const char *buf, size_t size) in mode_store()
706 const char *buf, size_t size) in pe_store()
739 const char *buf, size_t size) in event_store()
786 const char *buf, size_t size) in event_instren_store()
835 const char *buf, size_t size) in event_ts_store()
863 const char *buf, size_t size) in syncfreq_store()
891 const char *buf, size_t size) in cyc_threshold_store()
919 const char *buf, size_t size) in bb_ctrl_store()
955 const char *buf, size_t size) in event_vinst_store()
[all …]
Dcoresight-etm3x.c487 const char *buf, size_t size) in reset_store()
531 const char *buf, size_t size) in mode_store()
600 const char *buf, size_t size) in trigger_event_store()
628 const char *buf, size_t size) in enable_event_store()
656 const char *buf, size_t size) in fifofull_level_store()
684 const char *buf, size_t size) in addr_idx_store()
732 const char *buf, size_t size) in addr_single_store()
789 const char *buf, size_t size) in addr_range_store()
849 const char *buf, size_t size) in addr_start_store()
901 const char *buf, size_t size) in addr_stop_store()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/of/
Dfdt.c152 static void *unflatten_dt_alloc(void **mem, unsigned long size, in unflatten_dt_alloc()
387 void * (*dt_alloc)(u64 size, u64 align)) in __unflatten_device_tree()
389 unsigned long size; in __unflatten_device_tree() local
435 static void *kernel_tree_alloc(u64 size, u64 align) in kernel_tree_alloc()
476 phys_addr_t base, size; in __reserved_mem_reserve_reg() local
586 u64 base, size; in early_init_fdt_scan_reserved_mem() local
670 int *size) in of_get_flat_dt_prop()
741 int size; in of_flat_dt_match_machine() local
925 u64 base, size; in early_init_dt_scan_memory() local
983 void __init __weak early_init_dt_add_memory_arch(u64 base, u64 size) in early_init_dt_add_memory_arch()
[all …]
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c40 u16 size; /* structure size in bytes (includes size field) */ member
47 u16 size; /* structure size in bytes (includes size field) */ member
54 u16 size; /* structure size in bytes (includes size field) */ member
71 u16 size; /* structure size in bytes (includes size field) */ member
79 u16 size; /* structure size in bytes (includes size field) */ member
88 u16 size; /* structure size in bytes (includes size field) */ member
204 size_t size; in amdgpu_atif_verify_interface() local
251 size_t size; in amdgpu_atif_get_notification_params() local
312 size_t size; in amdgpu_atif_get_sbios_requests() local
485 size_t size; in amdgpu_atcs_verify_interface() local
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_acpi.c40 u16 size; /* structure size in bytes (includes size field) */ member
47 u16 size; /* structure size in bytes (includes size field) */ member
54 u16 size; /* structure size in bytes (includes size field) */ member
71 u16 size; /* structure size in bytes (includes size field) */ member
79 u16 size; /* structure size in bytes (includes size field) */ member
88 u16 size; /* structure size in bytes (includes size field) */ member
204 size_t size; in radeon_atif_verify_interface() local
251 size_t size; in radeon_atif_get_notification_params() local
312 size_t size; in radeon_atif_get_sbios_requests() local
490 size_t size; in radeon_atcs_verify_interface() local
[all …]
/linux-4.4.14/arch/powerpc/kernel/
Ddma.c65 void *__dma_direct_alloc_coherent(struct device *dev, size_t size, in __dma_direct_alloc_coherent()
122 void __dma_direct_free_coherent(struct device *dev, size_t size, in __dma_direct_free_coherent()
133 static void *dma_direct_alloc_coherent(struct device *dev, size_t size, in dma_direct_alloc_coherent()
157 static void dma_direct_free_coherent(struct device *dev, size_t size, in dma_direct_free_coherent()
179 void *cpu_addr, dma_addr_t handle, size_t size, in dma_direct_mmap_coherent()
233 size_t size, in dma_direct_map_page()
244 size_t size, in dma_direct_unmap_page()
263 dma_addr_t dma_handle, size_t size, in dma_direct_sync_single()
/linux-4.4.14/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.4.14/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.4.14/fs/f2fs/
Dxattr.c62 size_t size) in f2fs_xattr_generic_get()
88 size_t size, int flags) in f2fs_xattr_generic_set()
118 size_t size; in f2fs_xattr_advise_list() local
128 size_t size) in f2fs_xattr_advise_get()
142 size_t size, int flags) in f2fs_xattr_advise_set()
271 size_t size = PAGE_SIZE, inline_size = 0; in read_all_xattrs() local
406 size_t size, len; in f2fs_getxattr() local
458 size_t size; in f2fs_listxattr() local
481 const char *name, const void *value, size_t size, in __f2fs_setxattr()
602 const void *value, size_t size, in f2fs_setxattr()
/linux-4.4.14/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.4.14/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.4.14/tools/testing/nvdimm/test/
Diomap.c54 void __iomem *__nfit_test_ioremap(resource_size_t offset, unsigned long size, in __nfit_test_ioremap()
69 resource_size_t offset, unsigned long size) in __wrap_devm_ioremap_nocache()
84 size_t size, unsigned long flags) in __wrap_devm_memremap()
97 void *__wrap_memremap(resource_size_t offset, size_t size, in __wrap_memremap()
124 void __iomem *__wrap_ioremap_nocache(resource_size_t offset, unsigned long size) in __wrap_ioremap_nocache()
130 void __iomem *__wrap_ioremap_wc(resource_size_t offset, unsigned long size) in __wrap_ioremap_wc()
/linux-4.4.14/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.4.14/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.4.14/drivers/net/ethernet/cavium/liquidio/
Docteon_network.h136 u32 q_no __attribute__((unused)), u32 size) in recv_buffer_alloc()
157 #define lio_dma_alloc(oct, size, dma_addr) \ argument
159 #define lio_dma_free(oct, size, virt_addr, dma_addr) \ argument
180 u64 info_ptr, u32 size) in lio_unmap_ring_info()
187 void *buf, u32 size) in lio_map_ring()
201 u64 buf_ptr, u32 size) in lio_unmap_ring()
210 u32 q_no, u32 size) in octeon_fast_packet_alloc()
/linux-4.4.14/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.4.14/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.4.14/fs/xfs/libxfs/
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.4.14/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, u64 *fb_base) in __gop_query32()
647 unsigned long size, void **gop_handle) in setup_gop32()
740 unsigned long *size, u64 *fb_base) in __gop_query64()
[all …]
/linux-4.4.14/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.4.14/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()
80 nvkm_client_ntfy(const void *header, u32 length, const void *data, u32 size) in nvkm_client_ntfy()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_sysfs.c247 loff_t offset, size_t size) in qlcnic_sysfs_validate_crb()
270 loff_t offset, size_t size) in qlcnic_sysfs_read_crb()
287 loff_t offset, size_t size) in qlcnic_sysfs_write_crb()
303 loff_t offset, size_t size) in qlcnic_sysfs_validate_mem()
316 loff_t offset, size_t size) in qlcnic_sysfs_read_mem()
338 loff_t offset, size_t size) in qlcnic_sysfs_write_mem()
403 size_t size) in qlcnic_sysfs_write_pm_config()
453 size_t size) in qlcnic_sysfs_read_pm_config()
546 size_t size) in qlcnic_sysfs_write_esw_config()
630 size_t size) in qlcnic_sysfs_read_esw_config()
[all …]
/linux-4.4.14/arch/xtensa/include/asm/
Dio.h33 unsigned long size) in ioremap_nocache()
43 unsigned long size) in ioremap_cache()
56 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) in ioremap()
/linux-4.4.14/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.c229 set_mtrr(unsigned int reg, unsigned long base, unsigned long size, mtrr_type type) in set_mtrr()
241 unsigned long size, mtrr_type type) in set_mtrr_from_inactive_cpu()
288 int mtrr_add_page(unsigned long base, unsigned long size, in mtrr_add_page()
395 static int mtrr_check(unsigned long base, unsigned long size) in mtrr_check()
441 int mtrr_add(unsigned long base, unsigned long size, unsigned int type, in mtrr_add()
466 int mtrr_del_page(int reg, unsigned long base, unsigned long size) in mtrr_del_page()
531 int mtrr_del(int reg, unsigned long base, unsigned long size) in mtrr_del()
555 int arch_phys_wc_add(unsigned long base, unsigned long size) in arch_phys_wc_add()
/linux-4.4.14/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.4.14/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.4.14/tools/perf/bench/
Dmem-functions.c110 static void __bench_mem_function(struct bench_mem_info *info, int r_idx, size_t size, double size_t… in __bench_mem_function()
153 size_t size; in bench_mem_common() local
195 static void memcpy_alloc_mem(void **dst, void **src, size_t size) in memcpy_alloc_mem()
209 static u64 do_memcpy_cycles(const struct function *r, size_t size) in do_memcpy_cycles()
234 static double do_memcpy_gettimeofday(const struct function *r, size_t size) in do_memcpy_gettimeofday()
293 static void memset_alloc_mem(void **dst, size_t size) in memset_alloc_mem()
300 static u64 do_memset_cycles(const struct function *r, size_t size) in do_memset_cycles()
324 static double do_memset_gettimeofday(const struct function *r, size_t size) in do_memset_gettimeofday()
/linux-4.4.14/arch/powerpc/boot/
Dpage.h25 #define _ALIGN_UP(addr, size) (((addr)+((size)-1))&(~((typeof(addr))(size)-1))) argument
26 #define _ALIGN_DOWN(addr, size) ((addr)&(~((typeof(addr))(size)-1))) argument
29 #define _ALIGN(addr,size) _ALIGN_UP(addr,size) argument
/linux-4.4.14/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.4.14/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.4.14/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.h33 static inline bool dma_capable(struct device *dev, dma_addr_t addr, size_t size) in dma_capable()
51 static inline void dma_mark_clean(void *addr, size_t size) {} in dma_mark_clean()
54 size_t size, enum dma_data_direction direction) in dma_cache_sync()
/linux-4.4.14/arch/m68k/68000/
Dm68VZ328.c63 static void __init init_hardware(char *command, int size) in init_hardware()
170 static void __init init_hardware(char *command, int size) in init_hardware()
178 void __init config_BSP(char *command, int size) in config_BSP()
/linux-4.4.14/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()
251 static int __tty_buffer_request_room(struct tty_port *port, size_t size, in __tty_buffer_request_room()
288 int tty_buffer_request_room(struct tty_port *port, size_t size) in tty_buffer_request_room()
306 const unsigned char *chars, char flag, size_t size) in tty_insert_flip_string_fixed_flag()
342 const unsigned char *chars, const char *flags, size_t size) in tty_insert_flip_string_flags()
399 size_t size) in tty_prepare_flip_string()
/linux-4.4.14/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.4.14/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.4.14/drivers/xen/
Dswiotlb-xen.c127 static inline int range_straddles_page_boundary(phys_addr_t p, size_t size) in range_straddles_page_boundary()
159 xen_swiotlb_fixup(void *buf, size_t size, unsigned long nslabs) in xen_swiotlb_fixup()
295 xen_swiotlb_alloc_coherent(struct device *hwdev, size_t size, in xen_swiotlb_alloc_coherent()
348 xen_swiotlb_free_coherent(struct device *hwdev, size_t size, void *vaddr, in xen_swiotlb_free_coherent()
379 unsigned long offset, size_t size, in xen_swiotlb_map_page()
436 size_t size, enum dma_data_direction dir, in xen_unmap_single()
464 size_t size, enum dma_data_direction dir, in xen_swiotlb_unmap_page()
483 size_t size, enum dma_data_direction dir, in xen_swiotlb_sync_single()
508 size_t size, enum dma_data_direction dir) in xen_swiotlb_sync_single_for_cpu()
516 size_t size, enum dma_data_direction dir) in xen_swiotlb_sync_single_for_device()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
854 void *buffer, size_t size) in hfsplus_osx_getxattr()
877 const void *buffer, size_t size, int flags) in hfsplus_osx_setxattr()
/linux-4.4.14/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.4.14/drivers/soc/qcom/
Dsmem.c111 __le32 size; member
147 __le32 size; member
188 __le32 size; member
208 __le32 size; /* includes padding bytes */ member
224 size_t size; member
295 size_t size) in qcom_smem_alloc_private()
347 size_t size) in qcom_smem_alloc_global()
390 int qcom_smem_alloc(unsigned host, unsigned item, size_t size) in qcom_smem_alloc()
423 size_t *size) in qcom_smem_get_global()
457 size_t *size) in qcom_smem_get_private()
[all …]
/linux-4.4.14/drivers/pnp/isapnp/
Dcore.c367 static int __init isapnp_read_tag(unsigned char *type, unsigned short *size) in isapnp_read_tag()
399 int size, int number) in isapnp_parse_device()
428 int size) in isapnp_parse_irq_resource()
452 int size) in isapnp_parse_dma_resource()
465 int size) in isapnp_parse_port_resource()
486 int size) in isapnp_parse_fixed_port_resource()
503 int size) in isapnp_parse_mem_resource()
524 int size) in isapnp_parse_mem32_resource()
545 int size) in isapnp_parse_fixed_mem32_resource()
562 isapnp_parse_name(char *name, unsigned int name_max, unsigned short *size) in isapnp_parse_name()
[all …]

12345678910>>...27