Lines Matching refs:BASEHD

109 	squeeze = (jhead == BASEHD);  in reserve_space()
585 err = make_reservation(c, BASEHD, len); in ubifs_jnl_update()
629 release_head(c, BASEHD); in ubifs_jnl_update()
636 err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); in ubifs_jnl_update()
640 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; in ubifs_jnl_update()
645 release_head(c, BASEHD); in ubifs_jnl_update()
702 release_head(c, BASEHD); in ubifs_jnl_update()
874 err = make_reservation(c, BASEHD, write_len); in ubifs_jnl_write_inode()
934 err = write_head(c, BASEHD, ino_start, write_len, &lnum, &offs, sync); in ubifs_jnl_write_inode()
938 ubifs_wbuf_add_ino_nolock(&c->jheads[BASEHD].wbuf, in ubifs_jnl_write_inode()
940 release_head(c, BASEHD); in ubifs_jnl_write_inode()
967 release_head(c, BASEHD); in ubifs_jnl_write_inode()
1090 err = make_reservation(c, BASEHD, len); in ubifs_jnl_xrename()
1143 err = write_head(c, BASEHD, dent1, len, &lnum, &offs, sync); in ubifs_jnl_xrename()
1147 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; in ubifs_jnl_xrename()
1152 release_head(c, BASEHD); in ubifs_jnl_xrename()
1191 release_head(c, BASEHD); in ubifs_jnl_xrename()
1277 err = make_reservation(c, BASEHD, len); in ubifs_jnl_rename()
1358 release_head(c, BASEHD); in ubifs_jnl_rename()
1365 err = write_head(c, BASEHD, dent, len, &lnum, &offs, sync); in ubifs_jnl_rename()
1369 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; in ubifs_jnl_rename()
1374 ubifs_wbuf_add_ino_nolock(&c->jheads[BASEHD].wbuf, in ubifs_jnl_rename()
1377 ubifs_wbuf_add_ino_nolock(&c->jheads[BASEHD].wbuf, in ubifs_jnl_rename()
1380 release_head(c, BASEHD); in ubifs_jnl_rename()
1456 release_head(c, BASEHD); in ubifs_jnl_rename()
1628 err = make_reservation(c, BASEHD, len); in ubifs_jnl_truncate()
1645 err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); in ubifs_jnl_truncate()
1649 ubifs_wbuf_add_ino_nolock(&c->jheads[BASEHD].wbuf, inum); in ubifs_jnl_truncate()
1650 release_head(c, BASEHD); in ubifs_jnl_truncate()
1691 release_head(c, BASEHD); in ubifs_jnl_truncate()
1744 err = make_reservation(c, BASEHD, write_len); in ubifs_jnl_delete_xattr()
1769 err = write_head(c, BASEHD, xent, write_len, &lnum, &xent_offs, sync); in ubifs_jnl_delete_xattr()
1771 ubifs_wbuf_add_ino_nolock(&c->jheads[BASEHD].wbuf, host->i_ino); in ubifs_jnl_delete_xattr()
1772 release_head(c, BASEHD); in ubifs_jnl_delete_xattr()
1815 release_head(c, BASEHD); in ubifs_jnl_delete_xattr()
1862 err = make_reservation(c, BASEHD, aligned_len); in ubifs_jnl_change_xattr()
1875 err = write_head(c, BASEHD, ino, aligned_len, &lnum, &offs, 0); in ubifs_jnl_change_xattr()
1877 struct ubifs_wbuf *wbuf = &c->jheads[BASEHD].wbuf; in ubifs_jnl_change_xattr()
1882 release_head(c, BASEHD); in ubifs_jnl_change_xattr()
1907 release_head(c, BASEHD); in ubifs_jnl_change_xattr()