/openbmc/linux/fs/btrfs/ |
H A D | subpage.c | 121 struct btrfs_subpage *subpage; in btrfs_attach_subpage() local 135 if (IS_ERR(subpage)) in btrfs_attach_subpage() 136 return PTR_ERR(subpage); in btrfs_attach_subpage() 145 struct btrfs_subpage *subpage; in btrfs_detach_subpage() local 152 ASSERT(subpage); in btrfs_detach_subpage() 153 btrfs_free_subpage(subpage); in btrfs_detach_subpage() 182 kfree(subpage); in btrfs_free_subpage() 197 struct btrfs_subpage *subpage; in btrfs_page_inc_eb_refs() local 206 atomic_inc(&subpage->eb_refs); in btrfs_page_inc_eb_refs() 212 struct btrfs_subpage *subpage; in btrfs_page_dec_eb_refs() local [all …]
|
H A D | extent_io.c | 1256 spin_lock_irqsave(&subpage->lock, flags); in find_next_dirty_byte() 1259 spin_unlock_irqrestore(&subpage->lock, flags); in find_next_dirty_byte() 1740 spin_lock_irqsave(&subpage->lock, flags); in submit_eb_subpage() 1742 subpage->bitmaps)) { in submit_eb_subpage() 1743 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 1757 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage() 3265 struct btrfs_subpage *subpage; in page_range_has_eb() local 3271 if (atomic_read(&subpage->eb_refs)) in page_range_has_eb() 3277 if (atomic_read(&subpage->readers)) in page_range_has_eb() 4003 if (subpage) in set_extent_buffer_dirty() [all …]
|
H A D | subpage.h | 87 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 | 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()
|
/openbmc/linux/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()
|
/openbmc/linux/mm/ |
H A D | rmap.c | 1478 struct page *subpage; in try_to_unmap_one() local 1550 VM_BUG_ON_PAGE(!PageHWPoison(subpage), subpage); in try_to_unmap_one() 1823 struct page *subpage; in try_to_migrate_one() local 1905 subpage = &folio->page; in try_to_migrate_one() 2088 page_to_pfn(subpage)); in try_to_migrate_one() 2091 page_to_pfn(subpage)); in try_to_migrate_one() 2094 page_to_pfn(subpage)); in try_to_migrate_one() 2189 struct page *subpage; in page_make_device_exclusive_one() local 2213 subpage = folio_page(folio, in page_make_device_exclusive_one() 2240 page_to_pfn(subpage)); in page_make_device_exclusive_one() [all …]
|
H A D | gup.c | 1291 struct page *subpage; in __get_user_pages() local 1326 subpage = nth_page(page, j); in __get_user_pages() 1327 pages[i + j] = subpage; in __get_user_pages() 1328 flush_anon_page(vma, subpage, start + j * PAGE_SIZE); in __get_user_pages() 1329 flush_dcache_page(subpage); in __get_user_pages()
|
H A 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()
|
/openbmc/linux/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()
|
/openbmc/linux/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
|
/openbmc/linux/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 …]
|
/openbmc/u-boot/doc/ |
H A D | README.ubispl | 106 * FLASH chip to do subpage writes. 108 * If the flash chip supports subpage writes, then the VID 109 * header starts at the second subpage. So for 2k pages size 112 * If the flash chip does not support subpage writes then the
|
/openbmc/qemu/system/ |
H A D | physmem.c | 341 subpage_t *subpage; in address_space_lookup_region() local 1002 g_free(subpage); in phys_section_destroy() 1019 subpage_t *subpage; in register_subpage() local 2326 subpage_t *subpage = opaque; in subpage_read() local 2332 subpage, len, addr); in subpage_read() 2334 res = flatview_read(subpage->fv, addr + subpage->base, attrs, buf, len); in subpage_read() 2345 subpage_t *subpage = opaque; in subpage_write() local 2354 return flatview_write(subpage->fv, addr + subpage->base, attrs, buf, len); in subpage_write() 2361 subpage_t *subpage = opaque; in subpage_accepts() local 2367 return flatview_access_valid(subpage->fv, addr + subpage->base, in subpage_accepts() [all …]
|
H A D | memory.c | 446 if (mr->subpage) { in memory_region_read_accessor() 469 if (mr->subpage) { in memory_region_read_with_attrs_accessor() 490 if (mr->subpage) { in memory_region_write_accessor() 511 if (mr->subpage) { in memory_region_write_with_attrs_accessor()
|
/openbmc/linux/fs/9p/ |
H A 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()
|
/openbmc/linux/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()
|
/openbmc/linux/drivers/hid/ |
H A 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() 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() 1910 subpage = WACOM_HID_SP_DIGITIZER; in wacom_equivalent_usage() [all …]
|
/openbmc/u-boot/drivers/mtd/onenand/ |
H A D | onenand_base.c | 1414 int written = 0, column, thislen, subpage; in onenand_write_ops_nolock() local 1455 subpage = thislen < mtd->writesize; in onenand_write_ops_nolock() 1456 if (subpage) { in onenand_write_ops_nolock() 1488 onenand_update_bufferram(mtd, to, !ret && !subpage); in onenand_write_ops_nolock() 1491 onenand_update_bufferram(mtd, to + this->writesize, !ret && !subpage); in onenand_write_ops_nolock()
|
/openbmc/qemu/target/arm/ |
H A D | ptw.c | 2716 sattrs->subpage = true; in v8m_security_lookup() 2752 sattrs->subpage = true; in v8m_security_lookup() 2812 result->f.lg_page_size = sattrs.subpage ? 0 : TARGET_PAGE_BITS; in get_phys_addr_pmsav8() 2838 result->f.lg_page_size = sattrs.subpage ? 0 : TARGET_PAGE_BITS; in get_phys_addr_pmsav8() 2848 if (sattrs.subpage) { in get_phys_addr_pmsav8()
|
/openbmc/linux/include/scsi/ |
H A D | scsi_device.h | 453 int subpage, unsigned char *buffer, int len, int timeout,
|
/openbmc/linux/fs/afs/ |
H A 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()
|
/openbmc/linux/Documentation/mm/ |
H A D | transhuge.rst | 158 memory immediately. Instead, we detect that a subpage of THP is not in use
|
/openbmc/qemu/hw/scsi/ |
H A D | scsi-disk.c | 1537 int page, subpage, page_len; in mode_select_pages() local 1545 subpage = p[1]; in mode_select_pages() 1553 subpage = 0; in mode_select_pages() 1559 if (subpage) { in mode_select_pages()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 2398 int status, subpage; in nand_write_page() local 2402 subpage = offset || (data_len < mtd->writesize); in nand_write_page() 2404 subpage = 0; in nand_write_page() 2412 else if (subpage) in nand_write_page()
|