Home
last modified time | relevance | path

Searched refs:map_type (Results 1 – 3 of 3) sorted by relevance

/net/core/
Dsock_map.c585 else if (map->map_type == BPF_MAP_TYPE_SOCKMAP) in sock_map_update_elem_sys()
611 else if (map->map_type == BPF_MAP_TYPE_SOCKMAP) in sock_map_update_elem()
1437 switch (map->map_type) { in sock_map_progs()
1490 switch (link->map->map_type) { in sock_map_unlink()
1602 if (map->map_type != BPF_MAP_TYPE_SOCKMAP && in sock_map_iter_attach_target()
1603 map->map_type != BPF_MAP_TYPE_SOCKHASH) in sock_map_iter_attach_target()
Dbpf_sk_storage.c548 if (map->map_type != BPF_MAP_TYPE_SK_STORAGE) { in bpf_sk_storage_diag_alloc()
898 if (map->map_type != BPF_MAP_TYPE_SK_STORAGE) in bpf_iter_attach_map()
Dfilter.c3983 ri->map_type = BPF_MAP_TYPE_UNSPEC; in xdp_master_redirect()
3994 enum bpf_map_type map_type = ri->map_type; in xdp_do_redirect() local
4001 ri->map_type = BPF_MAP_TYPE_UNSPEC; in xdp_do_redirect()
4003 switch (map_type) { in xdp_do_redirect()
4040 _trace_xdp_redirect_map(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index); in xdp_do_redirect()
4043 _trace_xdp_redirect_map_err(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index, err); in xdp_do_redirect()
4053 enum bpf_map_type map_type, u32 map_id) in xdp_do_generic_redirect_map() argument
4059 switch (map_type) { in xdp_do_generic_redirect_map()
4090 _trace_xdp_redirect_map(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index); in xdp_do_generic_redirect_map()
4093 _trace_xdp_redirect_map_err(dev, xdp_prog, fwd, map_type, map_id, ri->tgt_index, err); in xdp_do_generic_redirect_map()
[all …]