Searched refs:nbr_partitions (Results 1 – 3 of 3) sorted by relevance
156 int nbr_partitions; /* zero until partition support enabled */ member
1102 STp->nbr_partitions = 1; /* This guess will be updated later in check_tape()1237 if (STp->can_partitions && STp->nbr_partitions < 1) { in check_tape()1247 STp->nbr_partitions = 1; /* This guess will be updated when necessary */ in check_tape()3341 static int nbr_partitions(struct scsi_tape *STp) in nbr_partitions() function3700 if (mtc.mt_count >= STp->nbr_partitions && in st_ioctl()3701 (STp->nbr_partitions = nbr_partitions(STp)) < 0) { in st_ioctl()3705 if (mtc.mt_count >= STp->nbr_partitions) { in st_ioctl()3735 STp->nbr_partitions = mtc.mt_count != 0 ? 2 : 1; in st_ioctl()4368 tpnt->nbr_partitions = 0; in st_probe()
3574 static int partition_tape(struct sdebug_dev_info *devip, int nbr_partitions, in partition_tape() argument3591 devip->tape_nbr_partitions = nbr_partitions; in partition_tape()3594 partition_pg[3] = nbr_partitions - 1; in partition_tape()3598 return nbr_partitions; in partition_tape()