Searched refs:copy (Results 1 – 9 of 9) sorted by relevance
/kernel/bpf/ |
D | memalloc.c | 463 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(©->work, free_mem_alloc_deferred); in destroy_mem_alloc() 486 queue_work(system_unbound_wq, ©->work); in destroy_mem_alloc()
|
/kernel/gcov/ |
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/sched/ |
D | sched.h | 528 # 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/ |
D | audit.c | 809 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()
|
D | sys.c | 1284 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()
|
D | fork.c | 3395 struct files_struct *old, *copy = NULL; in unshare_files() local 3398 error = unshare_fd(CLONE_FILES, NR_OPEN_MAX, ©); in unshare_files() 3399 if (error || !copy) in unshare_files() 3404 task->files = copy; in unshare_files()
|
/kernel/trace/ |
D | trace_events_user.c | 1436 struct iov_iter copy; in user_events_write_core() local 1451 copy = *i; in user_events_write_core() 1454 probe_func(user, ©, tpdata, &faulted); in user_events_write_core()
|
D | bpf_trace.c | 722 .copy = ctx_copy, in bpf_event_output() 911 struct path copy; in BPF_CALL_3() local 923 len = copy_from_kernel_nofault(©, path, sizeof(*path)); in BPF_CALL_3() 927 p = d_path(©, buf, sz); in BPF_CALL_3()
|
/kernel/events/ |
D | core.c | 7158 if (frag->copy) { in perf_output_sample() 7159 __output_custom(handle, frag->copy, in perf_output_sample()
|