Searched refs:clone (Results 51 - 75 of 124) sorted by relevance

12345

/linux-master/drivers/scsi/cxlflash/
H A Dvlun.c42 * marshal_clone_to_rele() - translate clone to release structure
43 * @clone: Source structure from which to translate/copy.
46 static void marshal_clone_to_rele(struct dk_cxlflash_clone *clone, argument
49 release->hdr = clone->hdr;
50 release->context_id = clone->context_id_dst;
121 /* Allocate clone map */
125 pr_err("%s: Failed to allocate clone map: lun_id=%016llx\n",
303 * @to_clone: Block to clone.
317 pr_debug("%s: Received a request to clone AUN %llx on lun_id=%016llx\n",
1111 /* allocate new LXTs for clone */
1190 cxlflash_disk_clone(struct scsi_device *sdev, struct dk_cxlflash_clone *clone) argument
[all...]
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.c452 struct sk_buff *clone = SJA1105_SKB_CB(skb)->clone; local
465 SJA1105_SKB_CB(clone)->ts_id = ts_id;
469 skb_queue_tail(&ptp_data->skb_txtstamp_queue, clone);
472 /* Called from dsa_skb_tx_timestamp. This callback is just to clone
479 struct sk_buff *clone; local
484 clone = skb_clone_sk(skb);
485 if (!clone)
488 SJA1105_SKB_CB(skb)->clone = clone;
[all...]
/linux-master/net/ipv4/
H A Dtcp_cong.c370 char *saved_clone, *clone, *name; local
373 saved_clone = clone = kstrdup(val, GFP_USER);
374 if (!clone)
379 while ((name = strsep(&clone, " ")) && *name) {
H A Dtcp_ulp.c143 if (!ulp_ops->clone && sk->sk_state == TCP_LISTEN)
/linux-master/include/linux/
H A Ddevice-mapper.h66 struct request **clone);
67 typedef void (*dm_release_clone_request_fn) (struct request *clone,
81 struct request *clone, blk_status_t error,
505 void dm_submit_bio_remap(struct bio *clone, struct bio *tgt_clone);
/linux-master/drivers/md/
H A Ddm-mpath.c517 struct request *clone; local
540 clone = blk_mq_alloc_request(q, rq->cmd_flags | REQ_NOMERGE,
542 if (IS_ERR(clone)) {
559 clone->bio = clone->biotail = NULL;
560 clone->cmd_flags |= REQ_FAILFAST_TRANSPORT;
561 *__clone = clone;
570 static void multipath_release_clone(struct request *clone, argument
585 clone->io_start_time_ns);
588 blk_mq_free_request(clone);
1642 multipath_end_io(struct dm_target *ti, struct request *clone, blk_status_t error, union map_info *map_context) argument
1691 multipath_end_io_bio(struct dm_target *ti, struct bio *clone, blk_status_t *error) argument
[all...]
H A Ddm-target.c201 struct request **clone)
206 static void io_err_release_clone_rq(struct request *clone, argument
199 io_err_clone_and_map_rq(struct dm_target *ti, struct request *rq, union map_info *map_context, struct request **clone) argument
/linux-master/net/ieee802154/
H A Dsocket.c371 struct sk_buff *clone; local
373 clone = skb_clone(skb, GFP_ATOMIC);
374 if (clone)
375 raw_rcv_skb(sk, clone);
812 struct sk_buff *clone; local
814 clone = skb_clone(skb, GFP_ATOMIC);
815 if (clone)
816 dgram_rcv_skb(prev, clone);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sync.c343 * amdgpu_sync_clone - clone a sync object
345 * @source: sync object to clone
346 * @clone: pointer to destination sync object
348 * Adds references to all unsignaled fences in @source to @clone. Also
351 int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone) argument
361 r = amdgpu_sync_fence(clone, f);
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c473 struct sk_buff *clone; local
484 clone = skb_clone_sk(skb);
485 if (!clone)
490 kfree_skb(clone);
494 ps->tx_skb = clone;
/linux-master/net/openvswitch/
H A Dactions.c42 /* Store pkt_key clone when creating deferred action. */
80 /* Make a clone of the 'key', using the pre-allocated percpu 'flow_keys'
1059 /* When 'last' is true, clone() should always consume the 'skb'.
1060 * Otherwise, clone() should keep 'skb' intact regardless what
1061 * actions are executed within clone().
1063 static int clone(struct datapath *dp, struct sk_buff *skb, function
1317 struct sk_buff *clone; local
1319 /* Every output action needs a separate clone
1330 clone = skb_clone(skb, GFP_ATOMIC);
1331 if (clone)
1523 struct sw_flow_key *clone; local
[all...]
/linux-master/net/dsa/
H A Dtag_ksz.c241 struct sk_buff *clone = KSZ_SKB_CB(skb)->clone; local
245 if (!clone)
H A Dtag_sja1105.c296 struct sk_buff *clone = SJA1105_SKB_CB(skb)->clone; local
336 if (clone) {
337 u8 ts_id = SJA1105_SKB_CB(clone)->ts_id;
/linux-master/include/uapi/scsi/
H A Dcxlflash_ioctl.h129 __u64 context_id_src; /* Context to clone from */
130 __u64 context_id_dst; /* Context to clone to */
178 struct dk_cxlflash_clone clone; member in union:cxlflash_ioctls
/linux-master/net/netfilter/
H A Dnft_last.c126 .clone = nft_last_clone,
H A Dnft_set_pipapo.h156 * @clone: Copy where pending insertions and deletions are kept
163 struct nft_pipapo_match *clone; member in struct:nft_pipapo
H A Dnft_limit.c243 .clone = nft_limit_pkts_clone,
298 .clone = nft_limit_bytes_clone,
/linux-master/net/phonet/
H A Dsocket.c114 struct sk_buff *clone; local
121 clone = skb_clone(skb, GFP_ATOMIC);
122 if (clone) {
124 sk_receive_skb(sknode, clone, 0);
/linux-master/tools/testing/selftests/powerpc/dexcr/
H A Dhashchk_test.c204 pid = clone(hashchk_clone_child_fn, child_stack + STACK_SIZE,
/linux-master/net/tls/
H A Dtls_strp.c140 /* Make a clone (in the skb sense) of the input msg to keep a reference
161 struct sk_buff *iter, *clone; local
177 clone = skb_clone(iter, strp->sk->sk_allocation);
178 if (!clone)
180 __skb_queue_tail(dst, clone);
/linux-master/tools/testing/selftests/sched/
H A Dcs_prctl_test.c145 tid = clone(child_func_thread, child_stack + STACK_SIZE, THREAD_CLONE_FLAGS, NULL);
147 handle_error("clone thread");
186 cpid = clone(child_func_process, child_func_process_stack + STACK_SIZE,
/linux-master/net/core/
H A Dskbuff.c1138 /* When we clone an SKB we copy the reycling bit. The pp_recycle
1165 /* We usually free the clone (TX completion) before original skb
1166 * This test would have no chance to be true for the clone,
1267 /* if SKB is a clone, don't handle this case */
1506 /* if SKB is a clone, don't handle this case */
2032 * @skb: buffer to clone
2846 struct sk_buff *clone = NULL; local
2863 clone = skb_clone(list, GFP_ATOMIC);
2864 if (!clone)
2867 list = clone;
5367 struct sk_buff *clone; local
6621 struct sk_buff *clone = NULL; local
6763 struct sk_buff *clone = skb_clone(skb, gfp); local
[all...]
/linux-master/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c197 * CRTC0 clone from CRTC1 or CRTC1 clone from CRTC0 using hardware logic
199 * bandwidth compared with the clone (mirroring) display mode provided by
285 .clone = lsdc_crtc0_clone,
297 .clone = lsdc_crtc1_clone,
365 .clone = lsdc_crtc0_clone,
379 .clone = lsdc_crtc1_clone,
619 seq_puts(m, "clone: clone the another crtc with hardware logic\n");
657 else if (sysfs_streq(buf, "clone"))
[all...]
/linux-master/fs/overlayfs/
H A Dinode.c344 * Apply the idmapping of the layer to POSIX ACLs. The caller must pass a clone
399 struct posix_acl *real_acl, *clone; local
418 * filesystem. Instead we can clone the ACLs and then apply the
421 clone = posix_acl_clone(real_acl, GFP_KERNEL);
423 if (!clone)
426 ovl_idmap_posix_acl(realinode, idmap, clone);
427 return clone;
437 * can clone the ACLs and then apply the relevant idmapping of the layer.
462 * so we can clone the ACLs.
/linux-master/kernel/bpf/
H A Dcore.c1420 * when promoting the clone to the real program,
1431 /* aux was stolen by the other clone, so we cannot free
1436 * clone is guaranteed to not be locked.
1447 * know whether fp here is the clone or the original.
1456 struct bpf_prog *clone, *tmp; local
1464 clone = bpf_prog_clone_create(prog, GFP_USER);
1465 if (!clone)
1468 insn_cnt = clone->len;
1469 insn = clone->insnsi;
1491 clone
[all...]

Completed in 272 milliseconds

12345