Lines Matching refs:fsp
74 struct clfs **fsp; /* Array of extended filesystem structures */ variable
1621 fsp = (struct clfs **)malloc(sizeof(*fsp)); in lfs_cleaner_main()
1622 fsp[0] = (struct clfs *)calloc(1, sizeof(**fsp)); in lfs_cleaner_main()
1624 if (init_unmounted_fs(fsp[0], argv[0]) < 0) { in lfs_cleaner_main()
1627 dlog("Filesystem has %d segments", fsp[0]->lfs_nseg); in lfs_cleaner_main()
1628 for (i = 0; i < fsp[0]->lfs_nseg; i++) { in lfs_cleaner_main()
1629 load_segment(fsp[0], i, &bip, &bic); in lfs_cleaner_main()
1640 fsp = (struct clfs **)malloc(nfss * sizeof(*fsp)); in lfs_cleaner_main()
1641 if (fsp == NULL) { in lfs_cleaner_main()
1646 fsp[i] = (struct clfs *)calloc(1, sizeof(**fsp)); in lfs_cleaner_main()
1647 if ((r = init_fs(fsp[i], argv[i])) < 0) { in lfs_cleaner_main()
1650 handle_error(fsp, i); in lfs_cleaner_main()
1660 clean_all_inodes(fsp[i]); in lfs_cleaner_main()
1668 invalidate_segment(fsp[0], inval_segment); in lfs_cleaner_main()
1689 if ((error = needs_cleaning(fsp[i], &ci)) < 0) { in lfs_cleaner_main()
1692 handle_error(fsp, i); in lfs_cleaner_main()
1698 reload_ifile(fsp[i]); in lfs_cleaner_main()
1699 if ((error = clean_fs(fsp[i], &ci)) < 0) { in lfs_cleaner_main()
1702 handle_error(fsp, i); in lfs_cleaner_main()
1716 error = kops.ko_fcntl(fsp[0]->clfs_ifilefd,LFCNSEGWAITALL,&tv); in lfs_cleaner_main()
1722 handle_error(fsp, i); in lfs_cleaner_main()