Home
last modified time | relevance | path

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

1234

/kernel/
Dstacktrace.c46 int stack_trace_snprint(char *buf, size_t size, const 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()
166 unsigned int size, unsigned int skipnr) in stack_trace_save_regs()
193 unsigned int size) in stack_trace_save_tsk_reliable()
223 unsigned int stack_trace_save_user(unsigned long *store, unsigned int size) in stack_trace_save_user()
272 unsigned int stack_trace_save(unsigned long *store, unsigned int size, in stack_trace_save()
296 unsigned long *store, unsigned int size, in stack_trace_save_tsk()
320 unsigned int size, unsigned int skipnr) in stack_trace_save_regs()
[all …]
Diomem.c9 __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()
Dkcov.c58 unsigned int size; member
76 unsigned int size; member
117 static struct kcov_remote_area *kcov_remote_area_get(unsigned int size) in kcov_remote_area_get()
137 unsigned int size) in kcov_remote_area_put()
290 u64 size = cases[1]; in __sanitizer_cov_trace_switch() local
315 static void kcov_start(struct task_struct *t, unsigned int size, in kcov_start()
447 unsigned long size, off; in kcov_mmap() local
549 unsigned long size, unused; in kcov_ioctl_locked() local
764 unsigned int size; in kcov_remote_start() local
881 unsigned int size = t->kcov_size; in kcov_remote_stop() local
Dresource.c245 resource_size_t size; in __release_child_resources() local
536 int region_intersects(resource_size_t start, size_t size, unsigned long flags, in region_intersects()
573 resource_size_t size, in simple_align_resource()
594 resource_size_t size, in __find_resource()
652 resource_size_t size, in find_resource()
720 resource_size_t size, resource_size_t min, in allocate_resource() argument
936 resource_size_t size) in __adjust_resource()
983 resource_size_t size) in adjust_resource()
1254 resource_size_t start, resource_size_t size) in release_mem_region_adjustable()
1532 int iomem_map_sanity_check(resource_size_t addr, unsigned long size) in iomem_map_sanity_check()
[all …]
Dtaskstats.c70 size_t size) in prepare_reply()
395 size_t size; in cgroupstats_user_cmd() local
473 size_t size; in taskstats_packet_size() local
486 size_t size; in cmd_attr_pid() local
515 size_t size; in cmd_attr_tgid() local
593 size_t size; in taskstats_exit() local
/kernel/dma/
Ddirect.c26 static void report_addr(struct device *dev, dma_addr_t dma_addr, size_t size) in report_addr()
79 static bool dma_coherent_ok(struct device *dev, phys_addr_t phys, size_t size) in dma_coherent_ok()
85 struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages()
128 void *dma_direct_alloc_pages(struct device *dev, size_t size, in dma_direct_alloc_pages()
178 void __dma_direct_free_pages(struct device *dev, size_t size, struct page *page) in __dma_direct_free_pages()
183 void dma_direct_free_pages(struct device *dev, size_t size, void *cpu_addr, in dma_direct_free_pages()
204 void *dma_direct_alloc(struct device *dev, size_t size, in dma_direct_alloc()
213 void dma_direct_free(struct device *dev, size_t size, in dma_direct_free()
226 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_device()
263 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_cpu()
[all …]
Dremap.c24 size_t size, pgprot_t prot, const void *caller) in __dma_common_pages_remap()
44 void *dma_common_pages_remap(struct page **pages, size_t size, in dma_common_pages_remap()
62 void *dma_common_contiguous_remap(struct page *page, size_t size, in dma_common_contiguous_remap()
88 void dma_common_free_remap(void *cpu_addr, size_t size) in dma_common_free_remap()
176 bool dma_in_atomic_pool(void *start, size_t size) in dma_in_atomic_pool()
184 void *dma_alloc_from_pool(size_t size, struct page **ret_page, gfp_t flags) in dma_alloc_from_pool()
206 bool dma_free_from_pool(void *start, size_t size) in dma_free_from_pool()
214 void *arch_dma_alloc(struct device *dev, size_t size, dma_addr_t *dma_handle, in arch_dma_alloc()
251 void arch_dma_free(struct device *dev, size_t size, void *vaddr, in arch_dma_free()
Dmapping.c22 size_t size; member
57 void dmam_free_coherent(struct device *dev, size_t size, void *vaddr, in dmam_free_coherent()
81 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs()
112 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_common_get_sgtable()
151 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_get_sgtable_attrs()
188 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_common_mmap()
260 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_mmap_attrs()
295 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs()
321 void dma_free_attrs(struct device *dev, size_t size, void *cpu_addr, in dma_free_attrs()
401 void dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
[all …]
Dcoherent.c16 int size; member
41 dma_addr_t device_addr, size_t size, in dma_init_coherent_memory()
111 dma_addr_t device_addr, size_t size) in dma_declare_coherent_memory()
128 ssize_t size, dma_addr_t *dma_handle) in __dma_alloc_from_coherent()
171 int dma_alloc_from_dev_coherent(struct device *dev, ssize_t size, in dma_alloc_from_dev_coherent()
183 void *dma_alloc_from_global_coherent(struct device *dev, ssize_t size, in dma_alloc_from_global_coherent()
238 struct vm_area_struct *vma, void *vaddr, size_t size, int *ret) in __dma_mmap_from_coherent()
275 void *vaddr, size_t size, int *ret) in dma_mmap_from_dev_coherent()
283 size_t size, int *ret) in dma_mmap_from_global_coherent()
Dvirt.c10 static void *dma_virt_alloc(struct device *dev, size_t size, in dma_virt_alloc()
22 static void dma_virt_free(struct device *dev, size_t size, in dma_virt_free()
30 unsigned long offset, size_t size, in dma_virt_map_page()
Ddummy.c8 void *cpu_addr, dma_addr_t dma_addr, size_t size, in dma_dummy_mmap()
15 unsigned long offset, size_t size, enum dma_data_direction dir, in dma_dummy_map_page()
Dcontiguous.c162 int __init dma_contiguous_reserve_area(phys_addr_t size, phys_addr_t base, in dma_contiguous_reserve_area()
231 struct page *dma_alloc_contiguous(struct device *dev, size_t size, gfp_t gfp) in dma_alloc_contiguous()
264 void dma_free_contiguous(struct device *dev, struct page *page, size_t size) in dma_free_contiguous()
Dswiotlb.c158 unsigned long size; in swiotlb_size_or_default() local
409 size_t size, enum dma_data_direction dir) in swiotlb_bounce()
628 size_t size, enum dma_data_direction dir, in swiotlb_tbl_sync_single()
663 size_t size, enum dma_data_direction dir, unsigned long attrs) in swiotlb_map()
Ddebug.c74 u64 size; member
1253 size_t size, int direction, dma_addr_t dma_addr) in debug_dma_map_page()
1327 size_t size, int direction) in debug_dma_unmap_page()
1433 void debug_dma_alloc_coherent(struct device *dev, size_t size, in debug_dma_alloc_coherent()
1467 void debug_dma_free_coherent(struct device *dev, size_t size, in debug_dma_free_coherent()
1494 void debug_dma_map_resource(struct device *dev, phys_addr_t addr, size_t size, in debug_dma_map_resource()
1520 size_t size, int direction) in debug_dma_unmap_resource()
1538 size_t size, int direction) in debug_dma_sync_single_for_cpu()
1557 dma_addr_t dma_handle, size_t size, in debug_dma_sync_single_for_device()
/kernel/events/
Dring_buffer.c139 unsigned long data_size, unsigned int size, in ring_buffer_has_space()
150 struct perf_event *event, unsigned int size, in __perf_output_begin()
266 struct perf_event *event, unsigned int size) in perf_output_begin_forward()
272 struct perf_event *event, unsigned int size) in perf_output_begin_backward()
278 struct perf_event *event, unsigned int size) in perf_output_begin()
475 void perf_aux_output_end(struct perf_output_handle *handle, unsigned long size) in perf_aux_output_end()
533 int perf_aux_output_skip(struct perf_output_handle *handle, unsigned long size) in perf_aux_output_skip()
760 unsigned long size; in rb_alloc() local
869 unsigned long size; in rb_alloc() local
/kernel/debug/kdb/
Dkdb_support.c326 int kdb_getarea_size(void *res, unsigned long addr, size_t size) in kdb_getarea_size()
351 int kdb_putarea_size(unsigned long addr, void *res, size_t size) in kdb_putarea_size()
377 static int kdb_getphys(void *res, unsigned long addr, size_t size) in kdb_getphys()
403 int kdb_getphysword(unsigned long *word, unsigned long addr, size_t size) in kdb_getphysword()
453 int kdb_getword(unsigned long *word, unsigned long addr, size_t size) in kdb_getword()
502 int kdb_putword(unsigned long addr, unsigned long word, size_t size) in kdb_putword()
694 u32 size; member
745 void *debug_kmalloc(size_t size, gfp_t flags) in debug_kmalloc()
/kernel/bpf/
Dtnum.c150 struct tnum tnum_cast(struct tnum a, u8 size) in tnum_cast()
157 bool tnum_is_aligned(struct tnum a, u64 size) in tnum_is_aligned()
172 int tnum_strn(char *str, size_t size, struct tnum a) in tnum_strn()
178 int tnum_sbin(char *str, size_t size, struct tnum a) in tnum_sbin()
Dlocal_storage.c177 u32 size; in bpf_percpu_cgroup_storage_copy() local
207 u32 size; in bpf_percpu_cgroup_storage_update() local
339 u32 offset, size; in cgroup_storage_check_btf() local
462 size_t size; in bpf_cgroup_storage_calculate_size() local
483 size_t size; in bpf_cgroup_storage_alloc() local
Dverifier.c1898 int off, int size, int value_regno, int insn_idx) in check_stack_write()
2026 int off, int size, int value_regno) in check_stack_read()
2117 int off, int size) in check_stack_access()
2141 int off, int size, enum bpf_access_type type) in check_map_access_type()
2164 int size, bool zero_size_allowed) in __check_map_access()
2180 int off, int size, bool zero_size_allowed) in check_map_access()
2291 int off, int size, bool zero_size_allowed) in __check_packet_access()
2306 int size, bool zero_size_allowed) in check_packet_access()
2345 static int check_ctx_access(struct bpf_verifier_env *env, int insn_idx, int off, int size, in check_ctx_access()
2375 int size) in check_flow_keys_access()
[all …]
Dqueue_stack_maps.c20 u32 size; /* max_entries + 1 */ member
72 u64 size, queue_size, cost; in queue_stack_map_alloc() local
/kernel/trace/
Dbpf_trace.c141 BPF_CALL_3(bpf_probe_read, void *, dst, u32, size, const void *, unsafe_ptr) in BPF_CALL_3() argument
167 u32, size) in BPF_CALL_3() argument
393 struct bpf_perf_event_value *, buf, u32, size) in BPF_CALL_4() argument
460 u64, flags, void *, data, u64, size) in BPF_CALL_5() argument
586 BPF_CALL_3(bpf_probe_read_str, void *, dst, u32, size, in BPF_CALL_3() argument
763 static bool kprobe_prog_is_valid_access(int off, int size, enum bpf_access_type type, in kprobe_prog_is_valid_access()
792 u64, flags, void *, data, u64, size) in BPF_CALL_5() argument
838 BPF_CALL_4(bpf_get_stack_tp, void *, tp_buff, void *, buf, u32, size, in BPF_CALL_4() argument
872 static bool tp_prog_is_valid_access(int off, int size, enum bpf_access_type type, in tp_prog_is_valid_access()
896 struct bpf_perf_event_value *, buf, u32, size) in BPF_CALL_3() argument
[all …]
Dtrace_kprobe.c440 unsigned long offset, size; in __within_notrace_func() local
1111 probe_mem_read(void *dest, void *src, size_t size) in probe_mem_read()
1117 probe_mem_read_user(void *dest, void *src, size_t size) in probe_mem_read_user()
1180 int size, dsize, pc; in NOKPROBE_SYMBOL() local
1228 int size, pc, dsize; in __kretprobe_trace_func() local
1377 int size, __size, dsize; in kprobe_perf_func() local
1427 int size, __size, dsize; in kretprobe_perf_func() local
/kernel/livepatch/
Dshadow.c105 size_t size, gfp_t gfp_flags, in __klp_shadow_get_or_alloc()
197 size_t size, gfp_t gfp_flags, in klp_shadow_alloc()
226 size_t size, gfp_t gfp_flags, in klp_shadow_get_or_alloc()
/kernel/printk/
Dprintk.c568 u32 size; in msg_used_size() local
610 u32 size, pad_len; in log_store() local
714 static ssize_t msg_print_ext_header(char *buf, size_t size, in msg_print_ext_header()
735 static ssize_t msg_print_ext_body(char *buf, size_t size, in msg_print_ext_body()
1087 static void __init log_buf_len_update(u64 size) in log_buf_len_update()
1103 u64 size; in log_buf_len_setup() local
1310 bool time, char *buf, size_t size) in msg_print_text()
1350 static int syslog_print(char __user *buf, int size) in syslog_print()
1419 static int syslog_print_all(char __user *buf, int size, bool clear) in syslog_print_all()
2081 static ssize_t msg_print_ext_header(char *buf, size_t size, in msg_print_ext_header()
[all …]
/kernel/irq/
Ddebugfs.c19 const struct irq_bit_descr *sd, int size) in irq_debug_show_bits()
185 size_t size; in irq_debug_write() local

1234