Lines Matching refs:dirty

1342 	obj->dirty = 1;
1377 if (cache->object == obj && cache->dirty)
1398 /* Find the lowest dirty chunk for this object */
1401 dev->cache[i].dirty) {
1417 cache->dirty = 0;
1439 /* Find a dirty object in the cache and flush it...
1440 * until there are no further dirty objects.
1445 if (dev->cache[i].object && dev->cache[i].dirty)
1456 * Then look for the least recently used non-dirty one.
1457 * Then look for the least recently used dirty one...., flush and look again.
1482 /* Try find a non-dirty one... */
1487 /* They were all dirty, find the LRU object and flush
1510 if (!cache || cache->dirty) {
1561 cache->dirty = 1;
1956 INIT_LIST_HEAD(&the_obj->variant.dir_variant.dirty);
2063 obj->dirty = 1;
2066 struct list_head *link = &obj->variant.dir_variant.dirty;
2071 "Added object %d to dirty directories",
2087 yaffs_trace(YAFFS_TRACE_BACKGROUND, "Update dirty directories");
2093 d_s = list_entry(link, struct yaffs_dir_var, dirty);
2100 if (obj->dirty)
2154 in->dirty = 1;
2666 * this happened because there is at least one old dirty block
2667 * gumming up the works. Let's gc the oldest dirty block.
2678 /* If we're doing aggressive GC then we are happy to take a less-dirty
2743 * If nothing has been selected for a while, try the oldest dirty
2793 * Aggressive gc looks further (whole array) and will accept less dirty blocks.
2794 * Passive gc only inspects smaller areas and only accepts more dirty blocks.
2964 * If the whole block became dirty, this will kick off an erasure.
3388 in->dirty = 0;
3455 cache->dirty = 0;
3579 cache->dirty = 0;
3584 !cache->dirty &&
3611 cache->dirty = 0;
3659 in->dirty = 1;
3792 if (!in->dirty)
3918 if (!list_empty(&obj->variant.dir_variant.dirty)) {
3920 "Remove object %d from dirty directories",
3922 list_del_init(&obj->variant.dir_variant.dirty);
3999 list_del_init(&obj->variant.dir_variant.dirty);
4783 dev->cache[i].dirty = 0;
4965 /* Now count and subtract the number of dirty chunks in the cache. */
4968 if (dev->cache[i].dirty)