Searched refs:clone (Results 1 - 25 of 124) sorted by relevance

12345

/linux-master/drivers/md/
H A Ddm-clone-target.c33 #include "dm-clone-metadata.h"
35 #define DM_MSG_PREFIX "clone"
60 /* dm-clone metadata modes */
69 struct clone { struct
141 * dm-clone flags
152 static enum clone_metadata_mode get_clone_mode(struct clone *clone) argument
154 return READ_ONCE(clone->mode);
157 static const char *clone_device_name(struct clone *clone) argument
162 __set_clone_mode(struct clone *clone, enum clone_metadata_mode new_mode) argument
196 __abort_transaction(struct clone *clone) argument
210 __reload_in_core_bitset(struct clone *clone) argument
225 __metadata_operation_failed(struct clone *clone, const char *op, int r) argument
244 wakeup_hydration_waiters(struct clone *clone) argument
249 wake_worker(struct clone *clone) argument
259 remap_to_source(struct clone *clone, struct bio *bio) argument
264 remap_to_dest(struct clone *clone, struct bio *bio) argument
269 bio_triggers_commit(struct clone *clone, struct bio *bio) argument
276 region_to_sector(struct clone *clone, unsigned long region_nr) argument
282 bio_to_region(struct clone *clone, struct bio *bio) argument
288 bio_region_range(struct clone *clone, struct bio *bio, unsigned long *rs, unsigned long *nr_regions) argument
303 is_overwrite_bio(struct clone *clone, struct bio *bio) argument
339 issue_bio(struct clone *clone, struct bio *bio) argument
372 remap_and_issue(struct clone *clone, struct bio *bio) argument
385 issue_deferred_bios(struct clone *clone, struct bio_list *bios) argument
410 complete_overwrite_bio(struct clone *clone, struct bio *bio) argument
455 complete_discard_bio(struct clone *clone, struct bio *bio, bool success) argument
474 process_discard_bio(struct clone *clone, struct bio *bio) argument
530 struct clone *clone; member in struct:dm_clone_region_hydration
576 hash_table_init(struct clone *clone) argument
597 hash_table_exit(struct clone *clone) argument
602 get_hash_table_bucket(struct clone *clone, unsigned long region_nr) argument
662 alloc_hydration(struct clone *clone) argument
704 struct clone *clone = hd->clone; local
737 struct clone *clone = hd->clone; local
766 struct clone *clone = hd->clone; local
798 struct clone *clone = hd->clone; local
874 hydrate_bio_region(struct clone *clone, struct bio *bio) argument
981 struct clone *clone = hd->clone; local
1016 __start_next_hydration(struct clone *clone, unsigned long offset, struct batch_info *batch) argument
1061 do_hydration(struct clone *clone) argument
1120 need_commit_due_to_time(struct clone *clone) argument
1129 commit_metadata(struct clone *clone, bool *dest_dev_flushed) argument
1175 process_deferred_discards(struct clone *clone) argument
1213 process_deferred_bios(struct clone *clone) argument
1228 process_deferred_flush_bios(struct clone *clone) argument
1280 struct clone *clone = container_of(work, typeof(*clone), worker); local
1307 struct clone *clone = container_of(to_delayed_work(work), struct clone, waker); local
1320 struct clone *clone = ti->private; local
1379 struct clone *clone = ti->private; local
1386 emit_flags(struct clone *clone, char *result, unsigned int maxlen, ssize_t *sz_ptr) argument
1406 emit_core_args(struct clone *clone, char *result, unsigned int maxlen, ssize_t *sz_ptr) argument
1436 struct clone *clone = ti->private; local
1541 parse_feature_args(struct dm_arg_set *as, struct clone *clone) argument
1579 parse_core_args(struct dm_arg_set *as, struct clone *clone) argument
1635 parse_region_size(struct clone *clone, struct dm_arg_set *as, char **error) argument
1681 parse_metadata_dev(struct clone *clone, struct dm_arg_set *as, char **error) argument
1701 parse_dest_dev(struct clone *clone, struct dm_arg_set *as, char **error) argument
1723 parse_source_dev(struct clone *clone, struct dm_arg_set *as, char **error) argument
1745 copy_ctr_args(struct clone *clone, int argc, const char **argv, char **error) argument
1778 struct clone *clone; local
1951 struct clone *clone = ti->private; local
1976 struct clone *clone = ti->private; local
2014 struct clone *clone = ti->private; local
2024 disable_passdown_if_not_supported(struct clone *clone) argument
2045 set_discard_limits(struct clone *clone, struct queue_limits *limits) argument
2072 struct clone *clone = ti->private; local
2093 struct clone *clone = ti->private; local
2106 set_hydration_threshold(struct clone *clone, unsigned int nr_regions) argument
2118 set_hydration_batch_size(struct clone *clone, unsigned int nr_regions) argument
2123 enable_hydration(struct clone *clone) argument
2129 disable_hydration(struct clone *clone) argument
2137 struct clone *clone = ti->private; local
[all...]
H A Ddm-rq.c21 struct request *orig, *clone; member in struct:dm_rq_target_io
78 static void end_clone_bio(struct bio *clone) argument
81 container_of(clone, struct dm_rq_clone_bio_info, clone);
84 blk_status_t error = clone->bi_status;
85 bool is_last = !clone->bi_next;
87 bio_put(clone);
92 * Once error occurred, just let clone->end_io() handle
115 * the original request before the clone, and break the ordering.
153 * Complete the clone an
157 dm_end_request(struct request *clone, blk_status_t error) argument
204 dm_done(struct request *clone, blk_status_t error, bool mapped) argument
255 struct request *clone = tio->clone; local
297 end_clone_request(struct request *clone, blk_status_t error) argument
320 setup_clone(struct request *clone, struct request *rq, struct dm_rq_target_io *tio, gfp_t gfp_mask) argument
368 struct request *clone = NULL; local
[all...]
H A Ddm-zone.c368 unsigned int zno, struct bio *clone)
385 switch (bio_op(clone)) {
392 if ((clone->bi_iter.bi_sector & (zsectors - 1)) != zwp_offset)
401 clone->bi_opf = REQ_OP_WRITE | REQ_NOMERGE |
402 (clone->bi_opf & (~REQ_OP_MASK));
403 clone->bi_iter.bi_sector += zwp_offset;
420 * data written to a zone. Note that at this point, the remapped clone BIO
429 /* The clone BIO may already have been completed and failed */
464 struct bio *clone)
466 if (WARN_ON_ONCE(bio_flagged(clone, BIO_ZONE_WRITE_LOCKE
367 dm_zone_map_bio_begin(struct mapped_device *md, unsigned int zno, struct bio *clone) argument
463 dm_zone_lock(struct gendisk *disk, unsigned int zno, struct bio *clone) argument
473 dm_zone_unlock(struct gendisk *disk, unsigned int zno, struct bio *clone) argument
517 struct bio *clone = &tio->clone; local
585 dm_zone_endio(struct dm_io *io, struct bio *clone) argument
[all...]
H A Ddm-flakey.c392 static void clone_free(struct bio *clone) argument
396 if (clone->bi_vcnt > 0) { /* bio_for_each_folio_all crashes with an empty bio */
397 bio_for_each_folio_all(fi, clone)
401 bio_uninit(clone);
402 kfree(clone);
405 static void clone_endio(struct bio *clone) argument
407 struct bio *bio = clone->bi_private;
408 bio->bi_status = clone->bi_status;
409 clone_free(clone);
415 struct bio *clone; local
535 struct bio *clone = clone_bio(ti, fc, bio); local
[all...]
H A Ddm-rq.h31 struct bio clone; member in struct:dm_rq_clone_bio_info
H A Ddm.c92 static inline struct dm_target_io *clone_to_tio(struct bio *clone) argument
94 return container_of(clone, struct dm_target_io, clone);
118 return container_of(bio, struct dm_target_io, clone)->target_bio_nr;
542 static void dm_start_io_acct(struct dm_io *io, struct bio *clone) argument
551 if (!clone || likely(dm_tio_is_normal(clone_to_tio(clone)))) {
577 struct bio *clone; local
579 clone = bio_alloc_clone(NULL, bio, gfp_mask, &md->mempools->io_bs);
580 if (unlikely(!clone))
619 struct bio *clone; local
660 free_tio(struct bio *clone) argument
1364 dm_submit_bio_remap(struct bio *clone, struct bio *tgt_clone) argument
1401 __map_bio(struct bio *clone) argument
1521 struct bio *clone; local
1716 struct bio *clone; local
[all...]
/linux-master/arch/um/kernel/skas/
H A DMakefile6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o
8 # clone.o is in the stub, so it can't be built with profiling
13 UNPROFILE_OBJS := clone.o
/linux-master/net/core/
H A Dtimestamping.c25 struct sk_buff *clone; local
37 clone = skb_clone_sk(skb);
38 if (!clone)
40 mii_ts->txtstamp(mii_ts, clone, type);
/linux-master/tools/power/pm-graph/
H A Dinstall_latest_from_github.sh22 git clone http://github.com/intel/pm-graph.git $OUT/pm-graph
24 echo "ERROR: pm-graph github repo failed to clone"
/linux-master/tools/memory-model/scripts/
H A Dinitlitmushist.sh49 git clone https://github.com/paulmckrcu/litmus
/linux-master/include/linux/dsa/
H A Docelot.h14 struct sk_buff *clone; member in struct:ocelot_skb_cb
262 struct sk_buff *clone = OCELOT_SKB_CB(skb)->clone; local
266 if (ptp_cmd == IFH_REW_OP_TWO_STEP_PTP && clone) {
268 rew_op |= OCELOT_SKB_CB(clone)->ts_id << 3;
H A Dksz_common.h38 struct sk_buff *clone; member in struct:ksz_skb_cb
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/dma/
H A Dusernv04.c35 bool clone; member in struct:nv04_dmaobj
51 if (dmaobj->clone) {
99 dmaobj->clone = true;
/linux-master/fs/f2fs/
H A Dacl.c297 struct posix_acl *clone = NULL; local
302 clone = kmemdup(acl, size, flags);
303 if (clone)
304 refcount_set(&clone->a_refcount, 1);
306 return clone;
368 struct posix_acl *clone; local
385 clone = f2fs_acl_clone(p, GFP_NOFS);
386 if (!clone) {
391 ret = f2fs_acl_create_masq(clone, mode);
396 posix_acl_release(clone);
[all...]
/linux-master/tools/testing/selftests/proc/
H A Dthread-self.c59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1);
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.h46 struct sk_buff *clone, unsigned int type);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sync.h57 int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone);
/linux-master/drivers/gpu/drm/ci/
H A Dbuild-igt.sh6 git clone https://gitlab.freedesktop.org/drm/igt-gpu-tools.git --single-branch --no-checkout
/linux-master/fs/
H A Dposix_acl.c220 struct posix_acl *clone = NULL; local
225 clone = kmemdup(acl, size, flags);
226 if (clone)
227 refcount_set(&clone->a_refcount, 1);
229 return clone;
558 struct posix_acl *clone = posix_acl_clone(*acl, gfp); local
560 if (clone) {
561 err = posix_acl_create_masq(clone, mode_p);
563 posix_acl_release(clone);
564 clone
576 struct posix_acl *clone = posix_acl_clone(*acl, gfp); local
638 struct posix_acl *clone; local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Ddynptr_fail.c1455 struct bpf_dynptr clone; local
1459 bpf_ringbuf_reserve_dynptr(&ringbuf, 64, 0, &clone);
1462 bpf_dynptr_clone(&ptr1, &clone);
1464 bpf_ringbuf_submit_dynptr(&clone, 0);
1474 struct bpf_dynptr clone; local
1480 bpf_dynptr_clone(&ptr, &clone);
1485 bpf_dynptr_read(read_data, sizeof(read_data), &clone, 0, 0);
1496 struct bpf_dynptr clone; local
1501 bpf_dynptr_clone(&ptr, &clone);
1503 bpf_ringbuf_submit_dynptr(&clone,
1543 struct bpf_dynptr clone; local
1569 struct bpf_dynptr clone; local
1623 struct bpf_dynptr clone; local
1649 struct bpf_dynptr clone; local
[all...]
/linux-master/net/rds/
H A Dtcp_recv.c162 struct sk_buff *clone; local
219 clone = pskb_extract(skb, offset, to_copy, arg->gfp);
220 if (!clone) {
225 skb_queue_tail(&tinc->ti_skb_list, clone);
228 "clone %p data %p len %d\n",
230 clone, clone->data, clone->len);
/linux-master/net/ipv4/
H A Dinet_fragment.c514 struct sk_buff *clone; local
517 clone = alloc_skb(0, GFP_ATOMIC);
518 if (!clone)
520 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list;
524 clone->data_len = head->data_len - plen;
525 clone->len = clone->data_len;
526 head->truesize += clone->truesize;
527 clone->csum = 0;
528 clone
[all...]
/linux-master/tools/perf/tests/
H A Dpmu.c136 struct parse_events_term *clone; local
138 parse_events_term__clone(&clone, &test_terms[i]);
139 list_add_tail(&clone->list, &terms->terms);
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.h119 struct sk_buff *clone, unsigned int type);
148 struct sk_buff *clone,
147 mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *clone, unsigned int type) argument
/linux-master/arch/um/drivers/
H A Dubd_user.c50 pid = clone(io_thread, (void *) sp, CLONE_FILES | CLONE_VM, NULL);
53 printk("start_io_thread - clone failed : errno = %d\n", errno);

Completed in 233 milliseconds

12345