Lines Matching refs:jtrunc
634 SOFTDEP_TYPE(JTRUNC, jtrunc, "Journal inode truncation");
741 static void jtrunc_write(struct jtrunc *, struct jseg *, uint8_t *);
905 static struct jtrunc *newjtrunc(struct freeblks *, off_t, int);
3499 jtrunc_write(struct jtrunc *jtrunc, in jtrunc_write() argument
3505 jtrunc->jt_dep.jb_jsegdep->jd_seg = jseg; in jtrunc_write()
3508 rec->jt_ino = jtrunc->jt_ino; in jtrunc_write()
3509 rec->jt_size = jtrunc->jt_size; in jtrunc_write()
3510 rec->jt_extsize = jtrunc->jt_extsize; in jtrunc_write()
4510 static struct jtrunc *
4515 struct jtrunc *jtrunc; in newjtrunc() local
4517 jtrunc = malloc(sizeof(*jtrunc), M_JTRUNC, M_SOFTDEP_FLAGS); in newjtrunc()
4518 workitem_alloc(&jtrunc->jt_dep.jb_list, D_JTRUNC, in newjtrunc()
4520 jtrunc->jt_dep.jb_jsegdep = newjsegdep(&jtrunc->jt_dep.jb_list); in newjtrunc()
4521 jtrunc->jt_dep.jb_freeblks = freeblks; in newjtrunc()
4522 jtrunc->jt_ino = freeblks->fb_inum; in newjtrunc()
4523 jtrunc->jt_size = size; in newjtrunc()
4524 jtrunc->jt_extsize = extsize; in newjtrunc()
4525 LIST_INSERT_HEAD(&freeblks->fb_jblkdephd, &jtrunc->jt_dep, jb_deps); in newjtrunc()
4527 return (jtrunc); in newjtrunc()