/Linux-v4.19/drivers/md/ |
D | dm-rq.c | 115 static void end_clone_bio(struct bio *clone) in end_clone_bio() argument 118 container_of(clone, struct dm_rq_clone_bio_info, clone); in end_clone_bio() 121 blk_status_t error = clone->bi_status; in end_clone_bio() 122 bool is_last = !clone->bi_next; in end_clone_bio() 124 bio_put(clone); in end_clone_bio() 214 static void dm_end_request(struct request *clone, blk_status_t error) in dm_end_request() argument 216 int rw = rq_data_dir(clone); in dm_end_request() 217 struct dm_rq_target_io *tio = clone->end_io_data; in dm_end_request() 221 blk_rq_unprep_clone(clone); in dm_end_request() 222 tio->ti->type->release_clone_rq(clone); in dm_end_request() [all …]
|
D | dm.c | 84 struct bio clone; member 107 struct dm_target_io *tio = container_of(bio, struct dm_target_io, clone); in dm_per_bio_data() 109 return (char *)bio - offsetof(struct dm_target_io, clone) - data_size; in dm_per_bio_data() 110 …return (char *)bio - offsetof(struct dm_target_io, clone) - offsetof(struct dm_io, tio) - data_siz… in dm_per_bio_data() 118 …rn (struct bio *)((char *)io + offsetof(struct dm_io, tio) + offsetof(struct dm_target_io, clone)); in dm_bio_from_per_bio_data() 120 return (struct bio *)((char *)io + offsetof(struct dm_target_io, clone)); in dm_bio_from_per_bio_data() 126 return container_of(bio, struct dm_target_io, clone)->target_bio_nr; in dm_bio_get_target_bio_nr() 538 struct bio *clone; in alloc_io() local 540 clone = bio_alloc_bioset(GFP_NOIO, 0, &md->io_bs); in alloc_io() 541 if (!clone) in alloc_io() [all …]
|
D | dm-crypt.c | 1377 static void crypt_free_buffer_pages(struct crypt_config *cc, struct bio *clone); 1399 struct bio *clone; in crypt_alloc_buffer() local 1409 clone = bio_alloc_bioset(GFP_NOIO, nr_iovecs, &cc->bs); in crypt_alloc_buffer() 1410 if (!clone) in crypt_alloc_buffer() 1413 clone_init(io, clone); in crypt_alloc_buffer() 1420 crypt_free_buffer_pages(cc, clone); in crypt_alloc_buffer() 1421 bio_put(clone); in crypt_alloc_buffer() 1428 bio_add_page(clone, page, len, 0); in crypt_alloc_buffer() 1434 if (dm_crypt_integrity_io_alloc(io, clone)) { in crypt_alloc_buffer() 1435 crypt_free_buffer_pages(cc, clone); in crypt_alloc_buffer() [all …]
|
D | dm-rq.h | 25 struct request *orig, *clone; member 46 struct bio clone; member
|
D | dm-zoned-target.c | 109 struct bio *clone; in dmz_submit_read_bio() local 124 clone = bio_clone_fast(bio, GFP_NOIO, &dmz->bio_set); in dmz_submit_read_bio() 125 if (!clone) in dmz_submit_read_bio() 129 clone->bi_iter.bi_sector = sector; in dmz_submit_read_bio() 130 clone->bi_iter.bi_size = dmz_blk2sect(nr_blocks) << SECTOR_SHIFT; in dmz_submit_read_bio() 131 clone->bi_end_io = dmz_read_bio_end_io; in dmz_submit_read_bio() 132 clone->bi_private = bioctx; in dmz_submit_read_bio() 134 bio_advance(bio, clone->bi_iter.bi_size); in dmz_submit_read_bio() 138 generic_make_request(clone); in dmz_submit_read_bio()
|
D | dm-era-target.c | 1000 struct dm_block *clone; in metadata_take_snap() local 1026 &sb_validator, &clone, &inc); in metadata_take_snap() 1037 dm_tm_unlock(md->tm, clone); in metadata_take_snap() 1045 dm_tm_unlock(md->tm, clone); in metadata_take_snap() 1049 md->metadata_snap = dm_block_location(clone); in metadata_take_snap() 1051 dm_tm_unlock(md->tm, clone); in metadata_take_snap() 1060 struct dm_block *clone; in metadata_drop_snap() local 1068 r = dm_tm_read_lock(md->tm, md->metadata_snap, &sb_validator, &clone); in metadata_drop_snap() 1080 disk = dm_block_data(clone); in metadata_drop_snap() 1085 dm_tm_unlock(md->tm, clone); in metadata_drop_snap() [all …]
|
D | dm-target.c | 134 struct request **clone) in io_err_clone_and_map_rq() argument 139 static void io_err_release_clone_rq(struct request *clone) in io_err_release_clone_rq() argument
|
/Linux-v4.19/fs/ |
D | posix_acl.c | 193 struct posix_acl *clone = NULL; in posix_acl_clone() local 198 clone = kmemdup(acl, size, flags); in posix_acl_clone() 199 if (clone) in posix_acl_clone() 200 refcount_set(&clone->a_refcount, 1); in posix_acl_clone() 202 return clone; in posix_acl_clone() 520 struct posix_acl *clone = posix_acl_clone(*acl, gfp); in __posix_acl_create() local 522 if (clone) { in __posix_acl_create() 523 err = posix_acl_create_masq(clone, mode_p); in __posix_acl_create() 525 posix_acl_release(clone); in __posix_acl_create() 526 clone = NULL; in __posix_acl_create() [all …]
|
/Linux-v4.19/fs/f2fs/ |
D | acl.c | 266 struct posix_acl *clone = NULL; in f2fs_acl_clone() local 271 clone = kmemdup(acl, size, flags); in f2fs_acl_clone() 272 if (clone) in f2fs_acl_clone() 273 refcount_set(&clone->a_refcount, 1); in f2fs_acl_clone() 275 return clone; in f2fs_acl_clone() 337 struct posix_acl *clone; in f2fs_acl_create() local 354 clone = f2fs_acl_clone(p, GFP_NOFS); in f2fs_acl_create() 355 if (!clone) in f2fs_acl_create() 358 ret = f2fs_acl_create_masq(clone, mode); in f2fs_acl_create() 363 posix_acl_release(clone); in f2fs_acl_create() [all …]
|
/Linux-v4.19/net/core/ |
D | timestamping.c | 38 struct sk_buff *clone; in skb_clone_tx_timestamp() local 50 clone = skb_clone_sk(skb); in skb_clone_tx_timestamp() 51 if (!clone) in skb_clone_tx_timestamp() 53 phydev->drv->txtstamp(phydev, clone, type); in skb_clone_tx_timestamp()
|
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.h | 123 struct sk_buff *clone, unsigned int type); 125 struct sk_buff *clone, unsigned int type); 152 struct sk_buff *clone, in mv88e6xxx_port_rxtstamp() argument 159 struct sk_buff *clone, in mv88e6xxx_port_txtstamp() argument
|
/Linux-v4.19/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 374 struct sk_buff *clone; in nf_ct_frag6_reasm() local 377 clone = alloc_skb(0, GFP_ATOMIC); in nf_ct_frag6_reasm() 378 if (clone == NULL) in nf_ct_frag6_reasm() 381 clone->next = head->next; in nf_ct_frag6_reasm() 382 head->next = clone; in nf_ct_frag6_reasm() 383 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in nf_ct_frag6_reasm() 387 clone->len = clone->data_len = head->data_len - plen; in nf_ct_frag6_reasm() 388 head->data_len -= clone->len; in nf_ct_frag6_reasm() 389 head->len -= clone->len; in nf_ct_frag6_reasm() 390 clone->csum = 0; in nf_ct_frag6_reasm() [all …]
|
/Linux-v4.19/net/rds/ |
D | tcp_recv.c | 161 struct sk_buff *clone; in rds_tcp_data_recv() local 218 clone = pskb_extract(skb, offset, to_copy, arg->gfp); in rds_tcp_data_recv() 219 if (!clone) { in rds_tcp_data_recv() 224 skb_queue_tail(&tinc->ti_skb_list, clone); in rds_tcp_data_recv() 229 clone, clone->data, clone->len); in rds_tcp_data_recv()
|
/Linux-v4.19/net/ieee802154/6lowpan/ |
D | reassembly.c | 222 struct sk_buff *clone; in lowpan_frag_reasm() local 225 clone = alloc_skb(0, GFP_ATOMIC); in lowpan_frag_reasm() 226 if (!clone) in lowpan_frag_reasm() 228 clone->next = head->next; in lowpan_frag_reasm() 229 head->next = clone; in lowpan_frag_reasm() 230 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in lowpan_frag_reasm() 234 clone->len = head->data_len - plen; in lowpan_frag_reasm() 235 clone->data_len = clone->len; in lowpan_frag_reasm() 236 head->data_len -= clone->len; in lowpan_frag_reasm() 237 head->len -= clone->len; in lowpan_frag_reasm() [all …]
|
/Linux-v4.19/net/ipv6/ |
D | reassembly.c | 333 struct sk_buff *clone; in ip6_frag_reasm() local 336 clone = alloc_skb(0, GFP_ATOMIC); in ip6_frag_reasm() 337 if (!clone) in ip6_frag_reasm() 339 clone->next = head->next; in ip6_frag_reasm() 340 head->next = clone; in ip6_frag_reasm() 341 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in ip6_frag_reasm() 345 clone->len = clone->data_len = head->data_len - plen; in ip6_frag_reasm() 346 head->data_len -= clone->len; in ip6_frag_reasm() 347 head->len -= clone->len; in ip6_frag_reasm() 348 clone->csum = 0; in ip6_frag_reasm() [all …]
|
/Linux-v4.19/arch/um/kernel/skas/ |
D | Makefile | 6 obj-y := clone.o mmu.o process.o syscall.o uaccess.o 13 UNPROFILE_OBJS := clone.o
|
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/dma/ |
D | usernv04.c | 35 bool clone; member 51 if (dmaobj->clone) { in nv04_dmaobj_bind() 99 dmaobj->clone = true; in nv04_dmaobj_new()
|
/Linux-v4.19/drivers/net/usb/ |
D | lg-vl600.c | 117 struct sk_buff *clone; in vl600_rx_fixup() local 214 clone = skb_clone(buf, GFP_ATOMIC); in vl600_rx_fixup() 215 if (!clone) in vl600_rx_fixup() 218 skb_trim(clone, packet_len); in vl600_rx_fixup() 219 usbnet_skb_return(dev, clone); in vl600_rx_fixup()
|
/Linux-v4.19/fs/9p/ |
D | fid.c | 121 int i, n, l, clone, access; in v9fs_fid_lookup_with_uid() local 178 clone = 1; in v9fs_fid_lookup_with_uid() 186 fid = p9_client_walk(fid, l, &wnames[i], clone); in v9fs_fid_lookup_with_uid() 201 clone = 0; in v9fs_fid_lookup_with_uid()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sync.c | 334 int amdgpu_sync_clone(struct amdgpu_sync *source, struct amdgpu_sync *clone) in amdgpu_sync_clone() argument 344 r = amdgpu_sync_fence(NULL, clone, f, e->explicit); in amdgpu_sync_clone() 354 dma_fence_put(clone->last_vm_update); in amdgpu_sync_clone() 355 clone->last_vm_update = dma_fence_get(source->last_vm_update); in amdgpu_sync_clone()
|
/Linux-v4.19/Documentation/userspace-api/ |
D | unshare.rst | 38 threads. On Linux, at the time of thread creation using the clone system 58 when creating a new process using fork or clone, unshare() can benefit 96 works on an active task (as opposed to clone/fork working on a newly 98 changes to copy_* functions utilized by clone/fork system call. 108 unshare() reverses sharing that was done using clone(2) system call, 109 so unshare() should have a similar interface as clone(2). That is, 110 since flags in clone(int flags, void \*stack) specifies what should 113 the meaning of the flags from the way they are used in clone(2). 140 using clone(2). 182 clone(2), fork(2) [all …]
|
/Linux-v4.19/net/sched/ |
D | sch_etf.c | 130 struct sk_buff *clone; in report_sock_error() local 136 clone = skb_clone(skb, GFP_ATOMIC); in report_sock_error() 137 if (!clone) in report_sock_error() 140 serr = SKB_EXT_ERR(clone); in report_sock_error() 149 if (sock_queue_err_skb(skb->sk, clone)) in report_sock_error() 150 kfree_skb(clone); in report_sock_error()
|
/Linux-v4.19/net/ipv4/ |
D | ip_fragment.c | 565 struct sk_buff *clone; in ip_frag_reasm() local 568 clone = alloc_skb(0, GFP_ATOMIC); in ip_frag_reasm() 569 if (!clone) in ip_frag_reasm() 571 skb_shinfo(clone)->frag_list = skb_shinfo(head)->frag_list; in ip_frag_reasm() 575 clone->len = clone->data_len = head->data_len - plen; in ip_frag_reasm() 576 head->truesize += clone->truesize; in ip_frag_reasm() 577 clone->csum = 0; in ip_frag_reasm() 578 clone->ip_summed = head->ip_summed; in ip_frag_reasm() 579 add_frag_mem_limit(qp->q.net, clone->truesize); in ip_frag_reasm() 580 skb_shinfo(head)->frag_list = clone; in ip_frag_reasm() [all …]
|
D | tcp_cong.c | 295 char *saved_clone, *clone, *name; in tcp_set_allowed_congestion_control() local 298 saved_clone = clone = kstrdup(val, GFP_USER); in tcp_set_allowed_congestion_control() 299 if (!clone) in tcp_set_allowed_congestion_control() 304 while ((name = strsep(&clone, " ")) && *name) { in tcp_set_allowed_congestion_control()
|
/Linux-v4.19/drivers/staging/fbtft/ |
D | README | 14 git clone https://github.com/notro/fbtft.git 21 git clone https://github.com/notro/fbtft.git
|