Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 45) sorted by relevance

12

/xnu-11215/pexpert/gen/
H A Ddevice_tree.c77 if (os_add3_overflow((vm_offset_t)prop, sizeof(DeviceTreeNodeProperty), prop->length, &prop_end)) { in assert_prop_in_dt_region()
78 panic("Device tree property overflow: prop %p, length 0x%x", prop, prop->length); in assert_prop_in_dt_region()
116 …if (os_add3_overflow((uintptr_t)prop, prop->length, sizeof(DeviceTreeNodeProperty) + 3, &next_addr… in next_prop_region()
117 panic("Device tree property overflow: prop %p, length 0x%x", prop, prop->length); in next_prop_region()
124 #define next_prop(prop) next_prop_region((vm_offset_t)DTRootNode, (vm_offset_t)DTEnd, (prop)) argument
129 DeviceTreeNodeProperty const *prop; in skipProperties() local
143 prop = next_prop(prop); in skipProperties()
146 ASSERT_IN_DT(prop); in skipProperties()
147 return (RealDTEntry) prop; in skipProperties()
618 *propertySize = prop->length; in SecureDTGetPropertyInternal()
[all …]
H A Dpe_gen.c97 void const *prop = NULL; in pe_init_debug() local
99 if (SecureDTGetProperty(root, "target-is-fpga", &prop, &size) == kSuccess) { in pe_init_debug()
/xnu-11215/tests/skywalk/
H A Dskt_debug_verify.c54 slot_prop_t prop; in skt_debug_verify_main() local
89 slot = os_channel_get_next_slot(txring, NULL, &prop); in skt_debug_verify_main()
92 assert(prop.sp_buf_ptr); in skt_debug_verify_main()
93 assert(prop.sp_len); in skt_debug_verify_main()
95 memcpy((void *)prop.sp_buf_ptr, msg, sizeof(msg)); in skt_debug_verify_main()
96 prop.sp_len = sizeof(msg); in skt_debug_verify_main()
97 os_channel_set_slot_properties(txring, slot, &prop); in skt_debug_verify_main()
123 slot = os_channel_get_next_slot(rxring, NULL, &prop); in skt_debug_verify_main()
126 assert(prop.sp_buf_ptr); in skt_debug_verify_main()
127 assert(!memcmp((void *)prop.sp_buf_ptr, msg, sizeof(msg))); in skt_debug_verify_main()
[all …]
H A Dskt_oneslot.c54 slot_prop_t prop; in skt_oneslot_common() local
134 slot = os_channel_get_next_slot(ring, NULL, &prop); in skt_oneslot_common()
137 assert(prop.sp_buf_ptr); in skt_oneslot_common()
138 assert(prop.sp_len); in skt_oneslot_common()
140 memcpy((void *)prop.sp_buf_ptr, msg, sizeof(msg)); in skt_oneslot_common()
141 prop.sp_len = sizeof(msg); in skt_oneslot_common()
142 os_channel_set_slot_properties(ring, slot, &prop); in skt_oneslot_common()
197 slot = os_channel_get_next_slot(ring, NULL, &prop); in skt_oneslot_common()
200 assert(prop.sp_buf_ptr); in skt_oneslot_common()
201 assert(!memcmp((void *)prop.sp_buf_ptr, msg, sizeof(msg))); in skt_oneslot_common()
[all …]
H A Dskt_mangle.c196 struct slot_prop prop; in skt_mangle_rx() local
197 slot = os_channel_get_next_slot(rxring, NULL, &prop); in skt_mangle_rx()
204 prop.sp_len = 6; in skt_mangle_rx()
205 os_channel_set_slot_properties(rxring, slot, &prop); in skt_mangle_rx()
299 slot_prop_t prop; in skt_mangle_tx() local
304 prop.sp_len = 65535; in skt_mangle_tx()
305 os_channel_set_slot_properties(txring, slot, &prop); in skt_mangle_tx()
309 prop.sp_len = 131; in skt_mangle_tx()
310 os_channel_set_slot_properties(txring, slot, &prop); in skt_mangle_tx()
314 prop.sp_len = 83; in skt_mangle_tx()
[all …]
H A Dskt_nslots.c54 slot_prop_t prop; in skt_nslots_common() local
168 slot = os_channel_get_next_slot(ring, NULL, &prop); in skt_nslots_common()
179 assert(prop.sp_len == slotsize); in skt_nslots_common()
180 memcpy((void *)prop.sp_buf_ptr, &sendcount, sizeof(sendcount)); in skt_nslots_common()
181 prop.sp_len = sizeof(sendcount); in skt_nslots_common()
182 os_channel_set_slot_properties(ring, slot, &prop); in skt_nslots_common()
186 slot = os_channel_get_next_slot(ring, slot, &prop); in skt_nslots_common()
238 slot = os_channel_get_next_slot(ring, NULL, &prop); in skt_nslots_common()
243 assert(prop.sp_len == sizeof(recvcount)); in skt_nslots_common()
245 memcpy(&count, (void *)prop.sp_buf_ptr, sizeof(count)); in skt_nslots_common()
[all …]
H A Dskt_netifdirect.c309 slot_prop_t prop; variable
318 &prop);
331 assert(prop.sp_buf_ptr == 0);
332 assert(prop.sp_len == 0);
336 assert(prop.sp_buf_ptr != 0);
337 assert(prop.sp_len != 0);
375 prop.sp_len = frame_length;
377 &prop);
407 slot_prop_t prop; in skt_netif_channel_receive() local
415 &prop); in skt_netif_channel_receive()
[all …]
/xnu-11215/pexpert/arm/
H A Dpe_fiq.c87 void const *prop; in pe_init_fiq() local
89 error = SecureDTGetProperty(entry, "reg", &prop, &prop_size); in pe_init_fiq()
101 uint64_t const gicd_base_prop = ((uint64_t const *) prop)[0]; in pe_init_fiq()
102 uint64_t const gicd_size_prop = ((uint64_t const *) prop)[1]; in pe_init_fiq()
103 uint64_t const gicr_base_prop = ((uint64_t const *) prop)[2]; in pe_init_fiq()
104 uint64_t const gicr_size_prop = ((uint64_t const *) prop)[3]; in pe_init_fiq()
H A Dpe_init.c416 void * const *prop; in PE_init_platform() local
454 (void const **)&prop, &size)) { in PE_init_platform()
458 bcopy(prop, gTargetTypeBuffer, size); in PE_init_platform()
464 (void const **)&prop, &size)) { in PE_init_platform()
468 bcopy(prop, gModelTypeBuffer, size); in PE_init_platform()
474 (void const **) &prop, &size)) { in PE_init_platform()
494 bcopy(prop, iBoot_version, size); in PE_init_platform()
507 (void const **) &prop, &size)) { in PE_init_platform()
511 bcopy(prop, gPlatformECID, size); in PE_init_platform()
514 (void const **) &prop, &size)) { in PE_init_platform()
[all …]
/xnu-11215/iokit/Kernel/
H A DIODMAController.cpp57 OSSharedPtr<OSObject> prop = provider->copyProperty("dma-parent"); in getController() local
58 dmaParentData = OSDynamicCast(OSData, prop.get()); in getController()
102 OSSharedPtr<OSObject> prop = _provider->copyProperty("AAPL,phandle"); in registerDMAController() local
103 phandleData = OSDynamicCast(OSData, prop.get()); in registerDMAController()
H A DIODeviceTreeSupport.cpp122 OSData * prop; in IODeviceTreeAlloc() local
429 void const *prop; in MakeReferenceTable() local
455 data = OSData::withBytes(prop, propSize); in MakeReferenceTable()
920 OSObject *prop; in CompareKey() local
936 if ((data = OSDynamicCast( OSData, prop ))) { in CompareKey()
972 if (prop) { in CompareKey()
973 prop->release(); in CompareKey()
1226 OSData * prop; in IODTResolveAddressCell() local
1261 if (NULL == prop) { in IODTResolveAddressCell()
1271 if ((propLen = prop->getLength())) { in IODTResolveAddressCell()
[all …]
H A DIOUserServer.cpp1851 if (!prop) { in Create_Impl()
2642 if (!prop) { in checkEntitlements()
2697 OSObject * prop; in checkEntitlements() local
4743 prop->retain(); in serviceNewUserClient()
4909 OSObject * prop; in serviceJoinPMTree() local
4914 prop = NULL; in serviceJoinPMTree()
4919 prop = nextProp; in serviceJoinPMTree()
4923 if (prop) { in serviceJoinPMTree()
4928 prop->release(); in serviceJoinPMTree()
5464 if (prop) { in systemPower()
[all …]
H A DIOService.cpp746 OSObject * prop; in getDebugFlags() local
2146 OSObject * prop; in applyToInterestNotifiers() local
2380 OSObject * prop; in unregisterAllInterest() local
3689 prop = NULL; in IOServiceObjectOrder()
7216 if (prop) { in IOResourcesMatchPropertyTable()
7514 if (prop) { in compareProperty()
7537 if (prop) { in compareProperty()
7865 if (prop) prop->release(); \ in matchInternal()
8046 OSObject *prop; in newUserClient() local
8059 if (prop) { in newUserClient()
[all …]
H A DIOPlatformExpert.cpp1537 OSObject *prop = NULL; in callPlatformFunction() local
1562 prop = _resources->copyProperty(functionName); in callPlatformFunction()
1563 service = OSDynamicCast(IOService, prop); in callPlatformFunction()
1573 OSSafeReleaseNULL(prop); in callPlatformFunction()
1776 OSData * prop; in getModelName() local
1785 if (prop) { in getModelName()
1786 str = (const char *) prop->getBytesNoCopy(); in getModelName()
1826 OSData * prop; in getMachineName() local
1831 ok = (NULL != prop); in getMachineName()
1846 OSData * prop; in getTargetName() local
[all …]
H A DIONVRAM.cpp1212 OSSharedPtr<OSObject> prop; in getNVRAMProperties() local
1221 data = OSDynamicCast(OSData, prop.get()); in getNVRAMProperties()
1229 data = OSDynamicCast(OSData, prop.get()); in getNVRAMProperties()
1237 data = OSDynamicCast(OSData, prop.get()); in getNVRAMProperties()
1414 OSSharedPtr<OSObject> prop; in initImageFormat() local
1425 prop = entry->copyProperty(bankSizeKey); in initImageFormat()
1426 require(prop != nullptr, skip); in initImageFormat()
1428 data = OSDynamicCast(OSData, prop.get()); in initImageFormat()
1435 prop = entry->copyProperty(proxyDataKey); in initImageFormat()
1436 require(prop != nullptr, skip); in initImageFormat()
[all …]
/xnu-11215/iokit/Exclaves/
H A DExclaves.cpp131 OSObject * prop; in exclaveStart() local
143 if ((data = OSDynamicCast(OSData, prop))) { in exclaveStart()
146 OSSafeReleaseNULL(prop); in exclaveStart()
149 if ((data = OSDynamicCast(OSData, prop))) { in exclaveStart()
153 OSSafeReleaseNULL(prop); in exclaveStart()
158 OSSafeReleaseNULL(prop); in exclaveStart()
162 OSSafeReleaseNULL(prop); in exclaveStart()
168 OSSafeReleaseNULL(prop); in exclaveStart()
175 OSSafeReleaseNULL(prop); in exclaveStart()
180 OSSafeReleaseNULL(prop); in exclaveStart()
[all …]
/xnu-11215/osfmk/i386/
H A Dtsc.c98 EFI_get_frequency(const char *prop) in EFI_get_frequency() argument
121 if (SecureDTGetProperty(entry, prop, &value, &size) != kSuccess) { in EFI_get_frequency()
122 kprintf("EFI_get_frequency: property %s not found\n", prop); in EFI_get_frequency()
128 prop, frequency); in EFI_get_frequency()
/xnu-11215/bsd/kern/
H A Dkern_sig.c2043 int prop; in psignal_internal() local
2062 prop = sigprop[signum]; in psignal_internal()
2216 if (prop & SA_CONT) { in psignal_internal()
2220 if (prop & SA_STOP) { in psignal_internal()
2296 if (prop & SA_CONT) { in psignal_internal()
2310 if (prop & SA_CONT) { in psignal_internal()
2695 prop = sigprop[signum]; in issignal_locked()
2830 if (prop & SA_STOP) { in issignal_locked()
2950 prop = sigprop[signum]; in CURSIG()
2980 if (prop & SA_STOP) { in CURSIG()
[all …]
/xnu-11215/osfmk/arm/pmap/
H A Dpmap_data.c2104 void const *prop = NULL; in pmap_compute_pv_targets() local
2115 pv_alloc_initial_target = *((uint32_t const *)prop); in pmap_compute_pv_targets()
2129 pv_kern_low_water_mark = *((uint32_t const *)prop); in pmap_compute_pv_targets()
3577 void const *prop = NULL; in pmap_compute_io_rgns() local
3587 pmap_io_range_t const *ranges = prop; in pmap_compute_io_rgns()
3668 void const *prop = NULL; in pmap_load_io_rgns() local
3673 pmap_io_range_t const *ranges = prop; in pmap_load_io_rgns()
3780 void const *prop = NULL; in pmap_compute_io_filters() local
3786 pmap_io_filter_entry_t const *entries = prop; in pmap_compute_io_filters()
3899 void const *prop = NULL; in pmap_load_io_filters() local
[all …]
/xnu-11215/osfmk/arm64/
H A Dcpu.c1213 void const *prop; in cpu_machine_idle_init() local
1215 if (kSuccess == SecureDTGetProperty(entry, "effective-production-status-ap", &prop, &size)) { in cpu_machine_idle_init()
1217 bcopy(prop, &production, size); in cpu_machine_idle_init()
1275 void const * const *prop; in sleep_token_buffer_init() local
1283 if (kSuccess != SecureDTGetProperty(entry, "reg", (const void **)&prop, (unsigned int *)&size)) { in sleep_token_buffer_init()
1288 sleepTokenBuffer = ml_io_map(((vm_offset_t const *)prop)[0], ((vm_size_t const *)prop)[1]); in sleep_token_buffer_init()
H A Dmachine_routines.c1012 void const *prop; in ml_readprop() local
1017 return *((uint8_t const *)prop); in ml_readprop()
1019 return *((uint16_t const *)prop); in ml_readprop()
1021 return *((uint32_t const *)prop); in ml_readprop()
1023 return *((uint64_t const *)prop); in ml_readprop()
1038 uint64_t const *prop; in ml_read_reg_range() local
1049 *pa_ptr = prop[0]; in ml_read_reg_range()
1050 *len_ptr = prop[1]; in ml_read_reg_range()
1057 void const *prop; in ml_is_boot_cpu() local
1060 if (SecureDTGetProperty(entry, "state", &prop, &propSize) != kSuccess) { in ml_is_boot_cpu()
[all …]
/xnu-11215/tools/lldbmacros/
H A Dkasan.py626 def prop_value(prop): argument
627 if prop_type(prop) == AbstractKasan.CTLTYPE_INT:
628 if not prop.oid_arg1:
629 return prop.oid_arg2
630 return dereference(get_value(prop.oid_arg1, 'unsigned *'))
631 assert(prop_type(prop) == AbstractKasan.CTLTYPE_STRING)
632 return get_value(prop.oid_arg1, 'char *') if prop.oid_arg1 else None
/xnu-11215/libsyscall/wrappers/skywalk/
H A Dos_channel.c1013 slot_prop_t *prop) in os_channel_get_next_slot() argument
1062 if (prop != NULL) { in os_channel_get_next_slot()
1063 prop->sp_len = 0; in os_channel_get_next_slot()
1064 prop->sp_flags = 0; in os_channel_get_next_slot()
1065 prop->sp_buf_ptr = 0; in os_channel_get_next_slot()
1066 prop->sp_mdata_ptr = 0; in os_channel_get_next_slot()
1081 if (__probable(prop != NULL)) { in os_channel_get_next_slot()
1083 prop->sp_idx = idx; in os_channel_get_next_slot()
1084 prop->sp_flags = 0; in os_channel_get_next_slot()
1086 prop->sp_mdata_ptr = q; in os_channel_get_next_slot()
[all …]
/xnu-11215/bsd/netkey/
H A Dkey_debug.c177 struct sadb_prop *prop = (struct sadb_prop *)ext; local
186 len = (PFKEY_UNUNIT64(prop->sadb_prop_len) - sizeof(*prop))
188 comb = (struct sadb_comb *)(prop + 1);
189 printf("sadb_prop{ replay=%u\n", prop->sadb_prop_replay);
/xnu-11215/bsd/skywalk/channel/
H A Dos_channel.h408 const channel_slot_t slot, slot_prop_t *prop);
412 const channel_slot_t slot, const slot_prop_t *prop);
615 const kern_channel_slot_t slot, const struct kern_slot_prop *prop);

12