Home
last modified time | relevance | path

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

/kernel/
Dseccomp.c526 static void __seccomp_filter_orphan(struct seccomp_filter *orig) in __seccomp_filter_orphan() argument
528 while (orig && refcount_dec_and_test(&orig->users)) { in __seccomp_filter_orphan()
529 if (waitqueue_active(&orig->wqh)) in __seccomp_filter_orphan()
530 wake_up_poll(&orig->wqh, EPOLLHUP); in __seccomp_filter_orphan()
531 orig = orig->prev; in __seccomp_filter_orphan()
535 static void __put_seccomp_filter(struct seccomp_filter *orig) in __put_seccomp_filter() argument
538 while (orig && refcount_dec_and_test(&orig->refs)) { in __put_seccomp_filter()
539 struct seccomp_filter *freeme = orig; in __put_seccomp_filter()
540 orig = orig->prev; in __put_seccomp_filter()
545 static void __seccomp_filter_release(struct seccomp_filter *orig) in __seccomp_filter_release() argument
[all …]
Dfork.c507 struct vm_area_struct *vm_area_dup(struct vm_area_struct *orig) in vm_area_dup() argument
514 ASSERT_EXCLUSIVE_WRITER(orig->vm_flags); in vm_area_dup()
515 ASSERT_EXCLUSIVE_WRITER(orig->vm_file); in vm_area_dup()
520 data_race(memcpy(new, orig, sizeof(*new))); in vm_area_dup()
526 dup_anon_vma_name(orig, new); in vm_area_dup()
1065 static struct task_struct *dup_task_struct(struct task_struct *orig, int node) in dup_task_struct() argument
1071 node = tsk_fork_get_node(orig); in dup_task_struct()
1076 err = arch_dup_task_struct(tsk, orig); in dup_task_struct()
1103 setup_thread_stack(tsk, orig); in dup_task_struct()
1112 if (orig->cpus_ptr == &orig->cpus_mask) in dup_task_struct()
[all …]
/kernel/trace/
Dtrace_uprobe.c412 static bool trace_uprobe_has_same_uprobe(struct trace_uprobe *orig, in trace_uprobe_has_same_uprobe() argument
415 struct trace_probe_event *tpe = orig->tp.event; in trace_uprobe_has_same_uprobe()
419 list_for_each_entry(orig, &tpe->probes, tp.list) { in trace_uprobe_has_same_uprobe()
420 if (comp_inode != d_real_inode(orig->path.dentry) || in trace_uprobe_has_same_uprobe()
421 comp->offset != orig->offset) in trace_uprobe_has_same_uprobe()
428 for (i = 0; i < orig->tp.nr_args; i++) { in trace_uprobe_has_same_uprobe()
429 if (strcmp(orig->tp.args[i].comm, in trace_uprobe_has_same_uprobe()
434 if (i == orig->tp.nr_args) in trace_uprobe_has_same_uprobe()
Dtrace_kprobe.c558 static bool trace_kprobe_has_same_kprobe(struct trace_kprobe *orig, in trace_kprobe_has_same_kprobe() argument
561 struct trace_probe_event *tpe = orig->tp.event; in trace_kprobe_has_same_kprobe()
564 list_for_each_entry(orig, &tpe->probes, tp.list) { in trace_kprobe_has_same_kprobe()
565 if (strcmp(trace_kprobe_symbol(orig), in trace_kprobe_has_same_kprobe()
567 trace_kprobe_offset(orig) != trace_kprobe_offset(comp)) in trace_kprobe_has_same_kprobe()
574 for (i = 0; i < orig->tp.nr_args; i++) { in trace_kprobe_has_same_kprobe()
575 if (strcmp(orig->tp.args[i].comm, in trace_kprobe_has_same_kprobe()
580 if (i == orig->tp.nr_args) in trace_kprobe_has_same_kprobe()
/kernel/events/
Dcore.c10565 char *start, *orig, *filename = NULL; in perf_event_parse_addr_filter() local
10571 orig = fstr = kstrdup(fstr, GFP_KERNEL); in perf_event_parse_addr_filter()
10705 kfree(orig); in perf_event_parse_addr_filter()
10712 kfree(orig); in perf_event_parse_addr_filter()
/kernel/bpf/
Dverifier.c1014 void *orig = dst; in copy_array() local
1023 alloc_bytes = max(ksize(orig), kmalloc_size_roundup(bytes)); in copy_array()
1024 dst = krealloc(orig, alloc_bytes, flags); in copy_array()
1026 kfree(orig); in copy_array()