Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
H A Dst.h159 int nbr_partitions; /* zero until partition support enabled */ member
H A Dst.c1079 STp->nbr_partitions = 1; /* This guess will be updated later in check_tape()
1214 if (STp->can_partitions && STp->nbr_partitions < 1) { in check_tape()
1224 STp->nbr_partitions = 1; /* This guess will be updated when necessary */ in check_tape()
3324 static int nbr_partitions(struct scsi_tape *STp) in nbr_partitions()
3667 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl_common()
3668 (STp->nbr_partitions = nbr_partitions(STp)) < 0) { in st_ioctl_common()
3672 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl_common()
3702 STp->nbr_partitions = mtc.mt_count != 0 ? 2 : 1; in st_ioctl_common()
4374 tpnt->nbr_partitions in st_probe()
3311 static int nbr_partitions(struct scsi_tape *STp) nbr_partitions() function
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dst.h156 int nbr_partitions; /* zero until partition support enabled */ member
H A Dst.c1080 STp->nbr_partitions = 1; /* This guess will be updated later in check_tape()
1215 if (STp->can_partitions && STp->nbr_partitions < 1) { in check_tape()
1225 STp->nbr_partitions = 1; /* This guess will be updated when necessary */ in check_tape()
3324 static int nbr_partitions(struct scsi_tape *STp) in nbr_partitions()
3668 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()
3669 (STp->nbr_partitions = nbr_partitions(STp)) < 0) { in st_ioctl()
3673 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()
3703 STp->nbr_partitions = mtc.mt_count != 0 ? 2 : 1; in st_ioctl()
4326 tpnt->nbr_partitions in st_probe()
3311 static int nbr_partitions(struct scsi_tape *STp) nbr_partitions() function
[all...]

Completed in 12 milliseconds