Lines Matching refs:cs_total
490 uspi->cs_total.cs_ndir = fs64_to_cpu(sb, usb2->fs_un.fs_u2.cs_ndir);
491 uspi->cs_total.cs_nbfree = fs64_to_cpu(sb, usb2->fs_un.fs_u2.cs_nbfree);
492 uspi->cs_total.cs_nifree = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nifree);
493 uspi->cs_total.cs_nffree = fs64_to_cpu(sb, usb3->fs_un1.fs_u2.cs_nffree);
495 uspi->cs_total.cs_ndir = fs32_to_cpu(sb, usb1->fs_cstotal.cs_ndir);
496 uspi->cs_total.cs_nbfree = fs32_to_cpu(sb, usb1->fs_cstotal.cs_nbfree);
497 uspi->cs_total.cs_nifree = fs32_to_cpu(sb, usb1->fs_cstotal.cs_nifree);
498 uspi->cs_total.cs_nffree = fs32_to_cpu(sb, usb1->fs_cstotal.cs_nffree);
610 cpu_to_fs64(sb, uspi->cs_total.cs_ndir);
612 cpu_to_fs64(sb, uspi->cs_total.cs_nbfree);
614 cpu_to_fs64(sb, uspi->cs_total.cs_nifree);
616 cpu_to_fs64(sb, uspi->cs_total.cs_nffree);
619 cpu_to_fs32(sb, uspi->cs_total.cs_ndir);
621 cpu_to_fs32(sb, uspi->cs_total.cs_nbfree);
623 cpu_to_fs32(sb, uspi->cs_total.cs_nifree);
625 cpu_to_fs32(sb, uspi->cs_total.cs_nffree);
636 * and write them back to disk, also update cs_total on disk
1382 buf->f_bfree = ufs_blkstofrags(uspi->cs_total.cs_nbfree) +
1383 uspi->cs_total.cs_nffree;
1384 buf->f_ffree = uspi->cs_total.cs_nifree;