/linux-6.6.21/fs/btrfs/ |
D | subpage.c | 121 struct btrfs_subpage *subpage; in btrfs_attach_subpage() local 134 subpage = btrfs_alloc_subpage(fs_info, type); in btrfs_attach_subpage() 135 if (IS_ERR(subpage)) in btrfs_attach_subpage() 136 return PTR_ERR(subpage); in btrfs_attach_subpage() 138 attach_page_private(page, subpage); in btrfs_attach_subpage() 145 struct btrfs_subpage *subpage; in btrfs_detach_subpage() local 151 subpage = detach_page_private(page); in btrfs_detach_subpage() 152 ASSERT(subpage); in btrfs_detach_subpage() 153 btrfs_free_subpage(subpage); in btrfs_detach_subpage() 180 void btrfs_free_subpage(struct btrfs_subpage *subpage) in btrfs_free_subpage() argument [all …]
|
D | extent_io.c | 1244 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in find_next_dirty_byte() local 1266 spin_lock_irqsave(&subpage->lock, flags); in find_next_dirty_byte() 1267 bitmap_next_set_region(subpage->bitmaps, &range_start_bit, &range_end_bit, in find_next_dirty_byte() 1269 spin_unlock_irqrestore(&subpage->lock, flags); in find_next_dirty_byte() 1736 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in submit_eb_subpage() local 1750 spin_lock_irqsave(&subpage->lock, flags); in submit_eb_subpage() 1752 subpage->bitmaps)) { in submit_eb_subpage() 1753 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 1767 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 3153 struct btrfs_subpage *subpage; in page_range_has_eb() local [all …]
|
D | subpage.h | 87 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 | disk-io.c | 524 struct btrfs_subpage *subpage; in btree_dirty_folio() local 539 subpage = folio_get_private(folio); in btree_dirty_folio() 547 spin_lock_irqsave(&subpage->lock, flags); in btree_dirty_folio() 548 if (!test_bit(cur_bit, subpage->bitmaps)) { in btree_dirty_folio() 549 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio() 552 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio()
|
D | inode.c | 7865 struct btrfs_subpage *subpage; in wait_subpage_spinlock() local 7871 subpage = (struct btrfs_subpage *)page->private; in wait_subpage_spinlock() 7884 spin_lock_irq(&subpage->lock); in wait_subpage_spinlock() 7885 spin_unlock_irq(&subpage->lock); in wait_subpage_spinlock()
|
/linux-6.6.21/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.6.21/mm/ |
D | rmap.c | 1478 struct page *subpage; in try_to_unmap_one() local 1538 subpage = folio_page(folio, pfn - folio_pfn(folio)); in try_to_unmap_one() 1541 PageAnonExclusive(subpage); in try_to_unmap_one() 1550 VM_BUG_ON_PAGE(!PageHWPoison(subpage), subpage); in try_to_unmap_one() 1631 if (PageHWPoison(subpage) && (flags & TTU_HWPOISON)) { in try_to_unmap_one() 1632 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one() 1655 swp_entry_t entry = page_swap_entry(subpage); in try_to_unmap_one() 1726 page_try_share_anon_rmap(subpage)) { in try_to_unmap_one() 1764 page_remove_rmap(subpage, vma, folio_test_hugetlb(folio)); in try_to_unmap_one() 1823 struct page *subpage; in try_to_migrate_one() local [all …]
|
D | gup.c | 1275 struct page *subpage; in __get_user_pages() local 1310 subpage = nth_page(page, j); in __get_user_pages() 1311 pages[i + j] = subpage; in __get_user_pages() 1312 flush_anon_page(vma, subpage, start + j * PAGE_SIZE); in __get_user_pages() 1313 flush_dcache_page(subpage); in __get_user_pages()
|
D | huge_memory.c | 2573 struct page *subpage = head + i; in __split_huge_page() local 2574 if (subpage == page) in __split_huge_page() 2576 unlock_page(subpage); in __split_huge_page() 2585 free_page_and_swap_cache(subpage); in __split_huge_page()
|
D | memory.c | 6091 struct page *subpage; in copy_folio_from_user() local 6094 subpage = folio_page(dst_folio, i); in copy_folio_from_user() 6095 kaddr = kmap_local_page(subpage); in copy_folio_from_user() 6107 flush_dcache_page(subpage); in copy_folio_from_user()
|
D | hugetlb.c | 3613 struct page *subpage; in demote_free_hugetlb_folio() local 3648 subpage = folio_page(folio, i); in demote_free_hugetlb_folio() 3649 inner_folio = page_folio(subpage); in demote_free_hugetlb_folio() 3654 prep_compound_page(subpage, target_hstate->order); in demote_free_hugetlb_folio()
|
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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-6.6.21/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.6.21/drivers/hid/ |
D | wacom_wac.c | 1875 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local 1878 if (subpage == WACOM_HID_SP_PAD || in wacom_equivalent_usage() 1879 subpage == WACOM_HID_SP_BUTTON || in wacom_equivalent_usage() 1880 subpage == WACOM_HID_SP_DIGITIZER || in wacom_equivalent_usage() 1881 subpage == WACOM_HID_SP_DIGITIZERINFO || in wacom_equivalent_usage() 1896 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage() 1897 subpage = HID_UP_DIGITIZER; in wacom_equivalent_usage() 1899 return subpage | subusage; in wacom_equivalent_usage() 1903 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local 1909 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage() [all …]
|
/linux-6.6.21/include/scsi/ |
D | scsi_device.h | 453 int subpage, unsigned char *buffer, int len, int timeout,
|
/linux-6.6.21/fs/afs/ |
D | write.c | 155 struct page *subpage, void *fsdata) in afs_write_end() argument 157 struct folio *folio = page_folio(subpage); in afs_write_end()
|
/linux-6.6.21/Documentation/mm/ |
D | transhuge.rst | 158 memory immediately. Instead, we detect that a subpage of THP is not in use
|
/linux-6.6.21/drivers/scsi/ |
D | scsi_lib.c | 2169 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, int subpage, in scsi_mode_sense() argument 2189 cmd[3] = subpage; in scsi_mode_sense()
|
/linux-6.6.21/fs/ceph/ |
D | addr.c | 1523 struct page *subpage, void *fsdata) in ceph_write_end() argument 1525 struct folio *folio = page_folio(subpage); in ceph_write_end()
|
/linux-6.6.21/drivers/mtd/nand/raw/ |
D | nand_base.c | 4372 int status, subpage; in nand_write_page() local 4376 subpage = offset || (data_len < mtd->writesize); in nand_write_page() 4378 subpage = 0; in nand_write_page() 4383 else if (subpage) in nand_write_page()
|