Home
last modified time | relevance | path

Searched defs:size (Results 26 – 50 of 7632) sorted by relevance

12345678910>>...306

/openbmc/u-boot/drivers/misc/imx8/
H A Dscu_api.c21 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_set_clock_rate() local
47 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_get_clock_rate() local
75 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_clock_enable() local
100 int size = sizeof(struct sc_rpc_msg_s); in sc_pm_set_resource_power_mode() local
126 int size = sizeof(struct sc_rpc_msg_s); in sc_pad_set() local
153 int size = sizeof(struct sc_rpc_msg_s); in sc_misc_get_control() local
181 int size = sizeof(struct sc_rpc_msg_s); in sc_misc_get_boot_dev() local
204 int size = sizeof(struct sc_rpc_msg_s); in sc_misc_boot_status() local
226 int size = sizeof(struct sc_rpc_msg_s); in sc_misc_build_info() local
253 int size = sizeof(struct sc_rpc_msg_s); in sc_misc_otp_fuse_read() local
[all …]
/openbmc/linux/include/linux/
H A Dslab.h444 static __always_inline unsigned int __kmalloc_index(size_t size, in __kmalloc_index()
515 static __always_inline void kfree_bulk(size_t size, void **p) in kfree_bulk()
591 static __always_inline __alloc_size(1) void *kmalloc(size_t size, gfp_t flags) in kmalloc()
607 static __always_inline __alloc_size(1) void *kmalloc_node(size_t size, gfp_t flags, int node) in kmalloc_node()
629 static inline __alloc_size(1, 2) void *kmalloc_array(size_t n, size_t size, gfp_t flags) in kmalloc_array()
666 static inline __alloc_size(1, 2) void *kcalloc(size_t n, size_t size, gfp_t flags) in kcalloc()
673 #define kmalloc_node_track_caller(size, flags, node) \ argument
685 #define kmalloc_track_caller(size, flags) \ argument
689 static inline __alloc_size(1, 2) void *kmalloc_array_node(size_t n, size_t size, gfp_t flags, in kmalloc_array_node()
701 static inline __alloc_size(1, 2) void *kcalloc_node(size_t n, size_t size, gfp_t flags, int node) in kcalloc_node()
[all …]
H A Dinstrumented.h24 static __always_inline void instrument_read(const volatile void *v, size_t size) in instrument_read()
38 static __always_inline void instrument_write(const volatile void *v, size_t size) in instrument_write()
52 static __always_inline void instrument_read_write(const volatile void *v, size_t size) in instrument_read_write()
66 static __always_inline void instrument_atomic_read(const volatile void *v, size_t size) in instrument_atomic_read()
80 static __always_inline void instrument_atomic_write(const volatile void *v, size_t size) in instrument_atomic_write()
94 static __always_inline void instrument_atomic_read_write(const volatile void *v, size_t size) in instrument_atomic_read_write()
176 #define instrument_put_user(from, ptr, size) \ argument
H A Dkmemleak.h37 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
61 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
65 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
70 static inline void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, in kmemleak_alloc_percpu()
74 static inline void kmemleak_vmalloc(const struct vm_struct *area, size_t size, in kmemleak_vmalloc()
81 static inline void kmemleak_free_part(const void *ptr, size_t size) in kmemleak_free_part()
99 static inline void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) in kmemleak_scan_area()
108 static inline void kmemleak_alloc_phys(phys_addr_t phys, size_t size, in kmemleak_alloc_phys()
112 static inline void kmemleak_free_part_phys(phys_addr_t phys, size_t size) in kmemleak_free_part_phys()
H A Ddma-mapping.h162 struct page *page, size_t offset, size_t size, in dma_map_page_attrs()
168 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_unmap_page_attrs()
188 phys_addr_t phys_addr, size_t size, enum dma_data_direction dir, in dma_map_resource()
194 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_unmap_resource()
198 size_t size, enum dma_data_direction dir) in dma_sync_single_for_cpu()
202 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_sync_single_for_device()
217 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs()
222 static void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, in dma_free_attrs()
226 static inline void *dmam_alloc_attrs(struct device *dev, size_t size, in dmam_alloc_attrs()
231 static inline void dmam_free_coherent(struct device *dev, size_t size, in dmam_free_coherent()
[all …]
/openbmc/linux/fs/ceph/
H A Dxattr.c58 size_t size) in ceph_vxattrcb_layout()
121 int ceph_fmt_xattr(char *val, size_t size, const char *fmt, ...) in ceph_fmt_xattr()
143 char *val, size_t size) in ceph_vxattrcb_layout_stripe_unit()
149 char *val, size_t size) in ceph_vxattrcb_layout_stripe_count()
155 char *val, size_t size) in ceph_vxattrcb_layout_object_size()
161 char *val, size_t size) in ceph_vxattrcb_layout_pool()
183 char *val, size_t size) in ceph_vxattrcb_layout_pool_namespace()
200 size_t size) in ceph_vxattrcb_dir_entries()
206 size_t size) in ceph_vxattrcb_dir_files()
212 size_t size) in ceph_vxattrcb_dir_subdirs()
[all …]
/openbmc/linux/kernel/
H A Dstacktrace.c47 int stack_trace_snprint(char *buf, size_t size, const unsigned long *entries, in stack_trace_snprint()
77 unsigned int size; member
112 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save()
137 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()
267 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save()
291 unsigned long *store, unsigned int size, in stack_trace_save_tsk()
315 unsigned int size, unsigned int skipnr) in stack_trace_save_regs()
[all …]
/openbmc/u-boot/post/drivers/
H A Dmemory.c238 static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) in memory_post_addrline()
271 unsigned long size, in memory_post_test1()
302 static int memory_post_test2(unsigned long start, unsigned long size) in memory_post_test2()
332 static int memory_post_test3(unsigned long start, unsigned long size) in memory_post_test3()
362 static int memory_post_test4(unsigned long start, unsigned long size) in memory_post_test4()
392 static int memory_post_test_lines(unsigned long start, unsigned long size) in memory_post_test_lines()
410 static int memory_post_test_patterns(unsigned long start, unsigned long size) in memory_post_test_patterns()
438 static int memory_post_test_regions(unsigned long start, unsigned long size) in memory_post_test_regions()
455 static int memory_post_tests(unsigned long start, unsigned long size) in memory_post_tests()
470 int arch_memory_test_prepare(u32 *vstart, u32 *size, phys_addr_t *phys_offset) in arch_memory_test_prepare()
[all …]
/openbmc/linux/kernel/dma/
H A Dmapping.c30 size_t size; member
65 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent()
89 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs()
148 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs()
171 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_page_attrs()
300 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_map_resource()
320 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_resource()
332 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, in dma_sync_single_for_cpu()
347 size_t size, enum dma_data_direction dir) in dma_sync_single_for_device()
400 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_get_sgtable_attrs()
[all …]
H A Ddirect.c69 bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok()
79 static int dma_set_decrypted(struct device *dev, void *vaddr, size_t size) in dma_set_decrypted()
86 static int dma_set_encrypted(struct device *dev, void *vaddr, size_t size) in dma_set_encrypted()
99 size_t size) in __dma_direct_free_pages()
106 static struct page *dma_direct_alloc_swiotlb(struct device *dev, size_t size) in dma_direct_alloc_swiotlb()
118 static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages()
171 static void *dma_direct_alloc_from_pool(struct device *dev, size_t size, in dma_direct_alloc_from_pool()
189 static void *dma_direct_alloc_no_mapping(struct device *dev, size_t size, in dma_direct_alloc_no_mapping()
207 void *dma_direct_alloc(struct device *dev, size_t size, in dma_direct_alloc()
323 void dma_direct_free(struct device *dev, size_t size, in dma_direct_free()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dcow.c66 static bool range_is_swapped(void *addr, size_t size) in range_is_swapped()
100 static int child_memcmp_fn(char *mem, size_t size, in child_memcmp_fn()
118 static int child_vmsplice_memcmp_fn(char *mem, size_t size, in child_vmsplice_memcmp_fn()
167 static void do_test_cow_in_parent(char *mem, size_t size, bool do_mprotect, in do_test_cow_in_parent()
221 static void test_cow_in_parent(char *mem, size_t size) in test_cow_in_parent()
226 static void test_cow_in_parent_mprotect(char *mem, size_t size) in test_cow_in_parent_mprotect()
231 static void test_vmsplice_in_child(char *mem, size_t size) in test_vmsplice_in_child()
236 static void test_vmsplice_in_child_mprotect(char *mem, size_t size) in test_vmsplice_in_child_mprotect()
241 static void do_test_vmsplice_in_parent(char *mem, size_t size, in do_test_vmsplice_in_parent()
336 static void test_vmsplice_before_fork(char *mem, size_t size) in test_vmsplice_before_fork()
[all …]
H A Dgup_longterm.c91 static void do_test(int fd, size_t size, enum test_type type, bool shared) in do_test()
324 static void test_shared_rw_pin(int fd, size_t size) in test_shared_rw_pin()
329 static void test_shared_rw_fast_pin(int fd, size_t size) in test_shared_rw_fast_pin()
334 static void test_shared_ro_pin(int fd, size_t size) in test_shared_ro_pin()
339 static void test_shared_ro_fast_pin(int fd, size_t size) in test_shared_ro_fast_pin()
344 static void test_private_rw_pin(int fd, size_t size) in test_private_rw_pin()
349 static void test_private_rw_fast_pin(int fd, size_t size) in test_private_rw_fast_pin()
354 static void test_private_ro_pin(int fd, size_t size) in test_private_ro_pin()
359 static void test_private_ro_fast_pin(int fd, size_t size) in test_private_ro_fast_pin()
365 static void test_shared_iouring(int fd, size_t size) in test_shared_iouring()
[all …]
/openbmc/u-boot/include/
H A Dmemalign.h71 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument
76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument
78 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument
80 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument
88 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument
93 #define DEFINE_CACHE_ALIGN_BUFFER(type, name, size) \ argument
109 static inline void *malloc_cache_aligned(size_t size) in malloc_cache_aligned()
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping.c43 size_t size; member
53 size_t size; member
107 static void __dma_clear_buffer(struct page *page, size_t size, int coherent_flag) in __dma_clear_buffer()
141 static struct page *__dma_alloc_buffer(struct device *dev, size_t size, in __dma_alloc_buffer()
166 static void __dma_free_buffer(struct page *page, size_t size) in __dma_free_buffer()
254 unsigned long size; member
262 void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) in dma_contiguous_early_fixup()
319 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap()
328 static void *__alloc_remap_buffer(struct device *dev, size_t size, gfp_t gfp, in __alloc_remap_buffer()
355 static void *__alloc_from_pool(size_t size, struct page **ret_page) in __alloc_from_pool()
[all …]
/openbmc/linux/lib/
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
105 static int __init do_kmalloc_size(size_t size, int *total_failures) in do_kmalloc_size()
129 static int __init do_vmalloc_size(size_t size, int *total_failures) in do_vmalloc_size()
156 int i, size; in test_kvmalloc() local
187 static bool __init check_buf(void *buf, int size, bool want_ctor, in check_buf()
216 static int __init do_kmem_cache_size(size_t size, bool want_ctor, in do_kmem_cache_size()
292 static int __init do_kmem_cache_rcu_persistent(int size, int *total_failures) in do_kmem_cache_rcu_persistent()
[all …]
/openbmc/linux/arch/riscv/mm/
H A Ddma-noncoherent.c18 static inline void arch_dma_cache_wback(phys_addr_t paddr, size_t size) in arch_dma_cache_wback()
31 static inline void arch_dma_cache_inv(phys_addr_t paddr, size_t size) in arch_dma_cache_inv()
45 static inline void arch_dma_cache_wback_inv(phys_addr_t paddr, size_t size) in arch_dma_cache_wback_inv()
69 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device()
98 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu()
117 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
131 void arch_setup_dma_ops(struct device *dev, u64 dma_base, u64 size, in arch_setup_dma_ops()
/openbmc/linux/tools/perf/trace/beauty/
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()
/openbmc/linux/drivers/video/
H A Dhdmi.c35 static u8 hdmi_infoframe_checksum(const u8 *ptr, size_t size) in hdmi_infoframe_checksum()
47 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum()
111 void *buffer, size_t size) in hdmi_avi_infoframe_pack_only()
202 void *buffer, size_t size) in hdmi_avi_infoframe_pack()
282 void *buffer, size_t size) in hdmi_spd_infoframe_pack_only()
336 void *buffer, size_t size) in hdmi_spd_infoframe_pack()
428 void *buffer, size_t size) in hdmi_audio_infoframe_pack_only()
477 void *buffer, size_t size) in hdmi_audio_infoframe_pack()
612 void *buffer, size_t size) in hdmi_vendor_infoframe_pack_only()
675 void *buffer, size_t size) in hdmi_vendor_infoframe_pack()
[all …]
/openbmc/linux/tools/include/linux/
H A Dfind.h33 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit()
63 const unsigned long *addr2, unsigned long size, in find_next_and_bit()
91 unsigned long find_next_zero_bit(const unsigned long *addr, unsigned long size, in find_next_zero_bit()
118 unsigned long find_first_bit(const unsigned long *addr, unsigned long size) in find_first_bit()
143 unsigned long size) in find_first_and_bit()
165 unsigned long find_first_zero_bit(const unsigned long *addr, unsigned long size) in find_first_zero_bit()
/openbmc/linux/mm/kasan/
H A Dgeneric.c56 unsigned long size) in memory_is_poisoned_2_4_8()
82 size_t size) in bytes_is_nonzero()
123 static __always_inline bool memory_is_poisoned_n(const void *addr, size_t size) in memory_is_poisoned_n()
142 static __always_inline bool memory_is_poisoned(const void *addr, size_t size) in memory_is_poisoned()
163 size_t size, bool write, in check_region_inline()
184 bool kasan_check_range(const void *addr, size_t size, bool write, in kasan_check_range()
224 void __asan_register_globals(void *ptr, ssize_t size) in __asan_register_globals()
234 void __asan_unregister_globals(void *ptr, ssize_t size) in __asan_unregister_globals()
239 #define DEFINE_ASAN_LOAD_STORE(size) \ argument
263 void __asan_loadN(void *addr, ssize_t size) in __asan_loadN()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A 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 …]
/openbmc/qemu/hw/alpha/
H A Dpci.c18 static uint64_t ignore_read(void *opaque, hwaddr addr, unsigned size) in ignore_read()
23 static void ignore_write(void *opaque, hwaddr addr, uint64_t v, unsigned size) in ignore_write()
44 unsigned size) in bw_conf1_read()
51 uint64_t val, unsigned size) in bw_conf1_write()
69 static uint64_t iack_read(void *opaque, hwaddr addr, unsigned size) in iack_read()
75 uint64_t val, unsigned size) in special_write()
/openbmc/linux/arch/openrisc/include/asm/
H A Duaccess.h57 #define __put_user_nocheck(x, ptr, size) \ argument
64 #define __put_user_check(x, ptr, size) \ argument
73 #define __put_user_size(x, ptr, size, retval) \ argument
129 #define __get_user_nocheck(x, ptr, size) \ argument
136 #define __get_user_check(x, ptr, size) \ argument
149 #define __get_user_size(x, ptr, size, retval) \ argument
212 raw_copy_from_user(void *to, const void __user *from, unsigned long size) in raw_copy_from_user()
217 raw_copy_to_user(void __user *to, const void *from, unsigned long size) in raw_copy_to_user()
227 clear_user(void __user *addr, unsigned long size) in clear_user()
/openbmc/linux/drivers/ntb/test/
H A Dntb_tool.c217 resource_size_t size; member
342 size_t size, loff_t *offp, in tool_fn_read()
361 size_t size, loff_t *offp, in tool_fn_write()
406 size_t size, loff_t *offp) in tool_port_read()
422 size_t size, loff_t *offp) in tool_peer_port_read()
463 size_t size, loff_t *offp) in tool_link_write()
489 size_t size, loff_t *offp) in tool_peer_link_read()
511 size_t size, loff_t *offp) in tool_peer_link_event_write()
542 size_t size, loff_t *offp) in tool_mw_read()
554 size_t size, loff_t *offp) in tool_mw_write()
[all …]
/openbmc/linux/drivers/staging/octeon/
H A Dethernet-mem.c24 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) in cvm_oct_fill_hw_skbuff()
47 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) in cvm_oct_free_hw_skbuff()
77 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) in cvm_oct_fill_hw_memory()
114 static void cvm_oct_free_hw_memory(int pool, int size, int elements) in cvm_oct_free_hw_memory()
137 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) in cvm_oct_mem_fill_fpa()
148 void cvm_oct_mem_empty_fpa(int pool, int size, int elements) in cvm_oct_mem_empty_fpa()

12345678910>>...306