Lines Matching defs:sbdep
672 SOFTDEP_TYPE(SBDEP, sbdep, "Superblock write dependency");
756 static int handle_written_sbdep(struct sbdep *, struct buf *);
757 static void initiate_write_sbdep(struct sbdep *);
9425 * Attach a sbdep dependency to the superblock buf so that we can keep
9434 struct sbdep *sbdep;
9444 sbdep = malloc(sizeof(struct sbdep), M_SBDEP, M_SOFTDEP_FLAGS);
9445 workitem_alloc(&sbdep->sb_list, D_SBDEP, UFSTOVFS(ump));
9446 sbdep->sb_fs = fs;
9447 sbdep->sb_ump = ump;
9449 WORKLIST_INSERT(&bp->b_dep, &sbdep->sb_list);
9482 initiate_write_sbdep(sbdep)
9483 struct sbdep *sbdep;
9489 bpfs = sbdep->sb_fs;
9490 fs = sbdep->sb_ump->um_fs;
9491 inodedep = first_unlinked_inodedep(sbdep->sb_ump);
9505 handle_written_sbdep(sbdep, bp)
9506 struct sbdep *sbdep;
9512 LOCK_OWNED(sbdep->sb_ump);
9513 fs = sbdep->sb_fs;
9517 inodedep = first_unlinked_inodedep(sbdep->sb_ump);
9523 WORKITEM_FREE(sbdep, D_SBDEP);