Lines Matching refs:jsegdep
671 SOFTDEP_TYPE(JSEGDEP, jsegdep, "Journal segment complete");
833 static void free_jsegdep(struct jsegdep *);
912 static void jwork_insert(struct workhead *, struct jsegdep *);
937 static inline struct jsegdep *inoref_jseg(struct inoref *);
1054 static inline struct jsegdep *
1055 jsegdep_merge(struct jsegdep *one, struct jsegdep *two) in jsegdep_merge()
1057 struct jsegdep *swp; in jsegdep_merge()
1099 struct jsegdep *jsegdep; local
1106 jsegdep = NULL;
1109 jsegdep = jsegdep_merge(WK_JSEGDEP(wk), jsegdep);
1118 jsegdep = jsegdep_merge(WK_JSEGDEP(wk), jsegdep);
1127 jwork_insert(dst, jsegdep) in jwork_insert() argument
1129 struct jsegdep *jsegdep;
1131 struct jsegdep *jsegdepn;
1138 WORKLIST_INSERT(dst, &jsegdep->jd_list);
1142 if (jsegdep->jd_seg->js_seq < jsegdepn->jd_seg->js_seq) {
1145 WORKLIST_INSERT(dst, &jsegdep->jd_list);
1147 free_jsegdep(jsegdep);
3706 static inline struct jsegdep *
3710 struct jsegdep *jsegdep; local
3712 jsegdep = inoref->if_jsegdep;
3715 return (jsegdep);
3728 struct jsegdep *jsegdep; local
3732 jsegdep = inoref_jseg(&jremref->jr_ref);
3746 jsegdep->jd_state |= jremref->jr_state & MKDIR_PARENT;
3747 jwork_insert(&dirrem->dm_jwork, jsegdep);
3765 struct jsegdep *jsegdep; local
3771 jsegdep = inoref_jseg(&jaddref->ja_ref);
3807 jwork_insert(&diradd->da_jwork, jsegdep);
3830 struct jsegdep *jsegdep; local
3834 jsegdep = jnewblk->jn_jsegdep;
3854 jwork_insert(&newblk->nb_jwork, jsegdep);
3863 jwork_insert(&freefrag->ff_jwork, jsegdep);
3871 jwork_insert(&freework->fw_freeblks->fb_jwork, jsegdep);
3929 struct jsegdep *jsegdep; local
3933 jsegdep = jfreefrag->fr_jsegdep;
3940 jwork_insert(&freefrag->ff_jwork, jsegdep);
3958 struct jsegdep *jsegdep; local
3961 jsegdep = jblkdep->jb_jsegdep;
3965 jwork_insert(&freeblks->fb_jwork, jsegdep);
3976 static struct jsegdep *
3979 struct jsegdep *jsegdep; in newjsegdep() local
3981 jsegdep = malloc(sizeof(*jsegdep), M_JSEGDEP, M_SOFTDEP_FLAGS); in newjsegdep()
3982 workitem_alloc(&jsegdep->jd_list, D_JSEGDEP, wk->wk_mp); in newjsegdep()
3983 jsegdep->jd_seg = NULL; in newjsegdep()
3985 return (jsegdep); in newjsegdep()
4305 struct jsegdep *jsegdep; local
4331 jsegdep = inoref_jseg(&jaddref->ja_ref);
4339 jwork_insert(wkhd, jsegdep);
4341 free_jsegdep(jsegdep);
4435 struct jsegdep *jsegdep; local
4438 jsegdep = jnewblk->jn_jsegdep;
4447 jwork_insert(wkhd, jsegdep);
4449 free_jsegdep(jsegdep);
4573 free_jsegdep(jsegdep) in free_jsegdep() argument
4574 struct jsegdep *jsegdep; in free_jsegdep()
4577 if (jsegdep->jd_seg)
4578 rele_jseg(jsegdep->jd_seg);
4579 WORKITEM_FREE(jsegdep, D_JSEGDEP);