/kernel/dma/ |
D | mapping.c | 26 size_t size; member 61 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent() 85 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs() 144 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs() 167 void dma_unmap_page_attrs(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_page_attrs() 296 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_map_resource() 316 void dma_unmap_resource(struct device *dev, dma_addr_t addr, size_t size, in dma_unmap_resource() 328 void dma_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, in dma_sync_single_for_cpu() 343 size_t size, enum dma_data_direction dir) in dma_sync_single_for_device() 396 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_get_sgtable_attrs() [all …]
|
D | direct.c | 70 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok() 80 static int dma_set_decrypted(struct device *dev, void *vaddr, size_t size) in dma_set_decrypted() 87 static int dma_set_encrypted(struct device *dev, void *vaddr, size_t size) in dma_set_encrypted() 100 size_t size) in __dma_direct_free_pages() 107 static struct page *dma_direct_alloc_swiotlb(struct device *dev, size_t size) in dma_direct_alloc_swiotlb() 119 static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages() 174 static void *dma_direct_alloc_from_pool(struct device *dev, size_t size, in dma_direct_alloc_from_pool() 193 static void *dma_direct_alloc_no_mapping(struct device *dev, size_t size, in dma_direct_alloc_no_mapping() 211 void *dma_direct_alloc(struct device *dev, size_t size, in dma_direct_alloc() 326 void dma_direct_free(struct device *dev, size_t size, in dma_direct_free() [all …]
|
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()
|
D | coherent.c | 17 int size; member 39 dma_addr_t device_addr, size_t size, bool use_dma_pfn_offset) in dma_init_coherent_memory() 118 dma_addr_t device_addr, size_t size) in dma_declare_coherent_memory() 143 ssize_t size, dma_addr_t *dma_handle) in __dma_alloc_from_coherent() 187 int dma_alloc_from_dev_coherent(struct device *dev, ssize_t size, in dma_alloc_from_dev_coherent() 235 struct vm_area_struct *vma, void *vaddr, size_t size, int *ret) in __dma_mmap_from_coherent() 272 void *vaddr, size_t size, int *ret) in dma_mmap_from_dev_coherent() 282 void *dma_alloc_from_global_coherent(struct device *dev, ssize_t size, in dma_alloc_from_global_coherent() 302 size_t size, int *ret) in dma_mmap_from_global_coherent() 311 int dma_init_global_coherent(phys_addr_t phys_addr, size_t size) in dma_init_global_coherent()
|
D | ops_helpers.c | 19 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_common_get_sgtable() 36 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_common_mmap() 63 struct page *dma_common_alloc_pages(struct device *dev, size_t size, in dma_common_alloc_pages() 86 void dma_common_free_pages(struct device *dev, size_t size, struct page *page, in dma_common_free_pages()
|
D | pool.c | 46 static void dma_atomic_pool_size_add(gfp_t gfp, size_t size) in dma_atomic_pool_size_add() 58 unsigned long size; in cma_in_zone() local 240 static struct page *__dma_alloc_from_pool(struct device *dev, size_t size, in __dma_alloc_from_pool() argument 265 struct page *dma_alloc_from_pool(struct device *dev, size_t size, in dma_alloc_from_pool() argument 283 bool dma_free_from_pool(struct device *dev, void *start, size_t size) in dma_free_from_pool()
|
D | direct.h | 56 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_device() 68 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_cpu() 85 struct page *page, unsigned long offset, size_t size, in dma_direct_map_page() 115 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_direct_unmap_page()
|
D | remap.c | 22 void *dma_common_pages_remap(struct page **pages, size_t size, in dma_common_pages_remap() 38 void *dma_common_contiguous_remap(struct page *page, size_t size, in dma_common_contiguous_remap() 60 void dma_common_free_remap(void *cpu_addr, size_t size) in dma_common_free_remap()
|
D | contiguous.c | 207 dma_contiguous_early_fixup(phys_addr_t base, unsigned long size) in dma_contiguous_early_fixup() 228 int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, in dma_contiguous_reserve_area() 283 static struct page *cma_alloc_aligned(struct cma *cma, size_t size, gfp_t gfp) in cma_alloc_aligned() 305 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous() 348 void dma_free_contiguous(struct device *dev, struct page *page, size_t size) in dma_free_contiguous()
|
D | swiotlb.c | 196 void __init swiotlb_adjust_size(unsigned long size) in swiotlb_adjust_size() 427 int swiotlb_init_late(size_t size, gfp_t gfp_mask, in swiotlb_init_late() 551 static void swiotlb_bounce(struct device *dev, phys_addr_t tlb_addr, size_t size, in swiotlb_bounce() 886 size_t size, enum dma_data_direction dir) in swiotlb_sync_single_for_device() 895 size_t size, enum dma_data_direction dir) in swiotlb_sync_single_for_cpu() 907 dma_addr_t swiotlb_map(struct device *dev, phys_addr_t paddr, size_t size, in swiotlb_map() 993 struct page *swiotlb_alloc(struct device *dev, size_t size) in swiotlb_alloc() 1011 bool swiotlb_free(struct device *dev, struct page *page, size_t size) in swiotlb_free()
|
/kernel/ |
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() 166 unsigned int size, unsigned int skipnr) in stack_trace_save_regs() 194 unsigned int size) in stack_trace_save_tsk_reliable() 224 unsigned int stack_trace_save_user(unsigned long *store, unsigned int size) in stack_trace_save_user() 269 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save() 293 unsigned long *store, unsigned int size, in stack_trace_save_tsk() 317 unsigned int size, unsigned int skipnr) in stack_trace_save_regs() [all …]
|
D | iomem.c | 9 __weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size) in ioremap_cache() 16 static void *arch_memremap_wb(resource_size_t offset, unsigned long size) in arch_memremap_wb() 23 static bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, in arch_memremap_can_ram_remap() 30 static void *try_ram_remap(resource_size_t offset, size_t size, in try_ram_remap() 71 void *memremap(resource_size_t offset, size_t size, unsigned long flags) in memremap() 140 size_t size, unsigned long flags) in devm_memremap()
|
D | regset.c | 8 unsigned int size, in __regset_get() 35 unsigned int size, in regset_get() 44 unsigned int size, in regset_get_alloc() 64 unsigned int offset, unsigned int size, in copy_regset_to_user()
|
D | resource.c | 231 resource_size_t size; in __release_child_resources() local 493 size_t size, unsigned long flags, in __region_intersects() 541 int region_intersects(resource_size_t start, size_t size, unsigned long flags, in region_intersects() 560 resource_size_t size, in simple_align_resource() 581 resource_size_t size, in __find_resource() 639 resource_size_t size, in find_resource() 707 resource_size_t size, resource_size_t min, in allocate_resource() argument 930 resource_size_t size) in __adjust_resource() 977 resource_size_t size) in adjust_resource() 1312 void release_mem_region_adjustable(resource_size_t start, resource_size_t size) in release_mem_region_adjustable() [all …]
|
D | kcov.c | 59 unsigned int size; member 77 unsigned int size; member 134 static struct kcov_remote_area *kcov_remote_area_get(unsigned int size) in kcov_remote_area_get() 151 unsigned int size) in kcov_remote_area_put() 320 u64 size = cases[1]; in __sanitizer_cov_trace_switch() local 346 unsigned int size, void *area, enum kcov_mode mode, in kcov_start() 480 unsigned long size, off; in kcov_mmap() local 687 unsigned long size, flags; in kcov_ioctl() local 843 unsigned int size; in kcov_remote_start() local 987 unsigned int size; in kcov_remote_stop() local
|
D | taskstats.c | 67 size_t size) in prepare_reply() 413 size_t size; in cgroupstats_user_cmd() local 491 size_t size; in taskstats_packet_size() local 504 size_t size; in cmd_attr_pid() local 533 size_t size; in cmd_attr_tgid() local 611 size_t size; in taskstats_exit() local
|
/kernel/kcsan/ |
D | core.c | 115 size_t size, in find_watchpoint() 148 insert_watchpoint(unsigned long addr, size_t size, bool is_write) in insert_watchpoint() 231 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic() 268 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch() 338 static __always_inline u64 read_instrumented_memory(const volatile void *ptr, size_t size) in read_instrumented_memory() 401 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in find_reorder_access() 418 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in set_reorder_access() 456 size_t size, in kcsan_found_watchpoint() 527 kcsan_setup_watchpoint(const volatile void *ptr, size_t size, int type, unsigned long ip) in kcsan_setup_watchpoint() 719 check_access(const volatile void *ptr, size_t size, int type, unsigned long ip) in check_access() [all …]
|
D | encoding.h | 52 static inline bool check_encodable(unsigned long addr, size_t size) in check_encodable() 62 encode_watchpoint(unsigned long addr, size_t size, bool is_write) in encode_watchpoint() 71 size_t *size, in decode_watchpoint()
|
/kernel/events/ |
D | ring_buffer.c | 139 unsigned long data_size, unsigned int size, in ring_buffer_has_space() 151 struct perf_event *event, unsigned int size, in __perf_output_begin() 269 struct perf_event *event, unsigned int size) in perf_output_begin_forward() 276 struct perf_event *event, unsigned int size) in perf_output_begin_backward() 283 struct perf_event *event, unsigned int size) in perf_output_begin() 480 void perf_aux_output_end(struct perf_output_handle *handle, unsigned long size) in perf_aux_output_end() 538 int perf_aux_output_skip(struct perf_output_handle *handle, unsigned long size) in perf_aux_output_skip() 817 unsigned long size; in rb_alloc() local 914 unsigned long size; in rb_alloc() local
|
/kernel/debug/kdb/ |
D | kdb_support.c | 266 int kdb_getarea_size(void *res, unsigned long addr, size_t size) in kdb_getarea_size() 291 int kdb_putarea_size(unsigned long addr, void *res, size_t size) in kdb_putarea_size() 317 static int kdb_getphys(void *res, unsigned long addr, size_t size) in kdb_getphys() 343 int kdb_getphysword(unsigned long *word, unsigned long addr, size_t size) in kdb_getphysword() 393 int kdb_getword(unsigned long *word, unsigned long addr, size_t size) in kdb_getword() 442 int kdb_putword(unsigned long addr, unsigned long word, size_t size) in kdb_putword()
|
/kernel/module/ |
D | decompress.c | 63 static size_t module_gzip_header_len(const u8 *buf, size_t size) in module_gzip_header_len() 86 const void *buf, size_t size) in module_gzip_decompress() 150 const void *buf, size_t size) in module_xz_decompress() 206 int module_decompress(struct load_info *info, const void *buf, size_t size) in module_decompress()
|
/kernel/trace/ |
D | bpf_trace.c | 163 bpf_probe_read_user_common(void *dst, u32 size, const void __user *unsafe_ptr) in bpf_probe_read_user_common() 173 BPF_CALL_3(bpf_probe_read_user, void *, dst, u32, size, in BPF_CALL_3() argument 189 bpf_probe_read_user_str_common(void *dst, u32 size, in bpf_probe_read_user_str_common() 210 BPF_CALL_3(bpf_probe_read_user_str, void *, dst, u32, size, in BPF_CALL_3() argument 226 bpf_probe_read_kernel_common(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel_common() 236 BPF_CALL_3(bpf_probe_read_kernel, void *, dst, u32, size, in BPF_CALL_3() argument 252 bpf_probe_read_kernel_str_common(void *dst, u32 size, const void *unsafe_ptr) in bpf_probe_read_kernel_str_common() 271 BPF_CALL_3(bpf_probe_read_kernel_str, void *, dst, u32, size, in BPF_CALL_3() argument 287 BPF_CALL_3(bpf_probe_read_compat, void *, dst, u32, size, in BPF_CALL_3() argument 306 BPF_CALL_3(bpf_probe_read_compat_str, void *, dst, u32, size, in BPF_CALL_3() argument [all …]
|
D | trace_events_inject.c | 142 int size = 0; in trace_get_entry_size() local 153 static void *trace_alloc_entry(struct trace_event_call *call, int *size) in trace_alloc_entry() 289 int err = -ENODEV, size; in event_inject_write() local 324 event_inject_read(struct file *file, char __user *buf, size_t size, in event_inject_read()
|
/kernel/bpf/ |
D | tnum.c | 153 struct tnum tnum_cast(struct tnum a, u8 size) in tnum_cast() 160 bool tnum_is_aligned(struct tnum a, u64 size) in tnum_is_aligned() 175 int tnum_strn(char *str, size_t size, struct tnum a) in tnum_strn() 181 int tnum_sbin(char *str, size_t size, struct tnum a) in tnum_sbin()
|
D | local_storage.c | 188 u32 size; in bpf_percpu_cgroup_storage_copy() local 217 u32 size; in bpf_percpu_cgroup_storage_update() local 363 u32 offset, size; in cgroup_storage_check_btf() local 477 size_t size; in bpf_cgroup_storage_calculate_size() local 498 size_t size; in bpf_cgroup_storage_alloc() local
|