Home
last modified time | relevance | path

Searched refs:kcdata_type_definition (Results 1 – 6 of 6) sorted by relevance

/xnu-8796.121.2/libkdd/
H A Dkcdtypes.c61 struct kcdata_type_definition * kcdata_get_typedescription(unsigned type_id, uint8_t * buffer, uint…
68 static void setup_type_definition(struct kcdata_type_definition * d, uint32_t type, uint32_t num_el…
70 struct kcdata_type_definition *
87 if (buffer_size < sizeof(struct kcdata_type_definition) || buffer == NULL) { in kcdata_get_typedescription()
91 struct kcdata_type_definition * retval = (struct kcdata_type_definition *)&buffer[0]; in kcdata_get_typedescription()
92 …escriptor_t subtypes = (kcdata_subtype_descriptor_t)&buffer[sizeof(struct kcdata_type_definition)]; in kcdata_get_typedescription()
136 …setup_subtype_description(&subtypes[i++], KC_ST_UINT32, offsetof(struct kcdata_type_definition, kc… in kcdata_get_typedescription()
137 …setup_subtype_description(&subtypes[i++], KC_ST_UINT32, offsetof(struct kcdata_type_definition, kc… in kcdata_get_typedescription()
138 …pe_array_description(&subtypes[i++], KC_ST_CHAR, offsetof(struct kcdata_type_definition, kct_name)… in kcdata_get_typedescription()
1087 assert(retval == NULL || (buffer_size > sizeof(struct kcdata_type_definition) + in kcdata_get_typedescription()
[all …]
H A Dkcdata_core.m42 extern struct kcdata_type_definition * kcdata_get_typedescription(unsigned type_id, uint8_t * buffe… struct
93 static KCDataType * getTypeFromTypeDef(struct kcdata_type_definition * typeDef);
96 getTypeFromTypeDef(struct kcdata_type_definition * typeDef)
142 …struct kcdata_type_definition * sys_def = kcdata_get_typedescription(typeID, buffer, MAX_KCDATATYP…
425 KCDataType *new_type = getTypeFromTypeDef((struct kcdata_type_definition *)_datap);
H A DKCDStructTypeDescription.m88 … uint32_t elem_count = (length - offsetof(struct kcdata_type_definition, kct_elements))/elem_size; category
90 …a_subtype_descriptor *) ((uintptr_t)dataBuffer + offsetof(struct kcdata_type_definition, kct_eleme… category
H A Dkcdata.h383 struct kcdata_type_definition { struct
/xnu-8796.121.2/osfmk/kern/
H A Dkern_cdata.c1378 struct kcdata_type_definition kc_type_definition; in kcdata_add_type_definition()
1380 uint32_t total_size = sizeof(struct kcdata_type_definition); in kcdata_add_type_definition()
1396 …ata_memcpy(data, user_addr, (void *)&kc_type_definition, sizeof(struct kcdata_type_definition)))) { in kcdata_add_type_definition()
1399 user_addr += sizeof(struct kcdata_type_definition); in kcdata_add_type_definition()
H A Dkcdata.h383 struct kcdata_type_definition { struct