Searched refs:blk_gran (Results 1 – 2 of 2) sorted by relevance
| /freebsd/usr.sbin/camdd/ |
| H A D | camdd.c | 453 uint64_t *max_blk, uint64_t *min_blk, uint64_t *blk_gran); 971 uint64_t *max_blk, uint64_t *min_blk, uint64_t *blk_gran) in camdd_probe_tape() argument 1011 *blk_gran = req_status_items[CAMDD_TS_BLK_GRAN].entry->value_unsigned; in camdd_probe_tape() 1104 uint64_t max_iosize, max_blk, min_blk, blk_gran; in camdd_probe_file() local 1113 &max_iosize, &max_blk, &min_blk, &blk_gran); in camdd_probe_file() 1145 if ((blk_gran != 0) in camdd_probe_file() 1146 && (dev->blocksize % (1 << blk_gran))) { in camdd_probe_file() 1149 dev->device_name, (1 << blk_gran), in camdd_probe_file() 1150 dev->blocksize & ~((1 << blk_gran) - 1)); in camdd_probe_file() 1151 dev->blocksize &= ~((1 << blk_gran) - 1); in camdd_probe_file()
|
| /freebsd/sys/cam/scsi/ |
| H A D | scsi_sa.c | 389 int blk_gran; member 1038 printf("a multiple of %d ", (0x1 << softc->blk_gran)); in sastrategy() 2024 if (softc->blk_gran != 0) { in saioctl() 2026 softc->blk_gran - 1; in saioctl() 2135 rblim->granularity = softc->blk_gran; in saioctl() 3323 softc->blk_gran = 0; in samount() 3328 softc->blk_gran = RBL_GRAN(rblim); in samount() 3330 softc->blk_gran = 0; in samount() 3554 if (softc->blk_gran != 0) { in samount() 3555 softc->blk_mask = softc->blk_gran - 1; in samount() [all …]
|