Home
last modified time | relevance | path

Searched refs:bh_ptr (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/drivers/md/
Dxor.c29 xor_block(unsigned int count, struct buffer_head **bh_ptr) in xor_block() argument
32 unsigned long bytes = bh_ptr[0]->b_size; in xor_block()
34 p0 = (unsigned long *) bh_ptr[0]->b_data; in xor_block()
35 p1 = (unsigned long *) bh_ptr[1]->b_data; in xor_block()
41 p2 = (unsigned long *) bh_ptr[2]->b_data; in xor_block()
47 p3 = (unsigned long *) bh_ptr[3]->b_data; in xor_block()
53 p4 = (unsigned long *) bh_ptr[4]->b_data; in xor_block()
Draid5.c654 xor_block(count, bh_ptr); \
664 struct buffer_head *bh_ptr[MAX_XOR_BLOCKS], *bh; in compute_block() local
670 bh_ptr[0] = sh->bh_cache[dd_idx]; in compute_block()
677 bh_ptr[count++] = bh; in compute_block()
684 xor_block(count, bh_ptr); in compute_block()
692 struct buffer_head *bh_ptr[MAX_XOR_BLOCKS]; in compute_parity() local
699 bh_ptr[0] = sh->bh_cache[pd_idx]; in compute_parity()
709 bh_ptr[count++] = sh->bh_cache[i]; in compute_parity()
732 xor_block(count, bh_ptr); in compute_parity()
753 bh_ptr[count++] = sh->bh_cache[i]; in compute_parity()
[all …]
/linux-2.4.37.9/include/linux/raid/
Dxor.h8 extern void xor_block(unsigned int count, struct buffer_head **bh_ptr);