Home
last modified time | relevance | path

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

/Linux-v5.15/fs/btrfs/
Dsubpage.c69 struct btrfs_subpage *subpage = NULL; in btrfs_attach_subpage() local
82 ret = btrfs_alloc_subpage(fs_info, &subpage, type); in btrfs_attach_subpage()
85 attach_page_private(page, subpage); in btrfs_attach_subpage()
92 struct btrfs_subpage *subpage; in btrfs_detach_subpage() local
98 subpage = (struct btrfs_subpage *)detach_page_private(page); in btrfs_detach_subpage()
99 ASSERT(subpage); in btrfs_detach_subpage()
100 btrfs_free_subpage(subpage); in btrfs_detach_subpage()
123 void btrfs_free_subpage(struct btrfs_subpage *subpage) in btrfs_free_subpage() argument
125 kfree(subpage); in btrfs_free_subpage()
140 struct btrfs_subpage *subpage; in btrfs_page_inc_eb_refs() local
[all …]
Dsubpage.h65 void btrfs_free_subpage(struct btrfs_subpage *subpage);
DMakefile33 subpage.o tree-mod-log.o
Dextent_io.c3856 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in find_next_dirty_byte() local
3876 spin_lock_irqsave(&subpage->lock, flags); in find_next_dirty_byte()
3877 dirty_bitmap = subpage->dirty_bitmap; in find_next_dirty_byte()
3878 spin_unlock_irqrestore(&subpage->lock, flags); in find_next_dirty_byte()
4611 struct btrfs_subpage *subpage = (struct btrfs_subpage *)page->private; in submit_eb_subpage() local
4625 spin_lock_irqsave(&subpage->lock, flags); in submit_eb_subpage()
4626 if (!((1 << bit_start) & subpage->dirty_bitmap)) { in submit_eb_subpage()
4627 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage()
4641 spin_unlock_irqrestore(&subpage->lock, flags); in submit_eb_subpage()
5695 struct btrfs_subpage *subpage; in page_range_has_eb() local
[all …]
Ddisk-io.c1028 struct btrfs_subpage *subpage; in btree_set_page_dirty() local
1043 subpage = (struct btrfs_subpage *)page->private; in btree_set_page_dirty()
1045 ASSERT(subpage->dirty_bitmap); in btree_set_page_dirty()
1051 spin_lock_irqsave(&subpage->lock, flags); in btree_set_page_dirty()
1052 if (!(tmp & subpage->dirty_bitmap)) { in btree_set_page_dirty()
1053 spin_unlock_irqrestore(&subpage->lock, flags); in btree_set_page_dirty()
1057 spin_unlock_irqrestore(&subpage->lock, flags); in btree_set_page_dirty()
Dinode.c8469 struct btrfs_subpage *subpage; in wait_subpage_spinlock() local
8475 subpage = (struct btrfs_subpage *)page->private; in wait_subpage_spinlock()
8488 spin_lock_irq(&subpage->lock); in wait_subpage_spinlock()
8489 spin_unlock_irq(&subpage->lock); in wait_subpage_spinlock()
/Linux-v5.15/tools/power/cpupower/utils/
Dcpupower.c80 static int print_man_page(const char *subpage) in print_man_page() argument
86 if (subpage != NULL) in print_man_page()
87 len += strlen(subpage); in print_man_page()
94 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page()
96 strcat(page, subpage); in print_man_page()
/Linux-v5.15/drivers/target/
Dtarget_core_spc.c958 uint8_t subpage; member
961 { .page = 0x01, .subpage = 0x00, .emulate = spc_modesense_rwrecovery },
962 { .page = 0x08, .subpage = 0x00, .emulate = spc_modesense_caching },
963 { .page = 0x0a, .subpage = 0x00, .emulate = spc_modesense_control },
964 { .page = 0x1c, .subpage = 0x00, .emulate = spc_modesense_informational_exceptions },
1028 u8 subpage = cdb[3]; in spc_emulate_modesense() local
1086 if (subpage != 0x00 && subpage != 0xff) { in spc_emulate_modesense()
1087 pr_warn("MODE_SENSE: Invalid subpage code: 0x%02x\n", subpage); in spc_emulate_modesense()
1098 if ((modesense_handlers[i].subpage & ~subpage) == 0) { in spc_emulate_modesense()
1111 modesense_handlers[i].subpage == subpage) { in spc_emulate_modesense()
[all …]
/Linux-v5.15/tools/testing/selftests/powerpc/mm/
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()
/Linux-v5.15/mm/
Drmap.c1403 struct page *subpage; in try_to_unmap_one() local
1465 subpage = page - page_to_pfn(page) + pte_pfn(*pvmw.pte); in try_to_unmap_one()
1528 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one()
1555 swp_entry_t entry = { .val = page_private(subpage) }; in try_to_unmap_one()
1642 page_remove_rmap(subpage, PageHuge(page)); in try_to_unmap_one()
1703 struct page *subpage; in try_to_migrate_one() local
1761 subpage = page - page_to_pfn(page) + pte_pfn(*pvmw.pte); in try_to_migrate_one()
1842 subpage = page; in try_to_migrate_one()
1844 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_migrate_one()
1888 page_to_pfn(subpage)); in try_to_migrate_one()
[all …]
Dhuge_memory.c2480 struct page *subpage = head + i; in __split_huge_page() local
2481 if (subpage == page) in __split_huge_page()
2483 unlock_page(subpage); in __split_huge_page()
2492 put_page(subpage); in __split_huge_page()
Dmemory.c5428 struct page *subpage = dst_page; in copy_huge_page_from_user() local
5431 i++, subpage = mem_map_next(subpage, dst_page, i)) { in copy_huge_page_from_user()
5433 page_kaddr = kmap(subpage); in copy_huge_page_from_user()
5435 page_kaddr = kmap_atomic(subpage); in copy_huge_page_from_user()
5440 kunmap(subpage); in copy_huge_page_from_user()
Dhugetlb.c1455 struct page *subpage = page; in __update_and_free_page() local
1473 i++, subpage = mem_map_next(subpage, page, i)) { in __update_and_free_page()
1474 subpage->flags &= ~(1 << PG_locked | 1 << PG_error | in __update_and_free_page()
/Linux-v5.15/Documentation/devicetree/bindings/mtd/
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
/Linux-v5.15/drivers/mtd/nand/onenand/
Donenand_base.c1699 int column, subpage; in onenand_panic_write() local
1728 subpage = thislen < mtd->writesize; in onenand_panic_write()
1729 if (subpage) { in onenand_panic_write()
1743 onenand_update_bufferram(mtd, to, !subpage); in onenand_panic_write()
1746 onenand_update_bufferram(mtd, to + this->writesize, !subpage); in onenand_panic_write()
1789 int written = 0, column, thislen = 0, subpage = 0; in onenand_write_ops_nolock() local
1834 subpage = thislen < mtd->writesize; in onenand_write_ops_nolock()
1835 if (subpage) { in onenand_write_ops_nolock()
1915 onenand_update_bufferram(mtd, to, !ret && !subpage); in onenand_write_ops_nolock()
1939 prev_subpage = subpage; in onenand_write_ops_nolock()
/Linux-v5.15/drivers/hid/
Dwacom_wac.c1799 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1802 if (subpage == WACOM_HID_SP_PAD || in wacom_equivalent_usage()
1803 subpage == WACOM_HID_SP_BUTTON || in wacom_equivalent_usage()
1804 subpage == WACOM_HID_SP_DIGITIZER || in wacom_equivalent_usage()
1805 subpage == WACOM_HID_SP_DIGITIZERINFO || in wacom_equivalent_usage()
1818 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
1819 subpage = HID_UP_DIGITIZER; in wacom_equivalent_usage()
1821 return subpage | subusage; in wacom_equivalent_usage()
1825 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1831 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
[all …]
/Linux-v5.15/Documentation/vm/
Dtranshuge.rst135 This optimization is required to lower the overhead of per-subpage mapcount
176 memory immediately. Instead, we detect that a subpage of THP is not in use
/Linux-v5.15/drivers/mtd/nand/raw/
Dnand_base.c4145 int status, subpage; in nand_write_page() local
4149 subpage = offset || (data_len < mtd->writesize); in nand_write_page()
4151 subpage = 0; in nand_write_page()
4156 else if (subpage) in nand_write_page()