Home
last modified time | relevance | path

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

12

/linux-6.6.21/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 …]
Ddrbd_int.h1614 return (struct page *)page_private(page); in page_chain_next()
/linux-6.6.21/fs/erofs/
Dutils.c14 *pagepool = (struct page *)page_private(page); in erofs_allocpage()
26 *pagepool = (struct page *)page_private(page); in erofs_release_pages()
/linux-6.6.21/include/linux/
Dballoon_compaction.h127 return (struct balloon_dev_info *)page_private(page); in balloon_page_device()
Dbuffer_head.h183 ((struct buffer_head *)page_private(page)); \
Dmm_types.h485 #define page_private(page) ((page)->private) macro
Dfscrypt.h273 return (struct page *)page_private(bounce_page); in fscrypt_pagecache_page()
/linux-6.6.21/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()
Dohci.c699 return page_private(ctx->pages[i]); in ar_buffer_bus()
3326 page_bus = page_private(buffer->pages[page]); in queue_iso_transmit()
3409 page_bus = page_private(buffer->pages[page]); in queue_iso_packet_per_buffer()
3472 page_bus = page_private(buffer->pages[page]); in queue_iso_buffer_fill()
/linux-6.6.21/fs/f2fs/
Dcompress.c80 if (!page_private(page)) in f2fs_is_compressed_page()
86 *((u32 *)page_private(page)) != F2FS_COMPRESSED_PAGE_MAGIC); in f2fs_is_compressed_page()
140 return ((struct compress_io_ctx *)page_private(page))->rpages[0]; in f2fs_compress_control_page()
811 (struct decompress_io_ctx *)page_private(page); in f2fs_end_read_compressed_page()
1415 (struct compress_io_ctx *)page_private(page); in f2fs_compress_write_end_io()
1795 (struct decompress_io_ctx *)page_private(page); in f2fs_put_page_dic()
Df2fs.h2333 test_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)) && \
2334 test_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
2342 set_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)); \
2343 set_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
2349 clear_bit(PAGE_PRIVATE_##flagname, &page_private(page)); \
2350 if (page_private(page) == BIT(PAGE_PRIVATE_NOT_POINTER)) \
2371 unsigned long data = page_private(page); in get_page_private_data()
2382 set_bit(PAGE_PRIVATE_NOT_POINTER, &page_private(page)); in set_page_private_data()
2383 page_private(page) |= data << PAGE_PRIVATE_MAX; in set_page_private_data()
2388 page_private(page) &= GENMASK(PAGE_PRIVATE_MAX - 1, 0); in clear_page_private_data()
[all …]
/linux-6.6.21/kernel/events/
Dring_buffer.c724 for (last = rb->aux_nr_pages + (1 << page_private(page)); in rb_alloc_aux()
739 if (page_private(page) != max_order) in rb_alloc_aux()
/linux-6.6.21/fs/orangefs/
Dinode.c34 wr = (struct orangefs_write_range *)page_private(page); in orangefs_writepage_locked()
126 page_private(ow->pages[i]); in orangefs_writepages_work()
139 page_private(ow->pages[i]); in orangefs_writepages_work()
/linux-6.6.21/arch/x86/kvm/mmu/
Dspte.h227 return (struct kvm_mmu_page *)page_private(page); in to_shadow_page()
/linux-6.6.21/mm/
Dinternal.h273 return page_private(page); in buddy_order()
287 #define buddy_order_unsafe(page) READ_ONCE(page_private(page))
Dsparse.c732 removing_section_nr = page_private(page); in free_map_bootmem()
Dswapfile.c1494 VM_BUG_ON(page_private(page) != SWP_CONTINUED); in swp_swapcount()
3475 if (!page_private(head)) { in add_swap_count_continuation()
3536 if (page_private(head) != SWP_CONTINUED) { in swap_count_continued()
3618 if (page_private(head)) { in free_swap_count_continuations()
Dmemory-failure.c1352 return PageHWPoison(page) && page_private(page) == MAGIC_HWPOISON; in PageHWPoisonTakenOff()
/linux-6.6.21/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.6.21/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.6.21/kernel/
Dkexec_core.c335 order = page_private(page); in kimage_free_pages()
Drelay.c1091 rbuf = (struct rchan_buf *)page_private(buf->page); in relay_pipe_buf_release()
/linux-6.6.21/drivers/xen/
Dgrant-table.c1037 kfree((void *)page_private(pages[i])); in gnttab_pages_clear_private()
/linux-6.6.21/arch/arm64/kvm/
Dmmu.c226 u32 level = page_private(page); in stage2_free_unlinked_table_rcu_cb()

12