Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_fp.c323 struct MR_LD_RAID *raid; in MR_ValidateMapInfo() local
374 raid = MR_LdRaidGet(ld, drv_map); in MR_ValidateMapInfo()
375 le32_to_cpus((u32 *)&raid->capability); in MR_ValidateMapInfo()
388 struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); in MR_GetSpanBlock() local
391 for (span = 0; span < raid->spanDepth; span++, pSpanBlock++) { in MR_GetSpanBlock()
406 blk = (blk + le64_to_cpu(quad->offsetInSpan)) << raid->stripeShift; in MR_GetSpanBlock()
438 struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); in mr_spanset_get_span_block() local
453 for (span = 0; span < raid->spanDepth; span++) in mr_spanset_get_span_block()
471 << raid->stripeShift; in mr_spanset_get_span_block()
501 struct MR_LD_RAID *raid = MR_LdRaidGet(ld, map); in get_row_from_strip() local
[all …]
Dmegaraid_sas_fusion.c1335 struct MR_LD_RAID *raid; in megasas_sync_map_info() local
1373 raid = MR_LdRaidGet(i, map); in megasas_sync_map_info()
1375 ld_sync->seqNum = raid->seqNum; in megasas_sync_map_info()
2197 struct MR_LD_RAID *raid; in megasas_set_pd_lba() local
2206 raid = MR_LdRaidGet(ld, local_map_ptr); in megasas_set_pd_lba()
2207 if (raid->capability.ldPiMode == MR_PROT_INFO_TYPE_CONTROLLER) { in megasas_set_pd_lba()
2454 struct MR_LD_RAID *raid, bool fp_possible, in megasas_set_raidflag_cpu_affinity() argument
2463 if ((raid->cpuAffinity.pdRead.cpu0) && in megasas_set_raidflag_cpu_affinity()
2464 (raid->cpuAffinity.pdRead.cpu1)) in megasas_set_raidflag_cpu_affinity()
2466 else if (raid->cpuAffinity.pdRead.cpu1) in megasas_set_raidflag_cpu_affinity()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/Documentation/device-mapper/
Ddm-raid.txt1 dm-raid
4 The device-mapper RAID (dm-raid) target provides a bridge from DM to MD.
11 The target is named "raid" and it accepts the following parameters:
138 value) to any reshape supporting raid levels 4/5/6 and 10.
152 E.g. when adding devices to an existing raid set during
154 at the beginning of each raid device. The kernel raid4/5/6/10
165 This option adds a journal device to raid4/5/6 raid sets and
174 This option sets the caching mode on journaled raid4/5/6 raid sets
198 0 1960893648 raid \
206 0 1960893648 raid \
[all …]
/Linux-v4.19/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-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188e_cmd.c123 u8 macid, init_rate, raid, shortGIrate = false; in rtw_hal_add_ra_tid() local
127 raid = (bitmap>>28) & 0x0f; in rtw_hal_add_ra_tid()
133 bitmap |= ((raid<<28)&0xf0000000); in rtw_hal_add_ra_tid()
142 raid = (bitmap>>28) & 0x0f; in rtw_hal_add_ra_tid()
147 __func__, macid, raid, bitmap, shortGIrate); in rtw_hal_add_ra_tid()
149 ODM_RA_UpdateRateInfo_8188E(odmpriv, macid, raid, bitmap, shortGIrate); in rtw_hal_add_ra_tid()
Dusb_halinit.c1888 u8 networkType, raid; in UpdateHalRAMask8188EUsb() local
1907 raid = networktype_to_raid(networkType); in UpdateHalRAMask8188EUsb()
1919 raid = networktype_to_raid(networkType); in UpdateHalRAMask8188EUsb()
1925 raid = networktype_to_raid(networkType); in UpdateHalRAMask8188EUsb()
1940 ODM_RA_UpdateRateInfo_8188E(odmpriv, mac_id, raid, mask, shortGIrate); in UpdateHalRAMask8188EUsb()
1943 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-v4.19/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-v4.19/drivers/staging/rtl8188eu/core/
Drtw_ap.c337 unsigned char sta_band = 0, raid, shortGIrate = false; in add_RATid() local
383 raid = networktype_to_raid(sta_band); in add_RATid()
396 tx_ra_bitmap |= ((raid << 28) & 0xf0000000); in add_RATid()
399 __func__, psta->mac_id, raid, tx_ra_bitmap, arg); in add_RATid()
411 psta->raid = raid; in add_RATid()
422 unsigned char network_type, raid; in update_bmc_sta() local
463 raid = networktype_to_raid(network_type); in update_bmc_sta()
474 tx_ra_bitmap |= ((raid << 28) & 0xf0000000); in update_bmc_sta()
484 psta->raid = raid; in update_bmc_sta()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-dev20 Users: mdadm <linux-raid@vger.kernel.org>
/Linux-v4.19/fs/btrfs/
Dsysfs.c281 BTRFS_ATTR(raid, total_bytes, raid_bytes_show);
282 BTRFS_ATTR(raid, used_bytes, raid_bytes_show);
295 if (&attr->attr == BTRFS_ATTR_PTR(raid, total_bytes)) in raid_bytes_show()
305 BTRFS_ATTR_PTR(raid, total_bytes),
306 BTRFS_ATTR_PTR(raid, used_bytes),
/Linux-v4.19/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.c474 psta->raid = rtw_hal_networktype_to_raid(padapter, psta); in add_RATid()
481 arg[1] = psta->raid; in add_RATid()
486 __func__, psta->mac_id, psta->raid, shortGIrate, tx_ra_bitmap); in add_RATid()
548 psta->raid = rtw_hal_networktype_to_raid(padapter, psta); in update_bmc_sta()
558 arg[1] = psta->raid; in update_bmc_sta()
563 __func__, psta->mac_id, psta->raid, tx_ra_bitmap); in update_bmc_sta()
/Linux-v4.19/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-v4.19/include/uapi/linux/
Dedd.h156 } __attribute__ ((packed)) raid; member
/Linux-v4.19/drivers/dma/
DMakefile22 obj-$(CONFIG_BCM_SBA_RAID) += bcm-sba-raid.o
/Linux-v4.19/lib/raid6/
Dvpermxor.uc23 #include <linux/raid/pq.h>
Daltivec.uc25 #include <linux/raid/pq.h>
/Linux-v4.19/drivers/md/
DMakefile61 obj-$(CONFIG_DM_RAID) += dm-raid.o
/Linux-v4.19/Documentation/md/
Draid5-cache.txt60 filesystems) right after the data hits cache disk. The data is flushed to raid
92 from raid disks as usual.
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723b_cmd.c979 void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u3… in rtl8723b_set_FwMacIdConfig_cmd() argument
983 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()
986 SET_8723B_H2CCMD_MACID_CFG_RAID(u1H2CMacIdConfigParm, raid); in rtl8723b_set_FwMacIdConfig_cmd()
2066 u8 raid = arg[1]; in rtl8723b_Add_RateATid() local
2080 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()
2081 rtl8723b_set_FwMacIdConfig_cmd(padapter, mac_id, raid, bw, shortGI, mask); in rtl8723b_Add_RateATid()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtl8723b_cmd.h173 void rtl8723b_set_FwMacIdConfig_cmd(struct adapter *padapter, u8 mac_id, u8 raid, u8 bw, u8 sgi, u3…

123