| /linux-6.15/fs/btrfs/ |
| H A D | subpage.c | 69 struct btrfs_subpage *subpage; in btrfs_attach_subpage() local 90 if (IS_ERR(subpage)) in btrfs_attach_subpage() 91 return PTR_ERR(subpage); in btrfs_attach_subpage() 100 struct btrfs_subpage *subpage; in btrfs_detach_subpage() local 111 ASSERT(subpage); in btrfs_detach_subpage() 112 btrfs_free_subpage(subpage); in btrfs_detach_subpage() 140 kfree(subpage); in btrfs_free_subpage() 154 struct btrfs_subpage *subpage; in btrfs_folio_inc_eb_refs() local 163 atomic_inc(&subpage->eb_refs); in btrfs_folio_inc_eb_refs() 168 struct btrfs_subpage *subpage; in btrfs_folio_dec_eb_refs() local [all …]
|
| H A D | subpage.h | 116 void btrfs_free_subpage(struct btrfs_subpage *subpage);
|
| H A D | Makefile | 35 subpage.o tree-mod-log.o extent-io-tree.o fs.o messages.o bio.o \
|
| H A D | extent_io.c | 2031 struct btrfs_subpage *subpage = folio_get_private(folio); in submit_eb_subpage() local 2045 spin_lock_irqsave(&subpage->lock, flags); in submit_eb_subpage() 2047 subpage->bitmaps)) { in submit_eb_subpage() 2048 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 2062 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 2744 struct btrfs_subpage *subpage; in folio_range_has_eb() local 2749 subpage = folio_get_private(folio); in folio_range_has_eb() 2750 if (atomic_read(&subpage->eb_refs)) in folio_range_has_eb() 3574 bool subpage = btrfs_meta_is_subpage(eb->fs_info); in set_extent_buffer_dirty() local 3587 if (subpage) in set_extent_buffer_dirty() [all …]
|
| H A D | disk-io.c | 551 struct btrfs_subpage *subpage; in btree_dirty_folio() local 566 subpage = folio_get_private(folio); in btree_dirty_folio() 574 spin_lock_irqsave(&subpage->lock, flags); in btree_dirty_folio() 575 if (!test_bit(cur_bit, subpage->bitmaps)) { in btree_dirty_folio() 576 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio() 579 spin_unlock_irqrestore(&subpage->lock, flags); in btree_dirty_folio()
|
| H A D | inode.c | 7284 struct btrfs_subpage *subpage; in wait_subpage_spinlock() local 7290 subpage = folio_get_private(folio); in wait_subpage_spinlock() 7303 spin_lock_irq(&subpage->lock); in wait_subpage_spinlock() 7304 spin_unlock_irq(&subpage->lock); in wait_subpage_spinlock()
|
| /linux-6.15/tools/power/cpupower/utils/ |
| H A 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.15/tools/testing/selftests/powerpc/mm/ |
| H A 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.15/mm/ |
| H A D | rmap.c | 1877 struct page *subpage; in try_to_unmap_one() local 1972 PageAnonExclusive(subpage); in try_to_unmap_one() 1981 VM_BUG_ON_PAGE(!PageHWPoison(subpage), subpage); in try_to_unmap_one() 2279 struct page *subpage; in try_to_migrate_one() local 2329 subpage = folio_page(folio, in try_to_migrate_one() 2361 PageAnonExclusive(subpage); in try_to_migrate_one() 2449 if (PageHWPoison(subpage)) { in try_to_migrate_one() 2519 page_to_pfn(subpage)); in try_to_migrate_one() 2522 page_to_pfn(subpage)); in try_to_migrate_one() 2525 page_to_pfn(subpage)); in try_to_migrate_one() [all …]
|
| H A D | gup.c | 1527 struct page *subpage; in __get_user_pages() local 1560 subpage = nth_page(page, j); in __get_user_pages() 1561 pages[i + j] = subpage; in __get_user_pages() 1562 flush_anon_page(vma, subpage, start + j * PAGE_SIZE); in __get_user_pages() 1563 flush_dcache_page(subpage); in __get_user_pages()
|
| H A D | memory.c | 7316 struct page *subpage; in copy_folio_from_user() local 7319 subpage = folio_page(dst_folio, i); in copy_folio_from_user() 7320 kaddr = kmap_local_page(subpage); in copy_folio_from_user() 7332 flush_dcache_page(subpage); in copy_folio_from_user()
|
| /linux-6.15/drivers/target/ |
| H A D | target_core_spc.c | 959 uint8_t subpage; member 963 { .page = 0x08, .subpage = 0x00, .emulate = spc_modesense_caching }, 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() 1123 page, subpage); in spc_emulate_modesense() 1149 u8 page, subpage; in spc_emulate_modeselect() local 1174 subpage = buf[off] & 0x40 ? buf[off + 1] : 0; in spc_emulate_modeselect() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/mtd/ |
| H A 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.15/drivers/mtd/nand/onenand/ |
| H A 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.15/drivers/hid/ |
| H A 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() 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() 1863 subpage = WACOM_HID_SP_DIGITIZER; in wacom_equivalent_usage() [all …]
|
| /linux-6.15/include/scsi/ |
| H A D | scsi_device.h | 456 int subpage, unsigned char *buffer, int len, int timeout,
|
| /linux-6.15/Documentation/mm/ |
| H A D | transhuge.rst | 171 memory immediately. Instead, we detect that a subpage of THP is not in use
|
| /linux-6.15/drivers/scsi/ |
| H A D | scsi_lib.c | 2276 scsi_mode_sense(struct scsi_device *sdev, int dbd, int modepage, int subpage, in scsi_mode_sense() argument 2310 cmd[3] = subpage; in scsi_mode_sense()
|
| /linux-6.15/drivers/mtd/nand/raw/ |
| H A 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()
|