/openbmc/linux/include/linux/ |
H A D | dma-mapping.h | 162 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() 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() 237 size_t size, unsigned long attrs) in dma_get_sgtable_attrs() 242 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_mmap_attrs() 284 size_t size, enum dma_data_direction dir, gfp_t gfp, in dma_alloc_noncontiguous() 347 dma_addr_t addr, unsigned long offset, size_t size, in dma_sync_single_range_for_cpu() 354 dma_addr_t addr, unsigned long offset, size_t size, in dma_sync_single_range_for_device() [all …]
|
H A D | kasan.h | 81 unsigned long size) in kasan_remove_zero_shadow() 205 size_t size, gfp_t flags) in kasan_kmalloc_large() 266 size_t size, gfp_t flags) in kasan_kmalloc() 324 unsigned int *size, in kasan_cache_create() 393 unsigned long size) in kasan_populate_early_vm_area_shadow() 396 unsigned long size) in kasan_populate_vmalloc() 410 unsigned long size, in kasan_unpoison_vmalloc() 420 unsigned long size) in kasan_poison_vmalloc() 429 unsigned long size) { } in kasan_populate_early_vm_area_shadow() 431 unsigned long size) in kasan_populate_vmalloc() [all …]
|
H A D | kcsan-checks.h | 143 size_t size; member 189 static inline void __kcsan_check_access(const volatile void *ptr, size_t size, in __kcsan_check_access() 209 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access() 229 static inline void kcsan_check_access(const volatile void *ptr, size_t size, in kcsan_check_access() 276 #define __kcsan_check_read(ptr, size) __kcsan_check_access(ptr, size, 0) argument 284 #define __kcsan_check_write(ptr, size) \ argument 293 #define __kcsan_check_read_write(ptr, size) \ argument 302 #define kcsan_check_read(ptr, size) kcsan_check_access(ptr, size, 0) argument 310 #define kcsan_check_write(ptr, size) \ argument 319 #define kcsan_check_read_write(ptr, size) \ argument [all …]
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | ranges.c | 33 static inline unsigned int get_max_nr_ranges(size_t size) in get_max_nr_ranges() 48 size_t size; in get_mem_rngs_size() local 73 static int __add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in __add_mem_range() 177 size_t size; in realloc_mem_ranges() local 208 int add_mem_range(struct crash_mem **mem_ranges, u64 base, u64 size) in add_mem_range() 250 u32 size; in add_tce_mem_ranges() local 337 u32 base, size; in add_rtas_mem_range() local 362 u64 base, size; in add_opal_mem_range() local 400 u64 base, size; in add_reserved_mem_ranges() local
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | floppy.h | 41 #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 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/linux/arch/x86/mm/ |
H A D | mem_encrypt_amd.c | 94 unsigned long size, bool enc) in __sme_early_enc_dec() 148 void __init sme_early_encrypt(resource_size_t paddr, unsigned long size) in sme_early_encrypt() 153 void __init sme_early_decrypt(resource_size_t paddr, unsigned long size) in sme_early_decrypt() 158 static void __init __sme_early_map_unmap_mem(void *vaddr, unsigned long size, in __sme_early_map_unmap_mem() 222 unsigned long size; in sev_setup_arch() local 292 static void enc_dec_hypercall(unsigned long vaddr, unsigned long size, bool enc) in enc_dec_hypercall() 353 unsigned long pfn, pa, size; in __set_clr_pte_enc() local 406 unsigned long size, bool enc) in early_set_memory_enc_dec() 475 int __init early_set_memory_decrypted(unsigned long vaddr, unsigned long size) in early_set_memory_decrypted() 480 int __init early_set_memory_encrypted(unsigned long vaddr, unsigned long size) in early_set_memory_encrypted() [all …]
|
/openbmc/linux/tools/testing/memblock/tests/ |
H A D | alloc_exact_nid_api.c | 33 phys_addr_t size; in alloc_exact_nid_top_down_numa_simple_check() local 86 phys_addr_t size; in alloc_exact_nid_top_down_numa_part_reserved_check() local 146 phys_addr_t size = SZ_512; in alloc_exact_nid_top_down_numa_split_range_low_check() local 204 phys_addr_t size; in alloc_exact_nid_top_down_numa_no_overlap_split_check() local 263 phys_addr_t size = SZ_64; in alloc_exact_nid_top_down_numa_no_overlap_low_check() local 302 phys_addr_t size; in alloc_exact_nid_bottom_up_numa_simple_check() local 355 phys_addr_t size; in alloc_exact_nid_bottom_up_numa_part_reserved_check() local 475 phys_addr_t size; in alloc_exact_nid_bottom_up_numa_no_overlap_split_check() local 582 phys_addr_t size; in alloc_exact_nid_numa_small_node_generic_check() local 623 phys_addr_t size; in alloc_exact_nid_numa_node_reserved_generic_check() local [all …]
|
H A D | alloc_nid_api.c | 1249 phys_addr_t size; in alloc_nid_top_down_numa_simple_check() local 1302 phys_addr_t size; in alloc_nid_top_down_numa_small_node_check() local 1355 phys_addr_t size; in alloc_nid_top_down_numa_node_reserved_check() local 1407 phys_addr_t size; in alloc_nid_top_down_numa_part_reserved_check() local 1467 phys_addr_t size; in alloc_nid_top_down_numa_part_reserved_fallback_check() local 1641 phys_addr_t size; in alloc_nid_top_down_numa_no_overlap_split_check() local 1793 phys_addr_t size; in alloc_nid_bottom_up_numa_simple_check() local 1846 phys_addr_t size; in alloc_nid_bottom_up_numa_small_node_check() local 1900 phys_addr_t size; in alloc_nid_bottom_up_numa_node_reserved_check() local 1952 phys_addr_t size; in alloc_nid_bottom_up_numa_part_reserved_check() local [all …]
|
/openbmc/u-boot/common/ |
H A D | bloblist.c | 55 static int bloblist_addrec(uint tag, int size, struct bloblist_rec **recp) in bloblist_addrec() 81 static int bloblist_ensurerec(uint tag, struct bloblist_rec **recp, int size) in bloblist_ensurerec() 101 void *bloblist_find(uint tag, int size) in bloblist_find() 114 void *bloblist_add(uint tag, int size) in bloblist_add() 124 int bloblist_ensure_size(uint tag, int size, void **blobp) in bloblist_ensure_size() 137 void *bloblist_ensure(uint tag, int size) in bloblist_ensure() 162 int bloblist_new(ulong addr, uint size, uint flags) in bloblist_new() 184 int bloblist_check(ulong addr, uint size) in bloblist_check()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | dma-noncoherent.c | 22 static void __dma_sync(void *vaddr, size_t size, int direction) in __dma_sync() 60 unsigned long offset, size_t size, int direction) in __dma_sync_page_highmem() 94 static void __dma_sync_page(phys_addr_t paddr, size_t size, int dir) in __dma_sync_page() 107 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 113 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 119 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent()
|
/openbmc/linux/sound/core/ |
H A D | memalloc.c | 33 static void *__snd_dma_alloc_pages(struct snd_dma_buffer *dmab, size_t size) in __snd_dma_alloc_pages() 58 enum dma_data_direction dir, size_t size, in snd_dma_alloc_dir_pages() 154 enum dma_data_direction dir, size_t size) in snd_devm_alloc_dir_pages() 266 unsigned int ofs, unsigned int size) in snd_sgbuf_get_chunk_size() 310 static void do_free_pages(void *p, size_t size, bool wc) in do_free_pages() 381 unsigned int ofs, unsigned int size) in snd_dma_vmalloc_get_chunk_size() 467 static void *snd_dma_dev_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_dev_alloc() 495 static void *snd_dma_wc_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_wc_alloc() 512 static void *snd_dma_wc_alloc(struct snd_dma_buffer *dmab, size_t size) in snd_dma_wc_alloc() 634 unsigned int ofs, unsigned int size) in snd_dma_noncontig_get_chunk_size() [all …]
|
/openbmc/linux/arch/xtensa/kernel/ |
H A D | pci-dma.c | 24 static void do_cache_op(phys_addr_t paddr, size_t size, in do_cache_op() 46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 83 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 94 void *arch_dma_set_uncached(void *p, size_t size) in arch_dma_set_uncached()
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | io_trapped.h | 32 __ioremap_trapped(unsigned long offset, unsigned long size) in __ioremap_trapped() 37 #define __ioremap_trapped(offset, size) NULL argument 44 __ioport_map_trapped(unsigned long offset, unsigned long size) in __ioport_map_trapped() 49 #define __ioport_map_trapped(offset, size) NULL argument 55 #define __ioremap_trapped(offset, size) NULL argument 56 #define __ioport_map_trapped(offset, size) NULL argument
|
/openbmc/linux/tools/perf/util/ |
H A D | trace-event-parse.c | 18 int *offset, int *size, const char *type) in get_common_field() 43 static int size; in common_lock_depth() local 57 static int size; in common_flags() local 71 static int size; in common_pc() local 97 unsigned long long read_size(struct tep_event *event, void *ptr, int size) in read_size() 103 int cpu, void *data, int size, FILE *fp) in event_format__fprintf() 120 int cpu, void *data, int size) in event_format__print() 167 int parse_ftrace_file(struct tep_handle *pevent, char *buf, unsigned long size) in parse_ftrace_file() 173 char *buf, unsigned long size, char *sys) in parse_event_file()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | hmm-tests.c | 40 unsigned long size; member 296 unsigned long size; in TEST_F() local 360 unsigned long size; in TEST_F() local 419 unsigned long size; in TEST_F() local 467 unsigned long size; in TEST_F() local 533 unsigned long size; in TEST_F() local 611 unsigned long size; in TEST_F() local 688 unsigned long size; in TEST_F() local 792 unsigned long size; in TEST_F() local 849 unsigned long size; in TEST_F() local [all …]
|
/openbmc/linux/tools/testing/selftests/arm64/mte/ |
H A D | mte_common_util.c | 97 void *mte_insert_tags(void *ptr, size_t size) in mte_insert_tags() 112 void mte_clear_tags(void *ptr, size_t size) in mte_clear_tags() 123 static void *__mte_allocate_memory_range(size_t size, int mem_type, int mapping, in __mte_allocate_memory_range() 168 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_memory_tag_range() 175 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags) in mte_allocate_memory() 180 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping, bool tags, int fd) in mte_allocate_file_memory() 205 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping, in mte_allocate_file_memory_tag_range() 232 static void __mte_free_memory_range(void *ptr, size_t size, int mem_type, in __mte_free_memory_range() 251 void mte_free_memory_tag_range(void *ptr, size_t size, int mem_type, in mte_free_memory_tag_range() 257 void mte_free_memory(void *ptr, size_t size, int mem_type, bool tags) in mte_free_memory()
|
/openbmc/linux/kernel/dma/ |
H A D | debug.h | 59 size_t offset, size_t size, in debug_dma_map_page() 66 size_t size, int direction) in debug_dma_unmap_page() 82 static inline void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent() 88 static inline void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent() 94 size_t size, int direction, in debug_dma_map_resource() 101 dma_addr_t dma_addr, size_t size, in debug_dma_unmap_resource() 108 size_t size, int direction) in debug_dma_sync_single_for_cpu() 114 size_t size, int direction) in debug_dma_sync_single_for_device()
|
/openbmc/linux/mm/kmsan/ |
H A D | instrumentation.c | 21 static inline bool is_bad_asm_addr(void *addr, uintptr_t size, bool is_store) in is_bad_asm_addr() 31 get_shadow_origin_ptr(void *addr, u64 size, bool store) in get_shadow_origin_ptr() 51 uintptr_t size) in __msan_metadata_ptr_for_load_n() 61 uintptr_t size) in __msan_metadata_ptr_for_store_n() 71 #define DECLARE_METADATA_PTR_GETTER(size) \ argument 104 void __msan_instrument_asm_store(void *addr, uintptr_t size) in __msan_instrument_asm_store() 260 void __msan_poison_alloca(void *address, uintptr_t size, char *descr) in __msan_poison_alloca() 296 void __msan_unpoison_alloca(void *address, uintptr_t size) in __msan_unpoison_alloca()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | uaccess_64.h | 30 static inline bool __chk_range_not_ok(unsigned long addr, unsigned long size, unsigned long limit) in __chk_range_not_ok() 42 #define __range_not_ok(addr, size, limit) \ argument 93 #define __put_kernel_asm(x, size, addr, ret) \ argument 113 #define __put_user_nocheck(data, addr, size) ({ \ argument 125 #define __put_user_asm(x, size, addr, ret) \ argument 166 #define __get_kernel_asm(x, size, addr, ret) \ argument 187 #define __get_user_nocheck(data, addr, size, type) ({ \ argument 204 #define __get_user_asm(x, size, addr, ret) \ argument
|
/openbmc/qemu/hw/nvram/ |
H A D | nrf51_nvm.c | 83 static uint64_t ficr_read(void *opaque, hwaddr offset, unsigned int size) in ficr_read() 90 unsigned int size) in ficr_write() 171 static uint64_t uicr_read(void *opaque, hwaddr offset, unsigned int size) in uicr_read() 180 unsigned int size) in uicr_write() 197 static uint64_t io_read(void *opaque, hwaddr offset, unsigned int size) in io_read() 219 unsigned int size) in io_write() 275 static uint64_t flash_read(void *opaque, hwaddr offset, unsigned size) in flash_read() 286 unsigned int size) in flash_write()
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | pmem.c | 18 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in __clean_pmem_range() local 30 unsigned long size = stop - (unsigned long)addr + (bytes - 1); in __flush_pmem_range() local 52 void arch_wb_cache_pmem(void *addr, size_t size) in arch_wb_cache_pmem() 59 void arch_invalidate_pmem(void *addr, size_t size) in arch_invalidate_pmem() 70 unsigned size) in __copy_from_user_flushcache() 80 void memcpy_flushcache(void *dest, const void *src, size_t size) in memcpy_flushcache()
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-xattr.c | 40 const char *name, void *value, size_t size) in v9fs_get_xattr() 51 char *name, void *value, size_t size) in pt_listxattr() 75 ssize_t size = 0; in v9fs_list_xattr() local 143 void *value, size_t size, int flags) in v9fs_set_xattr() 167 const char *name, void *value, size_t size) in local_getxattr_nofollow() 188 void *value, size_t size) in pt_getxattr() 194 const char *name, void *value, size_t size, in local_setxattr_nofollow() 216 size_t size, int flags) in pt_setxattr() 248 void *value, size_t size) in notsup_getxattr() 255 void *value, size_t size, int flags) in notsup_setxattr() [all …]
|
/openbmc/linux/mm/kasan/ |
H A D | shadow.c | 29 bool __kasan_check_read(const volatile void *p, unsigned int size) in __kasan_check_read() 35 bool __kasan_check_write(const volatile void *p, unsigned int size) in __kasan_check_write() 124 void kasan_poison(const void *addr, size_t size, u8 value, bool init) in kasan_poison() 155 void kasan_poison_last_granule(const void *addr, size_t size) in kasan_poison_last_granule() 167 void kasan_unpoison(const void *addr, size_t size, bool init) in kasan_unpoison() 310 unsigned long size) in kasan_populate_early_vm_area_shadow() 341 int kasan_populate_vmalloc(unsigned long addr, unsigned long size) in kasan_populate_vmalloc() 515 unsigned long size; in kasan_release_vmalloc() local 553 void *__kasan_unpoison_vmalloc(const void *start, unsigned long size, in __kasan_unpoison_vmalloc() 586 void __kasan_poison_vmalloc(const void *start, unsigned long size) in __kasan_poison_vmalloc() [all …]
|
/openbmc/qemu/hw/misc/ |
H A D | slavio_misc.c | 127 uint64_t val, unsigned size) in slavio_cfg_mem_writeb() 137 unsigned size) in slavio_cfg_mem_readb() 167 unsigned size) in slavio_diag_mem_readb() 188 uint64_t val, unsigned size) in slavio_mdm_mem_writeb() 197 unsigned size) in slavio_mdm_mem_readb() 235 unsigned size) in slavio_aux1_mem_readb() 272 unsigned size) in slavio_aux2_mem_readb() 293 uint64_t val, unsigned size) in apc_mem_writeb() 302 unsigned size) in apc_mem_readb() 321 unsigned size) in slavio_sysctrl_mem_readl() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | fw_inc.c | 115 size_t size) in fw_ignore_section() 122 size_t size) in fw_handle_capabilities() 145 size_t size) in fw_handle_brd_file() 200 size_t size) in fw_handle_concurrency() 238 size_t size) in fw_handle_comment() 292 size_t size) in fw_handle_data() 300 size_t size) in fw_handle_fill() 335 size_t size) in fw_handle_file_header() 360 size_t size) in fw_handle_direct_write() 417 size_t size) in fw_handle_gateway_data() [all …]
|