Home
last modified time | relevance | path

Searched refs:bpf_core_field_exists (Results 1 – 11 of 11) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_existence.c47 out->a_exists = bpf_core_field_exists(in->a); in test_core_existence()
48 if (bpf_core_field_exists(struct core_reloc_existence, a)) in test_core_existence()
53 out->b_exists = bpf_core_field_exists(in->b); in test_core_existence()
54 if (bpf_core_field_exists(struct core_reloc_existence, b)) in test_core_existence()
59 out->c_exists = bpf_core_field_exists(in->c); in test_core_existence()
60 if (bpf_core_field_exists(struct core_reloc_existence, c)) in test_core_existence()
65 out->arr_exists = bpf_core_field_exists(in->arr); in test_core_existence()
66 if (bpf_core_field_exists(struct core_reloc_existence, arr)) in test_core_existence()
71 out->s_exists = bpf_core_field_exists(in->s); in test_core_existence()
72 if (bpf_core_field_exists(struct core_reloc_existence, s)) in test_core_existence()
H A Dtest_core_reloc_module.c60 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
61 out->off_exists = bpf_core_field_exists(read_ctx->off); in BPF_PROG()
62 out->len_exists = bpf_core_field_exists(read_ctx->len); in BPF_PROG()
94 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
95 out->off_exists = bpf_core_field_exists(read_ctx->off); in BPF_PROG()
96 out->len_exists = bpf_core_field_exists(read_ctx->len); in BPF_PROG()
H A Dmptcp_sock.c49 is_mptcp = bpf_core_field_exists(tsk->is_mptcp) ? tsk->is_mptcp : 0; in _sockops()
H A Dprofiler.inc.h235 if (bpf_core_field_exists(node52->id.ino)) { in get_inode_from_kernfs()
282 if (bpf_core_field_exists(root_kernfs->iattr->ia_mtime)) { in populate_cgroup_info()
/linux/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c327 if (bpf_core_field_exists(mm_new->mmap_lock)) { in get_tstamp_elem()
333 if (bpf_core_field_exists(mm_old->mmap_sem)) { in get_tstamp_elem()
591 if (bpf_core_field_exists(struct rq___new, __lock))
H A Dsample_filter.bpf.c79 if (!bpf_core_field_exists(data->sample_flags)) in perf_get_sample()
167 if (bpf_core_field_exists(data->mem_hops)) in perf_get_sample()
H A Dbperf_cgroup.bpf.c70 if (bpf_core_field_exists(cgrp_new->ancestors)) { in get_cgroup_v1_ancestor_id()
H A Doff_cpu.bpf.c111 if (bpf_core_field_exists(t_new->__state)) { in get_task_state()
/linux/tools/sched_ext/include/scx/
H A Duser_exit_info.h50 if (bpf_core_field_exists((__ei)->exit_code)) \
H A Dcommon.bpf.h421 if (bpf_core_field_exists(p->migration_disabled)) in is_migration_disabled()
/linux/tools/lib/bpf/
H A Dbpf_core_read.h187 #define bpf_core_field_exists(field...) \ macro