Home
last modified time | relevance | path

Searched refs:props (Results 1 – 9 of 9) sorted by relevance

/xnu-11215/tests/skywalk/
H A Dskt_fullupipe.c101 slot_prop_t props; in skt_fullupipe_main() local
102 txslot0 = os_channel_get_next_slot(txring0, txslot0, &props); in skt_fullupipe_main()
104 os_channel_set_slot_properties(txring0, txslot0, &props); in skt_fullupipe_main()
153 slot_prop_t props; in skt_fullupipe_main() local
154 txslot0 = os_channel_get_next_slot(txring0, txslot0, &props); in skt_fullupipe_main()
156 os_channel_set_slot_properties(txring0, txslot0, &props); in skt_fullupipe_main()
299 slot_prop_t props; in skt_upipepeerclosure_main() local
300 txslot0 = os_channel_get_next_slot(txring0, txslot0, &props); in skt_upipepeerclosure_main()
302 os_channel_set_slot_properties(txring0, txslot0, &props); in skt_upipepeerclosure_main()
/xnu-11215/tests/vm/
H A Dmemorystatus_sort_test.c285 memorystatus_priority_properties_t props = {0}; in place_proc_in_band() local
287 props.priority = band; in place_proc_in_band()
288 props.user_data = 0; in place_proc_in_band()
289 …ret = memorystatus_control(MEMORYSTATUS_CMD_SET_PRIORITY_PROPERTIES, pid, 0, &props, sizeof(props)… in place_proc_in_band()
H A Dmemorystatus_freeze_test.c263 memorystatus_priority_properties_t props; local
268 props.priority = JETSAM_PRIORITY_IDLE;
269 props.user_data = 0;
275 …if (memorystatus_control(MEMORYSTATUS_CMD_SET_PRIORITY_PROPERTIES, pid, 0, &props, sizeof(props)))…
/xnu-11215/tests/
H A Dcpucount.c421 CFMutableDictionaryRef props = NULL; variable
422 kr = IORegistryEntryCreateCFProperties(cpu_service, &props, kCFAllocatorDefault, 0);
425 dict_uint32(props, CFSTR("logical-cpu-id"), &cpu_id);
427 dict_uint32(props, CFSTR("logical-cluster-id"), &cluster_id);
444 CFRelease(props);
H A Dmemorystatus_zone_test.c724 memorystatus_priority_properties_t props; in move_to_idle_band() local
733 props.priority = JETSAM_PRIORITY_IDLE; in move_to_idle_band()
734 props.user_data = 0; in move_to_idle_band()
736 …morystatus_control(MEMORYSTATUS_CMD_SET_PRIORITY_PROPERTIES, getpid(), 0, &props, sizeof(props))) { in move_to_idle_band()
H A Dvm_phys_footprint.c1532 …CFMutableDictionaryRef props = CFDictionaryCreateMutable(0, 0, &kCFTypeDictionaryKeyCallBacks, &kC… in CreateSurface() local
1533 setIntValue(props, kIOSurfaceBytesPerRow, (int)rowbytes); in CreateSurface()
1534 setIntValue(props, kIOSurfaceWidth, (int)pixelsWide); in CreateSurface()
1535 setIntValue(props, kIOSurfaceHeight, (int)pixelsHigh); in CreateSurface()
1536 setIntValue(props, kIOSurfacePixelFormat, (int)fmt); in CreateSurface()
1538 setBoolValue(props, kIOSurfaceNonPurgeable, !purgeable); in CreateSurface()
1544 setIntValue(props, kIOSurfaceElementWidth, 2); in CreateSurface()
1545 setIntValue(props, kIOSurfaceElementHeight, 1); in CreateSurface()
1547 setIntValue(props, kIOSurfaceBytesPerElement, (int)bpe); in CreateSurface()
1550 surface = IOSurfaceCreate(props); in CreateSurface()
[all …]
/xnu-11215/iokit/Kernel/
H A DIOUserServer.cpp612 OSDictionary * props; in CopyProperties_Local() local
618 props->merge(userProps); in CopyProperties_Local()
622 *properties = props; in CopyProperties_Local()
4886 OSDictionary * props; in serviceJoinPMTree() local
4892 OSSafeReleaseNULL(props); in serviceJoinPMTree()
5377 OSDictionary * props; in CopyProviderProperties_Impl() local
5381 if (!props) { in CopyProviderProperties_Impl()
5385 if (!props) { in CopyProviderProperties_Impl()
5409 OSSafeReleaseNULL(props); in CopyProviderProperties_Impl()
5410 props = retProps; in CopyProviderProperties_Impl()
[all …]
H A DIOService.cpp727 getDebugFlags( OSDictionary * props ) in getDebugFlags() argument
3851 OSDictionary * props; in probeCandidates() local
3913 props = NULL; in probeCandidates()
3963 if (NULL == props) { in probeCandidates()
3966 props->setCapacityIncrement(1); in probeCandidates()
4031 familyMatches->setObject( props ); in probeCandidates()
4037 OSSafeReleaseNULL(props); in probeCandidates()
4045 props->retain(); in probeCandidates()
4051 debugFlags = getDebugFlags( props ); in probeCandidates()
4072 if (!(inst->init( props ))) { in probeCandidates()
[all …]
H A DIOUserClient.cpp3609 OSDictionary * props; in IOCopyPropertyCompatible() local
3622 props = OSDynamicCast(OSDictionary, compatProperties); in IOCopyPropertyCompatible()
3623 if (props) { in IOCopyPropertyCompatible()
3624 obj = props->getObject(name); in IOCopyPropertyCompatible()
4099 OSDictionary * props = OSDynamicCast(OSDictionary, obj); in is_io_registry_entry_set_properties() local
4106 if (!props) { in is_io_registry_entry_set_properties()
4114 props->iterateObjects(^(const OSSymbol * key, OSObject * value) { in is_io_registry_entry_set_properties()
4152 if (service && props && service->hasUserServer()) { in is_io_registry_entry_set_properties()
4153 res = service->UserSetProperties(props); in is_io_registry_entry_set_properties()