Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/
H A Dst.h156 int nbr_partitions; /* zero until partition support enabled */ member
H A Dst.c1081 STp->nbr_partitions = 1; /* This guess will be updated later in check_tape()
1216 if (STp->can_partitions && STp->nbr_partitions < 1) { in check_tape()
1226 STp->nbr_partitions = 1; /* This guess will be updated when necessary */ in check_tape()
3320 static int nbr_partitions(struct scsi_tape *STp) in nbr_partitions() function
3681 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3682 (STp->nbr_partitions = nbr_partitions(STp)) < 0) { in st_ioctl()
3686 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()
3716 STp->nbr_partitions = mtc.mt_count != 0 ? 2 : 1; in st_ioctl()
4349 tpnt->nbr_partitions = 0; in st_probe()