Home
last modified time | relevance | path

Searched full:disks (Results 1 – 25 of 323) sorted by relevance

12345678910>>...13

/openbmc/linux/crypto/async_tx/
H A Dasync_pq.c22 * blocks[disks-2] and the 'Q' destination address at blocks[disks-1]
36 const unsigned char *scfs, int disks, in do_async_gen_syndrome() argument
46 int src_cnt = disks - 2; in do_async_gen_syndrome()
76 dma_dest[0] = unmap->addr[disks - 2]; in do_async_gen_syndrome()
77 dma_dest[1] = unmap->addr[disks - 1]; in do_async_gen_syndrome()
107 do_sync_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in do_sync_gen_syndrome() argument
112 int start = -1, stop = disks - 3; in do_sync_gen_syndrome()
119 for (i = 0; i < disks; i++) { in do_sync_gen_syndrome()
121 BUG_ON(i > disks - 3); /* P or Q can't be zero */ in do_sync_gen_syndrome()
126 if (i < disks - 2) { in do_sync_gen_syndrome()
[all …]
H A Draid6test.c35 static void makedata(int disks) in makedata() argument
39 for (i = 0; i < disks; i++) { in makedata()
46 static char disk_type(int d, int disks) in disk_type() argument
48 if (d == disks - 2) in disk_type()
50 else if (d == disks - 1) in disk_type()
57 static void raid6_dual_recov(int disks, size_t bytes, int faila, int failb, in raid6_dual_recov() argument
68 if (failb == disks-1) { in raid6_dual_recov()
69 if (faila == disks-2) { in raid6_dual_recov()
73 disks, bytes, &submit); in raid6_dual_recov()
80 BUG_ON(disks > NDISKS); in raid6_dual_recov()
[all …]
H A Dasync_raid6_recov.c153 __2data_recov_4(int disks, size_t bytes, int faila, int failb, in __2data_recov_4() argument
168 p = blocks[disks-2]; in __2data_recov_4()
169 p_off = offs[disks-2]; in __2data_recov_4()
170 q = blocks[disks-1]; in __2data_recov_4()
171 q_off = offs[disks-1]; in __2data_recov_4()
203 __2data_recov_5(int disks, size_t bytes, int faila, int failb, in __2data_recov_5() argument
221 for (i = 0; i < disks-2; i++) { in __2data_recov_5()
231 p = blocks[disks-2]; in __2data_recov_5()
232 p_off = offs[disks-2]; in __2data_recov_5()
233 q = blocks[disks-1]; in __2data_recov_5()
[all …]
/openbmc/linux/lib/raid6/
H A Drecov.c19 static void raid6_2data_recov_intx1(int disks, size_t bytes, int faila, in raid6_2data_recov_intx1() argument
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()
40 raid6_call.gen_syndrome(disks, bytes, ptrs); 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()
63 static void raid6_datap_recov_intx1(int disks, size_t bytes, int faila, in raid6_datap_recov_intx1() argument
69 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_intx1()
[all …]
H A Drecov_neon.c23 static void raid6_2data_recov_neon(int disks, size_t bytes, int faila, in raid6_2data_recov_neon() argument
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()
63 static void raid6_datap_recov_neon(int disks, size_t bytes, int faila, in raid6_datap_recov_neon() argument
69 p = (u8 *)ptrs[disks - 2]; in raid6_datap_recov_neon()
[all …]
H A Drecov_s390xc.c23 static void raid6_2data_recov_s390xc(int disks, size_t bytes, int faila, in raid6_2data_recov_s390xc() argument
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()
72 static void raid6_datap_recov_s390xc(int disks, size_t bytes, int faila, in raid6_datap_recov_s390xc() argument
79 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_s390xc()
[all …]
H A Dneon.h3 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 Dalgos.c160 void *(*const dptrs)[RAID6_TEST_DISKS], const int disks) in raid6_choose_gen() argument
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()
[all …]
H A Drecov_loongarch_simd.c29 static void raid6_2data_recov_lsx(int disks, size_t bytes, int faila, in raid6_2data_recov_lsx() argument
36 p = (u8 *)ptrs[disks - 2]; in raid6_2data_recov_lsx()
37 q = (u8 *)ptrs[disks - 1]; in raid6_2data_recov_lsx()
46 ptrs[disks - 2] = dp; in raid6_2data_recov_lsx()
49 ptrs[disks - 1] = dq; in raid6_2data_recov_lsx()
51 raid6_call.gen_syndrome(disks, bytes, ptrs); 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()
186 static void raid6_datap_recov_lsx(int disks, size_t bytes, int faila, in raid6_datap_recov_lsx() argument
192 p = (u8 *)ptrs[disks - 2]; in raid6_datap_recov_lsx()
[all …]
H A Drecov_ssse3.c16 static void raid6_2data_recov_ssse3(int disks, size_t bytes, int faila, in raid6_2data_recov_ssse3() argument
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()
191 static void raid6_datap_recov_ssse3(int disks, size_t bytes, int faila, in raid6_datap_recov_ssse3() argument
200 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_ssse3()
[all …]
H A Drecov_avx512.c24 static void raid6_2data_recov_avx512(int disks, size_t bytes, int faila, in raid6_2data_recov_avx512() argument
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()
227 static void raid6_datap_recov_avx512(int disks, size_t bytes, int faila, in raid6_datap_recov_avx512() argument
234 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_avx512()
[all …]
H A Drecov_avx2.c16 static void raid6_2data_recov_avx2(int disks, size_t bytes, int faila, in raid6_2data_recov_avx2() argument
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()
186 static void raid6_datap_recov_avx2(int disks, size_t bytes, int faila, in raid6_datap_recov_avx2() argument
193 p = (u8 *)ptrs[disks-2]; in raid6_datap_recov_avx2()
[all …]
/openbmc/linux/Documentation/driver-api/md/
H A Draid5-cache.rst6 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
92 parity to the log, writes the data and parity to RAID disks after the data and
[all …]
H A Draid5-ppl.rst7 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/block/partitions/
H A DKconfig10 Say Y here if you would like to use hard disks under Linux which
24 Support hard disks partitioned under Acorn operating systems.
31 Say Y here if you would like to use hard disks under Linux which
44 Say Y here if you would like to use hard disks under Linux which
72 to read disks partitioned under RISCiX.
80 "logical volumes" can be spread across one or multiple disks,
89 Say Y here if you would like to use hard disks under Linux which
96 Say Y here if you would like to use hard disks under Linux which
103 Say Y here if you would like to use hard disks under Linux which
111 partition table format used by IBM DASD disks operating under CMS.
[all …]
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gnome/gnome-disk-utility/gnome-disk-utility/
H A D0001-gnome-disk-utility-remove-libcanberra-dependency.patch14 src/disks/gducreatediskimagedialog.c | 27 ++-------------------------
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
[all …]
/openbmc/linux/drivers/md/
H A Dmd-linear.c40 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()
119 * conf->disks[] when it is updated in linear_add() and used to in linear_conf()
120 * iterate old conf->disks[] earray in linear_congested(). in linear_conf()
[all …]
H A Draid5.c124 if (sh->qd_idx == sh->disks - 1) in raid6_d0()
135 /* When walking through the disks in a raid5, starting at raid6_d0,
136 * We need to map each disk to a 'slot', where the data disks are slot
230 for (i = sh->disks; i--; ) in do_release_stripe()
499 init_stripe_shared_pages(struct stripe_head *sh, struct r5conf *conf, int disks) in init_stripe_shared_pages() argument
508 nr_pages = (disks + cnt - 1) / cnt; in init_stripe_shared_pages()
589 sh->disks = previous ? conf->previous_raid_disks : conf->raid_disks; in init_stripe()
594 for (i = sh->disks; i--; ) { in init_stripe()
697 struct md_rdev *rdev = rcu_dereference(conf->disks[i].rdev); in raid5_calc_degraded()
699 rdev = rcu_dereference(conf->disks[i].replacement); in raid5_calc_degraded()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/
H A Dinit28 DISKS="/dev/hd[a-z] /dev/hd[a-z][a-z]"
29 DISKS="$DISKS /dev/sd[a-z] /dev/sd[a-z][a-z]"
30 DISKS="$DISKS /dev/sr[a-z] /dev/sr[a-z][a-z]"
58 for disk in $DISKS ; do
71 log_progress_msg "no disks with monitoring capability were found."
/openbmc/qemu/tests/avocado/
H A Dkvm_xen_guest.py95 ' xen_emul_unplug=ide-disks')
107 ' xen_emul_unplug=ide-disks pci=nomsi')
119 ' xen_emul_unplug=ide-disks noapic pci=nomsi')
131 ' xen_emul_unplug=ide-disks')
143 ' xen_emul_unplug=ide-disks' +
156 ' xen_emul_unplug=ide-disks pci=nomsi' +
168 ' xen_emul_unplug=ide-disks' +
/openbmc/qemu/tests/qemu-iotests/
H A D267.out35 List of snapshots present on all disks:
46 List of snapshots present on all disks:
71 List of snapshots present on all disks:
96 List of snapshots present on all disks:
107 List of snapshots present on all disks:
121 List of snapshots present on all disks:
136 List of snapshots present on all disks:
147 List of snapshots present on all disks:
168 List of snapshots present on all disks:
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-webadmin/netdata/netdata/
H A Dnetdata.conf309 # enable new disks detected at runtime = yes
310 # performance metrics for physical disks = auto
311 # performance metrics for virtual disks = auto
313 # bandwidth for all disks = auto
314 # operations for all disks = auto
315 # merged operations for all disks = auto
316 # i/o time for all disks = auto
317 # queued operations for all disks = auto
318 # utilization percentage for all disks = auto
319 # extended operations for all disks = auto
[all …]
/openbmc/linux/tools/testing/selftests/zram/
H A DREADME6 (<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/linux/drivers/s390/block/
H A DKconfig33 prompt "Support for ECKD Disks"
41 prompt "Support for FBA Disks"
49 prompt "Support for DIAG access to Disks"
53 Disks under VM. If you are not running under VM or unsure what it is,
/openbmc/u-boot/lib/efi_loader/
H A Defi_disk.c316 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()
404 printf("Scanning disks on %s...\n", if_typename); 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()

12345678910>>...13