Home
last modified time | relevance | path

Searched refs:page_private (Results 1 – 25 of 45) sorted by relevance

12

/linux/fs/erofs/
A Dzdata.h118 u.v = &page_private(page); in z_erofs_onlinepage_index()
139 union z_erofs_onlinepage_converter u = { .v = &page_private(page) }; in z_erofs_onlinepage_fixup()
164 u.v = &page_private(page); in z_erofs_onlinepage_endio()
A Dutils.c15 *pagepool = (struct page *)page_private(page); in erofs_allocpage()
27 *pagepool = (struct page *)page_private(page); in erofs_release_pages()
A Dzdata.c328 struct z_erofs_pcluster *const pcl = (void *)page_private(page); in erofs_try_to_free_cached_page()
1491 head = (void *)page_private(page); in z_erofs_readahead()
/linux/drivers/block/drbd/
A Ddrbd_bitmap.c205 return page_private(page) & BM_PAGE_IDX_MASK; in bm_page_to_idx()
214 void *addr = &page_private(b->bm_pages[page_nr]); in bm_page_lock_io()
221 void *addr = &page_private(b->bm_pages[page_nr]); in bm_page_unlock_io()
231 clear_bit(BM_PAGE_NEED_WRITEOUT, &page_private(page)); in bm_set_page_unchanged()
232 clear_bit(BM_PAGE_LAZY_WRITEOUT, &page_private(page)); in bm_set_page_unchanged()
237 set_bit(BM_PAGE_NEED_WRITEOUT, &page_private(page)); in bm_set_page_need_writeout()
271 volatile const unsigned long *addr = &page_private(page); in bm_test_page_unchanged()
277 set_bit(BM_PAGE_IO_ERROR, &page_private(page)); in bm_set_page_io_err()
282 clear_bit(BM_PAGE_IO_ERROR, &page_private(page)); in bm_clear_page_io_err()
287 set_bit(BM_PAGE_LAZY_WRITEOUT, &page_private(page)); in bm_set_page_lazy_writeout()
[all …]
/linux/include/linux/
A Dhugetlb_cgroup.h70 return (void *)page_private(page + SUBPAGE_INDEX_CGROUP_RSVD); in __hugetlb_cgroup_from_page()
72 return (void *)page_private(page + SUBPAGE_INDEX_CGROUP); in __hugetlb_cgroup_from_page()
A Dballoon_compaction.h135 return (struct balloon_dev_info *)page_private(page); in balloon_page_device()
A Dmm_types.h331 #define page_private(page) ((page)->private) macro
A Dbuffer_head.h144 ((struct buffer_head *)page_private(page)); \
A Dswap.h325 swp_entry_t entry = { .val = page_private(&folio->page) }; in folio_swap_entry()
A Dfscrypt.h265 return (struct page *)page_private(bounce_page); in fscrypt_pagecache_page()
/linux/fs/orangefs/
A Dinode.c34 wr = (struct orangefs_write_range *)page_private(page); in orangefs_writepage_locked()
132 page_private(ow->pages[i]); in orangefs_writepages_work()
145 page_private(ow->pages[i]); in orangefs_writepages_work()
171 wr = (struct orangefs_write_range *)page_private(page); in orangefs_writepages_callback()
357 wr = (struct orangefs_write_range *)page_private(page); in orangefs_write_begin()
423 wr = (struct orangefs_write_range *)page_private(page); in orangefs_invalidatepage()
675 wr = (struct orangefs_write_range *)page_private(page); in orangefs_page_mkwrite()
/linux/arch/arm64/mm/
A Dmteswap.c37 ret = xa_store(&mte_pages, page_private(page), tag_storage, GFP_KERNEL); in mte_save_tags()
/linux/mm/
A Dfrontswap.c252 swp_entry_t entry = { .val = page_private(page), }; in __frontswap_store()
301 swp_entry_t entry = { .val = page_private(page), }; in __frontswap_load()
A Dinternal.h338 return page_private(page); in buddy_order()
352 #define buddy_order_unsafe(page) READ_ONCE(page_private(page))
A Dswapfile.c1460 entry.val = page_private(page); in page_swapcount()
1545 VM_BUG_ON(page_private(page) != SWP_CONTINUED); in swp_swapcount()
1597 entry.val = page_private(page); in page_swapped()
1632 entry.val = page_private(page); in page_trans_huge_map_swapcount()
1699 entry.val = page_private(page); in reuse_swap_page()
3532 swp_entry_t entry = { .val = page_private(page) }; in page_swap_info()
3547 swp_entry_t swap = { .val = page_private(page) }; in __page_file_index()
3627 if (!page_private(head)) { in add_swap_count_continuation()
3688 if (page_private(head) != SWP_CONTINUED) { in swap_count_continued()
3770 if (page_private(head)) { in free_swap_count_continuations()
A Dpage_io.c89 entry.val = page_private(page); in swap_slot_free_notify()
A Dsparse.c730 removing_section_nr = page_private(page); in free_map_bootmem()
/linux/drivers/firewire/
A Dcore-iso.c101 address = page_private(buffer->pages[i]); in fw_iso_buffer_destroy()
123 address = page_private(buffer->pages[i]); in fw_iso_buffer_lookup()
/linux/arch/x86/kvm/mmu/
A Dmmu_internal.h89 return (struct kvm_mmu_page *)page_private(page); in to_shadow_page()
/linux/fs/f2fs/
A Dcompress.c79 if (!page_private(page)) in f2fs_is_compressed_page()
85 *((u32 *)page_private(page)) != F2FS_COMPRESSED_PAGE_MAGIC); in f2fs_is_compressed_page()
139 return ((struct compress_io_ctx *)page_private(page))->rpages[0]; in f2fs_compress_control_page()
846 (struct decompress_io_ctx *)page_private(page); in f2fs_end_read_compressed_page()
1442 (struct compress_io_ctx *)page_private(page); in f2fs_compress_write_end_io()
1740 (struct decompress_io_ctx *)page_private(page); in f2fs_put_page_dic()
A Df2fs.h1368 test_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)) && \
1369 test_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
1380 set_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)); \
1381 set_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
1387 clear_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
1388 if (page_private(page) == 1 << PAGE_PRIVATE_NOT_POINTER) { \
1418 unsigned long data = page_private(page); in get_page_private_data()
1432 set_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)); in set_page_private_data()
1433 page_private(page) |= data << PAGE_PRIVATE_MAX; in set_page_private_data()
1438 page_private(page) &= (1 << PAGE_PRIVATE_MAX) - 1; in clear_page_private_data()
[all …]
/linux/kernel/events/
A Dring_buffer.c714 for (last = rb->aux_nr_pages + (1 << page_private(page)); in rb_alloc_aux()
729 if (page_private(page) != max_order) in rb_alloc_aux()
/linux/fs/jfs/
A Djfs_metapage.c80 #define mp_anchor(page) ((struct meta_anchor *)page_private(page))
149 return PagePrivate(page) ? (struct metapage *)page_private(page) : NULL; in page_to_mp()
/linux/arch/x86/events/intel/
A Dbts.c71 return 1 << page_private(page); in buf_nr_pages()
A Dpt.c736 order = page_private(p); in topa_insert_pages()
1242 order = page_private(p); in pt_buffer_try_single()

Completed in 63 milliseconds

12