Home
last modified time | relevance | path

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

12345678910>>...197

/Linux-v5.4/lib/
Dtest_kasan.c33 size_t size = 123; in kmalloc_oob_right() local
49 size_t size = 15; in kmalloc_oob_left() local
65 size_t size = 4096; in kmalloc_node_oob_right() local
82 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_oob_right() local
101 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_uaf() local
117 size_t size = KMALLOC_MAX_CACHE_SIZE + 10; in kmalloc_pagealloc_invalid_free() local
133 size_t size = KMALLOC_MAX_CACHE_SIZE - 256; in kmalloc_large_oob_right() local
208 size_t size = 8; in kmalloc_oob_memset_2() local
224 size_t size = 8; in kmalloc_oob_memset_4() local
241 size_t size = 8; in kmalloc_oob_memset_8() local
[all …]
Dfind_bit.c67 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit()
76 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit()
86 const unsigned long *addr2, unsigned long size, in find_next_and_bit()
98 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit()
116 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit()
131 unsigned long find_last_bit(const unsigned long *addr, unsigned long size) in find_last_bit()
200 long size, unsigned long offset) in find_next_zero_bit_le()
209 long size, unsigned long offset) in find_next_bit_le()
Dtest_meminit.c29 static int __init count_nonzero_bytes(void *ptr, size_t size) in count_nonzero_bytes()
41 static void __init fill_with_garbage_skip(void *ptr, int size, size_t skip) in fill_with_garbage_skip()
58 static void __init fill_with_garbage(void *ptr, size_t size) in fill_with_garbage()
67 size_t size = PAGE_SIZE << order; in do_alloc_pages_order() local
98 static int __init do_kmalloc_size(size_t size, int *total_failures) in do_kmalloc_size()
115 static int __init do_vmalloc_size(size_t size, int *total_failures) in do_vmalloc_size()
135 int i, size; in test_kvmalloc() local
166 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf()
192 static int __init do_kmem_cache_size(size_t size, bool want_ctor, in do_kmem_cache_size()
253 static int __init do_kmem_cache_rcu_persistent(int size, int *total_failures) in do_kmem_cache_rcu_persistent()
[all …]
/Linux-v5.4/drivers/mtd/tests/
Dmtd_nandecctest.c48 size_t size) in single_bit_error_data()
57 size_t size) in double_bit_error_data()
72 static unsigned int random_ecc_bit(size_t size) in random_ecc_bit()
89 size_t size) in single_bit_error_ecc()
98 size_t size) in double_bit_error_ecc()
113 void *correct_data, void *correct_ecc, const size_t size) in no_bit_error()
120 void *correct_data, const size_t size) in no_bit_error_verify()
136 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_data()
143 void *correct_data, void *correct_ecc, const size_t size) in single_bit_error_in_ecc()
150 void *correct_data, const size_t size) in single_bit_error_correct()
[all …]
/Linux-v5.4/arch/x86/mm/
Dioremap.c43 int ioremap_change_attr(unsigned long vaddr, unsigned long size, in ioremap_change_attr()
128 static void __ioremap_check_mem(resource_size_t addr, unsigned long size, in __ioremap_check_mem()
155 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller()
303 void __iomem *ioremap_nocache(resource_size_t phys_addr, unsigned long size) in ioremap_nocache()
344 void __iomem *ioremap_uc(resource_size_t phys_addr, unsigned long size) in ioremap_uc()
363 void __iomem *ioremap_wc(resource_size_t phys_addr, unsigned long size) in ioremap_wc()
380 void __iomem *ioremap_wt(resource_size_t phys_addr, unsigned long size) in ioremap_wt()
387 void __iomem *ioremap_encrypted(resource_size_t phys_addr, unsigned long size) in ioremap_encrypted()
394 void __iomem *ioremap_cache(resource_size_t phys_addr, unsigned long size) in ioremap_cache()
401 void __iomem *ioremap_prot(resource_size_t phys_addr, unsigned long size, in ioremap_prot()
[all …]
/Linux-v5.4/drivers/usb/common/
Ddebug.c14 __u16 wLength, char *str, size_t size) in usb_decode_get_status()
73 __u16 wIndex, char *str, size_t size) in usb_decode_set_clear_feature()
99 static void usb_decode_set_address(__u16 wValue, char *str, size_t size) in usb_decode_set_address()
106 __u16 wLength, char *str, size_t size) in usb_decode_get_set_descriptor()
169 static void usb_decode_get_configuration(__u16 wLength, char *str, size_t size) in usb_decode_get_configuration()
174 static void usb_decode_set_configuration(__u8 wValue, char *str, size_t size) in usb_decode_set_configuration()
180 size_t size) in usb_decode_get_intf()
187 size_t size) in usb_decode_set_intf()
194 char *str, size_t size) in usb_decode_synch_frame()
200 static void usb_decode_set_sel(__u16 wLength, char *str, size_t size) in usb_decode_set_sel()
[all …]
/Linux-v5.4/mm/
Dearly_ioremap.c35 unsigned long size, in early_memremap_pgprot_adjust()
106 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
168 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap()
217 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
224 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
233 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
244 early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot()
254 void __init copy_from_early_mem(void *dest, phys_addr_t src, unsigned long size) in copy_from_early_mem()
276 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap()
283 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap()
[all …]
/Linux-v5.4/mm/kasan/
Dgeneric.c63 unsigned long size) in memory_is_poisoned_2_4_8()
89 size_t size) in bytes_is_nonzero()
131 size_t size) in memory_is_poisoned_n()
149 static __always_inline bool memory_is_poisoned(unsigned long addr, size_t size) in memory_is_poisoned()
170 size_t size, bool write, in check_memory_region_inline()
189 bool check_memory_region(unsigned long addr, size_t size, bool write, in check_memory_region()
217 void __asan_register_globals(struct kasan_global *globals, size_t size) in __asan_register_globals()
226 void __asan_unregister_globals(struct kasan_global *globals, size_t size) in __asan_unregister_globals()
231 #define DEFINE_ASAN_LOAD_STORE(size) \ argument
255 void __asan_loadN(unsigned long addr, size_t size) in __asan_loadN()
[all …]
/Linux-v5.4/tools/perf/util/
Dtrace-event-read.c26 static int __do_read(int fd, void *buf, int size) in __do_read()
52 static int do_read(void *data, int size) in do_read()
69 static void skip(int size) in skip()
103 int size = 0; in read_string() local
145 unsigned int size; in read_proc_kallsyms() local
168 unsigned int size; in read_ftrace_printk() local
195 unsigned long long size; in read_header_files() local
244 static int read_ftrace_file(struct tep_handle *pevent, unsigned long long size) in read_ftrace_file()
270 unsigned long long size) in read_event_file()
295 unsigned long long size; in read_ftrace_files() local
[all …]
/Linux-v5.4/arch/parisc/kernel/
Dpci-dma.c79 unsigned long size, unsigned long *paddr_ptr) in map_pte_uncached()
106 unsigned long size, unsigned long *paddr_ptr) in map_pmd_uncached()
128 static inline int map_uncached_pages(unsigned long vaddr, unsigned long size, in map_uncached_pages()
150 unsigned long size) in unmap_uncached_pte()
186 unsigned long size) in unmap_uncached_pmd()
212 static void unmap_uncached_pages(unsigned long vaddr, unsigned long size) in unmap_uncached_pages()
225 #define PCXL_SEARCH_LOOP(idx, mask, size) \ argument
236 #define PCXL_FIND_FREE_MAPPING(idx, mask, size) { \ argument
245 pcxl_alloc_range(size_t size) in pcxl_alloc_range()
292 #define PCXL_FREE_MAPPINGS(idx, m, size) \ argument
[all …]
/Linux-v5.4/include/linux/
Dslab.h350 static __always_inline unsigned int kmalloc_index(size_t size) in kmalloc_index()
411 static __always_inline void kfree_bulk(size_t size, void **p) in kfree_bulk()
420 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node()
442 int node, size_t size) in kmem_cache_alloc_node_trace()
450 gfp_t flags, size_t size) in kmem_cache_alloc_trace()
461 int node, size_t size) in kmem_cache_alloc_node_trace()
476 kmalloc_order_trace(size_t size, gfp_t flags, unsigned int order) in kmalloc_order_trace()
482 static __always_inline void *kmalloc_large(size_t size, gfp_t flags) in kmalloc_large()
542 static __always_inline void *kmalloc(size_t size, gfp_t flags) in kmalloc()
584 static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
[all …]
Dkmemleak.h38 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
62 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
66 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
71 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu()
75 static inline void kmemleak_vmalloc(const struct vm_struct *area, size_t size, in kmemleak_vmalloc()
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()
109 static inline void kmemleak_alloc_phys(phys_addr_t phys, size_t size, in kmemleak_alloc_phys()
113 static inline void kmemleak_free_part_phys(phys_addr_t phys, size_t size) in kmemleak_free_part_phys()
/Linux-v5.4/sound/pcmcia/pdaudiocf/
Dpdaudiocf_irq.c41 static inline void pdacf_transfer_mono16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono16()
49 static inline void pdacf_transfer_mono32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_po… in pdacf_transfer_mono32()
61 static inline void pdacf_transfer_stereo16(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo16()
69 static inline void pdacf_transfer_stereo32(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_stereo32()
82 static inline void pdacf_transfer_mono16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono16sw()
90 static inline void pdacf_transfer_mono32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rdp_… in pdacf_transfer_mono32sw()
102 static inline void pdacf_transfer_stereo16sw(u16 *dst, u16 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo16sw()
110 static inline void pdacf_transfer_stereo32sw(u32 *dst, u32 xor, unsigned int size, unsigned long rd… in pdacf_transfer_stereo32sw()
123 static inline void pdacf_transfer_mono24le(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24le()
139 static inline void pdacf_transfer_mono24be(u8 *dst, u16 xor, unsigned int size, unsigned long rdp_p… in pdacf_transfer_mono24be()
[all …]
/Linux-v5.4/drivers/misc/mic/scif/
Dscif_rb.c16 #define scif_rb_ring_cnt(head, tail, size) CIRC_CNT(head, tail, size) argument
17 #define scif_rb_ring_space(head, tail, size) CIRC_SPACE(head, tail, size) argument
28 void *rb_base, u8 size) in scif_rb_init()
40 void *msg, u32 size) in memcpy_torb()
58 void *msg, u32 size) in memcpy_fromrb()
102 int scif_rb_write(struct scif_rb *rb, void *msg, u32 size) in scif_rb_write()
153 static void *scif_rb_get(struct scif_rb *rb, u32 size) in scif_rb_get()
171 u32 scif_rb_get_next(struct scif_rb *rb, void *msg, u32 size) in scif_rb_get_next()
224 u32 scif_rb_count(struct scif_rb *rb, u32 size) in scif_rb_count()
/Linux-v5.4/arch/arm/mm/
Ddma-mapping.c46 size_t size; member
56 size_t size; member
129 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page()
138 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
159 size_t size, enum dma_data_direction dir, unsigned long attrs) in arm_dma_unmap_page()
167 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
175 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
265 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag) in __dma_clear_buffer()
299 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, in __dma_alloc_buffer()
324 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
[all …]
Dioremap.c48 size_t size, unsigned int mtype) in find_static_vm_paddr()
141 static void unmap_area_sections(unsigned long virt, unsigned long size) in unmap_area_sections()
189 size_t size, const struct mem_type *type) in remap_area_sections()
221 size_t size, const struct mem_type *type) in remap_area_supersections()
261 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller()
337 void __iomem *__arm_ioremap_caller(phys_addr_t phys_addr, size_t size, in __arm_ioremap_caller()
365 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, in __arm_ioremap_pfn()
377 void __iomem *ioremap(resource_size_t res_cookie, size_t size) in ioremap()
387 void __iomem *ioremap_cached(resource_size_t res_cookie, size_t size) in ioremap_cached()
395 void __iomem *ioremap_wc(resource_size_t res_cookie, size_t size) in ioremap_wc()
[all …]
/Linux-v5.4/tools/perf/trace/beauty/
Dioctl.c21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd()
47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd()
58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd()
69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_ctl_cmd()
80 static size_t ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_kvm_cmd()
91 static size_t ioctl__scnprintf_vhost_virtio_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_vhost_virtio_cmd()
104 static size_t ioctl__scnprintf_perf_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_perf_cmd()
115 static size_t ioctl__scnprintf_usbdevfs_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_usbdevfs_cmd()
126 static size_t ioctl__scnprintf_cmd(unsigned long cmd, char *bf, size_t size, bool show_prefix) in ioctl__scnprintf_cmd()
175 size_t syscall_arg__scnprintf_ioctl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_ioctl_cmd()
Dfcntl.c12 static size_t fcntl__scnprintf_getfd(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getfd()
18 static size_t syscall_arg__scnprintf_fcntl_getfd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getfd()
23 static size_t fcntl__scnprintf_getlease(unsigned long val, char *bf, size_t size, bool show_prefix) in fcntl__scnprintf_getlease()
31 static size_t syscall_arg__scnprintf_fcntl_getlease(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_getlease()
36 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_cmd()
70 size_t syscall_arg__scnprintf_fcntl_arg(char *bf, size_t size, struct syscall_arg *arg) in syscall_arg__scnprintf_fcntl_arg()
/Linux-v5.4/arch/s390/lib/
Duaccess.c101 unsigned long size) in copy_from_user_mvcos()
131 unsigned long size) in copy_from_user_mvcp()
176 unsigned long size) in copy_to_user_mvcos()
206 unsigned long size) in copy_to_user_mvcs()
251 unsigned long size) in copy_in_user_mvcos()
274 unsigned long size) in copy_in_user_mvc()
315 static inline unsigned long clear_user_mvcos(void __user *to, unsigned long size) in clear_user_mvcos()
343 static inline unsigned long clear_user_xc(void __user *to, unsigned long size) in clear_user_xc()
381 unsigned long __clear_user(void __user *to, unsigned long size) in __clear_user()
390 unsigned long size) in strnlen_user_srst()
[all …]
/Linux-v5.4/kernel/
Dstacktrace.c46 int stack_trace_snprint(char *buf, size_t size, const unsigned long *entries, in stack_trace_snprint()
76 unsigned int size; member
113 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save()
138 unsigned int size, unsigned int skipnr) in stack_trace_save_tsk()
166 unsigned int size, unsigned int skipnr) in stack_trace_save_regs()
193 unsigned int size) in stack_trace_save_tsk_reliable()
223 unsigned int stack_trace_save_user(unsigned long *store, unsigned int size) in stack_trace_save_user()
272 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save()
296 unsigned long *store, unsigned int size, in stack_trace_save_tsk()
320 unsigned int size, unsigned int skipnr) in stack_trace_save_regs()
[all …]
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_ct.c82 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_ignore_hbq_buffer()
98 struct lpfc_dmabuf *mp, uint32_t size) in lpfc_ct_unsol_buffer()
112 uint32_t size; in lpfc_ct_unsol_event() local
219 uint32_t size, int *entries) in lpfc_alloc_ct_rsp()
1462 size_t size) in lpfc_vport_symbolic_port_name()
1478 size_t size) in lpfc_vport_symbolic_node_name()
1570 size_t size; in lpfc_ns_cmd() local
2024 uint32_t size; in lpfc_fdmi_hba_attr_wwnn() local
2041 uint32_t len, size; in lpfc_fdmi_hba_attr_manufacturer() local
2066 uint32_t len, size; in lpfc_fdmi_hba_attr_sn() local
[all …]
/Linux-v5.4/arch/openrisc/include/asm/
Duaccess.h51 #define __range_ok(addr, size) (size <= get_fs() && addr <= (get_fs()-size)) argument
56 #define access_ok(addr, size) \ argument
93 #define __put_user_nocheck(x, ptr, size) \ argument
100 #define __put_user_check(x, ptr, size) \ argument
109 #define __put_user_size(x, ptr, size, retval) \ argument
165 #define __get_user_nocheck(x, ptr, size) \ argument
173 #define __get_user_check(x, ptr, size) \ argument
185 #define __get_user_size(x, ptr, size, retval) \ argument
239 raw_copy_from_user(void *to, const void __user *from, unsigned long size) in raw_copy_from_user()
244 raw_copy_to_user(void *to, const void __user *from, unsigned long size) in raw_copy_to_user()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_stolen.c29 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node_in_range()
51 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node()
163 resource_size_t *size) in g4x_get_stolen_reserved()
194 resource_size_t *size) in gen6_get_stolen_reserved()
226 resource_size_t *size) in vlv_get_stolen_reserved()
254 resource_size_t *size) in gen7_get_stolen_reserved()
280 resource_size_t *size) in chv_get_stolen_reserved()
312 resource_size_t *size) in bdw_get_stolen_reserved()
331 resource_size_t *size) in icl_get_stolen_reserved()
475 resource_size_t offset, resource_size_t size) in i915_pages_create_for_stolen()
[all …]
/Linux-v5.4/drivers/video/
Dhdmi.c34 static u8 hdmi_infoframe_checksum(const u8 *ptr, size_t size) in hdmi_infoframe_checksum()
46 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum()
114 void *buffer, size_t size) in hdmi_avi_infoframe_pack_only()
205 void *buffer, size_t size) in hdmi_avi_infoframe_pack()
281 void *buffer, size_t size) in hdmi_spd_infoframe_pack_only()
335 void *buffer, size_t size) in hdmi_spd_infoframe_pack()
405 void *buffer, size_t size) in hdmi_audio_infoframe_pack_only()
470 void *buffer, size_t size) in hdmi_audio_infoframe_pack()
568 void *buffer, size_t size) in hdmi_vendor_infoframe_pack_only()
631 void *buffer, size_t size) in hdmi_vendor_infoframe_pack()
[all …]
/Linux-v5.4/arch/xtensa/include/asm/
Duaccess.h41 #define __user_ok(addr, size) \ argument
43 #define __access_ok(addr, size) (__kernel_ok || __user_ok((addr), (size))) argument
44 #define access_ok(addr, size) __access_ok((unsigned long)(addr), (size)) argument
77 #define __put_user_nocheck(x, ptr, size) \ argument
84 #define __put_user_check(x, ptr, size) \ argument
93 #define __put_user_size(x, ptr, size, retval) \ argument
173 #define __get_user_nocheck(x, ptr, size) \ argument
180 #define __get_user_check(x, ptr, size) \ argument
193 #define __get_user_size(x, ptr, size, retval) \ argument
273 __xtensa_clear_user(void *addr, unsigned long size) in __xtensa_clear_user()
[all …]

12345678910>>...197