• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ubifs/

Lines Matching refs:lst

188 	if (c->lst.empty_lebs < 0 || c->lst.empty_lebs > c->main_lebs - 2) {
193 if (c->lst.idx_lebs < 0 || c->lst.idx_lebs > c->main_lebs - 1) {
198 if (c->lst.total_free < 0 || c->lst.total_free > main_sz ||
199 c->lst.total_free & 7) {
204 if (c->lst.total_dirty < 0 || (c->lst.total_dirty & 7)) {
209 if (c->lst.total_used < 0 || (c->lst.total_used & 7)) {
214 if (c->lst.total_free + c->lst.total_dirty +
215 c->lst.total_used > main_sz) {
220 if (c->lst.total_dead + c->lst.total_dark +
221 c->lst.total_used + c->old_idx_sz > main_sz) {
226 if (c->lst.total_dead < 0 ||
227 c->lst.total_dead > c->lst.total_free + c->lst.total_dirty ||
228 c->lst.total_dead & 7) {
233 if (c->lst.total_dark < 0 ||
234 c->lst.total_dark > c->lst.total_free + c->lst.total_dirty ||
235 c->lst.total_dark & 7) {
299 c->lst.empty_lebs = le32_to_cpu(c->mst_node->empty_lebs);
300 c->lst.idx_lebs = le32_to_cpu(c->mst_node->idx_lebs);
302 c->lst.total_free = le64_to_cpu(c->mst_node->total_free);
303 c->lst.total_dirty = le64_to_cpu(c->mst_node->total_dirty);
304 c->lst.total_used = le64_to_cpu(c->mst_node->total_used);
305 c->lst.total_dead = le64_to_cpu(c->mst_node->total_dead);
306 c->lst.total_dark = le64_to_cpu(c->mst_node->total_dark);
326 c->lst.empty_lebs += growth;
327 c->lst.total_free += growth * (long long)c->leb_size;
328 c->lst.total_dark += growth * (long long)c->dark_wm;
337 c->mst_node->empty_lebs = cpu_to_le32(c->lst.empty_lebs);
338 c->mst_node->total_free = cpu_to_le64(c->lst.total_free);
339 c->mst_node->total_dark = cpu_to_le64(c->lst.total_dark);