Home
last modified time | relevance | path

Searched refs:next_page (Results 1 – 20 of 20) sorted by relevance

/linux/fs/squashfs/
H A Dpage_actor.c26 actor->next_page = 1; in cache_first_page()
32 if (actor->next_page == actor->pages) in cache_next_page()
35 return actor->buffer[actor->next_page++]; in cache_next_page()
54 actor->next_page = 0; in squashfs_page_actor_init()
65 return page_folio(actor->page[actor->next_page])->index; in page_next_index()
75 if ((actor->next_page == actor->pages) || in handle_next_page()
85 actor->last_page = actor->page[actor->next_page]; in handle_next_page()
86 return actor->pageaddr = kmap_local_page(actor->page[actor->next_page++]); in handle_next_page()
131 actor->next_page = 0; in squashfs_page_actor_init_special()
H A Dpage_actor.h22 int next_page; member
36 struct page *last_page = actor->next_page == actor->pages ? actor->last_page : ERR_PTR(-EIO); in squashfs_page_actor_free()
/linux/drivers/md/
H A Ddm-io.c171 void (*next_page)(struct dpages *dp); member
208 dp->next_page = list_next_page; in list_dp_init()
241 dp->next_page = bio_next_page; in bio_dp_init()
271 dp->next_page = vm_next_page; in vm_dp_init()
296 dp->next_page = km_next_page; in km_dp_init()
376 dp->next_page(dp); in do_region()
/linux/kernel/trace/
H A Dring_buffer.c1413 struct buffer_page *next_page) in rb_tail_page_update() argument
1427 old_write = local_add_return(RB_WRITE_INTCNT, &next_page->write); in rb_tail_page_update()
1428 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update()
1456 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update()
1457 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update()
1464 local_set(&next_page->page->commit, 0); in rb_tail_page_update()
1467 if (try_cmpxchg(&cpu_buffer->tail_page, &tail_page, next_page)) in rb_tail_page_update()
2529 struct list_head *tail_page, *to_remove, *next_page; in rb_remove_pages() local
2570 next_page = rb_list_head(to_remove)->next; in rb_remove_pages()
2577 tail_page->next = (struct list_head *)((unsigned long)next_page | in rb_remove_pages()
[all …]
/linux/lib/
H A Dalloc_tag.c416 struct page **next_page = vm_module_tags->pages + vm_module_tags->nr_pages; in vm_module_tags_populate() local
424 NUMA_NO_NODE, more_pages, next_page); in vm_module_tags_populate()
427 next_page, PAGE_SHIFT) < 0) { in vm_module_tags_populate()
430 __free_page(next_page[i]); in vm_module_tags_populate()
/linux/drivers/crypto/nx/
H A Dnx.c109 u64 next_page; in nx_build_sg_list() local
115 next_page = (sg->addr & PAGE_MASK) + PAGE_SIZE; in nx_build_sg_list()
116 sg->len = min_t(u64, sg_addr, next_page) - sg->addr; in nx_build_sg_list()
119 if (sg_addr >= next_page && in nx_build_sg_list()
/linux/fs/ext4/
H A Dreadpage.c294 goto next_page; in ext4_mpage_readpages()
385 next_page: in ext4_mpage_readpages()
H A Dinode.c1548 pgoff_t next_page; /* Current page to examine */ member
1572 if (mpd->first_page >= mpd->next_page) in mpage_release_unused_pages()
1577 end = mpd->next_page - 1; in mpage_release_unused_pages()
2439 mpd->next_page = index; in mpage_prepare_extent_to_map()
2470 if (mpd->map.m_len > 0 && mpd->next_page != folio->index) in mpage_prepare_extent_to_map()
2517 mpd->next_page = folio_next_index(folio); in mpage_prepare_extent_to_map()
/linux/arch/x86/mm/pat/
H A Dset_memory.c1260 unsigned long next_page = (start + PMD_SIZE) & PMD_MASK; in unmap_pmd_range() local
1261 unsigned long pre_end = min_t(unsigned long, end, next_page); in unmap_pmd_range()
1304 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range() local
1305 unsigned long pre_end = min_t(unsigned long, end, next_page); in unmap_pud_range()
1391 unsigned long next_page = (start + PMD_SIZE) & PMD_MASK; in populate_pmd() local
1393 pre_end = min_t(unsigned long, pre_end, next_page); in populate_pmd()
1468 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud() local
1470 pre_end = min_t(unsigned long, end, next_page); in populate_pud()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_fw.c687 goto next_page; in fbnic_mbx_process_rx_msgs()
694 goto next_page; in fbnic_mbx_process_rx_msgs()
711 next_page: in fbnic_mbx_process_rx_msgs()
/linux/fs/ntfs3/
H A Dfslog.c1034 u32 next_page; member
1339 log->next_page = log->first_page; in log_create()
1544 log->next_page + log->page_size : in current_log_avail()
1545 log->next_page == log->first_page ? log->l_size : in current_log_avail()
1546 log->next_page; in current_log_avail()
1788 curpage_off = seq_base == log->seq_num ? min(log->next_page, page_off) : in last_log_lsn()
1789 log->next_page; in last_log_lsn()
1799 next_page: in last_log_lsn()
1868 log->next_page = curpage_off; in last_log_lsn()
1871 log->next_page = nextpage_off; in last_log_lsn()
[all …]
/linux/mm/
H A Dzsmalloc.c897 struct page *next_page; in init_zspage()
916 next_page = get_next_page(page); in init_zspage()
917 if (next_page) { in init_zspage()
927 page = next_page; in init_zspage()
895 struct page *next_page; init_zspage() local
H A Dksm.c2565 goto next_page; in scan_get_next_rmap_item()
2576 next_page: in scan_get_next_rmap_item()
H A Dgup.c1470 goto next_page; in __get_user_pages()
1524 next_page: in __get_user_pages()
/linux/Documentation/trace/
H A Dring-buffer-design.rst711 next_page = temp_page->next
712 cmpxchg(tail_page, temp_page, next_page)
/linux/drivers/infiniband/core/
H A Dverbs.c2783 goto next_page; in ib_sg_to_pages()
2796 next_page: in ib_sg_to_pages()
/linux/fs/btrfs/
H A Dextent_io.c2293 goto next_page; in extent_write_locked_range()
2303 next_page: in extent_write_locked_range()
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_link.c13842 u16 base_page, next_page, not_kr2_device, lane; in bnx2x_check_kr2_wa() local
13870 MDIO_AN_REG_LP_AUTO_NEG2, &next_page); in bnx2x_check_kr2_wa()
13888 ((next_page & 0xe0) == 0x20)))); in bnx2x_check_kr2_wa()
13894 next_page); in bnx2x_check_kr2_wa()
13902 DP(NETIF_MSG_LINK, "BP=0x%x, NP=0x%x\n", base_page, next_page); in bnx2x_check_kr2_wa()
H A Dbnx2x_hsi.h5332 struct event_ring_next next_page; member
H A Dbnx2x_main.c6145 elem->next_page.addr.hi = in bnx2x_init_eq_ring()
6148 elem->next_page.addr.lo = in bnx2x_init_eq_ring()