Lines Matching refs:offs
33 int lnum, offs = 0, nodes_cnt; in scan_for_master() local
47 offs = snod->offs; in scan_for_master()
63 if (snod->offs != offs) in scan_for_master()
69 c->mst_offs = offs; in scan_for_master()
79 snod->type, lnum, snod->offs); in scan_for_master()
120 c->zroot.offs >= c->leb_size || c->zroot.offs & 7) { in validate_master()
276 c->zroot.offs = le32_to_cpu(c->mst_node->root_offs); in ubifs_read_master()
357 int err, lnum, offs, len; in ubifs_write_master() local
364 offs = c->mst_offs + c->mst_node_alsz; in ubifs_write_master()
367 if (offs + UBIFS_MST_NODE_SZ > c->leb_size) { in ubifs_write_master()
371 offs = 0; in ubifs_write_master()
374 c->mst_offs = offs; in ubifs_write_master()
377 err = ubifs_write_node(c, c->mst_node, len, lnum, offs); in ubifs_write_master()
383 if (offs == 0) { in ubifs_write_master()
388 err = ubifs_write_node(c, c->mst_node, len, lnum, offs); in ubifs_write_master()