Lines Matching defs:fsip
534 ndmp_fs_info_v3 *fsip = NULL, *fsip_save = NULL; /* FS info pointer */
566 fsip_save = fsip = ndmp_malloc(sizeof (ndmp_fs_info_v3) * nmnt);
567 if (!fsip) {
585 fsip->fs_logical_device = ndmp_malloc(log_dev_len);
586 fsip->fs_type = ndmp_malloc(MNTTYPE_LEN);
587 if (!fsip->fs_logical_device || !fsip->fs_type) {
588 free(fsip->fs_logical_device);
589 free(fsip->fs_type);
593 (void) snprintf(fsip->fs_type, MNTTYPE_LEN, "%s",
595 (void) snprintf(fsip->fs_logical_device, log_dev_len, "%s",
597 fsip->invalid = 0;
602 fsip->fs_status =
606 fsip->invalid = 0;
607 fsip->total_size =
610 fsip->used_size =
614 fsip->avail_size =
617 fsip->total_inodes =
619 fsip->used_inodes =
622 fsip->fs_status = "";
626 free(fsip->fs_logical_device);
627 free(fsip->fs_type);
634 fsip->fs_env.fs_env_val = envp;
636 NDMP_SETENV(envp, "TYPE", fsip->fs_type);
643 fsip->fs_env.fs_env_len = envp - save;
645 fsip++;
657 while (fsip > fsip_save) {
658 fsip--;
659 free(fsip->fs_logical_device);
660 free(fsip->fs_env.fs_env_val);
661 free(fsip->fs_type);
664 free(fsip);