Lines Matching refs:lsave
435 void ubifs_pack_lsave(struct ubifs_info *c, void *buf, int *lsave) in ubifs_pack_lsave() argument
443 pack_bits(&addr, &pos, lsave[i], c->lnum_bits); in ubifs_pack_lsave()
612 int *lsave = NULL; in ubifs_create_dflt_lpt() local
626 lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_KERNEL); in ubifs_create_dflt_lpt()
631 if (!pnode || !nnode || !buf || !ltab || !lsave) { in ubifs_create_dflt_lpt()
787 lsave[i] = c->main_first + i; in ubifs_create_dflt_lpt()
789 lsave[i] = c->main_first; in ubifs_create_dflt_lpt()
791 ubifs_pack_lsave(c, p, lsave); in ubifs_create_dflt_lpt()
848 kfree(lsave); in ubifs_create_dflt_lpt()
1075 c->lsave[i] = lnum; in unpack_lsave()
1363 int lnum = c->lsave[i]; in read_lsave()
1702 c->lsave = kmalloc(sizeof(int) * c->lsave_cnt, GFP_NOFS); in lpt_init_wr()
1703 if (!c->lsave) in lpt_init_wr()