/openbmc/linux/crypto/async_tx/ |
H A D | async_pq.c | 46 int src_cnt = disks - 2; in do_async_gen_syndrome() 126 if (i < disks - 2) { in do_sync_gen_syndrome() 180 int src_cnt = disks - 2; in async_gen_syndrome() 187 BUG_ON(disks > MAX_DISKS || !(P(blocks, disks) || Q(blocks, disks))); in async_gen_syndrome() 225 if (P(blocks, disks)) in async_gen_syndrome() 227 P(offsets, disks), in async_gen_syndrome() 235 if (Q(blocks, disks)) in async_gen_syndrome() 259 P(offsets, disks) = 0; in async_gen_syndrome() 263 Q(offsets, disks) = 0; in async_gen_syndrome() 278 disks, len); in pq_val_chan() [all …]
|
H A D | raid6test.c | 48 if (d == disks - 2) in disk_type() 50 else if (d == disks - 1) in disk_type() 68 if (failb == disks-1) { in raid6_dual_recov() 69 if (faila == disks-2) { in raid6_dual_recov() 80 BUG_ON(disks > NDISKS); in raid6_dual_recov() 100 if (failb == disks-2) { in raid6_dual_recov() 143 __func__, i, j, i, disk_type(i, disks), j, disk_type(j, disks), in test_disks() 160 recovi = data[disks]; in test() 161 recovj = data[disks+1]; in test() 162 spare = data[disks+2]; in test() [all …]
|
H A D | async_raid6_recov.c | 168 p = blocks[disks-2]; in __2data_recov_4() 170 q = blocks[disks-1]; in __2data_recov_4() 231 p = blocks[disks-2]; in __2data_recov_5() 233 q = blocks[disks-1]; in __2data_recov_5() 309 p = blocks[disks-2]; in __2data_recov_n() 311 q = blocks[disks-1]; in __2data_recov_n() 337 blocks[disks-2] = p; in __2data_recov_n() 339 blocks[disks-1] = q; in __2data_recov_n() 525 p = blocks[disks-2]; in async_raid6_datap_recov() 527 q = blocks[disks-1]; in async_raid6_datap_recov() [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | recov.c | 27 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_intx1() 28 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_intx1() 35 ptrs[disks-2] = dp; in raid6_2data_recov_intx1() 38 ptrs[disks-1] = dq; in raid6_2data_recov_intx1() 45 ptrs[disks-2] = p; in raid6_2data_recov_intx1() 46 ptrs[disks-1] = q; in raid6_2data_recov_intx1() 69 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_intx1() 70 q = (u8 *)ptrs[disks-1]; in raid6_datap_recov_intx1() 76 ptrs[disks-1] = dq; in raid6_datap_recov_intx1() 82 ptrs[disks-1] = q; in raid6_datap_recov_intx1() [all …]
|
H A D | recov_loongarch_simd.c | 46 ptrs[disks - 2] = dp; in raid6_2data_recov_lsx() 49 ptrs[disks - 1] = dq; in raid6_2data_recov_lsx() 56 ptrs[disks - 2] = p; in raid6_2data_recov_lsx() 57 ptrs[disks - 1] = q; in raid6_2data_recov_lsx() 201 ptrs[disks - 1] = dq; in raid6_datap_recov_lsx() 207 ptrs[disks - 1] = q; in raid6_datap_recov_lsx() 320 ptrs[disks - 2] = dp; in raid6_2data_recov_lasx() 323 ptrs[disks - 1] = dq; in raid6_2data_recov_lasx() 330 ptrs[disks - 2] = p; in raid6_2data_recov_lasx() 331 ptrs[disks - 1] = q; in raid6_2data_recov_lasx() [all …]
|
H A D | recov_neon.c | 30 p = (u8 *)ptrs[disks - 2]; in raid6_2data_recov_neon() 31 q = (u8 *)ptrs[disks - 1]; in raid6_2data_recov_neon() 40 ptrs[disks - 2] = dp; in raid6_2data_recov_neon() 43 ptrs[disks - 1] = dq; in raid6_2data_recov_neon() 45 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_neon() 50 ptrs[disks - 2] = p; in raid6_2data_recov_neon() 51 ptrs[disks - 1] = q; in raid6_2data_recov_neon() 69 p = (u8 *)ptrs[disks - 2]; in raid6_datap_recov_neon() 70 q = (u8 *)ptrs[disks - 1]; in raid6_datap_recov_neon() 78 ptrs[disks - 1] = dq; in raid6_datap_recov_neon() [all …]
|
H A D | recov_s390xc.c | 31 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_s390xc() 32 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_s390xc() 39 ptrs[disks-2] = dp; in raid6_2data_recov_s390xc() 42 ptrs[disks-1] = dq; in raid6_2data_recov_s390xc() 44 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_s390xc() 49 ptrs[disks-2] = p; in raid6_2data_recov_s390xc() 50 ptrs[disks-1] = q; in raid6_2data_recov_s390xc() 79 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_s390xc() 80 q = (u8 *)ptrs[disks-1]; in raid6_datap_recov_s390xc() 86 ptrs[disks-1] = dq; in raid6_datap_recov_s390xc() [all …]
|
H A D | recov_avx2.c | 24 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_avx2() 25 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_avx2() 32 ptrs[disks-2] = dp; in raid6_2data_recov_avx2() 35 ptrs[disks-1] = dq; in raid6_2data_recov_avx2() 37 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_avx2() 42 ptrs[disks-2] = p; in raid6_2data_recov_avx2() 43 ptrs[disks-1] = q; in raid6_2data_recov_avx2() 193 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_avx2() 194 q = (u8 *)ptrs[disks-1]; in raid6_datap_recov_avx2() 200 ptrs[disks-1] = dq; in raid6_datap_recov_avx2() [all …]
|
H A D | recov_ssse3.c | 26 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_ssse3() 27 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_ssse3() 34 ptrs[disks-2] = dp; in raid6_2data_recov_ssse3() 37 ptrs[disks-1] = dq; in raid6_2data_recov_ssse3() 39 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_ssse3() 44 ptrs[disks-2] = p; in raid6_2data_recov_ssse3() 45 ptrs[disks-1] = q; in raid6_2data_recov_ssse3() 200 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_ssse3() 201 q = (u8 *)ptrs[disks-1]; in raid6_datap_recov_ssse3() 207 ptrs[disks-1] = dq; in raid6_datap_recov_ssse3() [all …]
|
H A D | recov_avx512.c | 32 p = (u8 *)ptrs[disks-2]; in raid6_2data_recov_avx512() 33 q = (u8 *)ptrs[disks-1]; in raid6_2data_recov_avx512() 43 ptrs[disks-2] = dp; in raid6_2data_recov_avx512() 46 ptrs[disks-1] = dq; in raid6_2data_recov_avx512() 48 raid6_call.gen_syndrome(disks, bytes, ptrs); in raid6_2data_recov_avx512() 53 ptrs[disks-2] = p; in raid6_2data_recov_avx512() 54 ptrs[disks-1] = q; in raid6_2data_recov_avx512() 234 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_avx512() 235 q = (u8 *)ptrs[disks-1]; in raid6_datap_recov_avx512() 244 ptrs[disks-1] = dq; in raid6_datap_recov_avx512() [all …]
|
H A D | neon.h | 3 void raid6_neon1_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 4 void raid6_neon1_xor_syndrome_real(int disks, int start, int stop, 6 void raid6_neon2_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 7 void raid6_neon2_xor_syndrome_real(int disks, int start, int stop, 9 void raid6_neon4_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 10 void raid6_neon4_xor_syndrome_real(int disks, int start, int stop, 12 void raid6_neon8_gen_syndrome_real(int disks, unsigned long bytes, void **ptrs); 13 void raid6_neon8_xor_syndrome_real(int disks, int start, int stop,
|
H A D | algos.c | 163 int start = (disks>>1)-1, stop = disks-3; /* work on the second half of the disks */ in raid6_choose_gen() 185 (*algo)->gen_syndrome(disks, PAGE_SIZE, *dptrs); in raid6_choose_gen() 195 (perf * HZ * (disks-2)) >> in raid6_choose_gen() 215 (bestgenperf * HZ * (disks - 2)) >> in raid6_choose_gen() 227 best->xor_syndrome(disks, start, stop, in raid6_choose_gen() 234 (perf * HZ * (disks - 2)) >> in raid6_choose_gen() 248 const int disks = RAID6_TEST_DISKS; in raid6_select_algo() local 264 for (i = 0; i < disks; i++) in raid6_select_algo() 267 cycle = ((disks - 2) * PAGE_SIZE) / 65536; in raid6_select_algo() 273 if ((disks - 2) * PAGE_SIZE % 65536) in raid6_select_algo() [all …]
|
H A D | avx512.c | 50 z0 = disks - 3; /* Highest data disk */ in raid6_avx5121_gen_syndrome() 101 static void raid6_avx5121_xor_syndrome(int disks, int start, int stop, in raid6_avx5121_xor_syndrome() argument 109 p = dptr[disks-2]; /* XOR parity */ in raid6_avx5121_xor_syndrome() 110 q = dptr[disks-1]; /* RS syndrome */ in raid6_avx5121_xor_syndrome() 177 z0 = disks - 3; /* Highest data disk */ in raid6_avx5122_gen_syndrome() 233 static void raid6_avx5122_xor_syndrome(int disks, int start, int stop, in raid6_avx5122_xor_syndrome() argument 241 p = dptr[disks-2]; /* XOR parity */ in raid6_avx5122_xor_syndrome() 242 q = dptr[disks-1]; /* RS syndrome */ in raid6_avx5122_xor_syndrome() 336 z0 = disks - 3; /* Highest data disk */ in raid6_avx5124_gen_syndrome() 431 p = dptr[disks-2]; /* XOR parity */ in raid6_avx5124_xor_syndrome() [all …]
|
H A D | sse2.c | 42 z0 = disks - 3; /* Highest data disk */ in raid6_sse21_gen_syndrome() 87 static void raid6_sse21_xor_syndrome(int disks, int start, int stop, in raid6_sse21_xor_syndrome() argument 95 p = dptr[disks-2]; /* XOR parity */ in raid6_sse21_xor_syndrome() 96 q = dptr[disks-1]; /* RS syndrome */ in raid6_sse21_xor_syndrome() 152 z0 = disks - 3; /* Highest data disk */ in raid6_sse22_gen_syndrome() 198 static void raid6_sse22_xor_syndrome(int disks, int start, int stop, in raid6_sse22_xor_syndrome() argument 206 p = dptr[disks-2]; /* XOR parity */ in raid6_sse22_xor_syndrome() 207 q = dptr[disks-1]; /* RS syndrome */ in raid6_sse22_xor_syndrome() 284 z0 = disks - 3; /* Highest data disk */ in raid6_sse24_gen_syndrome() 372 p = dptr[disks-2]; /* XOR parity */ in raid6_sse24_xor_syndrome() [all …]
|
H A D | avx2.c | 40 z0 = disks - 3; /* Highest data disk */ in raid6_avx21_gen_syndrome() 82 static void raid6_avx21_xor_syndrome(int disks, int start, int stop, in raid6_avx21_xor_syndrome() argument 90 p = dptr[disks-2]; /* XOR parity */ in raid6_avx21_xor_syndrome() 91 q = dptr[disks-1]; /* RS syndrome */ in raid6_avx21_xor_syndrome() 147 z0 = disks - 3; /* Highest data disk */ in raid6_avx22_gen_syndrome() 192 static void raid6_avx22_xor_syndrome(int disks, int start, int stop, in raid6_avx22_xor_syndrome() argument 200 p = dptr[disks-2]; /* XOR parity */ in raid6_avx22_xor_syndrome() 201 q = dptr[disks-1]; /* RS syndrome */ in raid6_avx22_xor_syndrome() 279 z0 = disks - 3; /* Highest data disk */ in raid6_avx24_gen_syndrome() 361 p = dptr[disks-2]; /* XOR parity */ in raid6_avx24_xor_syndrome() [all …]
|
H A D | loongarch_simd.c | 33 static void raid6_lsx_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_lsx_gen_syndrome() argument 39 z0 = disks - 3; /* Highest data disk */ in raid6_lsx_gen_syndrome() 114 static void raid6_lsx_xor_syndrome(int disks, int start, int stop, in raid6_lsx_xor_syndrome() argument 122 p = dptr[disks-2]; /* XOR parity */ in raid6_lsx_xor_syndrome() 123 q = dptr[disks-1]; /* RS syndrome */ in raid6_lsx_xor_syndrome() 264 static void raid6_lasx_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_lasx_gen_syndrome() argument 270 z0 = disks - 3; /* Highest data disk */ in raid6_lasx_gen_syndrome() 323 static void raid6_lasx_xor_syndrome(int disks, int start, int stop, in raid6_lasx_xor_syndrome() argument 331 p = dptr[disks-2]; /* XOR parity */ in raid6_lasx_xor_syndrome() 332 q = dptr[disks-1]; /* RS syndrome */ in raid6_lasx_xor_syndrome()
|
H A D | neon.c | 30 static void raid6_neon ## _n ## _gen_syndrome(int disks, \ 36 raid6_neon ## _n ## _gen_syndrome_real(disks, \ 40 static void raid6_neon ## _n ## _xor_syndrome(int disks, \ 47 raid6_neon ## _n ## _xor_syndrome_real(disks, \
|
H A D | mmx.c | 35 static void raid6_mmx1_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_mmx1_gen_syndrome() argument 41 z0 = disks - 3; /* Highest data disk */ in raid6_mmx1_gen_syndrome() 83 static void raid6_mmx2_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_mmx2_gen_syndrome() argument 89 z0 = disks - 3; /* Highest data disk */ in raid6_mmx2_gen_syndrome()
|
H A D | sse1.c | 40 static void raid6_sse11_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_sse11_gen_syndrome() argument 46 z0 = disks - 3; /* Highest data disk */ in raid6_sse11_gen_syndrome() 99 static void raid6_sse12_gen_syndrome(int disks, size_t bytes, void **ptrs) in raid6_sse12_gen_syndrome() argument 105 z0 = disks - 3; /* Highest data disk */ in raid6_sse12_gen_syndrome()
|
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/ |
H A D | 0001-gnome-disk-utility-remove-libcanberra-dependency.patch | 15 src/disks/gdurestorediskimagedialog.c | 20 +------------------- 16 src/disks/meson.build | 1 - 31 diff --git a/src/disks/gducreatediskimagedialog.c b/src/disks/gducreatediskimagedialog.c 33 --- a/src/disks/gducreatediskimagedialog.c 34 +++ b/src/disks/gducreatediskimagedialog.c 83 diff --git a/src/disks/gdurestorediskimagedialog.c b/src/disks/gdurestorediskimagedialog.c 85 --- a/src/disks/gdurestorediskimagedialog.c 86 +++ b/src/disks/gdurestorediskimagedialog.c 121 diff --git a/src/disks/meson.build b/src/disks/meson.build 123 --- a/src/disks/meson.build [all …]
|
/openbmc/linux/Documentation/driver-api/md/ |
H A D | raid5-cache.rst | 6 disks. The role of RAID disks isn't changed with the cache disk. The cache disk 7 caches data to the RAID disks. The cache can be in write-through (supported 28 disks and it's possible the writes don't hit all RAID disks yet before the 35 is safe on the cache disk, the data will be flushed onto RAID disks. The 40 filesystems) after the data is safe on RAID disks, so cache disk failure 52 write. If a write crosses all RAID disks of a stripe, we call it full-stripe 57 RAID disks only after the data becomes a full stripe write. This will 63 disks later after specific conditions met. So cache disk failure will cause 90 order in which MD writes data to cache disk and RAID disks. Specifically, in 94 from raid disks as usual. [all …]
|
H A D | raid5-ppl.rst | 7 may become inconsistent with data on other member disks. If the array is also 9 disks is missing. This can lead to silent data corruption when rebuilding the 19 which chunk writes have completed. If one of the not modified data disks of 22 unclean shutdown and all disks are available, eliminating the need to resync 27 parity are dispatched to disks. PPL is a distributed log - it is stored on 44 There is a limitation of maximum 64 disks in the array for PPL. It allows to 45 keep data structures and implementation simple. RAID5 arrays with so many disks 46 are not likely due to high risk of multiple disks failure. Such restriction
|
/openbmc/linux/drivers/md/ |
H A D | md-linear.c | 40 if (sector < conf->disks[mid].end_sector) in which_dev() 46 return conf->disks + lo; in which_dev() 68 conf = kzalloc(struct_size(conf, disks, raid_disks), GFP_KERNEL); in linear_conf() 77 struct dev_info *disk = conf->disks + j; in linear_conf() 108 conf->disks[0].end_sector = conf->disks[0].rdev->sectors; in linear_conf() 111 conf->disks[i].end_sector = in linear_conf() 112 conf->disks[i-1].end_sector + in linear_conf() 113 conf->disks[i].rdev->sectors; in linear_conf()
|
/openbmc/linux/tools/testing/selftests/zram/ |
H A D | README | 6 (<id> = 0, 1, ...). Pages written to these disks are compressed and stored 7 in memory itself. These disks allow very fast I/O and compression provides 9 use as swap disks, various caches under /var and maybe many more :) 26 zram01.sh: creates general purpose ram disks with ext4 filesystems
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_disk.c | 316 int disks = 0; in efi_disk_create_partitions() local 341 disks++; in efi_disk_create_partitions() 344 return disks; in efi_disk_create_partitions() 361 int disks = 0; in efi_disk_register() local 384 disks++; in efi_disk_register() 387 disks += efi_disk_create_partitions( in efi_disk_register() 430 disks++; in efi_disk_register() 433 disks += efi_disk_create_partitions in efi_disk_register() 439 printf("Found %d disks\n", disks); in efi_disk_register()
|