Searched refs:bh1 (Results 1 – 8 of 8) sorted by relevance
/linux-2.4.37.9/fs/sysv/ |
D | super.c | 49 struct buffer_head *bh1 = sb->sv_bh1; in detected_xenix() local 54 if (bh1 != bh2) in detected_xenix() 55 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix() 58 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix() 81 struct buffer_head *bh1 = sb->sv_bh1; in detected_sysv4() local 84 if (bh1 == bh2) in detected_sysv4() 85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4() 109 struct buffer_head *bh1 = sb->sv_bh1; in detected_sysv2() local 112 if (bh1 == bh2) in detected_sysv2() 113 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv2() [all …]
|
/linux-2.4.37.9/drivers/ide/raid/ |
D | ataraid.c | 168 struct buffer_head *bh1,*bh2; in ataraid_split_request() local 170 bh1=ataraid_get_bhead(); in ataraid_split_request() 174 if ((!bh1)||(!bh2)) in ataraid_split_request() 180 memcpy(bh1, bh, sizeof(*bh)); in ataraid_split_request() 183 bh1->b_end_io = ataraid_end_request; in ataraid_split_request() 187 bh1->b_size /= 2; in ataraid_split_request() 191 bh1->b_private = private; in ataraid_split_request() 197 generic_make_request(rw,bh1); in ataraid_split_request()
|
D | pdcraid.c | 244 struct buffer_head *bh1; in pdcraid1_write_request() local 260 bh1=ataraid_get_bhead(); in pdcraid1_write_request() 262 if (!bh1) in pdcraid1_write_request() 266 memcpy(bh1, bh, sizeof(*bh)); in pdcraid1_write_request() 268 bh1->b_end_io = ataraid_end_request; in pdcraid1_write_request() 269 bh1->b_private = private; in pdcraid1_write_request() 270 bh1->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; /* partition offset */ in pdcraid1_write_request() 271 bh1->b_rdev = raid[device].disk[i].device; in pdcraid1_write_request() 274 raid[device].disk[i].last_pos = bh1->b_rsector+(bh1->b_size>>9); in pdcraid1_write_request() 276 generic_make_request(rw,bh1); in pdcraid1_write_request()
|
D | hptraid.c | 445 struct buffer_head *bh1; in hptraid1_write_request() local 461 bh1=ataraid_get_bhead(); in hptraid1_write_request() 463 if (!bh1) in hptraid1_write_request() 470 memcpy(bh1, bh, sizeof(*bh)); in hptraid1_write_request() 472 bh1->b_end_io = ataraid_end_request; in hptraid1_write_request() 473 bh1->b_private = private; in hptraid1_write_request() 474 bh1->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; /* partition offset */ in hptraid1_write_request() 475 bh1->b_rdev = raid[device].disk[i].device; in hptraid1_write_request() 478 raid[device].disk[i].last_pos = bh1->b_rsector+(bh1->b_size>>9); in hptraid1_write_request() 483 (bh1->b_rdev-1), in hptraid1_write_request() [all …]
|
/linux-2.4.37.9/fs/hpfs/ |
D | anode.c | 66 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local 124 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree() 145 brelse(bh1); in hpfs_add_sector_to_btree() 151 bh = bh1; in hpfs_add_sector_to_btree() 240 if ((unode = hpfs_map_anode(s, ranode->u.internal[n].down, &bh1))) { in hpfs_add_sector_to_btree() 243 mark_buffer_dirty(bh1); in hpfs_add_sector_to_btree() 244 brelse(bh1); in hpfs_add_sector_to_btree()
|
D | ea.c | 317 struct buffer_head *bh1, *bh2; in hpfs_set_ea() local 319 if (!(b1 = hpfs_map_sector(s, fnode->ea_secno + i, &bh1, len - i - 1))) { in hpfs_set_ea() 324 brelse(bh1); in hpfs_set_ea() 329 brelse(bh1); in hpfs_set_ea()
|
D | super.c | 366 struct buffer_head *bh0, *bh1, *bh2; in hpfs_read_super() local 417 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_read_super() 529 brelse(bh1); in hpfs_read_super() 563 bail3: brelse(bh1); in hpfs_read_super()
|
/linux-2.4.37.9/drivers/md/ |
D | raid1.c | 1276 struct buffer_head *bh1 = mbh; in raid1d() local 1278 generic_make_request(WRITE, bh1); in raid1d() 1279 md_sync_acct(bh1->b_dev, bh1->b_size/512); in raid1d()
|