Searched refs:clone (Results 76 - 100 of 122) sorted by relevance

12345

/linux-master/include/net/9p/
H A Dclient.h193 const unsigned char * const *wnames, int clone);
/linux-master/net/netfilter/
H A Dnft_counter.c296 .clone = nft_counter_clone,
H A Dnft_quota.c260 .clone = nft_quota_clone,
H A Dnft_connlimit.c257 .clone = nft_connlimit_clone,
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dns_current_pid_tgid.c190 cpid = clone(fn, child_stack + STACK_SIZE,
193 if (!ASSERT_NEQ(cpid, -1, "clone"))
/linux-master/tools/testing/selftests/pidfd/
H A Dpidfd_fdinfo_test.c111 ret.pid = clone(fn, ret.stack + CHILD_STACK_SIZE, flags, args, &ret.fd);
115 error_set(err, PIDFD_ERROR, "clone failed (ret %d, errno %d)",
H A Dpidfd_test.c41 return clone(fn, stack + stack_size, flags | SIGCHLD, NULL, pidfd);
/linux-master/tools/testing/selftests/memfd/
H A Dfuse_test.c211 pid = clone(sealing_thread_fn,
216 printf("clone() failed: %m\n");
/linux-master/fs/overlayfs/
H A Dcopy_up.c51 struct posix_acl *clone, *real_acl = NULL; local
64 clone = posix_acl_clone(real_acl, GFP_KERNEL);
66 if (!clone)
69 err = ovl_do_set_acl(ofs, dentry, acl_name, clone);
72 posix_acl_release(clone);
268 /* Try to use clone_file_range to clone up within the same fs */
273 /* Couldn't clone, so now we try to copy the data */
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix.c1471 struct sk_buff *clone = OCELOT_SKB_CB(skb)->clone; local
1475 if (!clone)
1481 if (skb != clone)
1491 "Could not find skb clone in TX timestamping list\n");
1764 struct sk_buff *clone = NULL; local
1769 if (ocelot_port_txtstamp_request(ocelot, port, skb, &clone)) {
1776 if (clone)
1777 OCELOT_SKB_CB(skb)->clone = clone;
[all...]
/linux-master/fs/gfs2/
H A Dbmap.c285 static void clone_metapath(struct metapath *clone, struct metapath *mp) argument
289 *clone = *mp;
291 get_bh(clone->mp_bh[hgt]);
587 struct metapath clone; local
591 clone_metapath(&clone, mp);
592 ret = gfs2_walk_metadata(inode, &clone, len, gfs2_hole_walker);
597 hole_size = metapath_to_block(GFS2_SB(inode), &clone) - lblock;
604 release_metapath(&clone);
H A Drgrp.c88 * @do_clone: Also set the clone bitmap, if it exists
135 * @use_clone: If true, test the clone bitmap, not the official bitmap.
137 * Some callers like gfs2_unaligned_extlen need to test the clone bitmaps,
1323 const u8 *clone = bi->bi_clone ? bi->bi_clone : bi->bi_bh->b_data; local
1324 clone += bi->bi_offset;
1325 clone += x;
1328 diff = ~(*orig | (*orig >> 1)) & (*clone | (*clone >> 1));
1330 diff = ~(*clone | (*clone >>
[all...]
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_drv.h113 void (*clone)(struct lsdc_crtc *lcrtc); member in struct:lsdc_crtc_hw_ops
/linux-master/tools/testing/selftests/user_events/
H A Dabi_test.c410 ASSERT_NE(-1, clone(&clone_check, stack + stack_size,
/linux-master/drivers/gpu/drm/i915/gt/
H A Dgen8_ppgtt.c837 struct i915_address_space *clone = vm->gt->vm; local
839 GEM_BUG_ON(!clone->has_read_only);
841 vm->scratch_order = clone->scratch_order;
843 vm->scratch[i] = i915_gem_object_get(clone->scratch[i]);
/linux-master/net/ipv4/
H A Draw.c189 struct sk_buff *clone = skb_clone(skb, GFP_ATOMIC); local
192 if (clone)
193 raw_rcv(sk, clone);
H A Dinet_connection_sock.c1109 /* Even if we can clone the req, we may need not retransmit any more
1155 icsk->icsk_ulp_ops->clone(req, newsk, priority);
1159 * inet_csk_clone_lock - clone an inet socket, and lock its clone
1160 * @sk: the socket to clone
1255 if (icsk->icsk_ulp_ops && !icsk->icsk_ulp_ops->clone)
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_net.c568 struct sk_buff *clone = NULL; local
570 if (ocelot_port_txtstamp_request(ocelot, port, skb, &clone)) {
575 if (clone)
576 OCELOT_SKB_CB(skb)->clone = clone;
/linux-master/fs/btrfs/
H A Dextent_io.c2772 struct extent_buffer *clone = path->nodes[0]; local
2786 ASSERT(test_bit(EXTENT_BUFFER_UNMAPPED, &clone->bflags));
2787 atomic_inc(&clone->refs);
2813 clone->start = path->nodes[0]->start;
2814 /* See the comment at fiemap_search_slot() about why we clone. */
2815 copy_extent_buffer_full(clone, path->nodes[0]);
2819 path->nodes[0] = clone;
2823 free_extent_buffer(clone);
2838 struct extent_buffer *clone; local
2868 * We clone th
[all...]
/linux-master/net/ipv6/
H A Draw.c200 struct sk_buff *clone = skb_clone(skb, GFP_ATOMIC); local
203 if (clone)
204 rawv6_rcv(sk, clone);
/linux-master/arch/um/os-Linux/skas/
H A Dprocess.c194 * The userspace trampoline is used to setup a new userspace process in start_userspace() after it was clone()'ed.
290 /* clone into new userspace process */
291 pid = clone(userspace_tramp, (void *) sp, flags, (void *) stub_stack);
294 printk(UM_KERN_ERR "%s : clone failed, errno = %d\n",
469 /* Set parent's instruction pointer to start of clone-stub */
/linux-master/tools/testing/selftests/x86/
H A Dlam.c764 pid = clone(thread_fn_get_lam, stack + STACK_SIZE,
792 pid = clone(thread_fn_set_lam, stack + STACK_SIZE,
/linux-master/fs/nfsd/
H A Dnfs4proc.c1268 struct nfsd4_clone *clone = &u->clone; local
1272 status = nfsd4_verify_copy(rqstp, cstate, &clone->cl_src_stateid, &src,
1273 &clone->cl_dst_stateid, &dst);
1277 status = nfsd4_clone_file_range(rqstp, src, clone->cl_src_pos,
1278 dst, clone->cl_dst_pos, clone->cl_count,
/linux-master/kernel/
H A Dfork.c490 * orig->shared.rb may be modified concurrently, but the clone
2131 * parts of the process environment (as per the clone
2491 * Now that the cgroups are pinned, re-clone the parent cgroup and put
2548 /* Let kill terminate clone/fork in the middle */
2766 * For legacy clone() calls, CLONE_PIDFD uses the parent_tid argument
2772 * to check for legacy clone().
2908 SYSCALL_DEFINE5(clone, unsigned long, clone_flags, unsigned long, newsp,
2913 SYSCALL_DEFINE5(clone, unsigned long, newsp, unsigned long, clone_flags,
2918 SYSCALL_DEFINE6(clone, unsigned long, clone_flags, unsigned long, newsp,
2924 SYSCALL_DEFINE5(clone, unsigne
[all...]
/linux-master/tools/testing/selftests/cgroup/
H A Dtest_core.c201 /* Test that we can directly clone into a new cgroup. */
806 pid = clone(lesser_ns_open_thread_fn, stack + sizeof(stack),

Completed in 395 milliseconds

12345