/kernel/trace/ |
D | trace_export.c | 37 #define __field_struct(type, item) argument 40 #define __field(type, item) type item; argument 43 #define __field_fn(type, item) type item; argument 46 #define __field_desc(type, container, item) type item; argument 49 #define __field_packed(type, container, item) type item; argument 52 #define __array(type, item, size) type item[size]; argument 55 #define __array_desc(type, container, item, size) type item[size]; argument 58 #define __dynamic_array(type, item) type item[]; argument 138 #define __field(type, item) argument 141 #define __field_fn(type, item) argument [all …]
|
D | trace.h | 63 #define __field(type, item) type item; argument 66 #define __field_fn(type, item) type item; argument 69 #define __field_struct(type, item) __field(type, item) argument 72 #define __field_desc(type, container, item) argument 75 #define __field_packed(type, container, item) argument 78 #define __array(type, item, size) type item[size]; argument 81 #define __array_desc(type, container, item, size) argument 84 #define __dynamic_array(type, item) type item[]; argument 87 #define __rel_dynamic_array(type, item) type item[]; argument
|
D | trace_probe.h | 43 #define DEFINE_FIELD(type, item, name, is_signed) \ argument 46 offsetof(typeof(field), item), \ 47 sizeof(field.item), is_signed, \
|
D | ring_buffer.c | 6187 struct rb_item *item; in rb_write_something() local 6223 item = ring_buffer_event_data(event); in rb_write_something() 6224 item->size = size; in rb_write_something() 6225 memcpy(item->str, rb_string, size); in rb_write_something() 6366 struct rb_item *item; in test_ringbuffer() local 6404 item = ring_buffer_event_data(event); in test_ringbuffer() 6406 total_size += item->size + sizeof(struct rb_item); in test_ringbuffer() 6407 if (memcmp(&item->str[0], rb_string, item->size) != 0) { in test_ringbuffer() 6409 pr_info("buffer had: %.*s\n", item->size, item->str); in test_ringbuffer() 6410 pr_info("expected: %.*s\n", item->size, rb_string); in test_ringbuffer()
|
D | trace_events.c | 172 #define __generic_field(type, item, filter_type) \ argument 174 #item, 0, 0, is_signed_type(type), \ 179 #define __common_field(type, item) \ argument 181 "common_" #item, \ 182 offsetof(typeof(ent), item), \ 183 sizeof(ent.item), \
|
D | trace_events_filter.c | 829 u32 *item = (u32 *)(event + pred->offset); in filter_pred_strrelloc() local 830 u32 str_item = *item; in filter_pred_strrelloc() 833 char *addr = (char *)(&item[1]) + str_loc; in filter_pred_strrelloc()
|
D | trace_events_hist.c | 255 u32 *item = event + hist_field->field->offset; in hist_field_reldynstring() local 256 u32 str_item = *item; in hist_field_reldynstring() 258 char *addr = (char *)&item[1] + str_loc; in hist_field_reldynstring()
|
/kernel/bpf/ |
D | core.c | 2271 struct bpf_prog_array_item *item; in bpf_prog_array_length() local 2274 for (item = array->items; item->prog; item++) in bpf_prog_array_length() 2275 if (item->prog != &dummy_bpf_prog.prog) in bpf_prog_array_length() 2282 struct bpf_prog_array_item *item; in bpf_prog_array_is_empty() local 2284 for (item = array->items; item->prog; item++) in bpf_prog_array_is_empty() 2285 if (item->prog != &dummy_bpf_prog.prog) in bpf_prog_array_is_empty() 2294 struct bpf_prog_array_item *item; in bpf_prog_array_copy_core() local 2297 for (item = array->items; item->prog; item++) { in bpf_prog_array_copy_core() 2298 if (item->prog == &dummy_bpf_prog.prog) in bpf_prog_array_copy_core() 2300 prog_ids[i] = item->prog->aux->id; in bpf_prog_array_copy_core() [all …]
|
D | cgroup.c | 36 const struct bpf_prog_array_item *item; in bpf_prog_run_array_cg() local 47 item = &array->items[0]; in bpf_prog_run_array_cg() 49 while ((prog = READ_ONCE(item->prog))) { in bpf_prog_run_array_cg() 50 run_ctx.prog_item = item; in bpf_prog_run_array_cg() 58 item++; in bpf_prog_run_array_cg() 405 struct bpf_prog_array_item *item; in compute_effective_progs() local 433 item = &progs->items[cnt]; in compute_effective_progs() 434 item->prog = prog_list_prog(pl); in compute_effective_progs() 435 bpf_cgroup_storages_assign(item->cgroup_storage, in compute_effective_progs() 745 struct bpf_prog_array_item *item; in replace_effective_prog() local [all …]
|