Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 9 of 9) sorted by relevance

/kernel/bpf/
Dmemalloc.c463 struct bpf_mem_alloc *copy; in destroy_mem_alloc() local
473 copy = kmalloc(sizeof(*ma), GFP_KERNEL); in destroy_mem_alloc()
474 if (!copy) { in destroy_mem_alloc()
481 copy->cache = ma->cache; in destroy_mem_alloc()
483 copy->caches = ma->caches; in destroy_mem_alloc()
485 INIT_WORK(&copy->work, free_mem_alloc_deferred); in destroy_mem_alloc()
486 queue_work(system_unbound_wq, &copy->work); in destroy_mem_alloc()
/kernel/gcov/
Dfs.c417 char *copy; in link_target() local
419 copy = kstrdup(path, GFP_KERNEL); in link_target()
420 if (!copy) in link_target()
422 old_ext = strrchr(copy, '.'); in link_target()
426 target = kasprintf(GFP_KERNEL, "%s/%s.%s", dir, copy, ext); in link_target()
428 target = kasprintf(GFP_KERNEL, "%s.%s", copy, ext); in link_target()
429 kfree(copy); in link_target()
/kernel/sched/
Dsched.h528 # define u64_u32_load_copy(var, copy) var argument
529 # define u64_u32_store_copy(var, copy, val) (var = val) argument
531 # define u64_u32_load_copy(var, copy) \ argument
535 __val_copy = copy; \
545 # define u64_u32_store_copy(var, copy, val) \ argument
554 copy = __val; \
/kernel/
Daudit.c809 struct sk_buff *copy; in kauditd_send_multicast_skb() local
829 copy = skb_copy(skb, GFP_KERNEL); in kauditd_send_multicast_skb()
830 if (!copy) in kauditd_send_multicast_skb()
832 nlh = nlmsg_hdr(copy); in kauditd_send_multicast_skb()
835 nlmsg_multicast(sock, copy, 0, AUDIT_NLGRP_READLOG, GFP_KERNEL); in kauditd_send_multicast_skb()
Dsys.c1284 size_t copy; in override_release() local
1294 copy = clamp_t(size_t, len, 1, sizeof(buf)); in override_release()
1295 copy = scnprintf(buf, copy, "2.6.%u%s", v, rest); in override_release()
1296 ret = copy_to_user(release, buf, copy + 1); in override_release()
Dfork.c3395 struct files_struct *old, *copy = NULL; in unshare_files() local
3398 error = unshare_fd(CLONE_FILES, NR_OPEN_MAX, &copy); in unshare_files()
3399 if (error || !copy) in unshare_files()
3404 task->files = copy; in unshare_files()
/kernel/trace/
Dtrace_events_user.c1436 struct iov_iter copy; in user_events_write_core() local
1451 copy = *i; in user_events_write_core()
1454 probe_func(user, &copy, tpdata, &faulted); in user_events_write_core()
Dbpf_trace.c722 .copy = ctx_copy, in bpf_event_output()
911 struct path copy; in BPF_CALL_3() local
923 len = copy_from_kernel_nofault(&copy, path, sizeof(*path)); in BPF_CALL_3()
927 p = d_path(&copy, buf, sz); in BPF_CALL_3()
/kernel/events/
Dcore.c7158 if (frag->copy) { in perf_output_sample()
7159 __output_custom(handle, frag->copy, in perf_output_sample()