Home
last modified time | relevance | path

Searched refs:fp (Results 1 – 6 of 6) sorted by relevance

/kernel/trace/
Dfprobe.c28 struct fprobe *fp; in fprobe_handler() local
32 fp = container_of(ops, struct fprobe, ops); in fprobe_handler()
33 if (fprobe_disabled(fp)) in fprobe_handler()
38 fp->nmissed++; in fprobe_handler()
42 if (fp->exit_handler) { in fprobe_handler()
43 rh = rethook_try_get(fp->rethook); in fprobe_handler()
45 fp->nmissed++; in fprobe_handler()
50 if (fp->entry_data_size) in fprobe_handler()
54 if (fp->entry_handler) in fprobe_handler()
55 fp->entry_handler(fp, ip, ftrace_get_regs(fregs), entry_data); in fprobe_handler()
[all …]
Dfgraph.c100 current->ret_stack[index].fp = frame_pointer; in ftrace_push_return_trace()
188 if (unlikely(current->ret_stack[index].fp != frame_pointer)) { in ftrace_pop_return_trace()
192 current->ret_stack[index].fp, in ftrace_pop_return_trace()
Dbpf_trace.c2470 struct fprobe fp; member
2540 unregister_fprobe(&kmulti_link->fp); in bpf_kprobe_multi_link_release()
2646 kprobe_multi_link_handler(struct fprobe *fp, unsigned long fentry_ip, in kprobe_multi_link_handler() argument
2651 link = container_of(fp, struct bpf_kprobe_multi_link, fp); in kprobe_multi_link_handler()
2792 link->fp.exit_handler = kprobe_multi_link_handler; in bpf_kprobe_multi_link_attach()
2794 link->fp.entry_handler = kprobe_multi_link_handler; in bpf_kprobe_multi_link_attach()
2813 err = register_fprobe_ips(&link->fp, addrs, cnt); in bpf_kprobe_multi_link_attach()
/kernel/time/
Dposix-clock.c20 static struct posix_clock *get_posix_clock(struct file *fp) in get_posix_clock() argument
22 struct posix_clock *clk = fp->private_data; in get_posix_clock()
39 static ssize_t posix_clock_read(struct file *fp, char __user *buf, in posix_clock_read() argument
42 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_read()
49 err = clk->ops.read(clk, fp->f_flags, buf, count); in posix_clock_read()
56 static __poll_t posix_clock_poll(struct file *fp, poll_table *wait) in posix_clock_poll() argument
58 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_poll()
65 result = clk->ops.poll(clk, fp, wait); in posix_clock_poll()
72 static long posix_clock_ioctl(struct file *fp, in posix_clock_ioctl() argument
75 struct posix_clock *clk = get_posix_clock(fp); in posix_clock_ioctl()
[all …]
/kernel/bpf/
Dcore.c89 struct bpf_prog *fp; in bpf_prog_alloc_no_stats() local
92 fp = __vmalloc(size, gfp_flags); in bpf_prog_alloc_no_stats()
93 if (fp == NULL) in bpf_prog_alloc_no_stats()
98 vfree(fp); in bpf_prog_alloc_no_stats()
101 fp->active = alloc_percpu_gfp(int, GFP_KERNEL_ACCOUNT | gfp_extra_flags); in bpf_prog_alloc_no_stats()
102 if (!fp->active) { in bpf_prog_alloc_no_stats()
103 vfree(fp); in bpf_prog_alloc_no_stats()
108 fp->pages = size / PAGE_SIZE; in bpf_prog_alloc_no_stats()
109 fp->aux = aux; in bpf_prog_alloc_no_stats()
110 fp->aux->prog = fp; in bpf_prog_alloc_no_stats()
[all …]
/kernel/
Dkprobes.c1990 unsigned long kretprobe_find_ret_addr(struct task_struct *tsk, void *fp, in kretprobe_find_ret_addr() argument
2004 } while (ri->fp != fp); in kretprobe_find_ret_addr()
2046 if (WARN_ON_ONCE(ri->fp != frame_pointer)) in __kretprobe_trampoline_handler()