Home
last modified time | relevance | path

Searched refs:mirror (Results 1 – 23 of 23) sorted by relevance

/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c196 struct nfs4_ff_layout_mirror *mirror, in ff_layout_mirror_valid() argument
199 if (mirror == NULL || IS_ERR(mirror->mirror_ds)) in ff_layout_mirror_valid()
201 if (mirror->mirror_ds == NULL) { in ff_layout_mirror_valid()
208 &mirror->devid, lh->plh_lc_cred, in ff_layout_mirror_valid()
214 if (cmpxchg(&mirror->mirror_ds, NULL, mirror_ds) && in ff_layout_mirror_valid()
221 if (IS_ERR(mirror->mirror_ds)) in ff_layout_mirror_valid()
224 if (mirror->mirror_ds->ds == NULL) { in ff_layout_mirror_valid()
226 devid = &mirror->mirror_ds->id_node; in ff_layout_mirror_valid()
301 struct nfs4_ff_layout_mirror *mirror, u64 offset, in ff_layout_track_ds_error() argument
310 if (IS_ERR_OR_NULL(mirror->mirror_ds)) in ff_layout_track_ds_error()
[all …]
Dflexfilelayout.c40 struct nfs4_ff_layout_mirror *mirror);
178 struct nfs4_ff_layout_mirror *mirror) in ff_layout_add_mirror() argument
186 if (memcmp(&mirror->devid, &pos->devid, sizeof(pos->devid)) != 0) in ff_layout_add_mirror()
188 if (!ff_mirror_match_fh(mirror, pos)) in ff_layout_add_mirror()
195 list_add(&mirror->mirrors, &ff_layout->mirrors); in ff_layout_add_mirror()
196 mirror->layout = lo; in ff_layout_add_mirror()
198 return mirror; in ff_layout_add_mirror()
202 ff_layout_remove_mirror(struct nfs4_ff_layout_mirror *mirror) in ff_layout_remove_mirror() argument
205 if (mirror->layout == NULL) in ff_layout_remove_mirror()
207 inode = mirror->layout->plh_inode; in ff_layout_remove_mirror()
[all …]
Dflexfilelayout.h154 struct nfs4_ff_layout_mirror *mirror = FF_LAYOUT_COMP(lseg, idx); in FF_LAYOUT_DEVID_NODE() local
156 if (mirror != NULL) { in FF_LAYOUT_DEVID_NODE()
157 struct nfs4_ff_layout_ds *mirror_ds = mirror->mirror_ds; in FF_LAYOUT_DEVID_NODE()
213 struct nfs4_ff_layout_mirror *mirror, u64 offset,
/linux-4.19.296/fs/nfs/
Dpagelist.c45 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in nfs_pgheader_init() local
48 hdr->req = nfs_list_entry(mirror->pg_list.next); in nfs_pgheader_init()
52 hdr->good_bytes = mirror->pg_count; in nfs_pgheader_init()
493 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in nfs_generic_pg_test() local
496 if (mirror->pg_count > mirror->pg_bsize) { in nfs_generic_pg_test()
506 if (((mirror->pg_count + req->wb_bytes) >> PAGE_SHIFT) * in nfs_generic_pg_test()
510 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
680 static void nfs_pageio_mirror_init(struct nfs_pgio_mirror *mirror, in nfs_pageio_mirror_init() argument
683 INIT_LIST_HEAD(&mirror->pg_list); in nfs_pageio_mirror_init()
684 mirror->pg_bytes_written = 0; in nfs_pageio_mirror_init()
[all …]
Ddirect.c129 struct nfs_direct_mirror *mirror = &dreq->mirrors[hdr->pgio_mirror_idx]; in nfs_direct_handle_truncated() local
144 if (mirror->count > dreq_len) in nfs_direct_handle_truncated()
145 mirror->count = dreq_len; in nfs_direct_handle_truncated()
152 struct nfs_direct_mirror *mirror = &dreq->mirrors[hdr->pgio_mirror_idx]; in nfs_direct_count_bytes() local
164 if (mirror->count < dreq_len) in nfs_direct_count_bytes()
165 mirror->count = dreq_len; in nfs_direct_count_bytes()
Dread.c78 struct nfs_pgio_mirror *mirror; in nfs_pageio_reset_read_mds() local
88 mirror = &pgio->pg_mirrors[0]; in nfs_pageio_reset_read_mds()
89 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
Dpnfs.c2632 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in pnfs_write_through_mds() local
2635 list_splice_tail_init(&hdr->pages, &mirror->pg_list); in pnfs_write_through_mds()
2637 mirror->pg_recoalesce = 1; in pnfs_write_through_mds()
2680 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in pnfs_do_write() local
2681 list_splice_init(&hdr->pages, &mirror->pg_list); in pnfs_do_write()
2682 mirror->pg_recoalesce = 1; in pnfs_do_write()
2755 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in pnfs_read_through_mds() local
2758 list_splice_tail_init(&hdr->pages, &mirror->pg_list); in pnfs_read_through_mds()
2760 mirror->pg_recoalesce = 1; in pnfs_read_through_mds()
2822 struct nfs_pgio_mirror *mirror = nfs_pgio_current_mirror(desc); in pnfs_do_read() local
[all …]
Dwrite.c1449 struct nfs_pgio_mirror *mirror; in nfs_pageio_reset_write_mds() local
1458 mirror = &pgio->pg_mirrors[0]; in nfs_pageio_reset_write_mds()
1459 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds()
/linux-4.19.296/include/linux/
Dhmm.h298 void (*release)(struct hmm_mirror *mirror);
316 void (*sync_cpu_device_pagetables)(struct hmm_mirror *mirror,
339 int hmm_mirror_register(struct hmm_mirror *mirror, struct mm_struct *mm);
340 void hmm_mirror_unregister(struct hmm_mirror *mirror);
/linux-4.19.296/fs/btrfs/
Ddisk-io.h31 static inline u64 btrfs_sb_offset(int mirror) in btrfs_sb_offset() argument
34 if (mirror) in btrfs_sb_offset()
35 return start << (BTRFS_SUPER_MIRROR_SHIFT * mirror); in btrfs_sb_offset()
Dcompression.c125 unsigned int mirror = btrfs_io_bio(bio)->mirror_num; in end_compressed_bio_read() local
142 btrfs_io_bio(cb->orig_bio)->mirror_num = mirror; in end_compressed_bio_read()
143 cb->mirror_num = mirror; in end_compressed_bio_read()
Dextent_io.h103 int mirror);
Dextent_io.c2565 int mirror; in end_bio_extent_readpage() local
2602 mirror = io_bio->mirror_num; in end_bio_extent_readpage()
2606 mirror); in end_bio_extent_readpage()
2620 ret = tree->ops->readpage_io_failed_hook(page, mirror); in end_bio_extent_readpage()
2637 start, end, mirror); in end_bio_extent_readpage()
Dscrub.c1232 int nstripes, int mirror, in scrub_stripe_index_and_offset() argument
1254 *stripe_index = mirror; in scrub_stripe_index_and_offset()
Ddisk-io.c582 u64 start, u64 end, int mirror) in btree_readpage_end_io_hook() argument
606 eb->read_mirror = mirror; in btree_readpage_end_io_hook()
Dinode.c3302 u64 start, u64 end, int mirror) in btrfs_readpage_end_io_hook() argument
/linux-4.19.296/include/net/
Ddsa.h166 struct dsa_mall_mirror_tc_entry mirror; member
499 struct dsa_mall_mirror_tc_entry *mirror,
502 struct dsa_mall_mirror_tc_entry *mirror);
/linux-4.19.296/include/uapi/linux/
Domapfb.h142 __u8 mirror; member
/linux-4.19.296/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.h430 enum drx_mirror mirror; /*< current channel mirror */ member
Ddrxj.c4776 rf_mirror = (ext_attr->mirror == DRX_MIRROR_YES) ? true : false; in set_frequency()
8923 if (channel->mirror == DRX_MIRROR_AUTO) { in qam64auto()
8936 ext_attr->mirror = DRX_MIRROR_YES; in qam64auto()
9050 if ((channel->mirror == DRX_MIRROR_AUTO) && in qam256auto()
9053 ext_attr->mirror = DRX_MIRROR_YES; in qam256auto()
9114 if (channel->mirror == DRX_MIRROR_AUTO) in set_qam_channel()
9115 ext_attr->mirror = DRX_MIRROR_NO; in set_qam_channel()
9117 ext_attr->mirror = channel->mirror; in set_qam_channel()
9145 if (channel->mirror == DRX_MIRROR_AUTO) in set_qam_channel()
9146 ext_attr->mirror = DRX_MIRROR_NO; in set_qam_channel()
[all …]
Ddrx_driver.h997 enum drx_mirror mirror; /*< mirrored or not on RF */ member
/linux-4.19.296/block/partitions/
Daix.c41 __be16 mirror; member
/linux-4.19.296/include/video/
Domapfb_dss.h333 bool mirror; member
463 bool mirror; member