| /linux/include/linux/ |
| H A D | page-flags.h | 930 static inline bool page_type_has_type(int page_type) in page_type_has_type() argument 932 return page_type < (PGTY_mapcount_underflow << 24); in page_type_has_type() 943 return page_type_has_type(data_race(page->page_type)); in page_has_type() 949 return data_race(folio->page.page_type >> 24) == PGTY_##lname; \ 955 VM_BUG_ON_FOLIO(data_race(folio->page.page_type) != UINT_MAX, \ 957 folio->page.page_type = (unsigned int)PGTY_##lname << 24; \ 961 if (folio->page.page_type == UINT_MAX) \ 964 folio->page.page_type = UINT_MAX; \ 971 return data_race(page->page_type >> 24) == PGTY_##lname; \ 977 VM_BUG_ON_PAGE(data_race(page->page_type) != UINT_MAX, page); \ [all …]
|
| /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 | 135 if (data_race(page->page_type >> 24) != PGTY_slab) in page_slab()
|
| H A D | page_alloc.c | 1385 page->page_type = UINT_MAX; in __free_pages_prepare()
|
| /linux/drivers/hv/ |
| H A D | mshv_trace.h | 177 TP_PROTO(u64 partition_id, u32 vp_index, u32 page_type, u64 status), 178 TP_ARGS(partition_id, vp_index, page_type, status), 182 __field(u32, page_type) 188 __entry->page_type = page_type; 194 __entry->page_type,
|
| /linux/tools/testing/selftests/kvm/lib/x86/ |
| H A D | sev.c | 18 u8 page_type, bool private) in encrypt_region() argument 41 size, page_type); in encrypt_region()
|
| /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 | 5872 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req() 5896 cfg_req->action, cfg_req->page_type, in mpi3mr_process_cfg_req() 5977 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_DEVICE; in mpi3mr_cfg_get_dev_pg0() 6037 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg0() 6096 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_PHY; in mpi3mr_cfg_get_sas_phy_pg1() 6156 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg0() 6216 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_EXPANDER; in mpi3mr_cfg_get_sas_exp_pg1() 6276 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_ENCLOSURE; in mpi3mr_cfg_get_enclosure_pg0() 6330 cfg_req.page_type = MPI3_CONFIG_PAGETYPE_SAS_IO_UNIT; in mpi3mr_cfg_get_sas_io_unit_pg0() 6386 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/Documentation/virt/kvm/x86/ |
| H A D | amd-memory-encryption.rst | 536 where the allowed values for page_type are #define'd as::
|