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