Searched refs:bpf_offloaded_map (Results 1 – 8 of 8) sorted by relevance
/linux/kernel/bpf/ |
A D | offload.c | 346 static int bpf_map_offload_ndo(struct bpf_offloaded_map *offmap, in bpf_map_offload_ndo() 366 struct bpf_offloaded_map *offmap; in bpf_map_offload_map_alloc() 411 static void __bpf_map_offload_destroy(struct bpf_offloaded_map *offmap) in __bpf_map_offload_destroy() 422 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_map_free() 436 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_lookup_elem() 450 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_update_elem() 467 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_delete_elem() 480 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_get_next_key() 492 struct bpf_offloaded_map *offmap; 581 struct bpf_offloaded_map *offmap; in bpf_offload_prog_map_match() [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
A D | main.h | 210 struct bpf_offloaded_map *offmap; 598 int nfp_bpf_ctrl_getfirst_entry(struct bpf_offloaded_map *offmap, 600 int nfp_bpf_ctrl_update_entry(struct bpf_offloaded_map *offmap, 602 int nfp_bpf_ctrl_del_entry(struct bpf_offloaded_map *offmap, void *key); 603 int nfp_bpf_ctrl_lookup_entry(struct bpf_offloaded_map *offmap, 605 int nfp_bpf_ctrl_getnext_entry(struct bpf_offloaded_map *offmap,
|
A D | cmsg.c | 292 nfp_bpf_ctrl_entry_op(struct bpf_offloaded_map *offmap, enum nfp_ccm_type op, in nfp_bpf_ctrl_entry_op() 383 int nfp_bpf_ctrl_update_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_update_entry() 390 int nfp_bpf_ctrl_del_entry(struct bpf_offloaded_map *offmap, void *key) in nfp_bpf_ctrl_del_entry() 396 int nfp_bpf_ctrl_lookup_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_lookup_entry() 403 int nfp_bpf_ctrl_getfirst_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_getfirst_entry() 410 int nfp_bpf_ctrl_getnext_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_getnext_entry()
|
A D | offload.c | 285 nfp_bpf_map_lookup_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_map_lookup_entry() 299 nfp_bpf_map_update_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_map_update_entry() 308 nfp_bpf_map_get_next_key(struct bpf_offloaded_map *offmap, in nfp_bpf_map_get_next_key() 317 nfp_bpf_map_delete_elem(struct bpf_offloaded_map *offmap, void *key) in nfp_bpf_map_delete_elem() 332 nfp_bpf_map_alloc(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_alloc() 410 nfp_bpf_map_free(struct nfp_app_bpf *bpf, struct bpf_offloaded_map *offmap) in nfp_bpf_map_free()
|
A D | verifier.c | 87 struct bpf_offloaded_map *offmap; in nfp_bpf_map_update_value_ok() 421 struct bpf_offloaded_map *offmap; in nfp_bpf_map_mark_used()
|
/linux/drivers/net/netdevsim/ |
A D | bpf.c | 42 struct bpf_offloaded_map *map; 337 static int nsim_map_key_find(struct bpf_offloaded_map *offmap, void *key) in nsim_map_key_find() 350 nsim_map_alloc_elem(struct bpf_offloaded_map *offmap, unsigned int idx) in nsim_map_alloc_elem() 368 nsim_map_get_next_key(struct bpf_offloaded_map *offmap, in nsim_map_get_next_key() 399 nsim_map_lookup_elem(struct bpf_offloaded_map *offmap, void *key, void *value) in nsim_map_lookup_elem() 416 nsim_map_update_elem(struct bpf_offloaded_map *offmap, in nsim_map_update_elem() 456 static int nsim_map_delete_elem(struct bpf_offloaded_map *offmap, void *key) in nsim_map_delete_elem() 486 nsim_bpf_map_alloc(struct netdevsim *ns, struct bpf_offloaded_map *offmap) in nsim_bpf_map_alloc() 535 static void nsim_bpf_map_free(struct bpf_offloaded_map *offmap) in nsim_bpf_map_free()
|
/linux/include/linux/ |
A D | bpf.h | 254 struct bpf_offloaded_map; 257 int (*map_get_next_key)(struct bpf_offloaded_map *map, 259 int (*map_lookup_elem)(struct bpf_offloaded_map *map, 261 int (*map_update_elem)(struct bpf_offloaded_map *map, 263 int (*map_delete_elem)(struct bpf_offloaded_map *map, void *key); 266 struct bpf_offloaded_map { struct 274 static inline struct bpf_offloaded_map *map_to_offmap(struct bpf_map *map) in map_to_offmap() argument 276 return container_of(map, struct bpf_offloaded_map, map); in map_to_offmap()
|
A D | netdevice.h | 969 struct bpf_offloaded_map *offmap;
|
Completed in 36 milliseconds