Searched refs:data_saved (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/ia64/kernel/
H A Dsalinfo.c155 struct salinfo_data_saved data_saved[5];/* save last 5 records from mca.c, must be < 255 */ member in struct:salinfo_data
210 memcpy(data->data_saved+shift, data->data_saved+shift+1, shift1_data_saved()
211 (ARRAY_SIZE(data->data_saved) - (shift+1)) * sizeof(data->data_saved[0])); shift1_data_saved()
212 memset(data->data_saved + ARRAY_SIZE(data->data_saved) - 1, 0, shift1_data_saved()
213 sizeof(data->data_saved[0])); shift1_data_saved()
231 struct salinfo_data_saved *data_saved; salinfo_log_wakeup() local
234 int saved_size = ARRAY_SIZE(data->data_saved); salinfo_log_wakeup()
241 for (i = 0, data_saved = data->data_saved; i < saved_size; ++i, ++data_saved) { salinfo_log_wakeup()
242 if (!data_saved->buffer) salinfo_log_wakeup()
248 data_saved = data->data_saved + saved_size - 1; salinfo_log_wakeup()
250 data_saved = NULL; salinfo_log_wakeup()
252 if (data_saved) { salinfo_log_wakeup()
253 data_saved->cpu = smp_processor_id(); salinfo_log_wakeup()
254 data_saved->id = ((sal_log_record_header_t *)buffer)->id; salinfo_log_wakeup()
255 data_saved->size = size; salinfo_log_wakeup()
256 data_saved->buffer = buffer; salinfo_log_wakeup()
425 struct salinfo_data_saved *data_saved; salinfo_log_new_read() local
428 int saved_size = ARRAY_SIZE(data->data_saved); salinfo_log_new_read()
433 for (i = 0, data_saved = data->data_saved; i < saved_size; ++i, ++data_saved) { salinfo_log_new_read()
434 if (data_saved->buffer && data_saved->cpu == cpu) { salinfo_log_new_read()
435 sal_log_record_header_t *rh = (sal_log_record_header_t *)(data_saved->buffer); salinfo_log_new_read()
436 data->log_size = data_saved->size; salinfo_log_new_read()
439 if (rh->id == data_saved->id) { salinfo_log_new_read()
595 struct salinfo_data_saved *data_saved; salinfo_cpu_callback() local
597 for (j = ARRAY_SIZE(data->data_saved) - 1, data_saved = data->data_saved + j; salinfo_cpu_callback()
599 --j, --data_saved) { salinfo_cpu_callback()
600 if (data_saved->buffer && data_saved->cpu == cpu) { salinfo_cpu_callback()

Completed in 54 milliseconds