Home
last modified time | relevance | path

Searched refs:BPF_MAP_TYPE_STRUCT_OPS (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/tools/bpf/bpftool/
H A Dstruct_ops.c161 if (info->type == BPF_MAP_TYPE_STRUCT_OPS && in get_next_struct_ops_map()
271 if (info->type != BPF_MAP_TYPE_STRUCT_OPS) { in do_one_id()
533 if (bpf_map__type(map) != BPF_MAP_TYPE_STRUCT_OPS) in do_register()
/openbmc/linux/include/linux/
H A Dbpf_types.h130 BPF_MAP_TYPE(BPF_MAP_TYPE_STRUCT_OPS, bpf_struct_ops_map_ops)
/openbmc/linux/tools/lib/bpf/
H A Dlibbpf_probes.c326 case BPF_MAP_TYPE_STRUCT_OPS: in probe_map_create()
H A Dlibbpf.c170 [BPF_MAP_TYPE_STRUCT_OPS] = "struct_ops",
986 return map->def.type == BPF_MAP_TYPE_STRUCT_OPS; in bpf_map__is_struct_ops()
1199 map->def.type = BPF_MAP_TYPE_STRUCT_OPS; in init_struct_ops_maps()
/openbmc/linux/kernel/bpf/
H A Dsyscall.c162 map->map_type == BPF_MAP_TYPE_STRUCT_OPS) { in bpf_map_update_value()
239 } else if (map->map_type == BPF_MAP_TYPE_STRUCT_OPS) { in bpf_map_copy_value()
1141 if (attr->map_type != BPF_MAP_TYPE_STRUCT_OPS || in map_create()
1218 case BPF_MAP_TYPE_STRUCT_OPS: in map_create()
1597 map->map_type == BPF_MAP_TYPE_STRUCT_OPS) { in map_delete_elem()
2012 if (map->map_type == BPF_MAP_TYPE_STRUCT_OPS || !IS_ERR_OR_NULL(map->record)) { in map_freeze()
H A Dbpf_struct_ops.c761 return map->map_type == BPF_MAP_TYPE_STRUCT_OPS && in bpf_struct_ops_valid_to_reg()
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h940 BPF_MAP_TYPE_STRUCT_OPS, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h940 BPF_MAP_TYPE_STRUCT_OPS, enumerator