Home
last modified time | relevance | path

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

12345678910>>...201

/linux-5.3.11/lib/
H A Dtest_kasan.c30 size_t size = 123; in kmalloc_oob_right() local
46 size_t size = 15; in kmalloc_oob_left() local
62 size_t size = 4096; in kmalloc_node_oob_right() local
205 size_t size = 8; in kmalloc_oob_memset_2() local
221 size_t size = 8; in kmalloc_oob_memset_4() local
238 size_t size = 8; in kmalloc_oob_memset_8() local
254 size_t size = 16; in kmalloc_oob_memset_16() local
286 size_t size = 10; in kmalloc_uaf() local
302 size_t size = 33; in kmalloc_uaf_memset() local
318 size_t size = 43; in kmalloc_uaf2() local
[all …]
H A 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()
307 int i, flags, size; in test_kmemcache() local
[all …]
H A 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()
/linux-5.3.11/drivers/mtd/tests/
H A 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()
120 void *correct_data, const size_t size) in no_bit_error_verify()
150 void *correct_data, const size_t size) in single_bit_error_correct()
187 void *correct_data, const size_t size) in double_bit_error_detect()
234 void *correct_ecc, const size_t size) in dump_data_ecc()
249 static int nand_ecc_test_run(const size_t size) in nand_ecc_test_run()
[all …]
/linux-5.3.11/arch/x86/mm/
H A Dioremap.c42 int ioremap_change_attr(unsigned long vaddr, unsigned long size, in ioremap_change_attr()
154 __ioremap_caller(resource_size_t phys_addr, unsigned long size, in __ioremap_caller()
518 unsigned long size) in memremap_should_map_decrypted()
571 unsigned long size) in memremap_is_efi_data()
610 unsigned long size) in memremap_is_setup_data()
644 unsigned long size) in early_memremap_is_setup_data()
705 unsigned long size, in early_memremap_pgprot_adjust()
736 unsigned long size) in early_memremap_encrypted()
746 unsigned long size) in early_memremap_encrypted_wp()
757 unsigned long size) in early_memremap_decrypted()
[all …]
/linux-5.3.11/mm/
H A Dearly_ioremap.c35 unsigned long size, in early_memremap_pgprot_adjust()
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()
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()
288 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro()
293 void __init early_iounmap(void __iomem *addr, unsigned long size) in early_iounmap()
[all …]
/linux-5.3.11/drivers/usb/dwc3/
H A Ddebug.h196 static inline const char *dwc3_gadget_event_string(char *str, size_t size, in dwc3_gadget_event_string()
250 size_t size) in dwc3_decode_get_status()
269 __u16 i, char *str, size_t size) in dwc3_decode_set_clear_feature()
336 static inline void dwc3_decode_set_address(__u16 v, char *str, size_t size) in dwc3_decode_set_address()
342 __u16 i, __u16 l, char *str, size_t size) in dwc3_decode_get_set_descriptor()
404 size_t size) in dwc3_decode_get_configuration()
415 size_t size) in dwc3_decode_get_intf()
426 size_t size) in dwc3_decode_synch_frame()
431 static inline void dwc3_decode_set_sel(__u16 l, char *str, size_t size) in dwc3_decode_set_sel()
444 static inline const char *dwc3_decode_ctrl(char *str, size_t size, in dwc3_decode_ctrl()
[all …]
/linux-5.3.11/mm/kasan/
H A 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()
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()
265 void __asan_storeN(unsigned long addr, size_t size) in __asan_storeN()
[all …]
/linux-5.3.11/tools/perf/util/
H A Dtrace-event-read.c54 static int do_read(void *data, int size) in do_read()
71 static void skip(int size) in skip()
105 int size = 0; in read_string() local
147 unsigned int size; in read_proc_kallsyms() local
170 unsigned int size; in read_ftrace_printk() local
197 unsigned long long size; in read_header_files() local
272 unsigned long long size) in read_event_file()
297 unsigned long long size; in read_ftrace_files() local
315 unsigned long long size; in read_event_files() local
346 unsigned long long size; in read_saved_cmdline() local
[all …]
/linux-5.3.11/arch/parisc/kernel/
H A 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()
150 unsigned long size) in unmap_uncached_pte()
186 unsigned long size) in unmap_uncached_pmd()
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
301 pcxl_free_range(unsigned long vaddr, size_t size) in pcxl_free_range()
443 size_t size, enum dma_data_direction dir) in arch_sync_dma_for_device()
[all …]
/linux-5.3.11/sound/pcmcia/pdaudiocf/
H A 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()
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()
195 static void pdacf_transfer(struct snd_pdacf *chip, unsigned int size, unsigned int off) in pdacf_transfer()
[all …]
/linux-5.3.11/drivers/misc/mic/scif/
H A 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-5.3.11/tools/perf/trace/beauty/
H A 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()
H A 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-5.3.11/arch/arm/mm/
H A Ddma-mapping.c44 size_t size; member
54 size_t size; member
426 unsigned long size; member
914 size_t size, enum dma_data_direction dir, in dma_cache_maint_page() argument
967 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev()
983 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu()
1171 size_t size) in __alloc_iova()
1229 dma_addr_t addr, size_t size) in __free_iova()
1648 size_t size, unsigned long attrs) in arm_iommu_get_sgtable()
1664 size_t size, dma_addr_t *handle, in __map_sg_chunk()
[all …]
H A 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()
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()
410 __arm_ioremap_exec(phys_addr_t phys_addr, size_t size, bool cached) in __arm_ioremap_exec()
[all …]
/linux-5.3.11/kernel/
H A Dstacktrace.c46 int stack_trace_snprint(char *buf, size_t size, 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()
165 unsigned int size, unsigned int skipnr) in stack_trace_save_regs()
192 unsigned int size) in stack_trace_save_tsk_reliable()
222 unsigned int stack_trace_save_user(unsigned long *store, unsigned int size) in stack_trace_save_user()
271 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save()
295 unsigned long *store, unsigned int size, in stack_trace_save_tsk()
318 unsigned int size, unsigned int skipnr) in stack_trace_save_regs()
[all …]
/linux-5.3.11/arch/s390/lib/
H A 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()
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()
411 unsigned long __strnlen_user(const char __user *src, unsigned long size) in __strnlen_user()
[all …]
/linux-5.3.11/drivers/scsi/lpfc/
H A Dlpfc_ct.c112 uint32_t size; in lpfc_ct_unsol_event() local
1424 size_t size) in lpfc_vport_symbolic_port_name()
1440 size_t size) in lpfc_vport_symbolic_node_name()
1532 size_t size; in lpfc_ns_cmd() local
1986 uint32_t size; in lpfc_fdmi_hba_attr_wwnn() local
2214 uint32_t size; in lpfc_fdmi_hba_attr_ct_len() local
2249 uint32_t size; in lpfc_fdmi_hba_attr_vendor_info() local
2266 uint32_t size; in lpfc_fdmi_hba_attr_num_ports() local
2283 uint32_t size; in lpfc_fdmi_hba_attr_fabric_wwnn() local
2323 uint32_t size; in lpfc_fdmi_hba_attr_bios_state() local
[all …]
/linux-5.3.11/include/linux/
H A 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()
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()
538 static __always_inline void *kmalloc(size_t size, gfp_t flags) in kmalloc()
685 static inline void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
699 #define kmalloc_track_caller(size, flags) \ argument
722 #define kmalloc_node_track_caller(size, flags, node) \ argument
728 #define kmalloc_node_track_caller(size, flags, node) \ argument
[all …]
H A 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-5.3.11/arch/openrisc/include/asm/
H A 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-5.3.11/drivers/gpu/drm/i915/gem/
H A Di915_gem_stolen.c28 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node_in_range()
50 struct drm_mm_node *node, u64 size, in i915_gem_stolen_insert_node()
162 resource_size_t *size) in g4x_get_stolen_reserved()
193 resource_size_t *size) in gen6_get_stolen_reserved()
225 resource_size_t *size) in vlv_get_stolen_reserved()
253 resource_size_t *size) in gen7_get_stolen_reserved()
279 resource_size_t *size) in chv_get_stolen_reserved()
311 resource_size_t *size) in bdw_get_stolen_reserved()
330 resource_size_t *size) in icl_get_stolen_reserved()
575 resource_size_t size) in i915_gem_object_create_stolen()
[all …]
/linux-5.3.11/drivers/video/
H A Dhdmi.c114 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()
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()
712 void *buffer, size_t size) in hdmi_drm_infoframe_pack_only()
785 void *buffer, size_t size) in hdmi_drm_infoframe_pack()
821 void *buffer, size_t size) in hdmi_vendor_any_infoframe_pack_only()
[all …]
/linux-5.3.11/arch/parisc/include/asm/
H A Dfloppy.h41 #define fd_dma_mem_alloc(size) SW._dma_mem_alloc(size) argument
42 #define fd_dma_setup(addr, size, mode, io) SW._dma_setup(addr, size, mode, io) argument
153 static unsigned long dma_mem_alloc(unsigned long size) in dma_mem_alloc()
159 static unsigned long vdma_mem_alloc(unsigned long size) in vdma_mem_alloc()
165 #define nodma_mem_alloc(size) vdma_mem_alloc(size) argument
167 static void _fd_dma_mem_free(unsigned long addr, unsigned long size) in _fd_dma_mem_free()
175 #define fd_dma_mem_free(addr, size) _fd_dma_mem_free(addr, size) argument
177 static void _fd_chose_dma_mode(char *addr, unsigned long size) in _fd_chose_dma_mode()
191 #define fd_chose_dma_mode(addr, size) _fd_chose_dma_mode(addr, size) argument
194 static int vdma_dma_setup(char *addr, unsigned long size, int mode, int io) in vdma_dma_setup()
[all …]

12345678910>>...201