Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/block/drbd/
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()
265 if (!test_and_set_bit(BM_PAGE_HINT_WRITEOUT, &page_private(page))) in drbd_bm_mark_for_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()
[all …]
/linux-6.1.9/mm/
Dfrontswap.c166 swp_entry_t entry = { .val = page_private(page), }; in __frontswap_store()
205 swp_entry_t entry = { .val = page_private(page), }; in __frontswap_load()
Dinternal.h242 return page_private(page); in buddy_order()
256 #define buddy_order_unsafe(page) READ_ONCE(page_private(page))
Dswapfile.c1513 VM_BUG_ON(page_private(page) != SWP_CONTINUED); in swp_swapcount()
3381 swp_entry_t entry = { .val = page_private(page) }; in page_swap_info()
3396 swp_entry_t swap = { .val = page_private(page) }; in __page_file_index()
3476 if (!page_private(head)) { in add_swap_count_continuation()
3537 if (page_private(head) != SWP_CONTINUED) { in swap_count_continued()
3619 if (page_private(head)) { in free_swap_count_continuations()
Dsparse.c733 removing_section_nr = page_private(page); in free_map_bootmem()
Dmemory-failure.c1215 return PageHWPoison(page) && page_private(page) == MAGIC_HWPOISON; in PageHWPoisonTakenOff()
1687 return (struct llist_head *)&page_private(hpage + SUBPAGE_INDEX_HWPOISON); in raw_hwp_list_head()
/linux-6.1.9/include/linux/
Dhugetlb_cgroup.h77 return (void *)page_private(page + SUBPAGE_INDEX_CGROUP_RSVD); in __hugetlb_cgroup_from_page()
79 return (void *)page_private(page + SUBPAGE_INDEX_CGROUP); in __hugetlb_cgroup_from_page()
Dballoon_compaction.h127 return (struct balloon_dev_info *)page_private(page); in balloon_page_device()
Dmm_types.h374 #define page_private(page) ((page)->private) macro
Dswap.h354 swp_entry_t entry = { .val = page_private(&folio->page) }; in folio_swap_entry()
Dbuffer_head.h179 ((struct buffer_head *)page_private(page)); \
Dfscrypt.h273 return (struct page *)page_private(bounce_page); in fscrypt_pagecache_page()
/linux-6.1.9/fs/erofs/
Dutils.c15 *pagepool = (struct page *)page_private(page); in erofs_allocpage()
27 *pagepool = (struct page *)page_private(page); in erofs_release_pages()
Dzdata.c397 struct z_erofs_pcluster *const pcl = (void *)page_private(page); in erofs_try_to_free_cached_page()
1669 head = (void *)page_private(page); in z_erofs_readahead()
/linux-6.1.9/arch/arm64/mm/
Dmteswap.c37 ret = xa_store(&mte_pages, page_private(page), tag_storage, GFP_KERNEL); in mte_save_tags()
/linux-6.1.9/drivers/firewire/
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-6.1.9/fs/orangefs/
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()
/linux-6.1.9/arch/x86/kvm/mmu/
Dmmu_internal.h127 return (struct kvm_mmu_page *)page_private(page); in to_shadow_page()
/linux-6.1.9/fs/f2fs/
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()
806 (struct decompress_io_ctx *)page_private(page); in f2fs_end_read_compressed_page()
1406 (struct compress_io_ctx *)page_private(page); in f2fs_compress_write_end_io()
1789 (struct decompress_io_ctx *)page_private(page); in f2fs_put_page_dic()
Df2fs.h1418 test_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)) && \
1419 test_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
1430 set_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)); \
1431 set_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
1437 clear_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
1438 if (page_private(page) == 1 << PAGE_PRIVATE_NOT_POINTER) { \
1468 unsigned long data = page_private(page); in get_page_private_data()
1482 set_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)); in set_page_private_data()
1483 page_private(page) |= data << PAGE_PRIVATE_MAX; in set_page_private_data()
1488 page_private(page) &= (1 << PAGE_PRIVATE_MAX) - 1; in clear_page_private_data()
[all …]
/linux-6.1.9/kernel/events/
Dring_buffer.c717 for (last = rb->aux_nr_pages + (1 << page_private(page)); in rb_alloc_aux()
732 if (page_private(page) != max_order) in rb_alloc_aux()
/linux-6.1.9/fs/jfs/
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-6.1.9/arch/x86/events/intel/
Dbts.c71 return 1 << page_private(page); in buf_nr_pages()
Dpt.c754 order = page_private(p); in topa_insert_pages()
1261 order = page_private(p); in pt_buffer_try_single()
/linux-6.1.9/kernel/
Dkexec_core.c331 order = page_private(page); in kimage_free_pages()

12