Lines Matching defs:sbdep
633 SOFTDEP_TYPE(SBDEP, sbdep, "Superblock write dependency");
720 static int handle_written_sbdep(struct sbdep *, struct buf *);
721 static void initiate_write_sbdep(struct sbdep *);
9693 * Attach a sbdep dependency to the superblock buf so that we can keep
9702 struct sbdep *sbdep;
9712 sbdep = malloc(sizeof(struct sbdep), M_SBDEP, M_SOFTDEP_FLAGS);
9713 workitem_alloc(&sbdep->sb_list, D_SBDEP, UFSTOVFS(ump));
9714 sbdep->sb_fs = fs;
9715 sbdep->sb_ump = ump;
9717 WORKLIST_INSERT(&bp->b_dep, &sbdep->sb_list);
9749 initiate_write_sbdep(struct sbdep *sbdep)
9755 bpfs = sbdep->sb_fs;
9756 fs = sbdep->sb_ump->um_fs;
9757 inodedep = first_unlinked_inodedep(sbdep->sb_ump);
9776 handle_written_sbdep(struct sbdep *sbdep, struct buf *bp)
9781 LOCK_OWNED(sbdep->sb_ump);
9782 fs = sbdep->sb_fs;
9786 inodedep = first_unlinked_inodedep(sbdep->sb_ump);
9792 WORKITEM_FREE(sbdep, D_SBDEP);