Lines Matching refs:sbdep
674 SOFTDEP_TYPE(SBDEP, sbdep, "Superblock write dependency");
760 static int handle_written_sbdep(struct sbdep *, struct buf *);
761 static void initiate_write_sbdep(struct sbdep *);
9501 * Attach a sbdep dependency to the superblock buf so that we can keep
9510 struct sbdep *sbdep;
9520 sbdep = malloc(sizeof(struct sbdep), M_SBDEP, M_SOFTDEP_FLAGS);
9521 workitem_alloc(&sbdep->sb_list, D_SBDEP, UFSTOVFS(ump));
9522 sbdep->sb_fs = fs;
9523 sbdep->sb_ump = ump;
9525 WORKLIST_INSERT(&bp->b_dep, &sbdep->sb_list);
9558 initiate_write_sbdep(sbdep)
9559 struct sbdep *sbdep;
9565 bpfs = sbdep->sb_fs;
9566 fs = sbdep->sb_ump->um_fs;
9567 inodedep = first_unlinked_inodedep(sbdep->sb_ump);
9581 handle_written_sbdep(sbdep, bp)
9582 struct sbdep *sbdep;
9588 LOCK_OWNED(sbdep->sb_ump);
9589 fs = sbdep->sb_fs;
9593 inodedep = first_unlinked_inodedep(sbdep->sb_ump);
9599 WORKITEM_FREE(sbdep, D_SBDEP);