/kernel/trace/ |
D | trace_export.c | 39 #define __field_struct(type, item) argument 42 #define __field(type, item) type item; argument 45 #define __field_desc(type, container, item) type item; argument 48 #define __array(type, item, size) type item[size]; argument 51 #define __array_desc(type, container, item, size) type item[size]; argument 54 #define __dynamic_array(type, item) type item[]; argument 83 #define __field(type, item) \ argument 84 ret = trace_define_field(event_call, #type, #item, \ 85 offsetof(typeof(field), item), \ 86 sizeof(field.item), \ [all …]
|
D | trace.h | 50 #define __field(type, item) type item; argument 53 #define __field_struct(type, item) __field(type, item) argument 56 #define __field_desc(type, container, item) argument 59 #define __array(type, item, size) type item[size]; argument 62 #define __array_desc(type, container, item, size) argument 65 #define __dynamic_array(type, item) type item[]; argument
|
D | trace_probe.h | 44 #define DEFINE_FIELD(type, item, name, is_signed) \ argument 47 offsetof(typeof(field), item), \ 48 sizeof(field.item), is_signed, \
|
D | ring_buffer.c | 5122 struct rb_item *item; in rb_write_something() local 5158 item = ring_buffer_event_data(event); in rb_write_something() 5159 item->size = size; in rb_write_something() 5160 memcpy(item->str, rb_string, size); in rb_write_something() 5304 struct rb_item *item; in test_ringbuffer() local 5342 item = ring_buffer_event_data(event); in test_ringbuffer() 5344 total_size += item->size + sizeof(struct rb_item); in test_ringbuffer() 5345 if (memcmp(&item->str[0], rb_string, item->size) != 0) { in test_ringbuffer() 5347 pr_info("buffer had: %.*s\n", item->size, item->str); in test_ringbuffer() 5348 pr_info("expected: %.*s\n", item->size, rb_string); in test_ringbuffer()
|
D | trace_events.c | 147 #define __generic_field(type, item, filter_type) \ argument 149 #item, 0, 0, is_signed_type(type), \ 154 #define __common_field(type, item) \ argument 156 "common_" #item, \ 157 offsetof(typeof(ent), item), \ 158 sizeof(ent.item), \
|
/kernel/bpf/ |
D | core.c | 1859 struct bpf_prog_array_item *item; in bpf_prog_array_length() local 1862 for (item = array->items; item->prog; item++) in bpf_prog_array_length() 1863 if (item->prog != &dummy_bpf_prog.prog) in bpf_prog_array_length() 1870 struct bpf_prog_array_item *item; in bpf_prog_array_is_empty() local 1872 for (item = array->items; item->prog; item++) in bpf_prog_array_is_empty() 1873 if (item->prog != &dummy_bpf_prog.prog) in bpf_prog_array_is_empty() 1882 struct bpf_prog_array_item *item; in bpf_prog_array_copy_core() local 1885 for (item = array->items; item->prog; item++) { in bpf_prog_array_copy_core() 1886 if (item->prog == &dummy_bpf_prog.prog) in bpf_prog_array_copy_core() 1888 prog_ids[i] = item->prog->aux->id; in bpf_prog_array_copy_core() [all …]
|