Lines Matching refs:tmp64
82 long long tmp64, main_bytes; in create_default_filesystem() local
160 tmp64 = (long long)max_buds * c->leb_size; in create_default_filesystem()
171 sup->max_bud_bytes = cpu_to_le64(tmp64); in create_default_filesystem()
188 tmp64 = div_u64(main_bytes * DEFAULT_RP_PERCENT, 100); in create_default_filesystem()
189 if (tmp64 > DEFAULT_MAX_RP_SIZE) in create_default_filesystem()
190 tmp64 = DEFAULT_MAX_RP_SIZE; in create_default_filesystem()
191 sup->rp_size = cpu_to_le64(tmp64); in create_default_filesystem()
232 tmp64 = main_bytes; in create_default_filesystem()
233 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); in create_default_filesystem()
234 tmp64 -= ALIGN(UBIFS_INO_NODE_SZ, c->min_io_size); in create_default_filesystem()
235 mst->total_free = cpu_to_le64(tmp64); in create_default_filesystem()
237 tmp64 = ALIGN(ubifs_idx_node_sz(c, 1), c->min_io_size); in create_default_filesystem()
240 tmp64 += ino_waste; in create_default_filesystem()
241 tmp64 -= ALIGN(ubifs_idx_node_sz(c, 1), 8); in create_default_filesystem()
242 mst->total_dirty = cpu_to_le64(tmp64); in create_default_filesystem()
245 tmp64 = ((long long)(c->main_lebs - 1) * c->dark_wm); in create_default_filesystem()
246 mst->total_dark = cpu_to_le64(tmp64); in create_default_filesystem()