| /linux/fs/f2fs/ |
| H A D | iostat.c | 216 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 D | iostat.h | 41 enum page_type type; 46 enum page_type type) in iostat_update_submit_ctx() 75 enum page_type type) {} in iostat_update_submit_ctx()
|
| /linux/include/linux/ |
| H A D | page-flags.h | 941 static inline bool page_type_has_type(int page_type) in page_type_has_type() argument 943 return page_type < (PGTY_mapcount_underflow << 24); in page_type_has_type() 954 return page_type_has_type(data_race(page->page_type)); in page_has_type() 960 return data_race(folio->page.page_type >> 24) == PGTY_##lname; \ 966 VM_BUG_ON_FOLIO(data_race(folio->page.page_type) != UINT_MAX, \ 968 folio->page.page_type = (unsigned int)PGTY_##lname << 24; \ 972 if (folio->page.page_type == UINT_MAX) \ 975 folio->page.page_type = UINT_MAX; \ 982 return data_race(page->page_type >> 24) == PGTY_##lname; \ 988 VM_BUG_ON_PAGE(data_race(page->page_type) != UINT_MAX, page); \ [all …]
|
| H A D | mm_types.h | 169 unsigned int page_type; member 617 TABLE_MATCH(page_type, __page_type);
|
| H A D | psp-sev.h | 684 u32 page_type:3; /* In */ member
|
| /linux/arch/x86/kernel/cpu/sgx/ |
| H A D | ioctl.c | 875 enum sgx_page_type page_type; in sgx_enclave_modify_types() local 884 page_type = modt->page_type & SGX_PAGE_TYPE_MASK; in sgx_enclave_modify_types() 889 if (page_type != SGX_PAGE_TYPE_TCS && page_type != SGX_PAGE_TYPE_TRIM) in sgx_enclave_modify_types() 894 secinfo.flags = page_type << 8; in sgx_enclave_modify_types() 917 page_type == SGX_PAGE_TYPE_TRIM))) { in sgx_enclave_modify_types() 933 page_type == SGX_PAGE_TYPE_TCS) { in sgx_enclave_modify_types() 991 entry->type = page_type; in sgx_enclave_modify_types() 1048 if (params.page_type & ~SGX_PAGE_TYPE_MASK) in sgx_ioc_enclave_modify_types()
|
| /linux/mm/ |
| H A D | debug.c | 61 static const char *page_type_name(unsigned int page_type) in page_type_name() argument 63 unsigned i = (page_type >> 24) - 0xf0; in page_type_name() 118 pr_warn("page_type: %x(%s)\n", folio->page.page_type >> 24, in __dump_folio() 119 page_type_name(folio->page.page_type)); in __dump_folio()
|
| H A D | zpdesc.h | 60 ZPDESC_MATCH(page_type, first_obj_offset);
|
| H A D | slab.h | 139 if (data_race(page->page_type >> 24) != PGTY_slab) in page_slab()
|
| H A D | page_alloc.c | 1421 page->page_type = UINT_MAX; in __free_pages_prepare()
|
| /linux/drivers/crypto/ccp/ |
| H A D | sev-dev-tio.c | 55 .page_type = stp ? SLA_PAGE_TYPE_SCATTER : SLA_PAGE_TYPE_DATA in make_sla() 314 if (sla.page_type == SLA_PAGE_TYPE_SCATTER) { in sla_buffer_map() 322 if (WARN_ON_ONCE(scatter[i].page_type == SLA_PAGE_TYPE_SCATTER)) in sla_buffer_map() 357 if (sla.page_type == SLA_PAGE_TYPE_SCATTER) { in sla_buffer_unmap() 397 if (sla.page_type == SLA_PAGE_TYPE_SCATTER) { in sla_free()
|
| H A D | sev-dev-tio.h | 14 u64 page_type :1, member
|
| /linux/tools/testing/selftests/sgx/ |
| H A D | main.c | 455 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()
|
| /linux/drivers/iommu/ |
| H A D | iommu-pages.c | 18 IOPTDESC_MATCH(page_type, __page_type);
|
| /linux/tools/cgroup/ |
| H A D | memcg_slabinfo.py | 153 if (page.page_type.value_() >> 24) == slabtype:
|
| /linux/include/uapi/scsi/ |
| H A D | scsi_bsg_mpi3mr.h | 354 __u8 page_type; member
|
| /linux/drivers/scsi/mpi3mr/ |
| H A D | mpi3mr_fw.c | 5815 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req() 5839 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req() 5920 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_DEVICE; in mpi3mr_cfg_get_dev_pg0() 5980 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg0() 6039 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg1() 6099 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg0() 6159 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg1() 6219 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_ENCLOSURE; in mpi3mr_cfg_get_enclosure_pg0() 6273 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_get_sas_io_unit_pg0() 6329 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_get_sas_io_unit_pg1() [all …]
|
| /linux/drivers/message/fusion/ |
| H A D | mptbase.c | 6363 u8 page_type = 0, extend_page; in mpt_config() local 6449 page_type = pReq->ExtPageType; in mpt_config() 6453 page_type = pReq->Header.PageType; in mpt_config() 6459 ioc->name, page_type, pReq->Header.PageNumber, pReq->Action)); in mpt_config() 6471 ioc->name, page_type, pReq->Header.PageNumber, in mpt_config() 6541 " action %d\n", ioc->name, page_type, in mpt_config() 8148 u8 page_type; in mpt_iocstatus_info_config() local 8151 page_type = pReq->ExtPageType; in mpt_iocstatus_info_config() 8153 page_type = pReq->Header.PageType; in mpt_iocstatus_info_config() 8160 if (page_type == MPI_CONFIG_EXTPAGETYPE_SAS_DEVICE || in mpt_iocstatus_info_config() [all …]
|
| /linux/drivers/crypto/hisilicon/ |
| H A D | qm.c | 1227 u32 page_type = 0x0; in qm_init_prefetch() local 1234 page_type = 0x0; in qm_init_prefetch() 1237 page_type = 0x1; in qm_init_prefetch() 1240 page_type = 0x2; in qm_init_prefetch() 1247 writel(page_type, qm->io_base + QM_PAGE_SIZE); in qm_init_prefetch()
|
| /linux/arch/x86/kvm/svm/ |
| H A D | sev.c | 2319 fw_args.page_type = sev_populate_args->type; in sev_gmem_post_populate() 2451 data.page_type = SNP_PAGE_TYPE_VMSA; in snp_launch_update_vmsa()
|