Searched refs:copy (Results 1 – 9 of 9) sorted by relevance
| /kernel/gcov/ |
| A D | fs.c | 417 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/bpf/ |
| A D | memalloc.c | 719 struct bpf_mem_alloc *copy; in destroy_mem_alloc() local 729 copy = kmemdup(ma, sizeof(*ma), GFP_KERNEL); in destroy_mem_alloc() 730 if (!copy) { in destroy_mem_alloc() 738 INIT_WORK(©->work, free_mem_alloc_deferred); in destroy_mem_alloc() 739 queue_work(system_unbound_wq, ©->work); in destroy_mem_alloc()
|
| /kernel/ |
| A D | audit.c | 808 struct sk_buff *copy; in kauditd_send_multicast_skb() local 828 copy = skb_copy(skb, GFP_KERNEL); in kauditd_send_multicast_skb() 829 if (!copy) in kauditd_send_multicast_skb() 831 nlh = nlmsg_hdr(copy); in kauditd_send_multicast_skb() 834 nlmsg_multicast(sock, copy, 0, AUDIT_NLGRP_READLOG, GFP_KERNEL); in kauditd_send_multicast_skb()
|
| A D | sys.c | 1334 size_t copy; in override_release() local 1344 copy = clamp_t(size_t, len, 1, sizeof(buf)); in override_release() 1345 copy = scnprintf(buf, copy, "2.6.%u%s", v, rest); in override_release() 1346 ret = copy_to_user(release, buf, copy + 1); in override_release()
|
| A D | fork.c | 3210 struct files_struct *old, *copy = NULL; in unshare_files() local 3213 error = unshare_fd(CLONE_FILES, ©); in unshare_files() 3214 if (error || !copy) in unshare_files() 3219 task->files = copy; in unshare_files()
|
| /kernel/sched/ |
| A D | sched.h | 612 # define u64_u32_load_copy(var, copy) var argument 613 # define u64_u32_store_copy(var, copy, val) (var = val) argument 615 # define u64_u32_load_copy(var, copy) \ argument 619 __val_copy = copy; \ 629 # define u64_u32_store_copy(var, copy, val) \ argument 638 copy = __val; \
|
| /kernel/trace/ |
| A D | trace_events_user.c | 2286 struct iov_iter copy; in user_events_write_core() local 2301 copy = *i; in user_events_write_core() 2304 probe_func(user, ©, tpdata, &faulted); in user_events_write_core()
|
| A D | bpf_trace.c | 718 .copy = ctx_copy, in bpf_event_output() 905 struct path copy; in BPF_CALL_3() local 917 len = copy_from_kernel_nofault(©, path, sizeof(*path)); in BPF_CALL_3() 921 p = d_path(©, buf, sz); in BPF_CALL_3()
|
| /kernel/events/ |
| A D | core.c | 7921 if (frag->copy) { in perf_output_sample() 7922 __output_custom(handle, frag->copy, in perf_output_sample()
|
Completed in 904 milliseconds