Home
last modified time | relevance | path

Searched refs:features (Results 1 – 24 of 24) sorted by relevance

/xnu-11215/tests/skywalk/
H A Dskt_features.c42 uint64_t features; in skt_features_main() local
45 features = 0; in skt_features_main()
46 len = sizeof(features); in skt_features_main()
49 assert(len == sizeof(features)); in skt_features_main()
51 T_LOG("features = 0x%016"PRIx64, features); in skt_features_main()
53 assert(features & SK_FEATURE_SKYWALK); in skt_features_main()
54 assert(features & SK_FEATURE_NETNS); in skt_features_main()
55 assert(features & SK_FEATURE_NEXUS_USER_PIPE); in skt_features_main()
57 assert(features & SK_FEATURE_NEXUS_MONITOR); in skt_features_main()
59 assert(features & SK_FEATURE_NEXUS_NETIF); in skt_features_main()
[all …]
/xnu-11215/osfmk/arm64/
H A Darm64_hypercall.c169 hvg_get_features(uint32_t range, uint32_t fid, int32_t *features) in hvg_get_features() argument
173 *features = HVC32_FI(range, HVC_FID_FEATURES); in hvg_get_features()
174 return hvc32_2((uint32_t *)features, &fid); in hvg_get_features()
180 int32_t features = 0; in hvg_is_hcall_available() local
233 return hvg_get_features(HVC_FID_OEM, fastcall, &features); in hvg_is_hcall_available()
/xnu-11215/bsd/skywalk/nexus/netif/
H A Dnx_netif_netagent.c883 nx_netif_agent_register(struct nx_netif *nif, uint32_t features) in nx_netif_agent_register() argument
953 uint32_t features = 0; in nx_netif_agent_get_features() local
956 features |= (NETAGENT_FLAG_INTERPOSE_NEXUS | in nx_netif_agent_get_features()
961 features |= NETAGENT_FLAG_NEXUS_PROVIDER; in nx_netif_agent_get_features()
963 features |= NETAGENT_FLAG_CUSTOM_ETHER_NEXUS; in nx_netif_agent_get_features()
965 features |= NETAGENT_FLAG_NETWORK_PROVIDER; in nx_netif_agent_get_features()
967 return features; in nx_netif_agent_get_features()
975 uint32_t features = 0; in nx_netif_agent_init() local
978 features = nx_netif_agent_get_features(nif); in nx_netif_agent_init()
979 if (features == 0) { in nx_netif_agent_init()
[all …]
/xnu-11215/osfmk/i386/
H A Dmachine_check.c88 uint64_t features = cpuid_info()->cpuid_features; in mca_get_availability() local
100 mca_MCE_present = (features & CPUID_FEATURE_MCE) != 0; in mca_get_availability()
101 mca_MCA_present = (features & CPUID_FEATURE_MCA) != 0; in mca_get_availability()
H A Dx86_hypercall.c44 const uint64_t features = cpuid_vmm_get_applepv_features(); in hvg_is_hcall_available() local
51 return cpuid_vmm_present() && (features & hcall_feature[hcall]) != 0; in hvg_is_hcall_available()
H A Dcpuid.c1230 cpuid_get_feature_names(uint64_t features, char *buf, unsigned buf_len) in cpuid_get_feature_names() argument
1232 return cpuid_get_names(feature_map, features, buf, buf_len); in cpuid_get_feature_names()
1242 cpuid_get_leaf7_feature_names(uint64_t features, char *buf, unsigned buf_len) in cpuid_get_leaf7_feature_names() argument
1244 return cpuid_get_names(leaf7_feature_map, features, buf, buf_len); in cpuid_get_leaf7_feature_names()
1248 cpuid_get_leaf7_extfeature_names(uint64_t features, char *buf, unsigned buf_len) in cpuid_get_leaf7_extfeature_names() argument
1250 return cpuid_get_names(leaf7_extfeature_map, features, buf, buf_len); in cpuid_get_leaf7_extfeature_names()
/xnu-11215/doc/building/
H A Dxnu_build_consolidation.md35 * Certain kernel-visible architectural features are optional, which means that two same-generation …
40 extensions provide r/o registers that can be checked at runtime to discover supported features as w…
83 Some architectural features are optional, which means that, when disabled at compile-time, this may…
87 Rather than disabling features, and assuming this does not pose security risks or performance regre…
90 feature, and the ARM ARM specifies how it can be discovered). For Apple-specific features, these ar…
136 disabling features. In order not to create divergences in the future across same-generation SoCs, b…
/xnu-11215/tests/
H A Dskywalk_tests.c46 X(features, "verifies skywalk features match kernel config") \
166 X(features, "verifies skywalk features match kernel config") \
178 X(features, "verifies skywalk features match kernel config") \
/xnu-11215/bsd/dev/i386/
H A Ddtrace_isa.c351 static uint64_t features = 0; in dtrace_applepv_available() local
354 return (features & flag) != 0; in dtrace_applepv_available()
389 features = regs.ss_64.rdx; in dtrace_applepv_available()
395 return (features & flag) != 0; in dtrace_applepv_available()
H A Dsysctl.c451 SYSCTL_PROC(_machdep_cpu, OID_AUTO, features, CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_LOCKED,
/xnu-11215/bsd/vfs/
H A Dvnode_if.src14 # 3. All advertising materials mentioning features or use of this software
H A Dvfs_subr.c4444 u_int32_t features; in vfs_init_io_attributes() local
4510 (caddr_t)&features, 0, ctx))) { in vfs_init_io_attributes()
4647 if (features & DK_FEATURE_FORCE_UNIT_ACCESS) { in vfs_init_io_attributes()
4661 if (features & DK_FEATURE_UNMAP) { in vfs_init_io_attributes()
4693 if (iosched_enabled && (features & DK_FEATURE_PRIORITY)) { in vfs_init_io_attributes()
/xnu-11215/config/
H A DMASTER58 options MACH # Standard Mach features # <mach>
128 # file system features
420 # Ledger features
/xnu-11215/iokit/Kernel/
H A DIOPMrootDomain.cpp4566 OSSharedPtr<OSDictionary> features; local
4570 features = OSDictionary::withDictionary(origFeatures);
4572 features = OSDictionary::withCapacity(1);
4593 if ((osObj = features->getObject(feature))) {
4612 features->setObject(feature, new_feature_data.get());
4660 OSSharedPtr<OSDictionary> features; local
4666 features = OSDictionary::withDictionary(origFeatures);
4668 features = NULL;
4683 osObj = features->getObject(dictKey);
4692 features->removeObject(dictKey);
[all …]
/xnu-11215/
H A DREADME.md464 targeted, use this option. Prefer checking for features of the
470 This practice ensures that existing features may be brought to other
472 3. *Existing Features* You can use existing features if your code is
/xnu-11215/doc/arm/
H A Dsme.md19 This document summarizes SVE, SME, and SME2 hardware features that are relevant
258 document). Apple's current SME implementation simply makes SVE features
/xnu-11215/bsd/crypto/doc/
H A DKernelCrypto.txt33 * 3. All advertising materials mentioning features or use of this software
/xnu-11215/bsd/miscfs/devfs/
H A DREADME112 3/ many features are not present yet..
/xnu-11215/tools/lldbmacros/
H A DREADME.md88 …The command interface provides some common features (which can be invoked after passing '--' on cm…
162 …APITAL letter options are allowed. lowercase options are reserved for the framework level features.
/xnu-11215/doc/debugging/
H A Ddebugging.md8 in the latest language features. Some users are living on older Xcodes and may not have the newest
/xnu-11215/bsd/skywalk/core/
H A Dskywalk.c204 SYSCTL_OPAQUE(_kern_skywalk, OID_AUTO, features, CTLFLAG_RD | CTLFLAG_LOCKED,
/xnu-11215/doc/allocators/
H A Dapi-basics.md79 Zones are more feature-rich than `kalloc`, and some features can only be
/xnu-11215/doc/scheduler/
H A Dsched_clutch_edge.md12 …er uses the clutch timesharing per cluster and adds other multi-cluster features such as thread pl…
166 The Edge scheduler implements all the necessary features needed for scheduling on multi-cluster asy…
/xnu-11215/bsd/kern/
H A Dkern_mib.c989 SYSCTL_EXTENSIBLE_NODE(_hw, OID_AUTO, features, CTLFLAG_RD | CTLFLAG_LOCKED, NULL, "hardware featur…