Lines Matching refs:sz
100 const int sz = c->mst_node_alsz; in get_master_node() local
121 offs += sz; in get_master_node()
122 buf += sz; in get_master_node()
123 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()
135 offs -= sz; in get_master_node()
136 buf -= sz; in get_master_node()
137 len += sz; in get_master_node()
154 offs += sz; in get_master_node()
155 buf += sz; in get_master_node()
156 len -= sz; in get_master_node()
161 if (!is_empty(buf, min_t(int, len, sz))) { in get_master_node()
165 offs += sz; in get_master_node()
166 buf += sz; in get_master_node()
167 len -= sz; in get_master_node()
195 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() local
207 err = ubifs_leb_change(c, lnum, mst, sz); in write_rcvrd_mst_node()
210 err = ubifs_leb_change(c, lnum + 1, mst, sz); in write_rcvrd_mst_node()
231 const int sz = c->mst_node_alsz; in ubifs_recover_master_node() local
261 } else if (offs2 + sz == offs1) { in ubifs_recover_master_node()
267 c->leb_size - offs2 - sz < sz) { in ubifs_recover_master_node()
292 if (offs2 + sz + sz <= c->leb_size) in ubifs_recover_master_node()
304 c->rcvrd_mst_node = kmalloc(sz, GFP_KERNEL); in ubifs_recover_master_node()