Home
last modified time | relevance | path

Searched refs:b_rdev (Results 1 – 23 of 23) sorted by relevance

/linux-2.4.37.9/drivers/ide/raid/
Dhptraid.c239 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraidspan_make_request()
247 rsect += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in hptraidspan_make_request()
267 bh->b_rdev = thisraid->disk[disk].device; in hptraidspan_make_request()
354 bh->b_rdev = thisraid->disk[disk].device; in hptraid0_compute_request()
378 bh->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in hptraid0_make_request()
380 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraid0_make_request()
401 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraid1_read_request()
402 bh->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in hptraid1_read_request()
433 bh->b_rdev = raid[device].disk[bestsofar].device; in hptraid1_read_request()
450 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in hptraid1_write_request()
[all …]
Dpdcraid.c184 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in pdcraid0_make_request()
191 …p_normal(rsect, ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect, ataraid_gendisk.part[MINOR(bh-… in pdcraid0_make_request()
233 bh->b_rdev = thisraid->disk[disk].device; in pdcraid0_make_request()
249 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; 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()
293 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in pdcraid1_read_request()
294 bh->b_rsector += ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in pdcraid1_read_request()
321 bh->b_rdev = raid[device].disk[bestsofar].device; in pdcraid1_read_request()
Dsilraid.c189 device = (bh->b_rdev >> SHIFT)&MAJOR_MASK; in silraid0_make_request()
196 …p_normal(rsect, ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect, ataraid_gendisk.part[MINOR(bh-… in silraid0_make_request()
238 bh->b_rdev = thisraid->disk[disk].device; in silraid0_make_request()
Dmedley.c340 ((bh->b_rdev >> SHIFT) & MAJOR_MASK) - medley_devid_offset; in medley_make_request()
344 rsect = rsect + ataraid_gendisk.part[MINOR(bh->b_rdev)].start_sect; in medley_make_request()
383 bh->b_rdev = r->members[disk]; in medley_make_request()
Dataraid.c105 minor = MINOR(bh->b_rdev)>>SHIFT; in ataraid_make_request()
/linux-2.4.37.9/include/linux/
Delevator.h68 ((((bh)->b_rdev == (rq)->rq_dev && \
70 (bh)->b_rdev < (rq)->rq_dev)
Dfs.h255 kdev_t b_rdev; /* Real device */ member
/linux-2.4.37.9/drivers/block/
Dll_rw_blk.c1041 max_sectors = get_max_sectors(bh->b_rdev); in __make_request()
1055 q->plug_device_fn(q, bh->b_rdev); /* is atomic */ in __make_request()
1161 req->rq_dev = bh->b_rdev; in __make_request()
1217 int major = MAJOR(bh->b_rdev); in generic_make_request()
1226 minorsize = blk_size[major][MINOR(bh->b_rdev)]; in generic_make_request()
1242 kdevname(bh->b_rdev), rw, in generic_make_request()
1259 q = __blk_get_queue(bh->b_rdev); in generic_make_request()
1264 kdevname(bh->b_rdev), bh->b_rsector); in generic_make_request()
1299 bh->b_rdev = bh->b_dev; in submit_bh()
1311 … %s\n", current->comm, rw == WRITE ? "WRITE" : "READ", bh->b_rsector, count, kdevname(bh->b_rdev)); in submit_bh()
Delevator.c99 if (__rq->rq_dev != bh->b_rdev) in elevator_linus_merge()
162 if (__rq->rq_dev != bh->b_rdev) in elevator_noop_merge()
Dumem.c418 rw = bh->b_rdev; in add_bh()
543 struct cardinfo *card = &cards[DEVICE_NR(bh->b_rdev)]; in mm_make_request()
545 bh->b_rsector += mm_partitions[MINOR(bh->b_rdev)].start_sect; in mm_make_request()
546 bh->b_rdev = rw; /* overloading... */ in mm_make_request()
991 bh->b_dev = bh->b_rdev = in mm_init_mem()
Dloop.c429 bh->b_dev = rbh->b_rdev; in loop_get_buffer()
455 bh->b_rdev = lo->lo_device; in loop_get_buffer()
470 if (MINOR(rbh->b_rdev) >= max_loop) in loop_make_request()
473 lo = &loop_dev[MINOR(rbh->b_rdev)]; in loop_make_request()
Drd.c245 minor = MINOR(sbh->b_rdev); in rd_make_request()
DDAC960.c3104 if (DAC960_PartitionNumber(Command->BufferHeader->b_rdev) > 0) in DAC960_V1_ReadWriteError()
3108 DAC960_PartitionNumber(Command->BufferHeader->b_rdev), in DAC960_V1_ReadWriteError()
3968 if (DAC960_PartitionNumber(Command->BufferHeader->b_rdev) > 0) in DAC960_V2_ReadWriteError()
3972 DAC960_PartitionNumber(Command->BufferHeader->b_rdev), in DAC960_V2_ReadWriteError()
/linux-2.4.37.9/mm/
Dhighmem.c430 bh->b_rdev = bh_orig->b_rdev; in create_bounce()
/linux-2.4.37.9/drivers/md/
Dlinear.c150 bh->b_rdev = tmp_dev->dev; in linear_make_request()
Draid1.c652 bh_req->b_rdev = dev; in raid1_make_request()
697 mbh->b_rdev = conf->mirrors[i].dev; in raid1_make_request()
1245 mbh->b_rdev = conf->mirrors[i].dev; in raid1d()
1301 bh->b_rdev = bh->b_dev; in raid1d()
1485 bh->b_rdev = dev; in raid1_sync_request()
Draid0.c268 bh->b_rdev = tmp_dev->dev; in raid0_make_request()
Dlvm.c1158 bh.b_dev = bh.b_rdev = inode->i_rdev; in lvm_user_bmap()
1167 return put_user(kdev_t_to_nr(bh.b_rdev), &user_result->lv_dev) || in lvm_user_bmap()
1241 int minor = MINOR(bh->b_rdev); in lvm_map()
1269 lvm_name, minor, kdevname(bh->b_rdev), rsector_org, size); in lvm_map()
1362 bh->b_rdev = rdev_map; in lvm_map()
Dmultipath.c276 bh_req->b_rdev = multipath->dev; in multipath_make_request()
715 bh->b_rdev = bh->b_dev; in multipathd()
Dmd.c177 mddev_t *mddev = kdev_to_mddev(bh->b_rdev); in md_make_request()
490 bh.b_rdev = dev; in sync_page_io()
Draid5.c1151 bh->b_rdev = bh->b_dev; in handle_stripe()
/linux-2.4.37.9/fs/jfs/
Djfs_logmgr.c1863 bp->l_bh.b_rdev = bp->l_bh.b_dev; in lbmRead()
1999 bp->l_bh.b_rdev = bp->l_bh.b_dev; in lbmStartIO()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_buf.c1706 bh->b_rdev = bh->b_dev; in _pagebuf_page_io()