Lines Matching refs:sz
104 const int sz = c->mst_node_alsz; in get_master_node() local
125 offs += sz; in get_master_node()
126 buf += sz; in get_master_node()
127 len -= sz; in get_master_node()
133 offs -= sz; in get_master_node()
134 buf -= sz; in get_master_node()
135 len += sz; in get_master_node()
139 offs -= sz; in get_master_node()
140 buf -= sz; in get_master_node()
141 len += sz; in get_master_node()
158 offs += sz; in get_master_node()
159 buf += sz; in get_master_node()
160 len -= sz; in get_master_node()
165 if (!is_empty(buf, min_t(int, len, sz))) { in get_master_node()
169 offs += sz; in get_master_node()
170 buf += sz; in get_master_node()
171 len -= sz; in get_master_node()
199 int err = 0, lnum = UBIFS_MST_LNUM, sz = c->mst_node_alsz; in write_rcvrd_mst_node() local
208 err = ubifs_leb_change(c, lnum, mst, sz); in write_rcvrd_mst_node()
211 err = ubifs_leb_change(c, lnum + 1, mst, sz); in write_rcvrd_mst_node()
232 const int sz = c->mst_node_alsz; in ubifs_recover_master_node() local
264 } else if (offs2 + sz == offs1) { in ubifs_recover_master_node()
270 c->leb_size - offs2 - sz < sz) { in ubifs_recover_master_node()
295 if (offs2 + sz + sz <= c->leb_size) in ubifs_recover_master_node()
307 c->rcvrd_mst_node = kmalloc(sz, GFP_KERNEL); in ubifs_recover_master_node()