Home
last modified time | relevance | path

Searched refs:page_type (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/fs/f2fs/
H A Diostat.c216 unsigned int page_type = iostat_ctx->type; in __update_iostat_latency() local
225 if (page_type == META_FLUSH) { in __update_iostat_latency()
226 page_type = META; in __update_iostat_latency()
227 } else if (page_type >= NR_PAGE_TYPE) { in __update_iostat_latency()
228 f2fs_warn(sbi, "%s: %d over NR_PAGE_TYPE", __func__, page_type); in __update_iostat_latency()
233 io_lat->sum_lat[lat_type][page_type] += ts_diff; in __update_iostat_latency()
234 io_lat->bio_cnt[lat_type][page_type]++; in __update_iostat_latency()
235 if (ts_diff > io_lat->peak_lat[lat_type][page_type]) in __update_iostat_latency()
236 io_lat->peak_lat[lat_type][page_type] = ts_diff; in __update_iostat_latency()
H A Diostat.h41 enum page_type type;
46 enum page_type type) in iostat_update_submit_ctx()
75 enum page_type type) {} in iostat_update_submit_ctx()
H A Ddata.c505 enum page_type type) in f2fs_submit_read_bio()
515 enum page_type type) in f2fs_submit_write_bio()
615 enum page_type type, enum temp_type temp) in __f2fs_submit_merged_write()
617 enum page_type btype = PAGE_TYPE_OF_BIO(type); in __f2fs_submit_merged_write()
639 nid_t ino, enum page_type type, bool force) in __submit_merged_write_cond()
646 enum page_type btype = PAGE_TYPE_OF_BIO(type); in __submit_merged_write_cond()
662 void f2fs_submit_merged_write(struct f2fs_sb_info *sbi, enum page_type type) in f2fs_submit_merged_write()
669 nid_t ino, enum page_type type) in f2fs_submit_merged_write_cond()
949 enum page_type btype = PAGE_TYPE_OF_BIO(fio->type); in f2fs_submit_page_write()
H A Df2fs.h1118 enum page_type { enum
1197 enum page_type type; /* contains DATA/NODE/META/META_FLUSH */
3720 enum page_type type, bool ordered, bool locked);
3767 long f2fs_sync_meta_pages(struct f2fs_sb_info *sbi, enum page_type type,
3807 enum page_type type);
3809 void f2fs_submit_merged_write(struct f2fs_sb_info *sbi, enum page_type type);
3812 nid_t ino, enum page_type type);
4645 enum page_type type) in f2fs_handle_page_eio()
H A Ddir.c451 enum page_type type = f2fs_has_inline_dentry(dir) ? NODE : DATA; in f2fs_set_link()
H A Dcheckpoint.c405 long f2fs_sync_meta_pages(struct f2fs_sb_info *sbi, enum page_type type, in f2fs_sync_meta_pages()
H A Dsegment.c3836 enum page_type type, bool ordered, bool locked) in f2fs_wait_on_page_writeback()
/openbmc/linux/lib/
H A Dtest_printf.c644 static void __init page_type_test(unsigned int page_type, const char *name, in page_type_test() argument
649 size = scnprintf(cmp_buf, BUF_SIZE, "%#x(", page_type); in page_type_test()
650 if (page_type_has_type(page_type)) in page_type_test()
654 test(cmp_buf, "%pGt", &page_type); in page_type_test()
663 unsigned int page_type; in flags() local
703 page_type = ~0; in flags()
704 page_type_test(page_type, "", cmp_buffer); in flags()
706 page_type = 10; in flags()
707 page_type_test(page_type, "", cmp_buffer); in flags()
709 page_type = ~PG_buddy; in flags()
[all …]
H A Dvsprintf.c2057 char *format_page_type(char *buf, char *end, unsigned int page_type) in format_page_type() argument
2059 buf = number(buf, end, page_type, default_flag_spec); in format_page_type()
2065 if (page_type_has_type(page_type)) in format_page_type()
2066 buf = format_flags(buf, end, ~page_type, pagetype_names); in format_page_type()
/openbmc/linux/arch/x86/kernel/cpu/sgx/
H A Dioctl.c894 enum sgx_page_type page_type; in sgx_enclave_modify_types() local
903 page_type = modt->page_type & SGX_PAGE_TYPE_MASK; in sgx_enclave_modify_types()
908 if (page_type != SGX_PAGE_TYPE_TCS && page_type != SGX_PAGE_TYPE_TRIM) in sgx_enclave_modify_types()
913 secinfo.flags = page_type << 8; in sgx_enclave_modify_types()
936 page_type == SGX_PAGE_TYPE_TRIM))) { in sgx_enclave_modify_types()
952 page_type == SGX_PAGE_TYPE_TCS) { in sgx_enclave_modify_types()
1010 entry->type = page_type; in sgx_enclave_modify_types()
1067 if (params.page_type & ~SGX_PAGE_TYPE_MASK) in sgx_ioc_enclave_modify_types()
/openbmc/linux/include/linux/
H A Dpage-flags.h912 ((page->page_type & (PAGE_TYPE_BASE | flag)) == PAGE_TYPE_BASE) in PAGEFLAG()
914 ((folio->page.page_type & (PAGE_TYPE_BASE | flag)) == PAGE_TYPE_BASE) in PAGEFLAG()
916 static inline int page_type_has_type(unsigned int page_type) in PAGEFLAG()
918 return (int)page_type < PAGE_MAPCOUNT_RESERVE; in PAGEFLAG()
923 return page_type_has_type(page->page_type); in page_has_type()
934 folio->page.page_type &= ~PG_##lname; \
939 folio->page.page_type |= PG_##lname; \
951 page->page_type &= ~PG_##lname; \
956 page->page_type |= PG_##lname; \
H A Dmm_types.h177 unsigned int page_type; member
405 * @__page_type: Same as page->page_type. Unused for page tables.
455 TABLE_MATCH(page_type, __page_type);
/openbmc/linux/arch/x86/include/uapi/asm/
H A Dsgx.h117 __u64 page_type; member
/openbmc/linux/tools/testing/selftests/sgx/
H A Dmain.c455 modt_ioc.page_type = SGX_PAGE_TYPE_TRIM;
1379 modt_ioc.page_type = SGX_PAGE_TYPE_TCS; in TEST_F()
1442 modt_ioc.page_type = SGX_PAGE_TYPE_TRIM; in TEST_F()
1643 modt_ioc.page_type = SGX_PAGE_TYPE_TRIM; in TEST_F()
1754 ioc.page_type = SGX_PAGE_TYPE_TRIM; in TEST_F()
1869 ioc.page_type = SGX_PAGE_TYPE_TRIM; in TEST_F()
1955 modt_ioc.page_type = SGX_PAGE_TYPE_TRIM; in TEST_F()
/openbmc/linux/mm/
H A Ddebug.c123 pr_warn("page_type: %pGt\n", &head->page_type); in __dump_page()
H A Dzsmalloc.c461 return page->page_type; in get_first_obj_offset()
466 page->page_type = offset; in set_first_obj_offset()
/openbmc/linux/include/uapi/scsi/
H A Dscsi_bsg_mpi3mr.h353 __u8 page_type; member
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c5174 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req()
5198 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req()
5270 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_DEVICE; in mpi3mr_cfg_get_dev_pg0()
5330 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg0()
5389 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg1()
5449 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg0()
5509 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg1()
5569 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_ENCLOSURE; in mpi3mr_cfg_get_enclosure_pg0()
5623 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_get_sas_io_unit_pg0()
5679 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_get_sas_io_unit_pg1()
[all …]
/openbmc/linux/drivers/message/fusion/
H A Dmptbase.c6365 u8 page_type = 0, extend_page; in mpt_config() local
6451 page_type = pReq->ExtPageType; in mpt_config()
6455 page_type = pReq->Header.PageType; in mpt_config()
6461 ioc->name, page_type, pReq->Header.PageNumber, pReq->Action)); in mpt_config()
6473 ioc->name, page_type, pReq->Header.PageNumber, in mpt_config()
6543 " action %d\n", ioc->name, page_type, in mpt_config()
8150 u8 page_type; in mpt_iocstatus_info_config() local
8153 page_type = pReq->ExtPageType; in mpt_iocstatus_info_config()
8155 page_type = pReq->Header.PageType; in mpt_iocstatus_info_config()
8162 if (page_type == MPI_CONFIG_EXTPAGETYPE_SAS_DEVICE || in mpt_iocstatus_info_config()
[all …]
/openbmc/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_cnfg.h81 u8 page_type; member
96 u8 page_type; member
1188 u8 page_type; member
/openbmc/linux/drivers/crypto/hisilicon/
H A Dqm.c1109 u32 page_type = 0x0; in qm_init_prefetch() local
1116 page_type = 0x0; in qm_init_prefetch()
1119 page_type = 0x1; in qm_init_prefetch()
1122 page_type = 0x2; in qm_init_prefetch()
1129 writel(page_type, qm->io_base + QM_PAGE_SIZE); in qm_init_prefetch()
/openbmc/linux/Documentation/core-api/
H A Dprintk-formats.rst579 Flags bitfields such as page flags, page_type, gfp_flags