Home
last modified time | relevance | path

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

1234567

/linux-6.3-rc2/fs/nfs/flexfilelayout/
A Dflexfilelayoutdev.c290 pcred = &mirror->ro_cred; in ff_layout_get_mirror_cred()
292 pcred = &mirror->rw_cred; in ff_layout_get_mirror_cred()
310 return &mirror->fh_versions[0]; in nfs4_ff_layout_select_ds_fh()
325 if (mirror == NULL) in ff_layout_init_mirror_ds()
343 if (IS_ERR(mirror->mirror_ds)) in ff_layout_init_mirror_ds()
382 ds = mirror->mirror_ds->ds; in nfs4_ff_layout_prepare_ds()
427 if (mirror && !mirror->mirror_ds->ds_versions[0].tightly_coupled) { in ff_layout_get_ds_cred()
560 if (mirror) { in ff_read_layout_has_available_ds()
561 if (!mirror->mirror_ds) in ff_read_layout_has_available_ds()
582 if (!mirror || IS_ERR(mirror->mirror_ds)) in ff_rw_layout_has_available_ds()
[all …]
A Dflexfilelayout.c207 mirror->layout = lo; in ff_layout_add_mirror()
209 return mirror; in ff_layout_add_mirror()
222 mirror->layout = NULL; in ff_layout_remove_mirror()
229 mirror = kzalloc(sizeof(*mirror), gfp_flags); in ff_layout_alloc_mirror()
230 if (mirror != NULL) { in ff_layout_alloc_mirror()
235 return mirror; in ff_layout_alloc_mirror()
249 kfree(mirror); in ff_layout_free_mirror()
254 if (mirror != NULL && refcount_dec_and_test(&mirror->ref)) in ff_layout_put_mirror()
666 report = nfs4_ff_layoutstat_start_io(mirror, &mirror->read_stat, now); in nfs4_ff_layout_stat_io_start_read()
697 report = nfs4_ff_layoutstat_start_io(mirror , &mirror->write_stat, now); in nfs4_ff_layout_stat_io_start_write()
[all …]
A 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()
184 nfs4_ff_layout_ds_version(const struct nfs4_ff_layout_mirror *mirror) in nfs4_ff_layout_ds_version() argument
186 return mirror->mirror_ds->ds_versions[0].version; in nfs4_ff_layout_ds_version()
195 struct nfs4_ff_layout_mirror *mirror, u64 offset,
206 nfs4_ff_layout_select_ds_fh(struct nfs4_ff_layout_mirror *mirror);
208 nfs4_ff_layout_select_ds_stateid(const struct nfs4_ff_layout_mirror *mirror,
213 struct nfs4_ff_layout_mirror *mirror,
217 nfs4_ff_find_or_create_ds_client(struct nfs4_ff_layout_mirror *mirror,
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-raid1.c50 struct mirror { struct
91 struct mirror mirror[]; member
152 struct mirror *m;
186 struct mirror *m0 = &(ms->mirror[0]); in set_default_mirror()
193 struct mirror *m; in get_valid_mirror()
195 for (m = ms->mirror; m < ms->mirror + ms->nr_mirrors; m++) in get_valid_mirror()
962 &ms->mirror[mirror].dev); in get_mirror()
968 ms->mirror[mirror].ms = ms; in get_mirror()
969 atomic_set(&(ms->mirror[mirror].error_count), 0); in get_mirror()
970 ms->mirror[mirror].error_type = 0; in get_mirror()
[all …]
A Draid1.c351 int mirror; in find_bio_disk() local
355 for (mirror = 0; mirror < raid_disks * 2; mirror++) in find_bio_disk()
362 return mirror; in find_bio_disk()
742 mirror->seq_start) { in read_balance()
1220 struct raid1_info *mirror; in raid1_read_request() local
1288 mirror->rdev->bdev); in raid1_read_request()
1322 mirror->rdev->data_offset; in raid1_read_request()
1785 int mirror = 0; in raid1_add_disk() local
1809 for (mirror = first; mirror <= last; mirror++) { in raid1_add_disk()
1817 rdev->raid_disk = mirror; in raid1_add_disk()
[all …]
/linux-6.3-rc2/tools/testing/selftests/mm/
A Dhmm-tests.c39 void *mirror; member
207 free(buffer->mirror); in hmm_buffer_free()
306 buffer->mirror = malloc(size); in TEST_F()
338 ptr = buffer->mirror; in TEST_F()
369 buffer->mirror = malloc(size); in TEST_F()
1452 m = buffer->mirror; in TEST_F()
1539 m = buffer->mirror; in TEST_F()
1610 m = buffer->mirror; in TEST_F()
1625 m = buffer->mirror; in TEST_F()
1954 m = buffer->mirror; in TEST_F()
[all …]
/linux-6.3-rc2/fs/nfs/
A Dpagelist.c729 if (mirror->pg_count > mirror->pg_bsize) { in nfs_generic_pg_test()
743 return min(mirror->pg_bsize - mirror->pg_count, (size_t)req->wb_bytes); in nfs_generic_pg_test()
909 mirror->pg_bytes_written = 0; in nfs_pageio_mirror_init()
910 mirror->pg_count = 0; in nfs_pageio_mirror_init()
911 mirror->pg_bsize = bsize; in nfs_pageio_mirror_init()
912 mirror->pg_base = 0; in nfs_pageio_mirror_init()
913 mirror->pg_recoalesce = 0; in nfs_pageio_mirror_init()
1218 mirror->pg_count = 0; in nfs_pageio_do_add_request()
1219 mirror->pg_recoalesce = 0; in nfs_pageio_do_add_request()
1251 mirror->pg_bytes_written += mirror->pg_count; in nfs_pageio_doio()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/mediatek/
A Dmediatek,mt7622-pcie-mirror.yaml4 $id: "http://devicetree.org/schemas/arm/mediatek/mediatek,mt7622-pcie-mirror.yaml#"
14 The mediatek PCIE mirror provides a configuration interface for PCIE
21 - mediatek,mt7622-pcie-mirror
38 pcie_mirror: pcie-mirror@10000400 {
39 compatible = "mediatek,mt7622-pcie-mirror", "syscon";
/linux-6.3-rc2/drivers/media/usb/gspca/gl860/
A Dgl860-ov2640.c183 sd->vcur.mirror = 0; in ov2640_init_settings()
194 sd->vmax.mirror = 1; in ov2640_init_settings()
247 sd->vold.mirror = -1; in ov2640_init_pre_alt()
347 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) == 0); in ov2640_camera_settings() local
438 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in ov2640_camera_settings()
439 sd->vold.mirror = mirror; in ov2640_camera_settings()
442 mirror = 0x80 * mirror; in ov2640_camera_settings()
446 ctrl_out(gspca_dev, 0x40, 1, 0x6028 + mirror, 0x0004, 0, NULL); in ov2640_camera_settings()
448 flip = 0x50 * flip + mirror; in ov2640_camera_settings()
A Dgl860-mi2020.c363 sd->vcur.mirror = 0; in mi2020_init_settings()
375 sd->vmax.mirror = 1; in mi2020_init_settings()
444 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) > 0); in mi2020_init_post_alt() local
474 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror); in mi2020_init_post_alt()
475 dat_hvflip4[2] = 0x24 + 2 * (1 - flip) + (1 - mirror); in mi2020_init_post_alt()
593 sd->vold.mirror = mirror; in mi2020_init_post_alt()
632 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) > 0); in mi2020_camera_settings() local
691 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in mi2020_camera_settings()
692 sd->vold.mirror = mirror; in mi2020_camera_settings()
695 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror); in mi2020_camera_settings()
[all …]
A Dgl860-mi1320.c212 sd->vcur.mirror = 0; in mi1320_init_settings()
224 sd->vmax.mirror = 1; in mi1320_init_settings()
289 sd->vold.mirror = -1; in mi1320_init_pre_alt()
375 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) > 0); in mi1320_camera_settings() local
507 if (mirror != sd->vold.mirror || flip != sd->vold.flip) { in mi1320_camera_settings()
509 sd->vold.mirror = mirror; in mi1320_camera_settings()
512 dat_hvflip2[3] = flip + 2 * mirror; in mi1320_camera_settings()
/linux-6.3-rc2/fs/btrfs/
A Dzoned.h42 int btrfs_sb_log_location_bdev(struct block_device *bdev, int mirror, int rw,
44 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw,
46 int btrfs_advance_sb_log(struct btrfs_device *device, int mirror);
47 int btrfs_reset_sb_log_zones(struct block_device *bdev, int mirror);
129 int mirror, int rw, u64 *bytenr_ret) in btrfs_sb_log_location_bdev() argument
131 *bytenr_ret = btrfs_sb_offset(mirror); in btrfs_sb_log_location_bdev()
135 static inline int btrfs_sb_log_location(struct btrfs_device *device, int mirror, in btrfs_sb_log_location() argument
138 *bytenr_ret = btrfs_sb_offset(mirror); in btrfs_sb_log_location()
142 static inline int btrfs_advance_sb_log(struct btrfs_device *device, int mirror) in btrfs_advance_sb_log() argument
147 static inline int btrfs_reset_sb_log_zones(struct block_device *bdev, int mirror) in btrfs_reset_sb_log_zones() argument
A Dbio.c153 int mirror = repair_bbio->mirror_num; in btrfs_end_repair_bio() local
160 mirror = next_repair_mirror(fbio, mirror); in btrfs_end_repair_bio()
161 if (mirror == fbio->bbio->mirror_num) { in btrfs_end_repair_bio()
167 btrfs_submit_bio(&repair_bbio->bio, mirror); in btrfs_end_repair_bio()
172 mirror = prev_repair_mirror(fbio, mirror); in btrfs_end_repair_bio()
176 bv->bv_page, bv->bv_offset, mirror); in btrfs_end_repair_bio()
177 } while (mirror != fbio->bbio->mirror_num); in btrfs_end_repair_bio()
203 int mirror; in repair_one_sector() local
233 mirror = next_repair_mirror(fbio, failed_bbio->mirror_num); in repair_one_sector()
234 btrfs_debug(fs_info, "submitting repair read to mirror %d", mirror); in repair_one_sector()
[all …]
A Ddisk-io.h20 static inline u64 btrfs_sb_offset(int mirror) in btrfs_sb_offset() argument
23 if (mirror) in btrfs_sb_offset()
24 return start << (BTRFS_SUPER_MIRROR_SHIFT * mirror); in btrfs_sb_offset()
89 int mirror);
/linux-6.3-rc2/drivers/video/fbdev/omap/
A Dlcd_dma.c62 int mirror; member
102 void omap_set_lcd_dma_b1_mirror(int mirror) in omap_set_lcd_dma_b1_mirror() argument
108 lcd_dma.mirror = mirror; in omap_set_lcd_dma_b1_mirror()
169 if (!lcd_dma.mirror) { in set_b1_regs()
189 if (!lcd_dma.mirror) { in set_b1_regs()
204 if (!lcd_dma.mirror) { in set_b1_regs()
219 if (!lcd_dma.mirror) { in set_b1_regs()
270 if (!(lcd_dma.rotate || lcd_dma.mirror || in set_b1_regs()
321 lcd_dma.mirror = 0; in omap_request_lcd_dma()
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/
A Dotx_cptpf_ucode.c186 if (eng_grp->mirror.is_ena) in cpt_set_ucode_base()
525 eng_grp->mirror.idx); in print_ucode_info()
546 if (eng_grp->mirror.is_ena) in print_engs_info()
565 eng_grp->mirror.idx); in print_engs_info()
622 grp->mirror.is_ena ? in print_dbg_info()
625 grp->mirror.is_ena ? in print_dbg_info()
980 src_grp->mirror.idx = 0; in setup_eng_grp_mirroring()
1000 dst_grp->mirror.idx = 0; in remove_eng_grp_mirroring()
1206 if (eng_grp->mirror.is_ena) in update_ucode_ptrs()
1303 if (eng_grp->mirror.is_ena) in create_engine_group()
[all …]
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/dss/
A Ddisplay-sysfs.c171 int mirror; in display_mirror_show() local
174 mirror = dssdev->driver->get_mirror(dssdev); in display_mirror_show()
175 return sysfs_emit(buf, "%u\n", mirror); in display_mirror_show()
182 bool mirror; in display_mirror_store() local
187 r = kstrtobool(buf, &mirror); in display_mirror_store()
191 r = dssdev->driver->set_mirror(dssdev, mirror); in display_mirror_store()
253 static DISPLAY_ATTR(mirror, S_IRUGO|S_IWUSR,
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_acl_flex_actions.c1366 mirror->local_in_port, in mlxsw_afa_mirror_destroy()
1367 mirror->span_id, in mlxsw_afa_mirror_destroy()
1368 mirror->ingress); in mlxsw_afa_mirror_destroy()
1369 kfree(mirror); in mlxsw_afa_mirror_destroy()
1389 mirror = kzalloc(sizeof(*mirror), GFP_KERNEL); in mlxsw_afa_mirror_create()
1390 if (!mirror) in mlxsw_afa_mirror_create()
1399 mirror->ingress = ingress; in mlxsw_afa_mirror_create()
1403 return mirror; in mlxsw_afa_mirror_create()
1406 kfree(mirror); in mlxsw_afa_mirror_create()
1436 if (IS_ERR(mirror)) { in mlxsw_afa_block_append_mirror()
[all …]
A Dspectrum_matchall.c36 if (!mall_entry->mirror.to_dev) { in mlxsw_sp_mall_port_mirror_add()
41 agent_parms.to_dev = mall_entry->mirror.to_dev; in mlxsw_sp_mall_port_mirror_add()
42 err = mlxsw_sp_span_agent_get(mlxsw_sp, &mall_entry->mirror.span_id, in mlxsw_sp_mall_port_mirror_add()
58 parms.span_id = mall_entry->mirror.span_id; in mlxsw_sp_mall_port_mirror_add()
72 mlxsw_sp_span_agent_put(mlxsw_sp, mall_entry->mirror.span_id); in mlxsw_sp_mall_port_mirror_add()
86 parms.span_id = mall_entry->mirror.span_id; in mlxsw_sp_mall_port_mirror_del()
89 mlxsw_sp_span_agent_put(mlxsw_sp, mall_entry->mirror.span_id); in mlxsw_sp_mall_port_mirror_del()
271 mall_entry->mirror.to_dev = act->dev; in mlxsw_sp_mall_replace()
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/
A Dotx2_cptpf_ucode.c758 src_grp->mirror.idx = 0; in setup_eng_grp_mirroring()
759 src_grp->mirror.ref_count++; in setup_eng_grp_mirroring()
771 if (!dst_grp->mirror.is_ena) in remove_eng_grp_mirroring()
776 src_grp->mirror.ref_count--; in remove_eng_grp_mirroring()
778 dst_grp->mirror.idx = 0; in remove_eng_grp_mirroring()
898 if (!eng_grp->mirror.is_ena) in eng_grp_update_masks()
959 if (eng_grp->mirror.is_ena) in update_ucode_ptrs()
1034 if (eng_grp->mirror.is_ena) in create_engine_group()
1807 eng_grp->mirror.idx); in get_engs_info()
1835 grp->mirror.is_ena ? in otx2_cpt_print_uc_dbg_info()
[all …]
/linux-6.3-rc2/drivers/media/platform/ti/omap/
A Domap_voutdef.h155 bool mirror; member
195 return vout->rotation || vout->mirror; in is_rotation_enabled()
203 if (!vout->mirror) in calc_rotation()
/linux-6.3-rc2/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
A Dswitch-driver.rst187 …add block 1 ingress protocol 802.1q flower skip_sw vlan_prio 3 action mirred egress mirror dev eth6
196 …add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mirror dev eth6
201 …add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mirror dev eth6
204 …add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mirror dev eth6
208 packet will reach the mirror port, if the VLAN found in the packet is not
212 mirror rules can be installed but their ''to'' port has to be the same::
214 …add block 1 ingress protocol 802.1q flower skip_sw vlan_id 200 action mirred egress mirror dev eth6
215 …add block 1 ingress protocol 802.1q flower skip_sw vlan_id 100 action mirred egress mirror dev eth7
216 Error: fsl_dpaa2_switch: Multiple mirror ports not supported.
/linux-6.3-rc2/Documentation/devicetree/bindings/mtd/
A Dmtd-physmap.yaml33 - ge,imp3a-firmware-mirror
35 - gef,ppc9a-firmware-mirror
37 - gef,sbc310-firmware-mirror
39 - gef,sbc610-firmware-mirror
/linux-6.3-rc2/drivers/video/fbdev/omap2/omapfb/
A Domapfb-sysfs.c87 return sysfs_emit(buf, "%d\n", ofbi->mirror); in show_mirror()
96 bool mirror; in store_mirror() local
100 r = kstrtobool(buf, &mirror); in store_mirror()
106 ofbi->mirror = mirror; in store_mirror()
544 __ATTR(mirror, S_IRUGO | S_IWUSR, show_mirror, store_mirror),
/linux-6.3-rc2/Documentation/devicetree/bindings/pinctrl/
A Dpinctrl-mcp23s08.txt55 - microchip,irq-mirror: Sets the mirror flag in the IOCON register. Devices
59 One for bank 1 and another for bank 2. If irq-mirror is set, both
78 microchip,irq-mirror;
136 microchip,irq-mirror;

Completed in 71 milliseconds

1234567