Searched refs:mirror (Results 26 - 50 of 102) sorted by relevance

12345

/linux-master/fs/btrfs/
H A Dscrub.c622 "tree block %llu mirror %u has bad bytenr, has %llu want %llu",
632 "tree block %llu mirror %u has bad fsid, has %pU want %pU",
642 "tree block %llu mirror %u has bad chunk tree uuid, has %pU want %pU",
667 "tree block %llu mirror %u has bad csum, has " CSUM_FMT " want " CSUM_FMT,
678 "tree block %llu mirror %u has bad generation, has %llu want %llu",
811 static int calc_next_mirror(int mirror, int num_copies) argument
813 ASSERT(mirror <= num_copies);
814 return (mirror + 1 > num_copies) ? 1 : mirror + 1;
818 int mirror, in
817 scrub_stripe_submit_repair_read(struct scrub_stripe *stripe, int mirror, int blocksize, bool wait) argument
1016 int mirror; local
1660 int mirror = stripe->mirror_num; local
1731 int mirror = stripe->mirror_num; local
[all...]
H A Dzoned.c161 * Get the first zone number of the superblock mirror
163 static inline u32 sb_zone_number(int shift, int mirror) argument
167 ASSERT(mirror < BTRFS_SUPER_MIRROR_MAX);
168 switch (mirror) {
862 int btrfs_sb_log_location_bdev(struct block_device *bdev, int mirror, int rw, argument
874 *bytenr_ret = btrfs_sb_offset(mirror);
887 sb_zone = sb_zone_number(zone_sectors_shift + SECTOR_SHIFT, mirror);
902 int btrfs_sb_log_location(struct btrfs_device *device, int mirror, int rw, argument
915 *bytenr_ret = btrfs_sb_offset(mirror);
919 zone_num = sb_zone_number(zinfo->zone_size_shift, mirror);
928 is_sb_log_zone(struct btrfs_zoned_device_info *zinfo, int mirror) argument
946 btrfs_advance_sb_log(struct btrfs_device *device, int mirror) argument
1001 btrfs_reset_sb_log_zones(struct block_device *bdev, int mirror) argument
[all...]
/linux-master/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c87 return sysfs_emit(buf, "%d\n", ofbi->mirror);
96 bool mirror; local
100 r = kstrtobool(buf, &mirror);
106 ofbi->mirror = mirror;
544 __ATTR(mirror, S_IRUGO | S_IWUSR, show_mirror, store_mirror),
H A Domapfb.h66 bool mirror; member in struct:omapfb_info
/linux-master/tools/testing/selftests/net/
H A Dip6_gre_headroom.sh53 action mirred egress mirror dev $tundev
/linux-master/drivers/media/usb/gspca/gl860/
H A Dgl860-mi2020.c363 sd->vcur.mirror = 0;
375 sd->vmax.mirror = 1;
444 s32 mirror = (((sd->vcur.mirror > 0) ^ sd->mirrorMask) > 0); local
474 dat_hvflip2[2] = 0x6c + 2 * (1 - flip) + (1 - mirror);
475 dat_hvflip4[2] = 0x24 + 2 * (1 - flip) + (1 - mirror);
593 sd->vold.mirror = mirror;
632 s32 mirror = (((sd->vcur.mirror > local
[all...]
H A Dgl860.c72 sd->vcur.mirror = ctrl->val;
134 if (sd->vmax.mirror)
136 0, sd->vmax.mirror, 1, sd->vcur.mirror);
/linux-master/tools/testing/selftests/net/forwarding/
H A Dmirror_lib.sh12 action mirred egress mirror dev $to_dev
H A Dsch_red.sh375 action mirred egress mirror dev _drop_test
416 action mirred egress mirror dev _drop_test
/linux-master/drivers/md/
H A Draid1.c348 int mirror; local
352 for (mirror = 0; mirror < raid_disks * 2; mirror++)
353 if (r1_bio->bios[mirror] == bio)
356 BUG_ON(mirror == raid_disks * 2);
357 update_head_pos(mirror, r1_bio);
359 return mirror;
370 * this branch is our 'one mirror IO has finished' event handler:
450 int mirror local
718 struct raid1_info *mirror = &conf->mirrors[disk]; local
1311 struct raid1_info *mirror; local
1902 int mirror = 0, repl_slot = -1; local
[all...]
H A DMakefile17 dm-mirror-y += dm-raid1.o
65 obj-$(CONFIG_DM_MIRROR) += dm-mirror.o dm-log.o dm-region-hash.o
/linux-master/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_mbox.c164 if (eng_grp->mirror.is_ena)
165 ucode = &eng_grp->g->grp[eng_grp->mirror.idx].ucode[0];
/linux-master/drivers/video/fbdev/omap/
H A Domapfb_main.c620 /* Set mirror to vertical axis and switch to the new mode. */
621 static int omapfb_mirror(struct fb_info *fbi, int mirror) argument
628 mirror = mirror ? 1 : 0;
631 else if (mirror != plane->info.mirror) {
632 plane->info.mirror = mirror;
1064 unsigned int mirror; member in union:__anon2492
1073 if (get_user(p.mirror, (in
[all...]
/linux-master/fs/nfs/
H A Dread.c98 struct nfs_pgio_mirror *mirror; local
105 /* read path should never have more than one mirror */
108 mirror = &pgio->pg_mirrors[0];
109 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize;
/linux-master/include/uapi/linux/
H A Domapfb.h142 __u8 mirror; member in struct:omapfb_plane_info
/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_cle.h239 u8 mirror; member in struct:xgene_cle_dbptr
/linux-master/tools/testing/selftests/drivers/net/mlxsw/
H A Dmirror_gre_scale.sh4 # tunnels. Then it adds one flower mirror for each of the tunnels, matching a
83 action mirred egress mirror dev $tun
H A Dtc_restrictions.sh144 # It is forbidden in mlxsw driver to have multiple mirror
151 action mirred egress mirror dev $swp2
152 check_err $? "Failed to add rule with single mirror action"
158 action mirred egress mirror dev $swp2 \
159 action mirred egress mirror dev $swp1
160 check_fail $? "Incorrect success to add rule with two mirror actions"
164 log_test "multi mirror"
199 # On ingress, all matchall-mirror and matchall-sample
239 matchall_behind_flower_ingress_test "mirror" "mirred egress mirror de
[all...]
H A Dsch_red_core.sh678 action mirred egress mirror dev $swp2 hw_stats disabled
701 do_drop_test "$vlan" "$limit" "$qevent_name" mirror \
716 do_mark_test "$vlan" "$limit" mirror \
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_wed.h42 struct regmap *mirror; member in struct:mtk_wed_hw
/linux-master/drivers/pinctrl/
H A Dpinctrl-mcp23s08.c592 bool mirror = false; local
631 mirror = device_property_read_bool(dev, "microchip,irq-mirror");
635 if ((status & IOCON_SEQOP) || !(status & IOCON_HAEN) || mirror ||
645 if (mirror)
/linux-master/drivers/media/platform/ti/omap/
H A Domap_vout.c177 enum dss_rotation *rotation, bool mirror)
316 info.mirror = vout->mirror;
334 "rotation=%d mirror=%d posx=%d posy=%d out_width = %d \n"
337 info.color_mode, info.rotation, info.mirror, info.pos_x,
885 vout->mirror)) {
915 unsigned int mirror = ctrl->val; local
919 if (mirror && ovid->rotation_type == VOUT_ROT_NONE) {
924 if (mirror && vout->pix.pixelformat == V4L2_PIX_FMT_RGB24) {
928 vout->mirror
176 v4l2_rot_to_dss_rot(int v4l2_rotation, enum dss_rotation *rotation, bool mirror) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hubp.c209 uint32_t mirror; local
213 mirror = 1;
215 mirror = 0;
217 /* Program rotation angle and horz mirror - no mirror */
221 H_MIRROR_EN, mirror);
225 H_MIRROR_EN, mirror);
229 H_MIRROR_EN, mirror);
233 H_MIRROR_EN, mirror);
1221 if (!param->mirror)
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz9477.c1007 struct dsa_mall_mirror_tc_entry *mirror,
1019 if (p == mirror->to_local_port)
1036 /* configure mirror port */
1037 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL,
1046 struct dsa_mall_mirror_tc_entry *mirror)
1052 if (mirror->ingress)
1070 ksz_port_cfg(dev, mirror->to_local_port, P_MIRROR_CTRL,
1006 ksz9477_port_mirror_add(struct ksz_device *dev, int port, struct dsa_mall_mirror_tc_entry *mirror, bool ingress, struct netlink_ext_ack *extack) argument
1045 ksz9477_port_mirror_del(struct ksz_device *dev, int port, struct dsa_mall_mirror_tc_entry *mirror) argument
/linux-master/drivers/net/dsa/qca/
H A Dqca8k-common.c888 struct dsa_mall_mirror_tc_entry *mirror,
903 /* QCA83xx can have only one port set to mirror mode.
905 * When no mirror port is set, the values is set to 0xF
908 if (monitor_port != 0xF && monitor_port != mirror->to_local_port)
913 mirror->to_local_port);
931 /* Track mirror port for tx and rx to decide when the
932 * mirror port has to be disabled.
943 struct dsa_mall_mirror_tc_entry *mirror)
949 if (mirror->ingress) {
961 if (mirror
887 qca8k_port_mirror_add(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror, bool ingress, struct netlink_ext_ack *extack) argument
942 qca8k_port_mirror_del(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror) argument
[all...]

Completed in 282 milliseconds

12345