/openbmc/u-boot/drivers/misc/imx8/ |
H A D | scu_api.c | 21 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 D | slab.h | 444 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() 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 719 static inline __alloc_size(1) void *kzalloc(size_t size, gfp_t flags) in kzalloc() 730 static inline __alloc_size(1) void *kzalloc_node(size_t size, gfp_t flags, int node) in kzalloc_node() 736 static inline __alloc_size(1) void *kvmalloc(size_t size, gfp_t flags) in kvmalloc() 744 static inline __alloc_size(1) void *kvzalloc(size_t size, gfp_t flags) in kvzalloc() [all …]
|
H A D | instrumented.h | 24 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 D | kmemleak.h | 37 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()
|
/openbmc/u-boot/post/drivers/ |
H A D | memory.c | 238 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/ |
H A D | stacktrace.c | 47 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/linux/fs/ceph/ |
H A D | xattr.c | 58 size_t size) in ceph_vxattrcb_layout() 200 size_t size) in ceph_vxattrcb_dir_entries() 212 size_t size) in ceph_vxattrcb_dir_subdirs() 218 size_t size) in ceph_vxattrcb_dir_rentries() 225 size_t size) in ceph_vxattrcb_dir_rfiles() 231 size_t size) in ceph_vxattrcb_dir_rsubdirs() 237 size_t size) in ceph_vxattrcb_dir_rsnaps() 243 size_t size) in ceph_vxattrcb_dir_rbytes() 249 size_t size) in ceph_vxattrcb_dir_rctime() 307 size_t size) in ceph_vxattrcb_snap_btime() [all …]
|
/openbmc/linux/kernel/dma/ |
H A D | mapping.c | 30 size_t size; member 148 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs() 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() 462 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_mmap_attrs() 610 size_t size, struct page *page) in dma_mmap_pages() 670 static void free_single_sgt(struct device *dev, size_t size, in free_single_sgt() 679 void dma_free_noncontiguous(struct device *dev, size_t size, in dma_free_noncontiguous() 714 size_t size, struct sg_table *sgt) in dma_mmap_noncontiguous() 799 size_t size = SIZE_MAX; in dma_max_mapping_size() local [all …]
|
H A D | direct.c | 69 bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() 99 size_t size) in __dma_direct_free_pages() 171 static void *dma_direct_alloc_from_pool(struct device *dev, size_t size, in dma_direct_alloc_from_pool() 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() 368 struct page *dma_direct_alloc_pages(struct device *dev, size_t size, in dma_direct_alloc_pages() 391 void dma_direct_free_pages(struct device *dev, size_t size, in dma_direct_free_pages() 521 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_resource() 537 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_direct_get_sgtable() 556 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_direct_mmap() [all …]
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | cow.c | 66 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() 221 static void test_cow_in_parent(char *mem, size_t size) in test_cow_in_parent() 231 static void test_vmsplice_in_child(char *mem, size_t size) in test_vmsplice_in_child() 336 static void test_vmsplice_before_fork(char *mem, size_t size) in test_vmsplice_before_fork() 341 static void test_vmsplice_after_fork(char *mem, size_t size) in test_vmsplice_after_fork() 498 static void test_iouring_ro(char *mem, size_t size) in test_iouring_ro() 503 static void test_iouring_fork(char *mem, size_t size) in test_iouring_fork() 647 static void test_ro_pin_on_shared(char *mem, size_t size) in test_ro_pin_on_shared() [all …]
|
H A D | gup_longterm.c | 91 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 D | memalign.h | 71 #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 D | dma-mapping.c | 43 size_t size; member 53 size_t size; member 254 unsigned long size; member 628 size_t size, enum dma_data_direction dir, in dma_cache_maint_page() argument 680 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev() 696 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu() 757 size_t size) in __alloc_iova() 815 dma_addr_t addr, size_t size) in __free_iova() 1173 size_t size, unsigned long attrs) in arm_iommu_get_sgtable() 1189 size_t size, dma_addr_t *handle, in __map_sg_chunk() [all …]
|
/openbmc/linux/lib/ |
H A D | test_meminit.c | 29 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() 381 int i, flags, size; in test_kmemcache() local [all …]
|
/openbmc/linux/arch/riscv/mm/ |
H A D | dma-noncoherent.c | 18 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 D | fcntl.c | 12 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/tools/include/linux/ |
H A D | find.h | 33 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 D | generic.c | 56 unsigned long size) in memory_is_poisoned_2_4_8() 82 size_t size) in bytes_is_nonzero() 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() 273 void __asan_storeN(void *addr, ssize_t size) in __asan_storeN() 288 void __asan_alloca_poison(void *addr, ssize_t size) in __asan_alloca_poison() [all …]
|
/openbmc/linux/drivers/video/ |
H A D | hdmi.c | 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() 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() 756 void *buffer, size_t size) in hdmi_drm_infoframe_pack_only() 829 void *buffer, size_t size) in hdmi_drm_infoframe_pack() 865 void *buffer, size_t size) in hdmi_vendor_any_infoframe_pack_only() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | floppy.h | 43 #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 D | pci.c | 18 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 D | uaccess.h | 57 #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/mm/ |
H A D | memblock.c | 191 phys_addr_t base, phys_addr_t size) in memblock_overlaps_region() 329 phys_addr_t end, phys_addr_t size, in memblock_find_in_range() 373 phys_addr_t addr, size; in memblock_discard() local 556 phys_addr_t size, in memblock_insert_region() 589 phys_addr_t base, phys_addr_t size, in memblock_add_range() 755 phys_addr_t base, phys_addr_t size, in memblock_isolate_range() 906 phys_addr_t size, int set, int flag) in memblock_setclr_flag() 1571 phys_addr_t size, phys_addr_t align, in memblock_alloc_exact_nid_raw() 1603 phys_addr_t size, phys_addr_t align, in memblock_alloc_try_nid_raw() 1633 phys_addr_t size, phys_addr_t align, in memblock_alloc_try_nid() [all …]
|
/openbmc/linux/drivers/ntb/test/ |
H A D | ntb_tool.c | 217 resource_size_t size; member 342 size_t size, loff_t *offp, in tool_fn_read() 638 size_t size, loff_t *offp) in tool_mw_trans_read() 725 size_t size, loff_t *offp) in tool_peer_mw_read() 763 size_t size, loff_t *offp) in tool_peer_mw_write() 866 size_t size, loff_t *offp) in tool_peer_mw_trans_read() 924 size_t size, loff_t *offp) in tool_peer_mw_trans_write() 1059 size_t size, loff_t *offp) in tool_db_mask_read() 1080 size_t size, loff_t *offp) in tool_peer_db_read() 1296 size_t size, loff_t *offp) in tool_outmsg_write() [all …]
|
/openbmc/linux/drivers/staging/octeon/ |
H A D | ethernet-mem.c | 24 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()
|