/kernel/linux/linux-6.6/include/linux/ |
H A D | kmsan.h | 17 struct page; 51 * @page: struct page to free. 52 * @order: order of @page. 57 bool __init __must_check kmsan_memblock_free_pages(struct page *page, 62 * @page: struct page pointer returned by alloc_pages(). 63 * @order: order of allocated struct page. 66 * KMSAN marks 1<<@order pages starting at @page a 243 kmsan_memblock_free_pages(struct page *page, unsigned int order) kmsan_memblock_free_pages() argument 257 kmsan_alloc_page(struct page *page, unsigned int order, gfp_t flags) kmsan_alloc_page() argument 262 kmsan_free_page(struct page *page, unsigned int order) kmsan_free_page() argument 314 kmsan_handle_dma(struct page *page, size_t offset, size_t size, enum dma_data_direction dir) kmsan_handle_dma() argument [all...] |
H A D | rmap.h | 19 * an anonymous page pointing to this anon_vma needs to be unmapped: 23 * in mprotect), the mapping field of an anonymous page cannot point 28 * the anon_vma object itself: we're guaranteed no page can be 36 * guarantee that the vma of page tables will exist for 175 * No special request: if the page is a subpage of a compound page, it is 176 * mapped via a PTE. The mapped (sub)page is possibly shared between processes. 180 /* The (sub)page is exclusive to a single process. */ 184 * The compound page is not mapped via PTEs, but instead via a single PMD and 190 * rmap interfaces called when adding or removing pte of page 211 __page_dup_rmap(struct page *page, bool compound) __page_dup_rmap() argument 223 page_dup_file_rmap(struct page *page, bool compound) page_dup_file_rmap() argument 245 page_try_dup_anon_rmap(struct page *page, bool compound, struct vm_area_struct *vma) page_try_dup_anon_rmap() argument 296 page_try_share_anon_rmap(struct page *page) page_try_share_anon_rmap() argument 501 page_mkclean(struct page *page) page_mkclean() argument [all...] |
/kernel/linux/linux-5.10/drivers/xen/ |
H A D | balloon.c | 63 #include <asm/page.h> 74 #include <xen/page.h> 121 * Use one extent per PAGE_SIZE to avoid to break down the page into 150 /* We increase/decrease in batches which fit in a page */ 163 /* balloon_append: add the given page to the balloon. */ 164 static void balloon_append(struct page *page) in balloon_append() argument 166 __SetPageOffline(page); in balloon_append() 169 if (PageHighMem(page)) { in balloon_append() 170 list_add_tail(&page in balloon_append() 182 struct page *page; balloon_retrieve() local 201 balloon_next_page(struct page *page) balloon_next_page() argument 356 xen_online_page(struct page *page, unsigned int order) xen_online_page() argument 406 struct page *page; increase_reservation() local 445 struct page *page, *tmp; decrease_reservation() local 619 struct page *page; alloc_xenballooned_pages() local [all...] |
/kernel/linux/linux-6.6/drivers/xen/ |
H A D | balloon.c | 64 #include <asm/page.h> 75 #include <xen/page.h> 105 * Use one extent per PAGE_SIZE to avoid to break down the page into 134 /* We increase/decrease in batches which fit in a page */ 147 /* balloon_append: add the given page to the balloon. */ 148 static void balloon_append(struct page *page) in balloon_append() argument 150 __SetPageOffline(page); in balloon_append() 153 if (PageHighMem(page)) { in balloon_append() 154 list_add_tail(&page in balloon_append() 166 struct page *page; balloon_retrieve() local 185 balloon_next_page(struct page *page) balloon_next_page() argument 340 xen_online_page(struct page *page, unsigned int order) xen_online_page() argument 390 struct page *page; increase_reservation() local 429 struct page *page, *tmp; decrease_reservation() local 603 struct page *page; xen_alloc_ballooned_pages() local [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | ksm.c | 68 * by their contents. Because each such page is write-protected, searching on 73 * mapping from a KSM page to virtual addresses that map this page. 82 * different KSM page copy of that content 106 * take 10 attempts to find a page in the unstable tree, once it is found, 107 * it is secured in the stable tree. (When we scan a new page, we first 146 * @node: rb node of this ksm page in the stable tree 150 * @hlist: hlist head of rmap_items using this ksm page 151 * @kpfn: page frame number of this ksm page (perhap 473 struct page *page; break_ksm() local 559 struct page *page; get_mergeable_page() local 699 struct page *page; get_ksm_page() local 779 struct page *page; remove_rmap_item_from_tree() local 863 page_stable_node(struct page *page) page_stable_node() argument 868 set_page_stable_node(struct page *page, struct stable_node *stable_node) set_page_stable_node() argument 880 struct page *page; remove_stable_node() local 1026 calc_checksum(struct page *page) calc_checksum() argument 1035 write_protect_page(struct vm_area_struct *vma, struct page *page, pte_t *orig_pte) write_protect_page() argument 1122 replace_page(struct vm_area_struct *vma, struct page *page, struct page *kpage, pte_t orig_pte) replace_page() argument 1204 try_to_merge_one_page(struct vm_area_struct *vma, struct page *page, struct page *kpage) try_to_merge_one_page() argument 1282 try_to_merge_with_ksm_page(struct rmap_item *rmap_item, struct page *page, struct page *kpage) try_to_merge_with_ksm_page() argument 1319 try_to_merge_two_pages(struct rmap_item *rmap_item, struct page *page, struct rmap_item *tree_rmap_item, struct page *tree_page) try_to_merge_two_pages() argument 1557 stable_tree_search(struct page *page) stable_tree_search() argument 1929 unstable_tree_search_insert(struct rmap_item *rmap_item, struct page *page, struct page **tree_pagep) unstable_tree_search_insert() argument 2041 cmp_and_merge_page(struct page *page, struct rmap_item *rmap_item) cmp_and_merge_page() argument 2230 scan_get_next_rmap_item(struct page **page) scan_get_next_rmap_item() argument 2263 struct page *page; scan_get_next_rmap_item() local 2396 struct page *page; ksm_do_scan() local 2574 ksm_might_need_to_copy(struct page *page, struct vm_area_struct *vma, unsigned long address) ksm_might_need_to_copy() argument 2609 rmap_walk_ksm(struct page *page, struct rmap_walk_control *rwc) rmap_walk_ksm() argument [all...] |
H A D | workingset.c | 25 * the head of the inactive list and page reclaim scans pages from the 67 * Approximating inactive page access frequency - Observations: 69 * 1. When a page is accessed for the first time, it is added to the 70 * head of the inactive list, slides every existing inactive page 71 * towards the tail by one slot, and pushes the current tail page 74 * 2. When a page is accessed for the second time, it is promoted to 77 * more recently than the activated page towards the tail of the 86 * 2. Moving one inactive page N page slots towards the tail of the 87 * list requires at least N inactive page accesse 253 workingset_eviction(struct page *page, struct mem_cgroup *target_memcg) workingset_eviction() argument 261 VM_BUG_ON_PAGE(PageLRU(page), page); workingset_eviction() local 262 VM_BUG_ON_PAGE(page_count(page), page); workingset_eviction() local 291 workingset_refault(struct page *page, void *shadow) workingset_refault() argument 450 workingset_activation(struct page *page) workingset_activation() argument [all...] |
H A D | shmem.c | 94 /* Symlink up to this size is kmalloc'ed instead of using a swappable page */ 105 pgoff_t next; /* the next page offset to be fallocated */ 140 static bool shmem_should_replace_page(struct page *page, gfp_t gfp); 141 static int shmem_replace_page(struct page **pagep, gfp_t gfp, 144 struct page **pagep, enum sgp_type sgp, 148 struct page **pagep, enum sgp_type sgp, 153 struct page **pagep, enum sgp_type sgp) in shmem_getpage() 433 * Checking page is not enough: by the time a SwapCache page i 528 struct page *page; shmem_unused_huge_shrink() local 672 shmem_add_to_page_cache(struct page *page, struct address_space *mapping, pgoff_t index, void *expected, gfp_t gfp, struct mm_struct *charge_mm) shmem_add_to_page_cache() argument 682 VM_BUG_ON_PAGE(PageTail(page), page); shmem_add_to_page_cache() local 745 shmem_delete_from_page_cache(struct page *page, void *radswap) shmem_delete_from_page_cache() argument 750 VM_BUG_ON_PAGE(PageCompound(page), page); shmem_delete_from_page_cache() local 789 struct page *page; shmem_partial_swap_usage() local 886 shmem_punch_compound(struct page *page, pgoff_t start, pgoff_t end) shmem_punch_compound() argument 931 struct page *page = pvec.pages[i]; shmem_undo_range() local 945 VM_BUG_ON_PAGE(page_to_pgoff(page) != index, page); shmem_undo_range() local 952 VM_BUG_ON_PAGE(PageWriteback(page), page); shmem_undo_range() local 965 struct page *page = NULL; shmem_undo_range() local 980 struct page *page = NULL; shmem_undo_range() local 1008 struct page *page = pvec.pages[i]; shmem_undo_range() local 1035 VM_BUG_ON_PAGE(PageWriteback(page), page); shmem_undo_range() local 1198 struct page *page; shmem_find_swap_entries() local 1248 struct page *page = pvec.pages[i]; shmem_unuse_swap_entries() local 1364 shmem_writepage(struct page *page, struct writeback_control *wbc) shmem_writepage() argument 1372 VM_BUG_ON_PAGE(PageCompound(page), page); shmem_writepage() local 1527 struct page *page; shmem_swapin() local 1545 struct page *page; shmem_alloc_hugepage() local 1567 struct page *page; shmem_alloc_page() local 1581 struct page *page; shmem_alloc_and_acct_page() local 1620 shmem_should_replace_page(struct page *page, gfp_t gfp) shmem_should_replace_page() argument 1706 struct page *page; shmem_swapin_page() local 1807 struct page *page; shmem_getpage_gfp() local 2366 struct page *page; shmem_mfill_atomic_pte() local 2500 struct page *page = NULL; shmem_mfill_zeropage_pte() local 2538 shmem_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) shmem_write_end() argument 2597 struct page *page = NULL; shmem_file_read_iter() local 2689 struct page *page; shmem_seek_hole_data() local 2846 struct page *page; shmem_fallocate() local 3149 struct page *page; shmem_symlink() local 3207 struct page *page = NULL; shmem_get_link() local 4332 struct page *page; shmem_read_mapping_page_gfp() local [all...] |
H A D | page_poison.c | 33 * page_poisoning_enabled - check if page poisoning is enabled 35 * Return true if page poisoning is enabled, or false if not. 42 * Page poisoning is debug page alloc for some arches. If in page_poisoning_enabled() 51 static void poison_page(struct page *page) in poison_page() argument 53 void *addr = kmap_atomic(page); in poison_page() 55 /* KASAN still think the page is in-use, so skip it. */ in poison_page() 62 static void poison_pages(struct page *page, int n) in poison_pages() argument 67 poison_page(page in poison_pages() 77 check_poison_mem(struct page *page, unsigned char *mem, size_t bytes) check_poison_mem() argument 108 unpoison_page(struct page *page) unpoison_page() argument 124 unpoison_pages(struct page *page, int n) unpoison_pages() argument 132 kernel_poison_pages(struct page *page, int numpages, int enable) kernel_poison_pages() argument 144 __kernel_map_pages(struct page *page, int numpages, int enable) __kernel_map_pages() argument [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | js_command.cpp | 27 inline RefPtr<DOMNode> GetNodeFromPage(const RefPtr<JsAcePage>& page, NodeId nodeId) in GetNodeFromPage() argument 29 auto domDocument = page ? page->GetDomDocument() : nullptr; in GetNodeFromPage() 38 inline RefPtr<AccessibilityManager> GetAccessibilityManager(const RefPtr<JsAcePage>& page) in GetAccessibilityManager() argument 40 if (!page) { in GetAccessibilityManager() 43 auto pipelineContext = page->GetPipelineContext().Upgrade(); in GetAccessibilityManager() 157 RefPtr<DOMNode> JsCommandDomElementCreator::CreateDomNode(const RefPtr<JsAcePage>& page, NodeId parentNodeId) const in CreateDomNode() argument 159 if (!page) { in CreateDomNode() 162 auto pageId = page->GetPageId(); in CreateDomNode() 163 auto domDocument = page in CreateDomNode() [all...] |
/kernel/linux/linux-6.6/include/xen/ |
H A D | grant_table.h | 40 #include <asm/page.h> 48 #include <xen/page.h> 50 #include <linux/page-flags.h> 81 struct page **pages; 102 * access has been ended, free the given page too. Access will be ended 104 * some time later. page may be NULL, in which case no freeing will occur. 105 * Note that the granted page might still be accessed (read or write) by the 106 * other side after gnttab_end_foreign_access() returns, so even if page was 107 * specified as NULL it is not allowed to just reuse the page for other 109 * reference to the granted page i 153 gnttab_page_grant_foreign_access_ref_one( grant_ref_t ref, domid_t domid, struct page *page, int readonly) gnttab_page_grant_foreign_access_ref_one() argument 283 xen_page_foreign(struct page *page) xen_page_foreign() argument 313 gnttab_for_one_grant(struct page *page, unsigned int offset, unsigned len, xen_grant_fn_t fn, void *data) gnttab_for_one_grant() argument [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | debug.c | 54 static void __dump_page(struct page *page) in __dump_page() argument 56 struct folio *folio = page_folio(page); in __dump_page() 57 struct page *head = &folio->page; in __dump_page() 59 bool compound = PageCompound(page); in __dump_page() 66 bool page_cma = is_migrate_cma_page(page); in __dump_page() 70 if (page < head || (page >= head + MAX_ORDER_NR_PAGES)) { in __dump_page() 72 * Corrupt page, s in __dump_page() 134 dump_page(struct page *page, const char *reason) dump_page() argument 266 page_init_poison(struct page *page, size_t size) page_init_poison() argument [all...] |
H A D | page_poison.c | 22 static void poison_page(struct page *page) in poison_page() argument 24 void *addr = kmap_atomic(page); in poison_page() 26 /* KASAN still think the page is in-use, so skip it. */ in poison_page() 33 void __kernel_poison_pages(struct page *page, int n) in __kernel_poison_pages() argument 38 poison_page(page + i); in __kernel_poison_pages() 48 static void check_poison_mem(struct page *page, unsigned char *mem, size_t bytes) in check_poison_mem() argument 73 dump_page(page, "pageallo in check_poison_mem() 76 unpoison_page(struct page *page) unpoison_page() argument 92 __kernel_unpoison_pages(struct page *page, int n) __kernel_unpoison_pages() argument 101 __kernel_map_pages(struct page *page, int numpages, int enable) __kernel_map_pages() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | memcontrol.h | 23 #include <linux/page-flags.h> 28 struct page; 32 /* Cgroup-specific page state, on top of universal node page state */ 57 static inline bool is_prot_page(struct page *page) in is_prot_page() argument 213 * page cache and RSS per cgroup. We would eventually like to provide 458 int mem_cgroup_charge(struct page *page, struct mm_struct *mm, gfp_t gfp_mask); 460 void mem_cgroup_uncharge(struct page *pag 766 __mod_memcg_page_state(struct page *page, int idx, int val) __mod_memcg_page_state() argument 773 mod_memcg_page_state(struct page *page, int idx, int val) mod_memcg_page_state() argument 866 is_file_page(struct page *page) is_file_page() argument 876 __mod_lruvec_page_state(struct page *page, enum node_stat_item idx, int val) __mod_lruvec_page_state() argument 901 mod_lruvec_page_state(struct page *page, enum node_stat_item idx, int val) mod_lruvec_page_state() argument 929 count_memcg_page_event(struct page *page, enum vm_event_item idx) count_memcg_page_event() argument 1043 mem_cgroup_charge(struct page *page, struct mm_struct *mm, gfp_t gfp_mask) mem_cgroup_charge() argument 1049 mem_cgroup_uncharge(struct page *page) mem_cgroup_uncharge() argument 1067 mem_cgroup_page_lruvec(struct page *page, struct pglist_data *pgdat) mem_cgroup_page_lruvec() argument 1089 get_mem_cgroup_from_page(struct page *page) get_mem_cgroup_from_page() argument 1171 lock_page_memcg(struct page *page) lock_page_memcg() argument 1180 unlock_page_memcg(struct page *page) unlock_page_memcg() argument 1239 __mod_memcg_page_state(struct page *page, int idx, int nr) __mod_memcg_page_state() argument 1245 mod_memcg_page_state(struct page *page, int idx, int nr) mod_memcg_page_state() argument 1280 __mod_lruvec_page_state(struct page *page, enum node_stat_item idx, int val) __mod_lruvec_page_state() argument 1286 mod_lruvec_page_state(struct page *page, enum node_stat_item idx, int val) mod_lruvec_page_state() argument 1295 struct page *page = virt_to_head_page(p); __mod_lruvec_slab_state() local 1303 struct page *page = virt_to_head_page(p); mod_lruvec_slab_state() local 1336 count_memcg_page_event(struct page *page, int idx) count_memcg_page_event() argument 1362 __inc_memcg_page_state(struct page *page, int idx) __inc_memcg_page_state() argument 1369 __dec_memcg_page_state(struct page *page, int idx) __dec_memcg_page_state() argument 1387 __inc_lruvec_page_state(struct page *page, enum node_stat_item idx) __inc_lruvec_page_state() argument 1393 __dec_lruvec_page_state(struct page *page, enum node_stat_item idx) __dec_lruvec_page_state() argument 1424 inc_memcg_page_state(struct page *page, int idx) inc_memcg_page_state() argument 1431 dec_memcg_page_state(struct page *page, int idx) dec_memcg_page_state() argument 1449 inc_lruvec_page_state(struct page *page, enum node_stat_item idx) inc_lruvec_page_state() argument 1455 dec_lruvec_page_state(struct page *page, enum node_stat_item idx) dec_lruvec_page_state() argument 1484 mem_cgroup_track_foreign_dirty(struct page *page, struct bdi_writeback *wb) mem_cgroup_track_foreign_dirty() argument 1511 mem_cgroup_track_foreign_dirty(struct page *page, struct bdi_writeback *wb) mem_cgroup_track_foreign_dirty() argument 1591 memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order) memcg_kmem_charge_page() argument 1599 memcg_kmem_uncharge_page(struct page *page, int order) memcg_kmem_uncharge_page() argument 1634 memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order) memcg_kmem_charge_page() argument 1640 memcg_kmem_uncharge_page(struct page *page, int order) memcg_kmem_uncharge_page() argument 1644 __memcg_kmem_charge_page(struct page *page, gfp_t gfp, int order) __memcg_kmem_charge_page() argument 1650 __memcg_kmem_uncharge_page(struct page *page, int order) __memcg_kmem_uncharge_page() argument [all...] |
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | cma.h | 13 TP_PROTO(unsigned long pfn, const struct page *page, 16 TP_ARGS(pfn, page, count, align), 20 __field(const struct page *, page) 27 __entry->page = page; 32 TP_printk("pfn=%lx page=%p count=%u align=%u", 34 __entry->page, 41 TP_PROTO(unsigned long pfn, const struct page *pag [all...] |
/kernel/linux/linux-5.10/kernel/dma/ |
H A D | direct.c | 33 static inline struct page *dma_direct_to_page(struct device *dev, in dma_direct_to_page() 78 static struct page *__dma_direct_alloc_pages(struct device *dev, size_t size, in __dma_direct_alloc_pages() 82 struct page *page = NULL; in __dma_direct_alloc_pages() local 89 page = dma_alloc_contiguous(dev, size, gfp); in __dma_direct_alloc_pages() 90 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in __dma_direct_alloc_pages() 91 dma_free_contiguous(dev, page, size); in __dma_direct_alloc_pages() 92 page = NULL; in __dma_direct_alloc_pages() 95 if (!page) in __dma_direct_alloc_pages() 120 struct page *page; dma_direct_alloc_from_pool() local 136 struct page *page; dma_direct_alloc() local 280 struct page *page; dma_direct_alloc_pages() local 314 dma_direct_free_pages(struct device *dev, size_t size, struct page *page, dma_addr_t dma_addr, enum dma_data_direction dir) dma_direct_free_pages() argument 433 struct page *page = dma_direct_to_page(dev, dma_addr); dma_direct_get_sgtable() local [all...] |
/kernel/linux/linux-5.10/arch/m68k/include/asm/ |
H A D | mcf_pgalloc.h | 17 unsigned long page = __get_free_page(GFP_DMA); in pte_alloc_one_kernel() local 19 if (!page) in pte_alloc_one_kernel() 22 memset((void *)page, 0, PAGE_SIZE); in pte_alloc_one_kernel() 23 return (pte_t *) (page); in pte_alloc_one_kernel() 40 struct page *page = virt_to_page(pgtable); in __pte_free_tlb() local 42 pgtable_pte_page_dtor(page); in __pte_free_tlb() 43 __free_page(page); in __pte_free_tlb() 48 struct page *page in pte_alloc_one() local 66 struct page *page = virt_to_page(pgtable); pte_free() local [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | symlink.c | 9 * Jun 7 1999, cache symlink lookups in the page cache. -DaveM 25 /* Symlink caching in the page cache is even more simplistic 29 static int nfs_symlink_filler(void *data, struct page *page) in nfs_symlink_filler() argument 34 error = NFS_PROTO(inode)->readlink(inode, page, 0, PAGE_SIZE); in nfs_symlink_filler() 37 SetPageUptodate(page); in nfs_symlink_filler() 38 unlock_page(page); in nfs_symlink_filler() 42 SetPageError(page); in nfs_symlink_filler() 43 unlock_page(page); in nfs_symlink_filler() 51 struct page *pag in nfs_get_link() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | doorbell.c | 51 struct mlx5_ib_user_db_page *page; in mlx5_ib_db_map_user() local 56 list_for_each_entry(page, &context->db_page_list, list) in mlx5_ib_db_map_user() 57 if ((current->mm == page->mm) && in mlx5_ib_db_map_user() 58 (page->user_virt == (virt & PAGE_MASK))) in mlx5_ib_db_map_user() 61 page = kmalloc(sizeof(*page), GFP_KERNEL); in mlx5_ib_db_map_user() 62 if (!page) { in mlx5_ib_db_map_user() 67 page->user_virt = (virt & PAGE_MASK); in mlx5_ib_db_map_user() 68 page->refcnt = 0; in mlx5_ib_db_map_user() 69 page in mlx5_ib_db_map_user() [all...] |
/kernel/linux/linux-5.10/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 52 char *page) in iscsi_stat_instance_inst_show() 54 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 59 char *page) in iscsi_stat_instance_min_ver_show() 61 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 65 char *page) in iscsi_stat_instance_max_ver_show() 67 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 71 char *page) in iscsi_stat_instance_portals_show() 73 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 78 char *page) in iscsi_stat_instance_nodes_show() 80 return snprintf(page, PAGE_SIZ in iscsi_stat_instance_nodes_show() 51 iscsi_stat_instance_inst_show(struct config_item *item, char *page) iscsi_stat_instance_inst_show() argument 58 iscsi_stat_instance_min_ver_show(struct config_item *item, char *page) iscsi_stat_instance_min_ver_show() argument 64 iscsi_stat_instance_max_ver_show(struct config_item *item, char *page) iscsi_stat_instance_max_ver_show() argument 70 iscsi_stat_instance_portals_show(struct config_item *item, char *page) iscsi_stat_instance_portals_show() argument 77 iscsi_stat_instance_nodes_show(struct config_item *item, char *page) iscsi_stat_instance_nodes_show() argument 83 iscsi_stat_instance_sessions_show(struct config_item *item, char *page) iscsi_stat_instance_sessions_show() argument 90 iscsi_stat_instance_fail_sess_show(struct config_item *item, char *page) iscsi_stat_instance_fail_sess_show() argument 106 iscsi_stat_instance_fail_type_show(struct config_item *item, char *page) iscsi_stat_instance_fail_type_show() argument 116 iscsi_stat_instance_fail_rem_name_show(struct config_item *item, char *page) iscsi_stat_instance_fail_rem_name_show() argument 127 iscsi_stat_instance_disc_time_show(struct config_item *item, char *page) iscsi_stat_instance_disc_time_show() argument 133 iscsi_stat_instance_description_show(struct config_item *item, char *page) iscsi_stat_instance_description_show() argument 139 iscsi_stat_instance_vendor_show(struct config_item *item, char *page) iscsi_stat_instance_vendor_show() argument 145 iscsi_stat_instance_version_show(struct config_item *item, char *page) iscsi_stat_instance_version_show() argument 197 iscsi_stat_sess_err_inst_show(struct config_item *item, char *page) iscsi_stat_sess_err_inst_show() argument 204 iscsi_stat_sess_err_digest_errors_show(struct config_item *item, char *page) iscsi_stat_sess_err_digest_errors_show() argument 213 iscsi_stat_sess_err_cxn_errors_show(struct config_item *item, char *page) iscsi_stat_sess_err_cxn_errors_show() argument 222 iscsi_stat_sess_err_format_errors_show(struct config_item *item, char *page) iscsi_stat_sess_err_format_errors_show() argument 259 iscsi_stat_tgt_attr_inst_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_inst_show() argument 266 iscsi_stat_tgt_attr_indx_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_indx_show() argument 272 iscsi_stat_tgt_attr_login_fails_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_login_fails_show() argument 288 iscsi_stat_tgt_attr_last_fail_time_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_last_fail_time_show() argument 304 iscsi_stat_tgt_attr_last_fail_type_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_last_fail_type_show() argument 318 iscsi_stat_tgt_attr_fail_intr_name_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_fail_intr_name_show() argument 333 iscsi_stat_tgt_attr_fail_intr_addr_type_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_fail_intr_addr_type_show() argument 350 iscsi_stat_tgt_attr_fail_intr_addr_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_fail_intr_addr_show() argument 400 iscsi_stat_login_inst_show(struct config_item *item, char *page) iscsi_stat_login_inst_show() argument 406 iscsi_stat_login_indx_show(struct config_item *item, char *page) iscsi_stat_login_indx_show() argument 412 iscsi_stat_login_accepts_show(struct config_item *item, char *page) iscsi_stat_login_accepts_show() argument 426 iscsi_stat_login_other_fails_show(struct config_item *item, char *page) iscsi_stat_login_other_fails_show() argument 440 iscsi_stat_login_redirects_show(struct config_item *item, char *page) iscsi_stat_login_redirects_show() argument 454 iscsi_stat_login_authorize_fails_show(struct config_item *item, char *page) iscsi_stat_login_authorize_fails_show() argument 468 iscsi_stat_login_authenticate_fails_show( struct config_item *item, char *page) iscsi_stat_login_authenticate_fails_show() argument 482 iscsi_stat_login_negotiate_fails_show(struct config_item *item, char *page) iscsi_stat_login_negotiate_fails_show() argument 532 iscsi_stat_logout_inst_show(struct config_item *item, char *page) iscsi_stat_logout_inst_show() argument 538 iscsi_stat_logout_indx_show(struct config_item *item, char *page) iscsi_stat_logout_indx_show() argument 543 iscsi_stat_logout_normal_logouts_show(struct config_item *item, char *page) iscsi_stat_logout_normal_logouts_show() argument 552 iscsi_stat_logout_abnormal_logouts_show(struct config_item *item, char *page) iscsi_stat_logout_abnormal_logouts_show() argument 589 iscsi_stat_sess_inst_show(struct config_item *item, char *page) iscsi_stat_sess_inst_show() argument 599 iscsi_stat_sess_node_show(struct config_item *item, char *page) iscsi_stat_sess_node_show() argument 620 iscsi_stat_sess_indx_show(struct config_item *item, char *page) iscsi_stat_sess_indx_show() argument 641 iscsi_stat_sess_cmd_pdus_show(struct config_item *item, char *page) iscsi_stat_sess_cmd_pdus_show() argument 663 iscsi_stat_sess_rsp_pdus_show(struct config_item *item, char *page) iscsi_stat_sess_rsp_pdus_show() argument 685 iscsi_stat_sess_txdata_octs_show(struct config_item *item, char *page) iscsi_stat_sess_txdata_octs_show() argument 707 iscsi_stat_sess_rxdata_octs_show(struct config_item *item, char *page) iscsi_stat_sess_rxdata_octs_show() argument 729 iscsi_stat_sess_conn_digest_errors_show(struct config_item *item, char *page) iscsi_stat_sess_conn_digest_errors_show() argument 751 iscsi_stat_sess_conn_timeout_errors_show( struct config_item *item, char *page) iscsi_stat_sess_conn_timeout_errors_show() argument [all...] |
/kernel/linux/linux-6.6/drivers/target/iscsi/ |
H A D | iscsi_target_stat.c | 51 char *page) in iscsi_stat_instance_inst_show() 53 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 58 char *page) in iscsi_stat_instance_min_ver_show() 60 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 64 char *page) in iscsi_stat_instance_max_ver_show() 66 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 70 char *page) in iscsi_stat_instance_portals_show() 72 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 77 char *page) in iscsi_stat_instance_nodes_show() 79 return snprintf(page, PAGE_SIZ in iscsi_stat_instance_nodes_show() 50 iscsi_stat_instance_inst_show(struct config_item *item, char *page) iscsi_stat_instance_inst_show() argument 57 iscsi_stat_instance_min_ver_show(struct config_item *item, char *page) iscsi_stat_instance_min_ver_show() argument 63 iscsi_stat_instance_max_ver_show(struct config_item *item, char *page) iscsi_stat_instance_max_ver_show() argument 69 iscsi_stat_instance_portals_show(struct config_item *item, char *page) iscsi_stat_instance_portals_show() argument 76 iscsi_stat_instance_nodes_show(struct config_item *item, char *page) iscsi_stat_instance_nodes_show() argument 82 iscsi_stat_instance_sessions_show(struct config_item *item, char *page) iscsi_stat_instance_sessions_show() argument 89 iscsi_stat_instance_fail_sess_show(struct config_item *item, char *page) iscsi_stat_instance_fail_sess_show() argument 105 iscsi_stat_instance_fail_type_show(struct config_item *item, char *page) iscsi_stat_instance_fail_type_show() argument 115 iscsi_stat_instance_fail_rem_name_show(struct config_item *item, char *page) iscsi_stat_instance_fail_rem_name_show() argument 126 iscsi_stat_instance_disc_time_show(struct config_item *item, char *page) iscsi_stat_instance_disc_time_show() argument 132 iscsi_stat_instance_description_show(struct config_item *item, char *page) iscsi_stat_instance_description_show() argument 138 iscsi_stat_instance_vendor_show(struct config_item *item, char *page) iscsi_stat_instance_vendor_show() argument 144 iscsi_stat_instance_version_show(struct config_item *item, char *page) iscsi_stat_instance_version_show() argument 196 iscsi_stat_sess_err_inst_show(struct config_item *item, char *page) iscsi_stat_sess_err_inst_show() argument 203 iscsi_stat_sess_err_digest_errors_show(struct config_item *item, char *page) iscsi_stat_sess_err_digest_errors_show() argument 212 iscsi_stat_sess_err_cxn_errors_show(struct config_item *item, char *page) iscsi_stat_sess_err_cxn_errors_show() argument 221 iscsi_stat_sess_err_format_errors_show(struct config_item *item, char *page) iscsi_stat_sess_err_format_errors_show() argument 258 iscsi_stat_tgt_attr_inst_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_inst_show() argument 265 iscsi_stat_tgt_attr_indx_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_indx_show() argument 271 iscsi_stat_tgt_attr_login_fails_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_login_fails_show() argument 287 iscsi_stat_tgt_attr_last_fail_time_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_last_fail_time_show() argument 303 iscsi_stat_tgt_attr_last_fail_type_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_last_fail_type_show() argument 317 iscsi_stat_tgt_attr_fail_intr_name_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_fail_intr_name_show() argument 332 iscsi_stat_tgt_attr_fail_intr_addr_type_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_fail_intr_addr_type_show() argument 349 iscsi_stat_tgt_attr_fail_intr_addr_show(struct config_item *item, char *page) iscsi_stat_tgt_attr_fail_intr_addr_show() argument 399 iscsi_stat_login_inst_show(struct config_item *item, char *page) iscsi_stat_login_inst_show() argument 405 iscsi_stat_login_indx_show(struct config_item *item, char *page) iscsi_stat_login_indx_show() argument 411 iscsi_stat_login_accepts_show(struct config_item *item, char *page) iscsi_stat_login_accepts_show() argument 425 iscsi_stat_login_other_fails_show(struct config_item *item, char *page) iscsi_stat_login_other_fails_show() argument 439 iscsi_stat_login_redirects_show(struct config_item *item, char *page) iscsi_stat_login_redirects_show() argument 453 iscsi_stat_login_authorize_fails_show(struct config_item *item, char *page) iscsi_stat_login_authorize_fails_show() argument 467 iscsi_stat_login_authenticate_fails_show( struct config_item *item, char *page) iscsi_stat_login_authenticate_fails_show() argument 481 iscsi_stat_login_negotiate_fails_show(struct config_item *item, char *page) iscsi_stat_login_negotiate_fails_show() argument 531 iscsi_stat_logout_inst_show(struct config_item *item, char *page) iscsi_stat_logout_inst_show() argument 537 iscsi_stat_logout_indx_show(struct config_item *item, char *page) iscsi_stat_logout_indx_show() argument 542 iscsi_stat_logout_normal_logouts_show(struct config_item *item, char *page) iscsi_stat_logout_normal_logouts_show() argument 551 iscsi_stat_logout_abnormal_logouts_show(struct config_item *item, char *page) iscsi_stat_logout_abnormal_logouts_show() argument 588 iscsi_stat_sess_inst_show(struct config_item *item, char *page) iscsi_stat_sess_inst_show() argument 598 iscsi_stat_sess_node_show(struct config_item *item, char *page) iscsi_stat_sess_node_show() argument 619 iscsi_stat_sess_indx_show(struct config_item *item, char *page) iscsi_stat_sess_indx_show() argument 640 iscsi_stat_sess_cmd_pdus_show(struct config_item *item, char *page) iscsi_stat_sess_cmd_pdus_show() argument 662 iscsi_stat_sess_rsp_pdus_show(struct config_item *item, char *page) iscsi_stat_sess_rsp_pdus_show() argument 684 iscsi_stat_sess_txdata_octs_show(struct config_item *item, char *page) iscsi_stat_sess_txdata_octs_show() argument 706 iscsi_stat_sess_rxdata_octs_show(struct config_item *item, char *page) iscsi_stat_sess_rxdata_octs_show() argument 728 iscsi_stat_sess_conn_digest_errors_show(struct config_item *item, char *page) iscsi_stat_sess_conn_digest_errors_show() argument 750 iscsi_stat_sess_conn_timeout_errors_show( struct config_item *item, char *page) iscsi_stat_sess_conn_timeout_errors_show() argument [all...] |
/kernel/linux/linux-6.6/fs/f2fs/ |
H A D | data.c | 51 bool f2fs_is_cp_guaranteed(struct page *page) in f2fs_is_cp_guaranteed() argument 53 struct address_space *mapping = page->mapping; in f2fs_is_cp_guaranteed() 69 page_private_gcing(page)) in f2fs_is_cp_guaranteed() 74 static enum count_type __read_io_type(struct page *page) in __read_io_type() argument 76 struct address_space *mapping = page_file_mapping(page); in __read_io_type() 133 * things for each compressed page here: call f2fs_end_read_compressed_page() 136 * release the bio's reference to the decompress_io_ctx of the page's cluster. 145 struct page *pag in f2fs_finish_read_bio() local 194 struct page *page = bv->bv_page; f2fs_verify_bio() local 248 struct page *page = bv->bv_page; f2fs_handle_step_decompress() local 338 struct page *page = bvec->bv_page; f2fs_write_end_io() local 535 struct page *page = f2fs_align_write_bio() local 592 __has_merged_page(struct bio *bio, struct inode *inode, struct page *page, nid_t ino) __has_merged_page() argument 685 __submit_merged_write_cond(struct f2fs_sb_info *sbi, struct inode *inode, struct page *page, nid_t ino, enum page_type type, bool force) __submit_merged_write_cond() argument 715 f2fs_submit_merged_write_cond(struct f2fs_sb_info *sbi, struct inode *inode, struct page *page, nid_t ino, enum page_type type) f2fs_submit_merged_write_cond() argument 736 struct page *page = fio->encrypted_page ? f2fs_submit_page_bio() local 812 add_bio_entry(struct f2fs_sb_info *sbi, struct bio *bio, struct page *page, enum temp_type temp) add_bio_entry() argument 836 add_ipu_page(struct f2fs_io_info *fio, struct bio **bio, struct page *page) add_ipu_page() argument 884 f2fs_submit_merged_ipu_write(struct f2fs_sb_info *sbi, struct bio **bio, struct page *page) f2fs_submit_merged_ipu_write() argument 945 struct page *page = fio->encrypted_page ? f2fs_merge_page_bio() local 1154 f2fs_submit_page_read(struct inode *inode, struct page *page, block_t blkaddr, blk_opf_t op_flags, bool for_write) f2fs_submit_page_read() argument 1277 struct page *page; f2fs_get_read_data_page() local 1356 struct page *page; f2fs_find_data_page() local 1387 struct page *page; f2fs_get_lock_data_page() local 1415 struct page *page; f2fs_get_new_data_page() local 1876 struct page *page; f2fs_xattr_fiemap() local 2120 f2fs_read_single_page(struct inode *inode, struct page *page, unsigned nr_pages, struct f2fs_map_blocks *map, struct bio **bio_ret, sector_t *last_block_in_bio, bool is_readahead) f2fs_read_single_page() argument 2254 struct page *page = cc->rpages[i]; f2fs_read_multi_pages() local 2327 struct page *page = dic->cpages[i]; f2fs_read_multi_pages() local 2403 f2fs_mpage_readpages(struct inode *inode, struct readahead_control *rac, struct page *page) f2fs_mpage_readpages() argument 2516 struct page *page = &folio->page; f2fs_read_data_folio() local 2554 struct page *mpage, *page; f2fs_encrypt_one_page() local 2690 struct page *page = fio->page; f2fs_do_write_data_page() local 2810 f2fs_write_single_data_page(struct page *page, int *submitted, struct bio **bio, sector_t *last_block, struct writeback_control *wbc, enum iostat_type io_type, int compr_blocks, bool allow_balance) f2fs_write_single_data_page() argument 2983 f2fs_write_data_page(struct page *page, struct writeback_control *wbc) f2fs_write_data_page() argument 3117 struct page *page = pages[i]; f2fs_write_cache_pages() local 3418 prepare_write_begin(struct f2fs_sb_info *sbi, struct page *page, loff_t pos, unsigned len, block_t *blk_addr, bool *node_changed) prepare_write_begin() argument 3558 prepare_atomic_write_begin(struct f2fs_sb_info *sbi, struct page *page, loff_t pos, unsigned int len, block_t *blk_addr, bool *node_changed, bool *use_cow) prepare_atomic_write_begin() argument 3606 struct page *page = NULL; f2fs_write_begin() local 3733 f2fs_write_end(struct file *file, struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) f2fs_write_end() argument 3927 struct page *page; f2fs_migrate_blocks() local 4141 f2fs_clear_page_cache_dirty_tag(struct page *page) f2fs_clear_page_cache_dirty_tag() argument [all...] |
/kernel/linux/linux-5.10/include/xen/ |
H A D | grant_table.h | 40 #include <asm/page.h> 48 #include <xen/page.h> 50 #include <linux/page-flags.h> 76 struct page **pages; 97 * access has been ended, free the given page too. Access will be ended 99 * some time later. page may be 0, in which case no freeing will occur. 100 * Note that the granted page might still be accessed (read or write) by the 101 * other side after gnttab_end_foreign_access() returns, so even if page was 102 * specified as 0 it is not allowed to just reuse the page for other 104 * reference to the granted page i 150 gnttab_page_grant_foreign_access_ref_one( grant_ref_t ref, domid_t domid, struct page *page, int readonly) gnttab_page_grant_foreign_access_ref_one() argument 283 xen_page_foreign(struct page *page) xen_page_foreign() argument 313 gnttab_for_one_grant(struct page *page, unsigned int offset, unsigned len, xen_grant_fn_t fn, void *data) gnttab_for_one_grant() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/test/unittest/common/ |
H A D | dfx_tdd_test.cpp | 556 JSValue page = CreatePage(BUNDLE1, strlen(BUNDLE1)); in DfxTest001() local 557 JSValue ret = JSObject::Call(page, FUNC_NAME); in DfxTest001() 559 DestroyPage(page); in DfxTest001() 572 DestroyPage(page); in DfxTest001() 583 JSValue value = JSObject::Get(page, "textValue"); in DfxTest001() 591 DestroyPage(page); in DfxTest001() 598 JSValue page = CreatePage(BUNDLE2, strlen(BUNDLE2)); in DfxTest002() local 599 JSValue errorValue = JSObject::Call(page, FUNC_NAME); in DfxTest002() 601 DestroyPage(page); in DfxTest002() 614 DestroyPage(page); in DfxTest002() 622 OnDfxTest002(jerry_value_t& backtraceVal, JSValue& page, const uint16_t stackMsgMaxLength, const uint8_t exceptLength) OnDfxTest002() argument 659 JSValue page = CreatePage(BUNDLE3, strlen(BUNDLE3)); DfxTest003() local 681 JSValue page = CreatePage(BUNDLE4, strlen(BUNDLE4)); DfxTest004() local 715 JSValue page = CreatePage(BUNDLE5, strlen(BUNDLE5)); DfxTest005() local 741 JSValue page = CreatePage(BUNDLE6, strlen(BUNDLE6)); DfxTest006() local 767 JSValue page = CreatePage(BUNDLE7, strlen(BUNDLE7)); DfxTest007() local [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | uv.c | 101 * Requests the Ultravisor to pin the page in the shared state. This will 102 * cause an intercept when the guest attempts to unshare the pinned page. 118 * Requests the Ultravisor to destroy a guest page and make it 119 * accessible to the host. The destroy clears the page instead of 122 * @paddr: Absolute host address of page to be destroyed 135 * page. Let us emulate the newer variant (no-op). in uv_destroy_page() 145 * Requests the Ultravisor to encrypt a guest page and make it 148 * @paddr: Absolute host address of page to be exported 164 * Calculate the expected ref_count for a page that would otherwise have no 167 * page ca 169 expected_page_refs(struct page *page) expected_page_refs() argument 188 struct page *page; make_secure_pte() local 225 struct page *page; gmap_make_secure() local 315 arch_make_page_accessible(struct page *page) arch_make_page_accessible() argument 354 uv_query_facilities(struct kobject *kobj, struct kobj_attribute *attr, char *page) uv_query_facilities() argument 376 uv_query_max_guest_cpus(struct kobject *kobj, struct kobj_attribute *attr, char *page) uv_query_max_guest_cpus() argument 386 uv_query_max_guest_vms(struct kobject *kobj, struct kobj_attribute *attr, char *page) uv_query_max_guest_vms() argument 396 uv_query_max_guest_addr(struct kobject *kobj, struct kobj_attribute *attr, char *page) uv_query_max_guest_addr() argument [all...] |
/kernel/linux/linux-5.10/include/net/ |
H A D | page_pool.h | 12 * uses one-frame-per-page, but have fallbacks that act like the 13 * regular page allocator APIs. 21 * must make sure to call page_pool_release_page() when a page is 25 * API user must only call page_pool_put_page() once on a page, as it 26 * will either recycle the page, or in case of elevated refcnt, it 131 struct page *page_pool_alloc_pages(struct page_pool *pool, gfp_t gfp); 133 static inline struct page *page_pool_dev_alloc_pages(struct page_pool *pool) in page_pool_dev_alloc_pages() 154 void page_pool_release_page(struct page_pool *pool, struct page *page); 165 struct page *pag in page_pool_release_page() 164 page_pool_release_page(struct page_pool *pool, struct page *page) page_pool_release_page() argument 174 page_pool_put_full_page(struct page_pool *pool, struct page *page, bool allow_direct) page_pool_put_full_page() argument 186 page_pool_recycle_direct(struct page_pool *pool, struct page *page) page_pool_recycle_direct() argument 192 page_pool_get_dma_addr(struct page *page) page_pool_get_dma_addr() argument 200 page_pool_set_dma_addr(struct page *page, dma_addr_t addr) page_pool_set_dma_addr() argument [all...] |