Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dsg.c2497 int num_sect = rqSz / SG_SECTOR_SZ; in sg_low_malloc() local
2502 ++num_sect; in sg_low_malloc()
2503 rqSz = num_sect * SG_SECTOR_SZ; in sg_low_malloc()
2505 while (num_sect > 0) { in sg_low_malloc()
2506 if ((num_sect <= sg_pool_secs_avail) && in sg_low_malloc()
2507 (scsi_dma_free_sectors > (SG_LOW_POOL_THRESHHOLD + num_sect))) { in sg_low_malloc()
2513 sg_pool_secs_avail -= num_sect; in sg_low_malloc()
2519 num_sect /= 2; /* try half as many */ in sg_low_malloc()
2520 rqSz = num_sect * SG_SECTOR_SZ; in sg_low_malloc()
2605 int num_sect = size / SG_SECTOR_SZ; in sg_low_free() local
[all …]