/kernel/trace/ |
D | trace_events_hist.c | 1332 const char *field_name = ""; in hist_field_name() local 1335 return field_name; in hist_field_name() 1338 return field_name; in hist_field_name() 1341 field_name = field->field->name; in hist_field_name() 1345 field_name = hist_field_name(field->operands[0], ++level); in hist_field_name() 1347 field_name = "common_cpu"; in hist_field_name() 1358 field_name = full_name; in hist_field_name() 1360 field_name = field->name; in hist_field_name() 1362 field_name = "common_timestamp"; in hist_field_name() 1365 field_name = field->field->name; in hist_field_name() [all …]
|
D | trace_events_inject.c | 40 char *field_name; in parse_field() local 57 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_field() 58 if (!field_name) in parse_field() 60 field = trace_find_event_field(call, field_name); in parse_field() 61 kfree(field_name); in parse_field()
|
D | trace_events_synth.c | 673 const char *field_name) in check_field_version() argument 692 const char *prefix = NULL, *field_type = argv[0], *field_name, *array; in parse_synth_field() local 705 field_name = argv[2]; in parse_synth_field() 708 field_name = argv[1]; in parse_synth_field() 712 if (!field_name) { in parse_synth_field() 717 *field_version = check_field_version(prefix, field_type, field_name); in parse_synth_field() 723 len = strlen(field_name); in parse_synth_field() 724 array = strchr(field_name, '['); in parse_synth_field() 728 field->name = kmemdup_nul(field_name, len, GFP_KERNEL); in parse_synth_field() 733 synth_err(SYNTH_ERR_BAD_NAME, errpos(field_name)); in parse_synth_field() [all …]
|
D | trace_events_user.c | 1831 char *field_name = NULL, *dyn_field_name = NULL; in user_field_match() local 1841 len = user_field_set_string(field, field_name, 0, colon); in user_field_match() 1847 field_name = kmalloc(len, GFP_KERNEL); in user_field_match() 1849 if (!dyn_field_name || !field_name) in user_field_match() 1855 user_field_set_string(field, field_name, len, colon); in user_field_match() 1857 match = strcmp(dyn_field_name, field_name) == 0; in user_field_match() 1860 kfree(field_name); in user_field_match()
|
D | trace_events_filter.c | 1510 char *field_name; in parse_pred() local 1535 field_name = kmemdup_nul(str + s, len, GFP_KERNEL); in parse_pred() 1536 if (!field_name) in parse_pred() 1541 field = trace_find_event_field(call, field_name); in parse_pred() 1542 kfree(field_name); in parse_pred()
|
/kernel/bpf/ |
D | btf.c | 6130 const char **field_name) in btf_struct_walk() argument 6361 if (field_name) in btf_struct_walk() 6362 *field_name = mname; in btf_struct_walk() 6390 const char **field_name) in btf_struct_access() argument 6422 err = btf_struct_walk(log, btf, t, off, size, &id, &tmp_flag, field_name); in btf_struct_access() 8489 const char *field_name, u32 btf_id, const char *suffix) in btf_nested_type_is_trusted() argument 8527 if (btf_id == id && !strcmp(field_name, m_name)) in btf_nested_type_is_trusted()
|
D | verifier.c | 6339 const char *field_name, u32 btf_id) in type_is_rcu() argument 6345 return btf_nested_type_is_trusted(&env->log, reg, field_name, btf_id, "__safe_rcu"); in type_is_rcu() 6350 const char *field_name, u32 btf_id) in type_is_rcu_or_null() argument 6356 return btf_nested_type_is_trusted(&env->log, reg, field_name, btf_id, "__safe_rcu_or_null"); in type_is_rcu_or_null() 6361 const char *field_name, u32 btf_id) in type_is_trusted() argument 6369 return btf_nested_type_is_trusted(&env->log, reg, field_name, btf_id, "__safe_trusted"); in type_is_trusted() 6374 const char *field_name, u32 btf_id) in type_is_trusted_or_null() argument 6378 return btf_nested_type_is_trusted(&env->log, reg, field_name, btf_id, in type_is_trusted_or_null() 6391 const char *field_name = NULL; in check_ptr_to_btf_access() local 6460 ret = btf_struct_access(&env->log, reg, off, size, atype, &btf_id, &flag, &field_name); in check_ptr_to_btf_access() [all …]
|