Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 55) sorted by relevance

123

/kernel/locking/
Dlockdep_internals.h212 #define __debug_atomic_inc(ptr) \ argument
215 #define debug_atomic_inc(ptr) { \ argument
220 #define debug_atomic_dec(ptr) { \ argument
225 #define debug_atomic_read(ptr) ({ \ argument
256 # define __debug_atomic_inc(ptr) do { } while (0) argument
257 # define debug_atomic_inc(ptr) do { } while (0) argument
258 # define debug_atomic_dec(ptr) do { } while (0) argument
259 # define debug_atomic_read(ptr) 0 argument
260 # define debug_class_ops_inc(ptr) do { } while (0) argument
Dqspinlock_stat.h120 static inline void __pv_wait(u8 *ptr, u8 val) in __pv_wait()
Dlock_events.c101 unsigned long *ptr = per_cpu_ptr(lockevents, cpu); in lockevent_write() local
/kernel/debug/
Dgdbstub.c290 int kgdb_hex2long(char **ptr, unsigned long *long_val) in kgdb_hex2long()
343 char *ptr = (char *)gdb_regs; in pt_regs_to_gdb_regs() local
355 char *ptr = (char *)gdb_regs; in gdb_regs_to_pt_regs() local
367 char *ptr = &remcom_in_buffer[1]; in write_mem_msg() local
557 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_memread() local
599 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_reg_get() local
614 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_reg_set() local
700 char *ptr; in gdb_cmd_query() local
812 char *ptr; in gdb_cmd_task() local
848 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_thread() local
[all …]
/kernel/kcsan/
Dcore.c231 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()
455 static noinline void kcsan_found_watchpoint(const volatile void *ptr, 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()
907 kcsan_begin_scoped_access(const volatile void *ptr, size_t size, int type, in kcsan_begin_scoped_access()
956 void __kcsan_check_access(const volatile void *ptr, size_t size, int type) in __kcsan_check_access()
[all …]
Dreport.c30 const volatile void *ptr; member
637 static struct access_info prepare_access_info(const volatile void *ptr, size_t size, in prepare_access_info()
651 void kcsan_report_set_info(const volatile void *ptr, size_t size, int access_type, in kcsan_report_set_info()
666 void kcsan_report_known_origin(const volatile void *ptr, size_t size, int access_type, in kcsan_report_known_origin()
700 void kcsan_report_unknown_origin(const volatile void *ptr, size_t size, int access_type, in kcsan_report_unknown_origin()
Dpermissive.h22 static __always_inline bool kcsan_ignore_address(const volatile void *ptr) in kcsan_ignore_address()
/kernel/
Dextable.c143 void *dereference_function_descriptor(void *ptr) in dereference_function_descriptor()
154 void *dereference_kernel_function_descriptor(void *ptr) in dereference_kernel_function_descriptor()
163 int func_ptr_is_kernel_text(void *ptr) in func_ptr_is_kernel_text()
Dkexec_core.c602 #define for_each_kimage_entry(image, ptr, entry) \ argument
617 kimage_entry_t *ptr, entry; in kimage_free() local
664 kimage_entry_t *ptr, entry; in kimage_dst_used() local
799 char *ptr; in kimage_load_normal_segment() local
867 char *ptr; in kimage_load_crash_segment() local
Diomem.c142 void **ptr, *addr; in devm_memremap() local
Drseq.c126 u64 ptr; in rseq_get_rseq_cs() local
Dhung_task.c81 hung_task_panic(struct notifier_block *this, unsigned long event, void *ptr) in hung_task_panic()
Dcrash_core.c350 void crash_update_vmcoreinfo_safecopy(void *ptr) in crash_update_vmcoreinfo_safecopy()
/kernel/bpf/
Dmap_in_map.c118 void bpf_map_fd_put_ptr(void *ptr) in bpf_map_fd_put_ptr()
126 u32 bpf_map_fd_sys_lookup_elem(void *ptr) in bpf_map_fd_sys_lookup_elem()
Dhelpers.c702 BPF_CALL_2(bpf_per_cpu_ptr, const void *, ptr, u32, cpu) in BPF_CALL_2() argument
1396 BPF_CALL_2(bpf_kptr_xchg, void *, map_value, void *, ptr) in BPF_CALL_2() argument
1425 static bool bpf_dynptr_is_rdonly(struct bpf_dynptr_kern *ptr) in bpf_dynptr_is_rdonly()
1430 static void bpf_dynptr_set_type(struct bpf_dynptr_kern *ptr, enum bpf_dynptr_type type) in bpf_dynptr_set_type()
1435 u32 bpf_dynptr_get_size(struct bpf_dynptr_kern *ptr) in bpf_dynptr_get_size()
1445 void bpf_dynptr_init(struct bpf_dynptr_kern *ptr, void *data, in bpf_dynptr_init()
1454 void bpf_dynptr_set_null(struct bpf_dynptr_kern *ptr) in bpf_dynptr_set_null()
1459 static int bpf_dynptr_check_off_len(struct bpf_dynptr_kern *ptr, u32 offset, u32 len) in bpf_dynptr_check_off_len()
1469 BPF_CALL_4(bpf_dynptr_from_mem, void *, data, u32, size, u64, flags, struct bpf_dynptr_kern *, ptr) in BPF_CALL_4() argument
1560 BPF_CALL_3(bpf_dynptr_data, struct bpf_dynptr_kern *, ptr, u32, offset, u32, len) in BPF_CALL_3() argument
Darraymap.c34 void __percpu *ptr; in bpf_array_alloc_percpu() local
809 void **elem, *ptr; in bpf_fd_array_map_lookup_elem() local
901 static void prog_fd_array_put_ptr(void *ptr) in prog_fd_array_put_ptr()
906 static u32 prog_fd_array_sys_lookup_elem(void *ptr) in prog_fd_array_sys_lookup_elem()
924 void **elem, *ptr; in prog_array_map_seq_show_elem() local
1188 static void perf_event_fd_array_put_ptr(void *ptr) in perf_event_fd_array_put_ptr()
1242 static void cgroup_fd_array_put_ptr(void *ptr) in cgroup_fd_array_put_ptr()
Dmemalloc.c573 static void notrace unit_free(struct bpf_mem_cache *c, void *ptr) in unit_free()
621 void notrace bpf_mem_free(struct bpf_mem_alloc *ma, void *ptr) in bpf_mem_free()
643 void notrace bpf_mem_cache_free(struct bpf_mem_alloc *ma, void *ptr) in bpf_mem_cache_free()
Dqueue_stack_maps.c103 void *ptr; in __queue_map_get() local
137 void *ptr; in __stack_map_get() local
Dringbuf.c565 BPF_CALL_4(bpf_ringbuf_reserve_dynptr, struct bpf_map *, map, u32, size, u64, flags, in BPF_CALL_4() argument
605 BPF_CALL_2(bpf_ringbuf_submit_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument
624 BPF_CALL_2(bpf_ringbuf_discard_dynptr, struct bpf_dynptr_kern *, ptr, u64, flags) in BPF_CALL_2() argument
/kernel/sched/
Dcore_sched.c25 struct sched_core_cookie *ptr = (void *)cookie; in sched_core_put_cookie() local
35 struct sched_core_cookie *ptr = (void *)cookie; in sched_core_get_cookie() local
Dclock.c300 u64 *ptr, old_val, val; in sched_clock_remote() local
/kernel/trace/rv/
Drv_reactors.c196 char *ptr; in monitor_reactors_write() local
331 struct rv_reactor_def *ptr, *next; in rv_unregister_reactor() local
Drv.c519 char *ptr = buff; in enabled_monitors_write() local
744 struct rv_monitor_def *ptr, *next; in rv_unregister_monitor() local
/kernel/trace/
Dtrace_stack.c327 unsigned long *ptr = filp->private_data; in stack_max_size_read() local
341 long *ptr = filp->private_data; in stack_max_size_write() local
/kernel/rcu/
Dtiny.c252 void *ptr = (void *) head - (unsigned long) func; in kvfree_call_rcu() local

123