Home
last modified time | relevance | path

Searched refs:next_page (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/fs/squashfs/
H A Dpage_actor.c24 actor->next_page = 1; in cache_first_page()
30 if (actor->next_page == actor->pages) in cache_next_page()
33 return actor->buffer[actor->next_page++]; in cache_next_page()
52 actor->next_page = 0; in squashfs_page_actor_init()
62 actor->next_page = 1; in direct_first_page()
71 return actor->pageaddr = actor->next_page == actor->pages ? NULL : in direct_next_page()
72 kmap_atomic(actor->page[actor->next_page++]); in direct_next_page()
92 actor->next_page = 0; in squashfs_page_actor_init_special()
H A Dpage_actor.h14 int next_page; member
28 actor->next_page = 0; in squashfs_page_actor_init()
34 actor->next_page = 1; in squashfs_first_page()
40 return actor->next_page == actor->pages ? NULL : in squashfs_next_page()
41 actor->page[actor->next_page++]; in squashfs_next_page()
60 int next_page; member
/kernel/linux/linux-6.6/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()
70 if ((actor->next_page == actor->pages) || in handle_next_page()
71 (actor->next_index != actor->page[actor->next_page]->index)) { in handle_next_page()
80 actor->last_page = actor->page[actor->next_page]; in handle_next_page()
81 return actor->pageaddr = kmap_local_page(actor->page[actor->next_page++]); in handle_next_page()
126 actor->next_page = 0; in squashfs_page_actor_init_special()
H A Dpage_actor.h22 int next_page; member
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-io.c164 void (*next_page)(struct dpages *dp); member
200 dp->next_page = list_next_page; in list_dp_init()
233 dp->next_page = bio_next_page; in bio_dp_init()
263 dp->next_page = vm_next_page; in vm_dp_init()
288 dp->next_page = km_next_page; in km_dp_init()
370 dp->next_page(dp); in do_region()
382 dp->next_page(dp); in do_region()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/ext4/
H A Dreadpage.c310 goto next_page; in ext4_mpage_readpages()
348 goto next_page; in ext4_mpage_readpages()
397 goto next_page; in ext4_mpage_readpages()
407 next_page: in ext4_mpage_readpages()
H A Dinode.c1534 pgoff_t next_page; /* Current page to examine */ member
1556 /* This is necessary when next_page == 0. */ in mpage_release_unused_pages()
1557 if (mpd->first_page >= mpd->next_page) in mpage_release_unused_pages()
1562 end = mpd->next_page - 1; in mpage_release_unused_pages()
2608 mpd->next_page = index; in mpage_prepare_extent_to_map()
2630 if (mpd->map.m_len > 0 && mpd->next_page != page->index) in mpage_prepare_extent_to_map()
2676 mpd->next_page = page->index + 1; in mpage_prepare_extent_to_map()
/kernel/linux/linux-5.10/kernel/trace/
H A Dring_buffer.c1398 struct buffer_page *next_page) in rb_tail_page_update()
1412 old_write = local_add_return(RB_WRITE_INTCNT, &next_page->write); in rb_tail_page_update()
1413 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update()
1442 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update()
1443 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update()
1450 local_set(&next_page->page->commit, 0); in rb_tail_page_update()
1453 (void)cmpxchg(&cpu_buffer->tail_page, tail_page, next_page); in rb_tail_page_update()
1821 struct list_head *tail_page, *to_remove, *next_page; in rb_remove_pages() local
1862 next_page = rb_list_head(to_remove)->next; in rb_remove_pages()
1865 * Now we remove all pages between tail_page and next_page in rb_remove_pages()
1396 rb_tail_page_update(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *tail_page, struct buffer_page *next_page) rb_tail_page_update() argument
2370 rb_handle_head_page(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *tail_page, struct buffer_page *next_page) rb_handle_head_page() argument
2613 struct buffer_page *next_page; rb_move_tail() local
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dring_buffer.c1475 struct buffer_page *next_page) in rb_tail_page_update()
1489 old_write = local_add_return(RB_WRITE_INTCNT, &next_page->write); in rb_tail_page_update()
1490 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update()
1519 (void)local_cmpxchg(&next_page->write, old_write, val); in rb_tail_page_update()
1520 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update()
1527 local_set(&next_page->page->commit, 0); in rb_tail_page_update()
1530 (void)cmpxchg(&cpu_buffer->tail_page, tail_page, next_page); in rb_tail_page_update()
1891 struct list_head *tail_page, *to_remove, *next_page; in rb_remove_pages() local
1932 next_page = rb_list_head(to_remove)->next; in rb_remove_pages()
1935 * Now we remove all pages between tail_page and next_page in rb_remove_pages()
1473 rb_tail_page_update(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *tail_page, struct buffer_page *next_page) rb_tail_page_update() argument
2450 rb_handle_head_page(struct ring_buffer_per_cpu *cpu_buffer, struct buffer_page *tail_page, struct buffer_page *next_page) rb_handle_head_page() argument
2693 struct buffer_page *next_page; rb_move_tail() local
[all...]
/kernel/linux/linux-5.10/fs/orangefs/
H A Dinode.c255 struct page *next_page; in orangefs_readpage() local
319 next_page = find_get_page(inode->i_mapping, index); in orangefs_readpage()
320 if (next_page) { in orangefs_readpage()
324 put_page(next_page); in orangefs_readpage()
327 next_page = find_or_create_page(inode->i_mapping, in orangefs_readpage()
334 if (!next_page) { in orangefs_readpage()
339 kaddr = kmap_atomic(next_page); in orangefs_readpage()
344 SetPageUptodate(next_page); in orangefs_readpage()
345 unlock_page(next_page); in orangefs_readpage()
346 put_page(next_page); in orangefs_readpage()
[all...]
/kernel/linux/linux-5.10/drivers/misc/eeprom/
H A Dat24.c372 unsigned int next_page; in at24_adjust_write_count() local
379 next_page = roundup(offset + 1, at24->page_size); in at24_adjust_write_count()
380 if (offset + count > next_page) in at24_adjust_write_count()
381 count = next_page - offset; in at24_adjust_write_count()
/kernel/linux/linux-6.6/drivers/misc/eeprom/
H A Dat24.c374 unsigned int next_page; in at24_adjust_write_count() local
381 next_page = roundup(offset + 1, at24->page_size); in at24_adjust_write_count()
382 if (offset + count > next_page) in at24_adjust_write_count()
383 count = next_page - offset; in at24_adjust_write_count()
/kernel/linux/linux-6.6/fs/ext4/
H A Dreadpage.c303 goto next_page; in ext4_mpage_readpages()
394 next_page: in ext4_mpage_readpages()
H A Dinode.c1530 pgoff_t next_page; /* Current page to examine */ member
1553 /* This is necessary when next_page == 0. */ in mpage_release_unused_pages()
1554 if (mpd->first_page >= mpd->next_page) in mpage_release_unused_pages()
1559 end = mpd->next_page - 1; in mpage_release_unused_pages()
2391 mpd->next_page = index; in mpage_prepare_extent_to_map()
2422 if (mpd->map.m_len > 0 && mpd->next_page != folio->index) in mpage_prepare_extent_to_map()
2469 mpd->next_page = folio_next_index(folio); in mpage_prepare_extent_to_map()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
H A Dset_memory.c1141 unsigned long next_page = (start + PMD_SIZE) & PMD_MASK; in unmap_pmd_range() local
1142 unsigned long pre_end = min_t(unsigned long, end, next_page); in unmap_pmd_range()
1185 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range() local
1186 unsigned long pre_end = min_t(unsigned long, end, next_page); in unmap_pud_range()
1272 unsigned long next_page = (start + PMD_SIZE) & PMD_MASK; in populate_pmd() local
1274 pre_end = min_t(unsigned long, pre_end, next_page); in populate_pmd()
1349 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud() local
1351 pre_end = min_t(unsigned long, end, next_page); in populate_pud()
/kernel/linux/linux-6.6/arch/x86/mm/pat/
H A Dset_memory.c1219 unsigned long next_page = (start + PMD_SIZE) & PMD_MASK; in unmap_pmd_range() local
1220 unsigned long pre_end = min_t(unsigned long, end, next_page); in unmap_pmd_range()
1263 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in unmap_pud_range() local
1264 unsigned long pre_end = min_t(unsigned long, end, next_page); in unmap_pud_range()
1350 unsigned long next_page = (start + PMD_SIZE) & PMD_MASK; in populate_pmd() local
1352 pre_end = min_t(unsigned long, pre_end, next_page); in populate_pmd()
1427 unsigned long next_page = (start + PUD_SIZE) & PUD_MASK; in populate_pud() local
1429 pre_end = min_t(unsigned long, end, next_page); in populate_pud()
/kernel/linux/linux-6.6/fs/ntfs3/
H A Dfslog.c1015 u32 next_page; member
1319 log->next_page = log->first_page; in log_create()
1524 log->next_page + log->page_size : in current_log_avail()
1525 log->next_page == log->first_page ? log->l_size : in current_log_avail()
1526 log->next_page; in current_log_avail()
1768 curpage_off = seq_base == log->seq_num ? min(log->next_page, page_off) : in last_log_lsn()
1769 log->next_page; in last_log_lsn()
1779 next_page: in last_log_lsn()
1848 log->next_page = curpage_off; in last_log_lsn()
1851 log->next_page in last_log_lsn()
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dunwind_orc.c678 void *next_page = (void *)PAGE_ALIGN((unsigned long)state->sp); in __unwind_start() local
680 if (get_stack_info(next_page, state->task, &state->stack_info, in __unwind_start()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dunwind_orc.c737 void *next_page = (void *)PAGE_ALIGN((unsigned long)state->sp); in __unwind_start() local
739 if (get_stack_info(next_page, state->task, &state->stack_info, in __unwind_start()
/kernel/linux/linux-5.10/mm/
H A Dgup.c1066 goto next_page; in __get_user_pages()
1115 goto next_page; in __get_user_pages()
1123 goto next_page; in __get_user_pages()
1134 next_page: in __get_user_pages()
H A Dzsmalloc.c986 struct page *next_page; in init_zspage() local
1005 next_page = get_next_page(page); in init_zspage()
1006 if (next_page) { in init_zspage()
1016 page = next_page; in init_zspage()
/kernel/linux/linux-6.6/mm/
H A Dzsmalloc.c907 struct page *next_page; in init_zspage() local
926 next_page = get_next_page(page); in init_zspage()
927 if (next_page) { in init_zspage()
937 page = next_page; in init_zspage()

Completed in 54 milliseconds

12