Home
last modified time | relevance | path

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

/Linux-v4.19/tools/power/cpupower/utils/
Dcpupower.c79 static int print_man_page(const char *subpage) in print_man_page() argument
85 if (subpage != NULL) in print_man_page()
86 len += strlen(subpage); in print_man_page()
93 if ((subpage != NULL) && strcmp(subpage, "help")) { in print_man_page()
95 strcat(page, subpage); in print_man_page()
/Linux-v4.19/drivers/target/
Dtarget_core_spc.c925 uint8_t subpage; member
928 { .page = 0x01, .subpage = 0x00, .emulate = spc_modesense_rwrecovery },
929 { .page = 0x08, .subpage = 0x00, .emulate = spc_modesense_caching },
930 { .page = 0x0a, .subpage = 0x00, .emulate = spc_modesense_control },
931 { .page = 0x1c, .subpage = 0x00, .emulate = spc_modesense_informational_exceptions },
995 u8 subpage = cdb[3]; in spc_emulate_modesense() local
1053 if (subpage != 0x00 && subpage != 0xff) { in spc_emulate_modesense()
1054 pr_warn("MODE_SENSE: Invalid subpage code: 0x%02x\n", subpage); in spc_emulate_modesense()
1065 if ((modesense_handlers[i].subpage & ~subpage) == 0) { in spc_emulate_modesense()
1078 modesense_handlers[i].subpage == subpage) { in spc_emulate_modesense()
[all …]
/Linux-v4.19/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-v4.19/mm/
Drmap.c1346 struct page *subpage; in try_to_unmap_one() local
1419 subpage = page - page_to_pfn(page) + pte_pfn(*pvmw.pte); in try_to_unmap_one()
1509 pteval = swp_entry_to_pte(make_hwpoison_entry(subpage)); in try_to_unmap_one()
1553 entry = make_migration_entry(subpage, in try_to_unmap_one()
1564 swp_entry_t entry = { .val = page_private(subpage) }; in try_to_unmap_one()
1656 page_remove_rmap(subpage, PageHuge(page)); in try_to_unmap_one()
Dhuge_memory.c2460 struct page *subpage = head + i; in __split_huge_page() local
2461 if (subpage == page) in __split_huge_page()
2463 unlock_page(subpage); in __split_huge_page()
2472 put_page(subpage); in __split_huge_page()
/Linux-v4.19/arch/powerpc/mm/
DMakefile40 obj-$(CONFIG_PPC_SUBPAGE_PROT) += subpage-prot.o
/Linux-v4.19/drivers/mtd/nand/onenand/
Donenand_base.c1707 int column, subpage; in onenand_panic_write() local
1736 subpage = thislen < mtd->writesize; in onenand_panic_write()
1737 if (subpage) { in onenand_panic_write()
1751 onenand_update_bufferram(mtd, to, !subpage); in onenand_panic_write()
1754 onenand_update_bufferram(mtd, to + this->writesize, !subpage); in onenand_panic_write()
1797 int written = 0, column, thislen = 0, subpage = 0; in onenand_write_ops_nolock() local
1842 subpage = thislen < mtd->writesize; in onenand_write_ops_nolock()
1843 if (subpage) { in onenand_write_ops_nolock()
1923 onenand_update_bufferram(mtd, to, !ret && !subpage); in onenand_write_ops_nolock()
1947 prev_subpage = subpage; in onenand_write_ops_nolock()
/Linux-v4.19/drivers/hid/
Dwacom_wac.c1720 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1723 if (subpage == WACOM_HID_SP_PAD || in wacom_equivalent_usage()
1724 subpage == WACOM_HID_SP_BUTTON || in wacom_equivalent_usage()
1725 subpage == WACOM_HID_SP_DIGITIZER || in wacom_equivalent_usage()
1726 subpage == WACOM_HID_SP_DIGITIZERINFO || in wacom_equivalent_usage()
1739 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
1740 subpage = HID_UP_DIGITIZER; in wacom_equivalent_usage()
1742 return subpage | subusage; in wacom_equivalent_usage()
1746 int subpage = (usage & 0xFF00) << 8; in wacom_equivalent_usage() local
1749 if (subpage == HID_UP_UNDEFINED) in wacom_equivalent_usage()
[all …]
/Linux-v4.19/Documentation/vm/
Dtranshuge.rst145 This is optimization required to lower overhead of per-subpage mapcount
186 memory immediately. Instead, we detect that a subpage of THP is not in use
/Linux-v4.19/drivers/mtd/nand/raw/
Dnand_base.c4325 int status, subpage; in nand_write_page() local
4329 subpage = offset || (data_len < mtd->writesize); in nand_write_page()
4331 subpage = 0; in nand_write_page()
4336 else if (subpage) in nand_write_page()