Lines Matching defs:old
382 struct page *old, enum migrate_mode mode)
416 idx = old->index;
418 /* Make sure the old page hasn't already been changed */
419 if (ctx->ring_pages[idx] != old)
428 BUG_ON(PageWriteback(old));
431 rc = migrate_page_move_mapping(mapping, new, old, 1);
438 * while the old page is copied to the new. This prevents new
442 migrate_page_copy(new, old);
443 BUG_ON(ctx->ring_pages[idx] != old);
447 /* The old page is no longer accessible. */
448 put_page(old);
652 struct kioctx_table *table, *old;
687 old = rcu_dereference_raw(mm->ioctx_table);
689 if (!old) {
691 } else if (table->nr > old->nr) {
692 memcpy(table->table, old->table,
693 old->nr * sizeof(struct kioctx *));
696 kfree_rcu(old, rcu);
699 table = old;
944 int old, avail = atomic_read(&ctx->reqs_available);
950 old = avail;
953 } while (avail != old);
1009 * here, but that's okay since whether we read the old version