Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dst.h159 int nbr_partitions; /* zero until partition support enabled */ member
Dosst.h564 int nbr_partitions; /* zero until partition support enabled */ member
Dst.c1071 STp->nbr_partitions = 1; /* This guess will be updated later in check_tape()
1206 if (STp->can_partitions && STp->nbr_partitions < 1) { in check_tape()
1216 STp->nbr_partitions = 1; /* This guess will be updated when necessary */ in check_tape()
3307 static int nbr_partitions(struct scsi_tape *STp) in nbr_partitions() function
3650 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3651 (STp->nbr_partitions = nbr_partitions(STp)) < 0) { in st_ioctl()
3655 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()
3685 STp->nbr_partitions = mtc.mt_count != 0 ? 2 : 1; in st_ioctl()
4334 tpnt->nbr_partitions = 0; in st_probe()
Dosst.c4598 STp->nbr_partitions = 1; /* This guess will be updated later if necessary */ in __os_scsi_tape_open()
4709 STp->nbr_partitions = 1; /* This guess will be updated later if necessary */ in __os_scsi_tape_open()
5110 if (mtc.mt_count >= STp->nbr_partitions) in osst_ioctl()
5135 STp->nbr_partitions = 1; /* Bad guess ?-) */ in osst_ioctl()
5924 tpnt->nbr_partitions = 0; in osst_probe()