jsegdep
static inline struct jsegdep *
jsegdep_merge(struct jsegdep *one, struct jsegdep *two)
struct jsegdep *swp;
struct jsegdep *jsegdep;
jsegdep = NULL;
jsegdep = jsegdep_merge(WK_JSEGDEP(wk), jsegdep);
jsegdep = jsegdep_merge(WK_JSEGDEP(wk), jsegdep);
jwork_insert(struct workhead *dst, struct jsegdep *jsegdep)
struct jsegdep *jsegdepn;
WORKLIST_INSERT(dst, &jsegdep->jd_list);
if (jsegdep->jd_seg->js_seq < jsegdepn->jd_seg->js_seq) {
WORKLIST_INSERT(dst, &jsegdep->jd_list);
free_jsegdep(jsegdep);
static inline struct jsegdep *
struct jsegdep *jsegdep;
jsegdep = inoref->if_jsegdep;
return (jsegdep);
struct jsegdep *jsegdep;
jsegdep = inoref_jseg(&jremref->jr_ref);
jsegdep->jd_state |= jremref->jr_state & MKDIR_PARENT;
jwork_insert(&dirrem->dm_jwork, jsegdep);
struct jsegdep *jsegdep;
jsegdep = inoref_jseg(&jaddref->ja_ref);
jwork_insert(&diradd->da_jwork, jsegdep);
struct jsegdep *jsegdep;
jsegdep = jnewblk->jn_jsegdep;
jwork_insert(&newblk->nb_jwork, jsegdep);
jwork_insert(&freefrag->ff_jwork, jsegdep);
jwork_insert(&freework->fw_freeblks->fb_jwork, jsegdep);
struct jsegdep *jsegdep;
jsegdep = jfreefrag->fr_jsegdep;
jwork_insert(&freefrag->ff_jwork, jsegdep);
struct jsegdep *jsegdep;
jsegdep = jblkdep->jb_jsegdep;
jwork_insert(&freeblks->fb_jwork, jsegdep);
static struct jsegdep *
struct jsegdep *jsegdep;
jsegdep = malloc(sizeof(*jsegdep), M_JSEGDEP, M_SOFTDEP_FLAGS);
workitem_alloc(&jsegdep->jd_list, D_JSEGDEP, wk->wk_mp);
jsegdep->jd_seg = NULL;
return (jsegdep);
struct jsegdep *jsegdep;
jsegdep = inoref_jseg(&jaddref->ja_ref);
jwork_insert(wkhd, jsegdep);
free_jsegdep(jsegdep);
struct jsegdep *jsegdep;
jsegdep = jnewblk->jn_jsegdep;
jwork_insert(wkhd, jsegdep);
free_jsegdep(jsegdep);
free_jsegdep(struct jsegdep *jsegdep)
if (jsegdep->jd_seg)
rele_jseg(jsegdep->jd_seg);
WORKITEM_FREE(jsegdep, D_JSEGDEP);
SOFTDEP_TYPE(JSEGDEP, jsegdep, "Journal segment complete");
static void free_jsegdep(struct jsegdep *);
static void jwork_insert(struct workhead *, struct jsegdep *);
static inline struct jsegdep *inoref_jseg(struct inoref *);
#define WK_JSEGDEP(wk) ((struct jsegdep *)(wk))
struct jsegdep *if_jsegdep; /* Will track our journal record. */
struct jsegdep *jn_jsegdep; /* Will track our journal record. */
struct jsegdep *jb_jsegdep; /* Reference to the jseg. */
struct jsegdep *fr_jsegdep; /* Will track our journal record. */