Lines Matching refs:offs
97 int lnum, offs = 0, nodes_cnt, err; in scan_for_master() local
111 offs = snod->offs; in scan_for_master()
127 if (snod->offs != offs) in scan_for_master()
132 c->mst_offs = offs; in scan_for_master()
162 snod->type, lnum, snod->offs); in scan_for_master()
203 c->zroot.offs >= c->leb_size || c->zroot.offs & 7) { in validate_master()
359 c->zroot.offs = le32_to_cpu(c->mst_node->root_offs); in ubifs_read_master()
439 int err, lnum, offs, len; in ubifs_write_master() local
446 offs = c->mst_offs + c->mst_node_alsz; in ubifs_write_master()
449 if (offs + UBIFS_MST_NODE_SZ > c->leb_size) { in ubifs_write_master()
453 offs = 0; in ubifs_write_master()
456 c->mst_offs = offs; in ubifs_write_master()
460 err = ubifs_write_node_hmac(c, c->mst_node, len, lnum, offs, in ubifs_write_master()
467 if (offs == 0) { in ubifs_write_master()
472 err = ubifs_write_node_hmac(c, c->mst_node, len, lnum, offs, in ubifs_write_master()