Lines Matching refs:sz
75 const int sz = c->mst_node_alsz; in get_master_node() local
96 offs += sz; in get_master_node()
97 buf += sz; in get_master_node()
98 len -= sz; in get_master_node()
104 offs -= sz; in get_master_node()
105 buf -= sz; in get_master_node()
106 len += sz; in get_master_node()
110 offs -= sz; in get_master_node()
111 buf -= sz; in get_master_node()
112 len += sz; in get_master_node()
129 offs += sz; in get_master_node()
130 buf += sz; in get_master_node()
131 len -= sz; in get_master_node()
136 if (!is_empty(buf, min_t(int, len, sz))) { in get_master_node()
140 offs += sz; in get_master_node()
141 buf += sz; in get_master_node()
142 len -= sz; in get_master_node()
170 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() local
179 err = ubi_leb_change(c->ubi, lnum, mst, sz, UBI_SHORTTERM); in write_rcvrd_mst_node()
182 err = ubi_leb_change(c->ubi, lnum + 1, mst, sz, UBI_SHORTTERM); in write_rcvrd_mst_node()
203 const int sz = c->mst_node_alsz; in ubifs_recover_master_node() local
235 } else if (offs2 + sz == offs1) { in ubifs_recover_master_node()
240 } else if (offs1 == 0 && offs2 + sz >= c->leb_size) { in ubifs_recover_master_node()
265 if (offs2 + sz + sz <= c->leb_size) in ubifs_recover_master_node()
277 c->rcvrd_mst_node = kmalloc(sz, GFP_KERNEL); in ubifs_recover_master_node()