Searched refs:type_len (Results 1 - 8 of 8) sorted by relevance
/linux-4.4.14/tools/lib/traceevent/ |
H A D | kbuffer-parse.c | 364 unsigned int type_len; translate_data() local 369 type_len = type_len4host(kbuf, type_len_ts); translate_data() 372 switch (type_len) { translate_data() 396 *length = type_len * 4; translate_data() 402 return type_len; translate_data() 408 unsigned int type_len; update_pointers() local 412 type_len = translate_data(kbuf, ptr, &ptr, &delta, &length); update_pointers() 418 return type_len; update_pointers() 435 int type_len; kbuffer_translate_data() local 449 type_len = translate_data(&kbuf, data, &ptr, &delta, &length); kbuffer_translate_data() 450 switch (type_len) { kbuffer_translate_data()
|
/linux-4.4.14/drivers/bluetooth/ |
H A D | btqca.c | 115 u32 type_len; rome_tlv_check_data() local 124 type_len = le32_to_cpu(tlv->type_len); rome_tlv_check_data() 125 length = (type_len >> 8) & 0x00ffffff; rome_tlv_check_data() 127 BT_DBG("TLV Type\t\t : 0x%x", type_len & 0x000000ff); rome_tlv_check_data()
|
H A D | btqca.h | 114 __le32 type_len; member in struct:tlv_type_hdr
|
/linux-4.4.14/drivers/firmware/efi/ |
H A D | efi.c | 595 int type_len; efi_md_typeattr_format() local 600 type_len = snprintf(pos, size, "[type=%u", md->type); efi_md_typeattr_format() 602 type_len = snprintf(pos, size, "[%-*s", efi_md_typeattr_format() 605 if (type_len >= size) efi_md_typeattr_format() 608 pos += type_len; efi_md_typeattr_format() 609 size -= type_len; efi_md_typeattr_format()
|
/linux-4.4.14/include/linux/ |
H A D | ring_buffer.h | 17 u32 type_len:5, time_delta:27; member in struct:ring_buffer_event 46 * If type_len is zero: 51 * length = type_len << 2
|
/linux-4.4.14/kernel/trace/ |
H A D | ring_buffer.c | 44 trace_seq_printf(s, "\tdata max type_len == %d\n", ring_buffer_print_entry_header() 151 return event->type_len == RINGBUF_TYPE_PADDING && !event->time_delta; rb_null_event() 157 event->type_len = RINGBUF_TYPE_PADDING; rb_event_set_padding() 166 if (event->type_len) rb_event_data_length() 167 length = event->type_len * RB_ALIGNMENT; rb_event_data_length() 181 switch (event->type_len) { rb_event_length() 212 if (event->type_len == RINGBUF_TYPE_TIME_EXTEND) { rb_event_ts_length() 234 if (event->type_len == RINGBUF_TYPE_TIME_EXTEND) ring_buffer_event_length() 238 if (event->type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX) ring_buffer_event_length() 251 if (event->type_len == RINGBUF_TYPE_TIME_EXTEND) rb_event_data() 253 BUG_ON(event->type_len > RINGBUF_TYPE_DATA_TYPE_LEN_MAX); rb_event_data() 255 if (event->type_len) rb_event_data() 2129 event->type_len = RINGBUF_TYPE_PADDING; rb_reset_tail() 2252 event->type_len = RINGBUF_TYPE_TIME_EXTEND; rb_add_time_stamp() 2306 event->type_len = 0; rb_update_event() 2309 event->type_len = DIV_ROUND_UP(length, RB_ALIGNMENT); rb_update_event() 2484 if (event->type_len == RINGBUF_TYPE_TIME_EXTEND) rb_event_discard() 2489 event->type_len = RINGBUF_TYPE_PADDING; rb_event_discard() 2527 else if (event->type_len == RINGBUF_TYPE_TIME_EXTEND) { rb_update_write_stamp() 3457 switch (event->type_len) { rb_update_read_stamp() 3488 switch (event->type_len) { rb_update_iter_read_stamp() 3660 if (event->type_len <= RINGBUF_TYPE_DATA_TYPE_LEN_MAX) rb_advance_reader() 3740 switch (event->type_len) { rb_buffer_peek() 3827 switch (event->type_len) { rb_iter_peek() 3920 if (event && event->type_len == RINGBUF_TYPE_PADDING) ring_buffer_peek() 3925 if (event && event->type_len == RINGBUF_TYPE_PADDING) ring_buffer_peek() 3951 if (event && event->type_len == RINGBUF_TYPE_PADDING) ring_buffer_iter_peek() 4000 if (event && event->type_len == RINGBUF_TYPE_PADDING) ring_buffer_consume() 4144 if (event->type_len == RINGBUF_TYPE_PADDING) ring_buffer_read()
|
H A D | ring_buffer_benchmark.c | 132 switch (event->type_len) { read_page() 162 inc = ((event->type_len + 1) * 4); read_page()
|
/linux-4.4.14/arch/sparc/kernel/ |
H A D | mdesc.c | 580 int type_len; fill_in_one_cache() local 582 type = mdesc_get_property(hp, mp, "type", &type_len); fill_in_one_cache() 586 if (of_find_in_proplist(type, "instn", type_len)) { fill_in_one_cache() 589 } else if (of_find_in_proplist(type, "data", type_len)) { fill_in_one_cache()
|
Completed in 369 milliseconds