Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 4 of 4) sorted by relevance

/fs/exofs/
Dore.c55 layout->parity = 0; in ore_verify_layout()
58 layout->parity = 1; in ore_verify_layout()
107 if (layout->parity) { in ore_verify_layout()
109 (layout->group_width - layout->parity) * in ore_verify_layout()
246 if (layout->parity && length) { in ore_get_rw_state()
247 unsigned data_devs = layout->group_width - layout->parity; in ore_get_rw_state()
258 num_raid_units = num_stripes * layout->parity; in ore_get_rw_state()
290 if (layout->parity) in ore_get_rw_state()
522 u32 parity = layout->parity; in ore_calc_stripe_info() local
524 u32 D = group_width - parity; in ore_calc_stripe_info()
[all …]
Dore_raid.c44 unsigned parity; member
70 unsigned parity, struct __stripe_pages_2d **psp2d) in _sp2d_alloc() argument
73 unsigned data_devs = group_width - parity; in _sp2d_alloc()
136 sp2d->parity = parity; in _sp2d_alloc()
146 unsigned group_width = data_devs + sp2d->parity; in _sp2d_reset()
687 layout->parity, &ios->sp2d)) { in _ore_post_alloc_raid_stuff()
/fs/ocfs2/
Dblockcheck.c107 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d, unsigned int nr) in ocfs2_hamming_encode() argument
146 parity ^= b; in ocfs2_hamming_encode()
151 return parity; in ocfs2_hamming_encode()
Dblockcheck.h88 u32 ocfs2_hamming_encode(u32 parity, void *data, unsigned int d,