Home
last modified time | relevance | path

Searched refs:orig (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dseccomp.c560 struct seccomp_filter *orig = tsk->seccomp.filter; in get_seccomp_filter() local
561 if (!orig) in get_seccomp_filter()
563 __get_seccomp_filter(orig); in get_seccomp_filter()
574 static void __put_seccomp_filter(struct seccomp_filter *orig) in __put_seccomp_filter() argument
577 while (orig && refcount_dec_and_test(&orig->usage)) { in __put_seccomp_filter()
578 struct seccomp_filter *freeme = orig; in __put_seccomp_filter()
579 orig = orig->prev; in __put_seccomp_filter()
1456 struct seccomp_filter *orig, *filter; in get_nth_filter() local
1470 orig = task->seccomp.filter; in get_nth_filter()
1471 __get_seccomp_filter(orig); in get_nth_filter()
[all …]
Dfork.c356 struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) in vm_area_dup() argument
361 *new = *orig; in vm_area_dup()
863 static struct task_struct *dup_task_struct(struct task_struct *orig, int node) in dup_task_struct() argument
871 node = tsk_fork_get_node(orig); in dup_task_struct()
885 err = arch_dup_task_struct(tsk, orig); in dup_task_struct()
917 setup_thread_stack(tsk, orig); in dup_task_struct()
925 if (orig->cpus_ptr == &orig->cpus_mask) in dup_task_struct()
/kernel/trace/
Dtrace_uprobe.c422 static bool trace_uprobe_has_same_uprobe(struct trace_uprobe *orig, in trace_uprobe_has_same_uprobe() argument
425 struct trace_probe_event *tpe = orig->tp.event; in trace_uprobe_has_same_uprobe()
431 orig = container_of(pos, struct trace_uprobe, tp); in trace_uprobe_has_same_uprobe()
432 if (comp_inode != d_real_inode(orig->path.dentry) || in trace_uprobe_has_same_uprobe()
433 comp->offset != orig->offset) in trace_uprobe_has_same_uprobe()
440 for (i = 0; i < orig->tp.nr_args; i++) { in trace_uprobe_has_same_uprobe()
441 if (strcmp(orig->tp.args[i].comm, in trace_uprobe_has_same_uprobe()
446 if (i == orig->tp.nr_args) in trace_uprobe_has_same_uprobe()
Dtrace_kprobe.c557 static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, in trace_kprobe_has_same_kprobe() argument
560 struct trace_probe_event *tpe = orig->tp.event; in trace_kprobe_has_same_kprobe()
565 orig = container_of(pos, struct trace_kprobe, tp); in trace_kprobe_has_same_kprobe()
566 if (strcmp(trace_kprobe_symbol(orig), in trace_kprobe_has_same_kprobe()
568 trace_kprobe_offset(orig) != trace_kprobe_offset(comp)) in trace_kprobe_has_same_kprobe()
575 for (i = 0; i < orig->tp.nr_args; i++) { in trace_kprobe_has_same_kprobe()
576 if (strcmp(orig->tp.args[i].comm, in trace_kprobe_has_same_kprobe()
581 if (i == orig->tp.nr_args) in trace_kprobe_has_same_kprobe()
/kernel/events/
Dcore.c9337 char *start, *orig, *filename = NULL; in perf_event_parse_addr_filter() local
9343 orig = fstr = kstrdup(fstr, GFP_KERNEL); in perf_event_parse_addr_filter()
9477 kfree(orig); in perf_event_parse_addr_filter()
9485 kfree(orig); in perf_event_parse_addr_filter()