/linux-6.12.1/fs/btrfs/ |
D | subpage.c | 94 struct btrfs_subpage *subpage; in btrfs_attach_subpage() local 107 subpage = btrfs_alloc_subpage(fs_info, type); in btrfs_attach_subpage() 108 if (IS_ERR(subpage)) in btrfs_attach_subpage() 109 return PTR_ERR(subpage); in btrfs_attach_subpage() 111 folio_attach_private(folio, subpage); in btrfs_attach_subpage() 117 struct btrfs_subpage *subpage; in btrfs_detach_subpage() local 123 subpage = folio_detach_private(folio); in btrfs_detach_subpage() 124 ASSERT(subpage); in btrfs_detach_subpage() 125 btrfs_free_subpage(subpage); in btrfs_detach_subpage() 152 void btrfs_free_subpage(struct btrfs_subpage *subpage) in btrfs_free_subpage() argument [all …]
|
D | subpage.h | 93 void btrfs_free_subpage(struct btrfs_subpage *subpage);
|
D | Makefile | 35 subpage.o tree-mod-log.o extent-io-tree.o fs.o messages.o bio.o \
|
D | extent_io.c | 1758 struct btrfs_subpage *subpage = folio_get_private(folio); in submit_eb_subpage() local 1772 spin_lock_irqsave(&subpage->lock, flags); in submit_eb_subpage() 1774 subpage->bitmaps)) { in submit_eb_subpage() 1775 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 1789 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 2448 struct btrfs_subpage *subpage; in folio_range_has_eb() local 2453 subpage = folio_get_private(folio); in folio_range_has_eb() 2454 if (atomic_read(&subpage->eb_refs)) in folio_range_has_eb() 2460 if (atomic_read(&subpage->readers)) in folio_range_has_eb() 3314 bool subpage = eb->fs_info->nodesize < PAGE_SIZE; in set_extent_buffer_dirty() local [all …]
|
D | disk-io.c | 553 struct btrfs_subpage *subpage; in btree_dirty_folio() local 568 subpage = folio_get_private(folio); in btree_dirty_folio() 576 spin_lock_irqsave(&subpage->lock, flags); in btree_dirty_folio() 577 if (!test_bit(cur_bit, subpage->bitmaps)) { in btree_dirty_folio() 578 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio() 581 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio()
|
D | inode.c | 7212 struct btrfs_subpage *subpage; in wait_subpage_spinlock() local 7218 subpage = folio_get_private(folio); in wait_subpage_spinlock() 7231 spin_lock_irq(&subpage->lock); in wait_subpage_spinlock() 7232 spin_unlock_irq(&subpage->lock); in wait_subpage_spinlock()
|
/linux-6.12.1/tools/power/cpupower/utils/ |
D | cpupower.c | 81 static int print_man_page(const char *subpage) in print_man_page() argument 87 if (subpage != NULL) in print_man_page() 88 len += strlen(subpage); in print_man_page() 95 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page() 97 strcat(page, subpage); in print_man_page()
|
/linux-6.12.1/mm/ |
D | rmap.c | 1641 struct page *subpage; in try_to_unmap_one() local 1715 subpage = folio_page(folio, pfn - folio_pfn(folio)); in try_to_unmap_one() 1718 PageAnonExclusive(subpage); in try_to_unmap_one() 1727 VM_BUG_ON_PAGE(!PageHWPoison(subpage), subpage); in try_to_unmap_one() 1804 if (PageHWPoison(subpage) && (flags & TTU_HWPOISON)) { in try_to_unmap_one() 1805 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one() 1828 swp_entry_t entry = page_swap_entry(subpage); in try_to_unmap_one() 1902 folio_try_share_anon_rmap_pte(folio, subpage)) { in try_to_unmap_one() 1941 folio_remove_rmap_pte(folio, subpage, vma); in try_to_unmap_one() 2006 struct page *subpage; in try_to_migrate_one() local [all …]
|
D | gup.c | 1521 struct page *subpage; in __get_user_pages() local 1554 subpage = nth_page(page, j); in __get_user_pages() 1555 pages[i + j] = subpage; in __get_user_pages() 1556 flush_anon_page(vma, subpage, start + j * PAGE_SIZE); in __get_user_pages() 1557 flush_dcache_page(subpage); in __get_user_pages()
|
D | huge_memory.c | 3267 struct page *subpage = head + i; in __split_huge_page() local 3268 struct folio *new_folio = page_folio(subpage); in __split_huge_page() 3269 if (subpage == page) in __split_huge_page() 3280 free_page_and_swap_cache(subpage); in __split_huge_page()
|
D | memory.c | 6880 struct page *subpage; in copy_folio_from_user() local 6883 subpage = folio_page(dst_folio, i); in copy_folio_from_user() 6884 kaddr = kmap_local_page(subpage); in copy_folio_from_user() 6896 flush_dcache_page(subpage); in copy_folio_from_user()
|
/linux-6.12.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-6.12.1/drivers/target/ |
D | target_core_spc.c | 959 uint8_t subpage; member 962 { .page = 0x01, .subpage = 0x00, .emulate = spc_modesense_rwrecovery }, 963 { .page = 0x08, .subpage = 0x00, .emulate = spc_modesense_caching }, 964 { .page = 0x0a, .subpage = 0x00, .emulate = spc_modesense_control }, 965 { .page = 0x1c, .subpage = 0x00, .emulate = spc_modesense_informational_exceptions }, 1029 u8 subpage = cdb[3]; in spc_emulate_modesense() local 1087 if (subpage != 0x00 && subpage != 0xff) { in spc_emulate_modesense() 1088 pr_warn("MODE_SENSE: Invalid subpage code: 0x%02x\n", subpage); in spc_emulate_modesense() 1099 if ((modesense_handlers[i].subpage & ~subpage) == 0) { in spc_emulate_modesense() 1112 modesense_handlers[i].subpage == subpage) { in spc_emulate_modesense() [all …]
|
/linux-6.12.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-6.12.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-6.12.1/drivers/hid/ |
D | wacom_wac.c | 1828 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local 1831 if (subpage == WACOM_HID_SP_PAD || in wacom_equivalent_usage() 1832 subpage == WACOM_HID_SP_BUTTON || in wacom_equivalent_usage() 1833 subpage == WACOM_HID_SP_DIGITIZER || in wacom_equivalent_usage() 1834 subpage == WACOM_HID_SP_DIGITIZERINFO || in wacom_equivalent_usage() 1849 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage() 1850 subpage = HID_UP_DIGITIZER; in wacom_equivalent_usage() 1852 return subpage | subusage; in wacom_equivalent_usage() 1856 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local 1862 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage() [all …]
|
/linux-6.12.1/include/scsi/ |
D | scsi_device.h | 453 int subpage, unsigned char *buffer, int len, int timeout,
|
/linux-6.12.1/Documentation/mm/ |
D | transhuge.rst | 158 memory immediately. Instead, we detect that a subpage of THP is not in use
|
/linux-6.12.1/drivers/scsi/ |
D | scsi_lib.c | 2252 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, int subpage, in scsi_mode_sense() argument 2286 cmd[3] = subpage; in scsi_mode_sense()
|
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | nand_base.c | 4405 int status, subpage; in nand_write_page() local 4409 subpage = offset || (data_len < mtd->writesize); in nand_write_page() 4411 subpage = 0; in nand_write_page() 4416 else if (subpage) in nand_write_page()
|