Home
last modified time | relevance | path

Searched refs:subpage (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/fs/btrfs/
H A Dsubpage.c121 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 …]
H A Dextent_io.c1234 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in find_next_dirty_byte() local
1256 spin_lock_irqsave(&subpage->lock, flags); in find_next_dirty_byte()
1257 bitmap_next_set_region(subpage->bitmaps, &range_start_bit, &range_end_bit, in find_next_dirty_byte()
1259 spin_unlock_irqrestore(&subpage->lock, flags); in find_next_dirty_byte()
1726 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in submit_eb_subpage() local
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()
3263 struct btrfs_subpage *subpage; in page_range_has_eb() local
[all …]
H A Dsubpage.h87 void btrfs_free_subpage(struct btrfs_subpage *subpage);
H A DMakefile35 subpage.o tree-mod-log.o extent-io-tree.o fs.o messages.o bio.o \
H A Ddisk-io.c524 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 Dcpupower.c81 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 Drmap.c1478 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 …]
H A Dgup.c1203 struct page *subpage; in __get_user_pages() local
1237 subpage = nth_page(page, j); in __get_user_pages()
1238 pages[i + j] = subpage; in __get_user_pages()
1239 flush_anon_page(vma, subpage, start + j * PAGE_SIZE); in __get_user_pages()
1240 flush_dcache_page(subpage); in __get_user_pages()
H A Dhuge_memory.c2565 struct page *subpage = head + i; in __split_huge_page() local
2566 if (subpage == page) in __split_huge_page()
2568 unlock_page(subpage); in __split_huge_page()
2577 free_page_and_swap_cache(subpage); in __split_huge_page()
/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c68 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/drivers/target/
H A Dtarget_core_spc.c959 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 …]
/openbmc/linux/Documentation/devicetree/bindings/mtd/
H A Dnand-macronix.txt6 randomizer are subpage accesses prohibited and more time period needed
11 For more high-reliability concern, if subpage write is not available
/openbmc/u-boot/doc/
H A DREADME.ubispl106 * 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 Dphysmem.c343 subpage_t *subpage; in address_space_lookup_region() local
350 if (resolve_subpage && section->mr->subpage) { in address_space_lookup_region()
351 subpage = container_of(section->mr, subpage_t, iomem); in address_space_lookup_region()
352 section = &d->map.sections[subpage->sub_section[SUBPAGE_IDX(addr)]]; in address_space_lookup_region()
1030 bool have_sub_page = mr->subpage; in phys_section_destroy()
1035 subpage_t *subpage = container_of(mr, subpage_t, iomem); in phys_section_destroy() local
1036 object_unref(OBJECT(&subpage->iomem)); in phys_section_destroy()
1037 g_free(subpage); in phys_section_destroy()
1054 subpage_t *subpage; in register_subpage() local
1064 assert(existing->mr->subpage || existing->mr == &io_mem_unassigned); in register_subpage()
[all …]
H A Dmemory.c446 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 Dvfs_addr.c299 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 Donenand_base.c1711 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 Dwacom_wac.c1874 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1877 if (subpage == WACOM_HID_SP_PAD || in wacom_equivalent_usage()
1878 subpage == WACOM_HID_SP_BUTTON || in wacom_equivalent_usage()
1879 subpage == WACOM_HID_SP_DIGITIZER || in wacom_equivalent_usage()
1880 subpage == WACOM_HID_SP_DIGITIZERINFO || in wacom_equivalent_usage()
1895 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
1896 subpage = HID_UP_DIGITIZER; in wacom_equivalent_usage()
1898 return subpage | subusage; in wacom_equivalent_usage()
1902 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1908 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
[all …]
/openbmc/u-boot/drivers/mtd/onenand/
H A Donenand_base.c1414 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/linux/fs/afs/
H A Dwrite.c155 struct page *subpage, void *fsdata) in afs_write_end() argument
157 struct folio *folio = page_folio(subpage); in afs_write_end()
/openbmc/linux/include/scsi/
H A Dscsi_device.h452 int subpage, unsigned char *buffer, int len, int timeout,
/openbmc/qemu/target/arm/
H A Dptw.c2857 sattrs->subpage = true; in v8m_security_lookup()
2893 sattrs->subpage = true; in v8m_security_lookup()
2953 result->f.lg_page_size = sattrs.subpage ? 0 : TARGET_PAGE_BITS; in get_phys_addr_pmsav8()
2979 result->f.lg_page_size = sattrs.subpage ? 0 : TARGET_PAGE_BITS; in get_phys_addr_pmsav8()
2989 if (sattrs.subpage) { in get_phys_addr_pmsav8()
/openbmc/linux/Documentation/mm/
H A Dtranshuge.rst158 memory immediately. Instead, we detect that a subpage of THP is not in use
/openbmc/qemu/hw/scsi/
H A Dscsi-disk.c1600 int page, subpage, page_len; in mode_select_pages() local
1608 subpage = p[1]; in mode_select_pages()
1616 subpage = 0; in mode_select_pages()
1622 if (subpage) { in mode_select_pages()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_base.c2398 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()

12