Lines Matching refs:usb1
43 struct ufs_super_block_first * usb1; in ufs_free_fragments() local
50 usb1 = ubh_get_usb_first(USPI_UBH); in ufs_free_fragments()
90 fs32_add(sb, &usb1->fs_cstotal.cs_nffree, count); in ufs_free_fragments()
101 fs32_sub(sb, &usb1->fs_cstotal.cs_nffree, uspi->s_fpb); in ufs_free_fragments()
106 fs32_add(sb, &usb1->fs_cstotal.cs_nbfree, 1); in ufs_free_fragments()
137 struct ufs_super_block_first * usb1; in ufs_free_blocks() local
144 usb1 = ubh_get_usb_first(USPI_UBH); in ufs_free_blocks()
191 fs32_add(sb, &usb1->fs_cstotal.cs_nbfree, 1); in ufs_free_blocks()
242 struct ufs_super_block_first * usb1; in ufs_new_fragments() local
250 usb1 = ubh_get_usb_first(USPI_UBH); in ufs_new_fragments()
291 if (!capable(CAP_SYS_RESOURCE) && ufs_freespace(usb1, UFS_MINFREE) <= 0) { in ufs_new_fragments()
338 switch (fs32_to_cpu(sb, usb1->fs_optim)) { in ufs_new_fragments()
341 if (uspi->s_minfree < 5 || fs32_to_cpu(sb, usb1->fs_cstotal.cs_nffree) in ufs_new_fragments()
344 usb1->fs_optim = cpu_to_fs32(sb, UFS_OPTTIME); in ufs_new_fragments()
347 usb1->fs_optim = cpu_to_fs32(sb, UFS_OPTTIME); in ufs_new_fragments()
351 if (fs32_to_cpu(sb, usb1->fs_cstotal.cs_nffree) < uspi->s_dsize * in ufs_new_fragments()
354 usb1->fs_optim = cpu_to_fs32(sb, UFS_OPTTIME); in ufs_new_fragments()
401 struct ufs_super_block_first * usb1; in ufs_add_fragments() local
410 usb1 = ubh_get_usb_first (USPI_UBH); in ufs_add_fragments()
456 fs32_sub(sb, &usb1->fs_cstotal.cs_nffree, count); in ufs_add_fragments()
484 struct ufs_super_block_first * usb1; in ufs_alloc_fragments() local
493 usb1 = ubh_get_usb_first(USPI_UBH); in ufs_alloc_fragments()
558 fs32_add(sb, &usb1->fs_cstotal.cs_nffree, i); in ufs_alloc_fragments()
575 fs32_sub(sb, &usb1->fs_cstotal.cs_nffree, count); in ufs_alloc_fragments()
601 struct ufs_super_block_first * usb1; in ufs_alloccg_block() local
609 usb1 = ubh_get_usb_first(USPI_UBH); in ufs_alloccg_block()
643 fs32_sub(sb, &usb1->fs_cstotal.cs_nbfree, 1); in ufs_alloccg_block()
658 struct ufs_super_block_first * usb1; in ufs_bitmap_search() local
666 usb1 = ubh_get_usb_first (USPI_UBH); in ufs_bitmap_search()