Lines Matching refs:num_fs
1591 int num_fs = *cp->pgcd_num_fs; in plat_gmount_cb() local
1594 num_fs++; in plat_gmount_cb()
1595 if ((tmp_ptr = realloc(fs_ptr, num_fs * sizeof (*tmp_ptr))) == NULL) { in plat_gmount_cb()
1601 fsp = &fs_ptr[num_fs - 1]; in plat_gmount_cb()
1605 *cp->pgcd_num_fs = num_fs; in plat_gmount_cb()
1627 int num_fs; in mount_filesystems_fsent() local
1629 num_fs = *num_fsp; in mount_filesystems_fsent()
1646 num_fs++; in mount_filesystems_fsent()
1648 num_fs * sizeof (*tmp_ptr))) == NULL) { in mount_filesystems_fsent()
1655 *num_fsp = num_fs; in mount_filesystems_fsent()
1658 fsp = &fs_ptr[num_fs - 1]; in mount_filesystems_fsent()
1696 int i, num_fs = 0; in mount_filesystems() local
1755 cb.pgcd_num_fs = &num_fs; in mount_filesystems()
1771 if (mount_filesystems_fsent(handle, zlogp, &fs_ptr, &num_fs, in mount_filesystems()
1814 qsort(fs_ptr, num_fs, sizeof (*fs_ptr), fs_compare); in mount_filesystems()
1816 for (i = 0; i < num_fs; i++) { in mount_filesystems()
1848 free_fs_data(fs_ptr, num_fs); in mount_filesystems()
1858 free_fs_data(fs_ptr, num_fs); in mount_filesystems()