Home
last modified time | relevance | path

Searched refs:old_pages (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/drivers/block/drbd/
Ddrbd_bitmap.c380 struct page **old_pages = b->bm_pages; in bm_realloc_pages() local
385 BUG_ON(have == 0 && old_pages != NULL); in bm_realloc_pages()
386 BUG_ON(have != 0 && old_pages == NULL); in bm_realloc_pages()
389 return old_pages; in bm_realloc_pages()
406 new_pages[i] = old_pages[i]; in bm_realloc_pages()
421 new_pages[i] = old_pages[i]; in bm_realloc_pages()
/linux-6.12.1/drivers/virtio/
Dvirtio_mem.c402 int old_pages = PFN_UP(old_bytes); in virtio_mem_bbm_bb_states_prepare_next_bb() local
406 if (vm->bbm.bb_states && old_pages == new_pages) in virtio_mem_bbm_bb_states_prepare_next_bb()
415 memcpy(new_array, vm->bbm.bb_states, old_pages * PAGE_SIZE); in virtio_mem_bbm_bb_states_prepare_next_bb()
468 int old_pages = PFN_UP(vm->sbm.next_mb_id - vm->sbm.first_mb_id); in virtio_mem_sbm_mb_states_prepare_next_mb() local
472 if (vm->sbm.mb_states && old_pages == new_pages) in virtio_mem_sbm_mb_states_prepare_next_mb()
481 memcpy(new_array, vm->sbm.mb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_mb_states_prepare_next_mb()
591 int old_pages = PFN_UP(BITS_TO_LONGS(old_nb_bits) * sizeof(long)); in virtio_mem_sbm_sb_states_prepare_next_mb() local
595 if (vm->sbm.sb_states && old_pages == new_pages) in virtio_mem_sbm_sb_states_prepare_next_mb()
604 memcpy(new_bitmap, vm->sbm.sb_states, old_pages * PAGE_SIZE); in virtio_mem_sbm_sb_states_prepare_next_mb()
/linux-6.12.1/drivers/md/
Ddm-io.c390 struct dpages old_pages = *dp; in dispatch_io() local
399 *dp = old_pages; in dispatch_io()
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c503 struct page *old_pages[MLXSW_PCI_WQE_SG_ENTRIES]; in mlxsw_pci_rdq_pages_alloc() local
508 old_pages[i] = elem_info->pages[i]; in mlxsw_pci_rdq_pages_alloc()
520 page_pool_recycle_direct(cq->u.cq.page_pool, old_pages[i]); in mlxsw_pci_rdq_pages_alloc()
/linux-6.12.1/kernel/trace/
Dring_buffer.c6729 struct list_head old_pages; in ring_buffer_subbuf_order_set() local
6749 list_add(&old_pages, cpu_buffer->pages); in ring_buffer_subbuf_order_set()
6750 list_add(&cpu_buffer->reader_page->list, &old_pages); in ring_buffer_subbuf_order_set()
6776 list_for_each_entry_safe(bpage, tmp, &old_pages, list) { in ring_buffer_subbuf_order_set()