Searched refs:BPF_MAP_TYPE_STRUCT_OPS (Results 1 - 11 of 11) sorted by relevance

/linux-master/tools/bpf/bpftool/
H A Dstruct_ops.c161 if (info->type == BPF_MAP_TYPE_STRUCT_OPS &&
271 if (info->type != BPF_MAP_TYPE_STRUCT_OPS) {
370 /* The kernel supporting BPF_MAP_TYPE_STRUCT_OPS must have
539 if (bpf_map__type(map) != BPF_MAP_TYPE_STRUCT_OPS)
H A Dgen.c1095 if (bpf_map__type(map) != BPF_MAP_TYPE_STRUCT_OPS)
1128 if (bpf_map__type(map) != BPF_MAP_TYPE_STRUCT_OPS)
/linux-master/include/linux/
H A Dbpf_types.h130 BPF_MAP_TYPE(BPF_MAP_TYPE_STRUCT_OPS, bpf_struct_ops_map_ops)
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtoken.c1012 .maps = bit(BPF_MAP_TYPE_STRUCT_OPS),
1023 .maps = bit(BPF_MAP_TYPE_STRUCT_OPS),
1034 .maps = bit(BPF_MAP_TYPE_STRUCT_OPS),
1045 .maps = bit(BPF_MAP_TYPE_STRUCT_OPS),
/linux-master/tools/lib/bpf/
H A Dlibbpf_probes.c331 case BPF_MAP_TYPE_STRUCT_OPS:
H A Dlibbpf.c181 [BPF_MAP_TYPE_STRUCT_OPS] = "struct_ops",
983 * in map_update(BPF_MAP_TYPE_STRUCT_OPS). For example,
1024 return map->def.type == BPF_MAP_TYPE_STRUCT_OPS;
1342 map->def.type = BPF_MAP_TYPE_STRUCT_OPS;
5120 case BPF_MAP_TYPE_STRUCT_OPS:
/linux-master/kernel/bpf/
H A Dsyscall.c168 map->map_type == BPF_MAP_TYPE_STRUCT_OPS) {
240 } else if (map->map_type == BPF_MAP_TYPE_STRUCT_OPS) {
1205 if (attr->map_type != BPF_MAP_TYPE_STRUCT_OPS ||
1301 case BPF_MAP_TYPE_STRUCT_OPS:
1688 map->map_type == BPF_MAP_TYPE_STRUCT_OPS) {
2104 if (map->map_type == BPF_MAP_TYPE_STRUCT_OPS || !IS_ERR_OR_NULL(map->record)) {
4858 if (map->map_type == BPF_MAP_TYPE_STRUCT_OPS)
H A Dbpf_struct_ops.c1043 return map->map_type == BPF_MAP_TYPE_STRUCT_OPS &&
H A Dverifier.c18158 if (map->map_type == BPF_MAP_TYPE_STRUCT_OPS) {
/linux-master/include/uapi/linux/
H A Dbpf.h613 * Not supported for maps of type **BPF_MAP_TYPE_STRUCT_OPS**.
1005 BPF_MAP_TYPE_STRUCT_OPS, enumerator in enum:bpf_map_type
/linux-master/tools/include/uapi/linux/
H A Dbpf.h613 * Not supported for maps of type **BPF_MAP_TYPE_STRUCT_OPS**.
1005 BPF_MAP_TYPE_STRUCT_OPS, enumerator in enum:bpf_map_type

Completed in 330 milliseconds