Lines Matching refs:uint32_t

71 	uint32_t		size;
72 uint32_t current_position;
73 uint32_t end_point;
77 int telemetry_buffer_gather(user_addr_t buffer, uint32_t *length, boolean_t mark, struct micro_snapshot_buffer * current_buffer);
87 uint32_t telemetry_sample_rate = 0;
105 uint32_t telemetry_active_tasks = 0; // Number of tasks opted into telemetry
107 uint32_t telemetry_timestamp = 0;
135 uint32_t telemetry_notification_leeway;
212 telemetry_task_ctl(task_t task, uint32_t reasons, int enable_disable)
220 telemetry_task_ctl_locked(task_t task, uint32_t reasons, int enable_disable)
222 uint32_t origflags;
280 window_buffer.size = (uint32_t) kern_buffer_size;
372 uint32_t ast_bits = 0;
438 uint32_t flags = 0;
469 uint32_t btcount, bti;
476 uint32_t current_record_start;
477 uint32_t tmp = 0;
552 uint32_t uuid_info_count = 0;
557 uuid_info_count = (uint32_t)task_image_infos.uuidArrayCount;
585 uint32_t uuid_info_size = (uint32_t)(task_has_64BitAddr(thread->task) ? sizeof(struct user64_dyld_uuid_info) : sizeof(struct user32_dyld_uuid_info));
586 uint32_t uuid_info_array_size = uuid_info_count * uuid_info_size;
701 tsnap->was_throttled = (uint32_t) proc_was_throttled(p);
702 tsnap->did_throttle = (uint32_t) proc_did_throttle(p);
855 *(uint32_t *)(uintptr_t)(current_buffer->buffer + current_buffer->current_position) = (uint32_t)cs.frames[bti];
899 log_telemetry_output(vm_offset_t buf, uint32_t pos, uint32_t sz)
902 uint32_t offset;
920 int telemetry_gather(user_addr_t buffer, uint32_t *length, boolean_t mark)
925 int telemetry_gather_windowed(user_addr_t buffer, uint32_t *length)
930 int telemetry_buffer_gather(user_addr_t buffer, uint32_t *length, boolean_t mark, struct micro_snapshot_buffer * current_buffer)
933 uint32_t oldest_record_offset;
956 if (((oldest_record_offset + sizeof(uint32_t)) > current_buffer->size) ||
957 ((oldest_record_offset + sizeof(uint32_t)) > current_buffer->end_point)) {
959 if (*(uint32_t *)(uintptr_t)(current_buffer->buffer) == 0) {
974 assert(*(uint32_t *)(uintptr_t)(current_buffer->buffer) == STACKSHOT_MICRO_SNAPSHOT_MAGIC);
978 if (*(uint32_t *)(uintptr_t)(current_buffer->buffer + oldest_record_offset) == STACKSHOT_MICRO_SNAPSHOT_MAGIC)
1015 *length += (uint32_t)current_buffer->current_position;
1060 uint32_t bootprofile_buffer_size = 0;
1061 uint32_t bootprofile_buffer_current_position = 0;
1062 uint32_t bootprofile_interval_ms = 0;
1065 uint32_t bootprofile_all_procs = 0;
1089 stack_snapshot_from_kernel(int pid, void *buf, uint32_t size, uint32_t flags, unsigned *retbytes);
1245 int bootprofile_gather(user_addr_t buffer, uint32_t *length)