/Linux-v6.1/fs/btrfs/ |
D | subpage.c | 123 struct btrfs_subpage *subpage; in btrfs_attach_subpage() local 136 subpage = btrfs_alloc_subpage(fs_info, type); in btrfs_attach_subpage() 137 if (IS_ERR(subpage)) in btrfs_attach_subpage() 138 return PTR_ERR(subpage); in btrfs_attach_subpage() 140 attach_page_private(page, subpage); in btrfs_attach_subpage() 147 struct btrfs_subpage *subpage; in btrfs_detach_subpage() local 153 subpage = detach_page_private(page); in btrfs_detach_subpage() 154 ASSERT(subpage); in btrfs_detach_subpage() 155 btrfs_free_subpage(subpage); in btrfs_detach_subpage() 182 void btrfs_free_subpage(struct btrfs_subpage *subpage) in btrfs_free_subpage() argument [all …]
|
D | subpage.h | 88 void btrfs_free_subpage(struct btrfs_subpage *subpage);
|
D | Makefile | 34 subpage.o tree-mod-log.o extent-io-tree.o
|
D | extent_io.c | 2023 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in find_next_dirty_byte() local 2045 spin_lock_irqsave(&subpage->lock, flags); in find_next_dirty_byte() 2046 bitmap_next_set_region(subpage->bitmaps, &range_start_bit, &range_end_bit, in find_next_dirty_byte() 2048 spin_unlock_irqrestore(&subpage->lock, flags); in find_next_dirty_byte() 2787 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in submit_eb_subpage() local 2801 spin_lock_irqsave(&subpage->lock, flags); in submit_eb_subpage() 2803 subpage->bitmaps)) { in submit_eb_subpage() 2804 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 2818 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 4145 struct btrfs_subpage *subpage; in page_range_has_eb() local [all …]
|
D | disk-io.c | 855 struct btrfs_subpage *subpage; in btree_dirty_folio() local 868 subpage = folio_get_private(folio); in btree_dirty_folio() 870 ASSERT(subpage->dirty_bitmap); in btree_dirty_folio() 876 spin_lock_irqsave(&subpage->lock, flags); in btree_dirty_folio() 877 if (!(tmp & subpage->dirty_bitmap)) { in btree_dirty_folio() 878 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio() 882 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio()
|
D | inode.c | 8150 struct btrfs_subpage *subpage; in wait_subpage_spinlock() local 8156 subpage = (struct btrfs_subpage *)page->private; in wait_subpage_spinlock() 8169 spin_lock_irq(&subpage->lock); in wait_subpage_spinlock() 8170 spin_unlock_irq(&subpage->lock); in wait_subpage_spinlock()
|
/Linux-v6.1/tools/power/cpupower/utils/ |
D | cpupower.c | 80 static int print_man_page(const char *subpage) in print_man_page() argument 86 if (subpage != NULL) in print_man_page() 87 len += strlen(subpage); in print_man_page() 94 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page() 96 strcat(page, subpage); in print_man_page()
|
/Linux-v6.1/mm/ |
D | rmap.c | 1476 struct page *subpage; in try_to_unmap_one() local 1530 subpage = folio_page(folio, in try_to_unmap_one() 1534 PageAnonExclusive(subpage); in try_to_unmap_one() 1543 VM_BUG_ON_PAGE(!PageHWPoison(subpage), subpage); in try_to_unmap_one() 1626 if (PageHWPoison(subpage) && !(flags & TTU_IGNORE_HWPOISON)) { in try_to_unmap_one() 1627 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one() 1652 swp_entry_t entry = { .val = page_private(subpage) }; in try_to_unmap_one() 1729 page_try_share_anon_rmap(subpage)) { in try_to_unmap_one() 1788 page_remove_rmap(subpage, vma, folio_test_hugetlb(folio)); in try_to_unmap_one() 1847 struct page *subpage; in try_to_migrate_one() local [all …]
|
D | hugetlb.c | 1560 struct page *subpage; in __update_and_free_page() local 1592 subpage = nth_page(page, i); in __update_and_free_page() 1593 subpage->flags &= ~(1 << PG_locked | 1 << PG_error | in __update_and_free_page() 3430 struct page *subpage; in demote_free_huge_page() local 3464 subpage = nth_page(page, i); in demote_free_huge_page() 3466 prep_compound_gigantic_page_for_demote(subpage, in demote_free_huge_page() 3469 prep_compound_page(subpage, target_hstate->order); in demote_free_huge_page() 3470 set_page_private(subpage, 0); in demote_free_huge_page() 3471 prep_new_huge_page(target_hstate, subpage, nid); in demote_free_huge_page() 3472 free_huge_page(subpage); in demote_free_huge_page()
|
D | huge_memory.c | 2582 struct page *subpage = head + i; in __split_huge_page() local 2583 if (subpage == page) in __split_huge_page() 2585 unlock_page(subpage); in __split_huge_page() 2594 free_page_and_swap_cache(subpage); in __split_huge_page()
|
D | memory.c | 5800 struct page *subpage; in copy_huge_page_from_user() local 5803 subpage = nth_page(dst_page, i); in copy_huge_page_from_user() 5805 page_kaddr = kmap(subpage); in copy_huge_page_from_user() 5807 page_kaddr = kmap_atomic(subpage); in copy_huge_page_from_user() 5811 kunmap(subpage); in copy_huge_page_from_user() 5819 flush_dcache_page(subpage); in copy_huge_page_from_user()
|
/Linux-v6.1/drivers/target/ |
D | target_core_spc.c | 964 uint8_t subpage; member 967 { .page = 0x01, .subpage = 0x00, .emulate = spc_modesense_rwrecovery }, 968 { .page = 0x08, .subpage = 0x00, .emulate = spc_modesense_caching }, 969 { .page = 0x0a, .subpage = 0x00, .emulate = spc_modesense_control }, 970 { .page = 0x1c, .subpage = 0x00, .emulate = spc_modesense_informational_exceptions }, 1034 u8 subpage = cdb[3]; in spc_emulate_modesense() local 1092 if (subpage != 0x00 && subpage != 0xff) { in spc_emulate_modesense() 1093 pr_warn("MODE_SENSE: Invalid subpage code: 0x%02x\n", subpage); in spc_emulate_modesense() 1104 if ((modesense_handlers[i].subpage & ~subpage) == 0) { in spc_emulate_modesense() 1117 modesense_handlers[i].subpage == subpage) { in spc_emulate_modesense() [all …]
|
/Linux-v6.1/tools/testing/selftests/powerpc/mm/ |
D | subpage_prot.c | 68 static inline void check_faulted(void *addr, long page, long subpage, int write) in check_faulted() argument 70 int want_fault = (subpage == ((page + 3) % 16)); in check_faulted() 73 want_fault |= (subpage == ((page + 1) % 16)); in check_faulted() 77 addr, page, subpage, write, in check_faulted()
|
/Linux-v6.1/Documentation/devicetree/bindings/mtd/ |
D | nand-macronix.txt | 6 randomizer are subpage accesses prohibited and more time period needed 11 For more high-reliability concern, if subpage write is not available
|
/Linux-v6.1/fs/9p/ |
D | vfs_addr.c | 299 struct page *subpage, void *fsdata) in v9fs_write_end() argument 302 struct folio *folio = page_folio(subpage); in v9fs_write_end()
|
/Linux-v6.1/fs/afs/ |
D | write.c | 123 struct page *subpage, void *fsdata) in afs_write_end() argument 125 struct folio *folio = page_folio(subpage); in afs_write_end() 670 int afs_writepage(struct page *subpage, struct writeback_control *wbc) in afs_writepage() argument 672 struct folio *folio = page_folio(subpage); in afs_writepage()
|
/Linux-v6.1/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 1711 int column, subpage; in onenand_panic_write() local 1740 subpage = thislen < mtd->writesize; in onenand_panic_write() 1741 if (subpage) { in onenand_panic_write() 1755 onenand_update_bufferram(mtd, to, !subpage); in onenand_panic_write() 1758 onenand_update_bufferram(mtd, to + this->writesize, !subpage); in onenand_panic_write() 1801 int written = 0, column, thislen = 0, subpage = 0; in onenand_write_ops_nolock() local 1846 subpage = thislen < mtd->writesize; in onenand_write_ops_nolock() 1847 if (subpage) { in onenand_write_ops_nolock() 1927 onenand_update_bufferram(mtd, to, !ret && !subpage); in onenand_write_ops_nolock() 1951 prev_subpage = subpage; in onenand_write_ops_nolock()
|
/Linux-v6.1/drivers/hid/ |
D | wacom_wac.c | 1845 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local 1848 if (subpage == WACOM_HID_SP_PAD || in wacom_equivalent_usage() 1849 subpage == WACOM_HID_SP_BUTTON || in wacom_equivalent_usage() 1850 subpage == WACOM_HID_SP_DIGITIZER || in wacom_equivalent_usage() 1851 subpage == WACOM_HID_SP_DIGITIZERINFO || in wacom_equivalent_usage() 1866 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage() 1867 subpage = HID_UP_DIGITIZER; in wacom_equivalent_usage() 1869 return subpage | subusage; in wacom_equivalent_usage() 1873 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local 1879 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage() [all …]
|
/Linux-v6.1/Documentation/mm/ |
D | transhuge.rst | 135 This optimization is required to lower the overhead of per-subpage mapcount 176 memory immediately. Instead, we detect that a subpage of THP is not in use
|
/Linux-v6.1/fs/ceph/ |
D | addr.c | 1341 struct page *subpage, void *fsdata) in ceph_write_end() argument 1343 struct folio *folio = page_folio(subpage); in ceph_write_end()
|
/Linux-v6.1/drivers/mtd/nand/raw/ |
D | nand_base.c | 4222 int status, subpage; in nand_write_page() local 4226 subpage = offset || (data_len < mtd->writesize); in nand_write_page() 4228 subpage = 0; in nand_write_page() 4233 else if (subpage) in nand_write_page()
|