Home
last modified time | relevance | path

Searched refs:max_sectors (Results 1 – 25 of 61) sorted by relevance

123

/linux-2.4.37.9/drivers/block/
Delevator.c81 int max_sectors) in elevator_linus_merge() argument
105 if (__rq->nr_sectors + count > max_sectors) in elevator_linus_merge()
148 int max_sectors) in elevator_noop_merge() argument
164 if (__rq->nr_sectors + count > max_sectors) in elevator_noop_merge()
Dll_rw_blk.c119 int * max_sectors[MAX_BLKDEV]; variable
130 if (!max_sectors[MAJOR(dev)]) in get_max_sectors()
132 return max_sectors[MAJOR(dev)][MINOR(dev)]; in get_max_sectors()
923 int max_sectors, in attempt_merge() argument
933 || req->nr_sectors + next->nr_sectors > max_sectors in attempt_merge()
969 int max_sectors, in attempt_back_merge() argument
974 attempt_merge(q, req, max_sectors, max_segments); in attempt_back_merge()
980 int max_sectors, in attempt_front_merge() argument
988 attempt_merge(q, blkdev_entry_to_request(prev), max_sectors, max_segments); in attempt_front_merge()
997 int rw_ahead, max_sectors, el_ret; in __make_request() local
[all …]
/linux-2.4.37.9/drivers/char/
Draw.c307 int max_sectors; in rw_raw_dev() local
332 max_sectors = KIO_MAX_SECTORS >> (sector_bits - 9); in rw_raw_dev()
360 if (blocks > max_sectors) in rw_raw_dev()
361 blocks = max_sectors; in rw_raw_dev()
/linux-2.4.37.9/drivers/md/
Dlvm-snap.c362 int max_sectors, nr_sectors; in lvm_snapshot_COW() local
393 max_sectors = KIO_MAX_SECTORS * (min_blksize >> 9); in lvm_snapshot_COW()
402 nr_sectors = min(chunk_size, max_sectors); in lvm_snapshot_COW()
550 int ret, max_sectors; in lvm_snapshot_alloc() local
557 max_sectors = KIO_MAX_SECTORS << (PAGE_SHIFT - 9); in lvm_snapshot_alloc()
560 lvm_snapshot_alloc_iobuf_pages(lv_snap->lv_iobuf, max_sectors); in lvm_snapshot_alloc()
/linux-2.4.37.9/drivers/scsi/
Dhosts.h248 short unsigned int max_sectors; member
393 short unsigned int max_sectors; member
Dhosts.c229 retval->max_sectors = tpnt->max_sectors; in scsi_register()
Dsym53c8xx.h99 max_sectors: MAX_SEGMENTS*8, \
Dsata_sil.c144 .max_sectors = ATA_MAX_SECTORS,
361 ap->host->max_sectors = 15; in sil_dev_config()
362 ap->host->hostt->max_sectors = 15; in sil_dev_config()
Dscsi_merge.c417 if ((req->nr_sectors + (bh->b_size >> 9)) > SHpnt->max_sectors) in __scsi_back_merge_fn()
476 if ((req->nr_sectors + (bh->b_size >> 9)) > SHpnt->max_sectors) in __scsi_front_merge_fn()
639 if ((req->nr_sectors + next->nr_sectors) > SHpnt->max_sectors) in __scsi_merge_requests_fn()
Dsata_uli.c84 .max_sectors = ATA_MAX_SECTORS,
DChangeLog.serverraid4 4.80.20 - Set max_sectors in Scsi_Host structure ( if >= 2.4.7 kernel )
Dsata_sis.c96 .max_sectors = ATA_MAX_SECTORS,
DChangeLog.ips38 4.80.20 - Set max_sectors in Scsi_Host structure ( if >= 2.4.7 kernel )
Dsata_via.c104 .max_sectors = ATA_MAX_SECTORS,
Dsata_vsc.c231 .max_sectors = ATA_MAX_SECTORS,
Dsata_svw.c297 .max_sectors = ATA_MAX_SECTORS,
Dsata_nv.c232 .max_sectors = ATA_MAX_SECTORS,
Data_piix.c181 .max_sectors = ATA_MAX_SECTORS,
Dsd.c1193 max_sectors[SD_MAJOR(i)] = sd_max_sectors + i * (SCSI_DISKS_PER_MAJOR << 4); in sd_init()
1486 max_sectors[SD_MAJOR(i)] = NULL; in exit_sd()
/linux-2.4.37.9/drivers/cdrom/
Dcm206.c280 signed char max_sectors; /* number of sectors that fit in adapter mem */ member
432 && (cd->adapter_last - cd->adapter_first == cd->max_sectors in cm206_interrupt()
832 && sector < cd->adapter_first + cd->max_sectors) { in try_adapter()
1511 cd->max_sectors = (inw(r_data_status) & ds_ram_size) ? 24 : 97; in cm206_init()
1513 " %ld bytes kernel memory used.\n", cd->max_sectors * 2, in cm206_init()
/linux-2.4.37.9/include/linux/
Dblkdev.h260 extern int * max_sectors[MAX_BLKDEV];
/linux-2.4.37.9/drivers/s390/char/
Dtapeblock.c113 max_sectors[tapeblock_major] = (int*) kmalloc (256*sizeof(int),GFP_ATOMIC); in tapeblock_init()
114 memset(max_sectors[tapeblock_major],0,256*sizeof(int)); in tapeblock_init()
/linux-2.4.37.9/drivers/s390/block/
Ddasd.c801 max_sectors[major] = in dasd_register_major()
803 if (!max_sectors[major]) in dasd_register_major()
805 memset (max_sectors[major], 0, (1 << MINORBITS) * sizeof (int)); in dasd_register_major()
825 kfree (max_sectors[major]); in dasd_register_major()
826 max_sectors[major] = NULL; in dasd_register_major()
899 kfree (max_sectors[major]); in dasd_unregister_major()
904 max_sectors[major] = NULL; in dasd_unregister_major()
4214 max_sectors[major][minor + i] = in dasd_setup_blkdev()
4269 max_sectors[major][minor + i] = 0; in dasd_disable_blkdev()
/linux-2.4.37.9/drivers/block/paride/
Dpd.c410 max_sectors[MAJOR_NR] = pd_maxsectors; in pd_init()
589 max_sectors[MAJOR_NR] = NULL; in cleanup_module()
/linux-2.4.37.9/drivers/scsi/aacraid/
Dlinit.c710 max_sectors: 128,

123