Home
last modified time | relevance | path

Searched refs:raid (Results 1 – 25 of 63) sorted by relevance

123

/Linux-v5.4/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c310 struct MR_LD_RAID *raid; in MR_ValidateMapInfo() local
361 raid = MR_LdRaidGet(ld, drv_map); in MR_ValidateMapInfo()
362 le32_to_cpus((u32 *)&raid->capability); in MR_ValidateMapInfo()
375 struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); in MR_GetSpanBlock() local
378 for (span = 0; span < raid->spanDepth; span++, pSpanBlock++) { in MR_GetSpanBlock()
393 blk = (blk + le64_to_cpu(quad->offsetInSpan)) << raid->stripeShift; in MR_GetSpanBlock()
425 struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); in mr_spanset_get_span_block() local
440 for (span = 0; span < raid->spanDepth; span++) in mr_spanset_get_span_block()
458 << raid->stripeShift; in mr_spanset_get_span_block()
488 struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); in get_row_from_strip() local
[all …]
Dmegaraid_sas_fusion.c1437 struct MR_LD_RAID *raid; in megasas_sync_map_info() local
1473 raid = MR_LdRaidGet(i, map); in megasas_sync_map_info()
1475 ld_sync->seqNum = raid->seqNum; in megasas_sync_map_info()
2381 struct MR_LD_RAID *raid; in megasas_set_pd_lba() local
2390 raid = MR_LdRaidGet(ld, local_map_ptr); in megasas_set_pd_lba()
2391 if (raid->capability.ldPiMode == MR_PROT_INFO_TYPE_CONTROLLER) { in megasas_set_pd_lba()
2639 struct MR_LD_RAID *raid, bool fp_possible, in megasas_set_raidflag_cpu_affinity() argument
2648 if ((raid->cpuAffinity.pdRead.cpu0) && in megasas_set_raidflag_cpu_affinity()
2649 (raid->cpuAffinity.pdRead.cpu1)) in megasas_set_raidflag_cpu_affinity()
2651 else if (raid->cpuAffinity.pdRead.cpu1) in megasas_set_raidflag_cpu_affinity()
[all …]
/Linux-v5.4/arch/arm64/boot/dts/broadcom/stingray/
Dstingray-fs4.dtsi55 raid0: raid@0 {
63 raid1: raid@1 {
71 raid2: raid@2 {
79 raid3: raid@3 {
87 raid4: raid@4 {
95 raid5: raid@5 {
103 raid6: raid@6 {
111 raid7: raid@7 {
/Linux-v5.4/Documentation/filesystems/
Dntfs.txt33 For fault tolerance and raid support (i.e. volume and stripe sets), you can
233 the recommended one to use for linear raid. But the latter is required for
234 raid level 5. For striping and mirroring, either driver should work fine.
244 Linear volume sets, i.e. linear raid, has been tested and works fine. Even
245 though untested, there is no reason why stripe sets, i.e. raid level 0, and
246 mirrors, i.e. raid level 1 should not work, too. Stripes with parity, i.e.
247 raid level 5, unfortunately cannot work yet because the current version of the
248 Device-Mapper driver does not support raid level 5. You may be able to use the
249 Software RAID / MD driver for raid level 5, see the next section for details.
307 For a linear raid the table would look like this (note all values are in
[all …]
Dbtrfs.txt20 * Integrated multiple device support, with several raid algorithms
/Linux-v5.4/Documentation/admin-guide/device-mapper/
Ddm-raid.rst2 dm-raid
5 The device-mapper RAID (dm-raid) target provides a bridge from DM to MD.
12 The target is named "raid" and it accepts the following parameters::
175 value) to any reshape supporting raid levels 4/5/6 and 10.
189 E.g. when adding devices to an existing raid set during
191 at the beginning of each raid device. The kernel raid4/5/6/10
202 This option adds a journal device to raid4/5/6 raid sets and
211 This option sets the caching mode on journaled raid4/5/6 raid sets
238 0 1960893648 raid \
246 0 1960893648 raid \
[all …]
Dindex.rst18 dm-raid
/Linux-v5.4/Documentation/admin-guide/
Dmd.rst8 http://www.kernel.org/pub/linux/utils/raid/
14 for old raid arrays without persistent superblocks::
16 md=<md device no.>,<raid level>,<chunk size factor>,<fault level>,dev0,dev1,...,devn
18 for raid arrays with persistent superblocks::
41 ``raid level``
47 ``raid level`` level
58 (raid-0 and raid-1 only)
83 ``raid=noautodetect``. As of kernel 2.6.9, only drives with a type 0
86 The kernel parameter ``raid=partitionable`` (or ``raid=part``) means
110 So, to boot with a root filesystem of a dirty degraded raid 5 or 6, use::
[all …]
/Linux-v5.4/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c121 u8 macid, init_rate, raid, shortGIrate = false; in rtw_hal_add_ra_tid() local
125 raid = (bitmap>>28) & 0x0f; in rtw_hal_add_ra_tid()
131 bitmap |= ((raid<<28)&0xf0000000); in rtw_hal_add_ra_tid()
140 raid = (bitmap>>28) & 0x0f; in rtw_hal_add_ra_tid()
145 __func__, macid, raid, bitmap, shortGIrate); in rtw_hal_add_ra_tid()
147 ODM_RA_UpdateRateInfo_8188E(odmpriv, macid, raid, bitmap, shortGIrate); in rtw_hal_add_ra_tid()
Dusb_halinit.c1879 u8 networkType, raid; in UpdateHalRAMask8188EUsb() local
1898 raid = networktype_to_raid(networkType); in UpdateHalRAMask8188EUsb()
1910 raid = networktype_to_raid(networkType); in UpdateHalRAMask8188EUsb()
1916 raid = networktype_to_raid(networkType); in UpdateHalRAMask8188EUsb()
1931 ODM_RA_UpdateRateInfo_8188E(odmpriv, mac_id, raid, mask, shortGIrate); in UpdateHalRAMask8188EUsb()
1934 psta->raid = raid; in UpdateHalRAMask8188EUsb()
Drtl8188eu_xmit.c214 ptxdesc->txdw1 |= cpu_to_le32((pattrib->raid << RATE_ID_SHT) & 0x000F0000); in update_txdesc()
274 ptxdesc->txdw1 |= cpu_to_le32((pattrib->raid << RATE_ID_SHT) & 0x000f0000); in update_txdesc()
/Linux-v5.4/Documentation/scsi/
Darcmsr_spec.txt129 ** The following are command code defined in raid controller Command
255 ** GUI_QUICK_CREATE : Quick create raid/volume set
259 ** byte 7 : raid level
262 ** byte 10/11/12/13: device mask (the devices to create raid/volume)
331 ** BYTE gpdRaidNumber; // 0xff if not belongs to a raid set
484 ** 9:new raid level,
488 ** GUI_ACTIVATE_RAIDSET : Activate incomplete raid set
507 ** byte 28 : raid level
527 ** byte 28 : new raid level
/Linux-v5.4/drivers/staging/rtl8188eu/core/
Drtw_ap.c337 unsigned char sta_band = 0, raid, shortGIrate = false; in add_RATid() local
373 raid = networktype_to_raid(sta_band); in add_RATid()
386 tx_ra_bitmap |= ((raid << 28) & 0xf0000000); in add_RATid()
389 __func__, psta->mac_id, raid, tx_ra_bitmap, arg); in add_RATid()
401 psta->raid = raid; in add_RATid()
412 unsigned char network_type, raid; in update_bmc_sta() local
453 raid = networktype_to_raid(network_type); in update_bmc_sta()
464 tx_ra_bitmap |= ((raid << 28) & 0xf0000000); in update_bmc_sta()
474 psta->raid = raid; in update_bmc_sta()
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-dev20 Users: mdadm <linux-raid@vger.kernel.org>
/Linux-v5.4/fs/btrfs/
Dsysfs.c367 BTRFS_ATTR(raid, total_bytes, raid_bytes_show);
368 BTRFS_ATTR(raid, used_bytes, raid_bytes_show);
381 if (&attr->attr == BTRFS_ATTR_PTR(raid, total_bytes)) in raid_bytes_show()
391 BTRFS_ATTR_PTR(raid, total_bytes),
392 BTRFS_ATTR_PTR(raid, used_bytes),
395 ATTRIBUTE_GROUPS(raid);
/Linux-v5.4/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c85 u8 raid, cur_rf_type, rf_type = RF_1T1R; in networktype_to_raid_ex() local
101 raid = RATEID_IDX_B; in networktype_to_raid_ex()
105 raid = RATEID_IDX_G; in networktype_to_raid_ex()
108 raid = RATEID_IDX_BG; in networktype_to_raid_ex()
115 raid = RATEID_IDX_GN_N2SS; in networktype_to_raid_ex()
117 raid = RATEID_IDX_GN_N1SS; in networktype_to_raid_ex()
123 raid = RATEID_IDX_BGN_20M_2SS_BN; in networktype_to_raid_ex()
125 raid = RATEID_IDX_BGN_20M_1SS_BN; in networktype_to_raid_ex()
128 raid = RATEID_IDX_BGN_40M_2SS; in networktype_to_raid_ex()
130 raid = RATEID_IDX_BGN_40M_1SS; in networktype_to_raid_ex()
[all …]
Drtw_ap.c445 psta->raid = networktype_to_raid_ex(padapter, psta); in add_RATid()
451 arg[1] = psta->raid; in add_RATid()
456 __func__, psta->mac_id, psta->raid, shortGIrate, tx_ra_bitmap); in add_RATid()
514 psta->raid = networktype_to_raid_ex(padapter, psta); in update_bmc_sta()
524 arg[1] = psta->raid; in update_bmc_sta()
529 __func__, psta->mac_id, psta->raid, tx_ra_bitmap); in update_bmc_sta()
/Linux-v5.4/drivers/scsi/esas2r/
Desas2r_int.c802 if (ae->raid.dwflags & (VDAAE_GROUP_STATE in esas2r_ae_complete()
808 ae->raid.acname, in esas2r_ae_complete()
809 ae->raid.byrebuild_state, in esas2r_ae_complete()
810 ae->raid.bygroup_state); in esas2r_ae_complete()
/Linux-v5.4/include/uapi/linux/
Dedd.h156 } __attribute__ ((packed)) raid; member
/Linux-v5.4/lib/raid6/
Dvpermxor.uc23 #include <linux/raid/pq.h>
Daltivec.uc25 #include <linux/raid/pq.h>
/Linux-v5.4/drivers/dma/
DMakefile22 obj-$(CONFIG_BCM_SBA_RAID) += bcm-sba-raid.o
/Linux-v5.4/Documentation/driver-api/md/
Draid5-cache.rst62 filesystems) right after the data hits cache disk. The data is flushed to raid
94 from raid disks as usual.
/Linux-v5.4/drivers/md/
DMakefile63 obj-$(CONFIG_DM_RAID) += dm-raid.o
/Linux-v5.4/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c975 void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u3… in rtl8723b_set_FwMacIdConfig_cmd() argument
979 DBG_871X("%s(): mac_id =%d raid = 0x%x bw =%d mask = 0x%x\n", __func__, mac_id, raid, bw, mask); in rtl8723b_set_FwMacIdConfig_cmd()
982 SET_8723B_H2CCMD_MACID_CFG_RAID(u1H2CMacIdConfigParm, raid); in rtl8723b_set_FwMacIdConfig_cmd()
2042 u8 raid = arg[1]; in rtl8723b_Add_RateATid() local
2056 DBG_871X("%s(): mac_id =%d raid = 0x%x bw =%d mask = 0x%x\n", __func__, mac_id, raid, bw, mask); in rtl8723b_Add_RateATid()
2057 rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, raid, bw, shortGI, mask); in rtl8723b_Add_RateATid()

123