Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/ !
Doffload.c120 static int bpf_map_offload_ndo(struct bpf_offloaded_map *offmap, in bpf_map_offload_ndo()
136 static void __bpf_map_offload_destroy(struct bpf_offloaded_map *offmap) in __bpf_map_offload_destroy()
149 struct bpf_offloaded_map *offmap, *mtmp; in __bpf_offload_dev_netdev_unregister()
510 struct bpf_offloaded_map *offmap; in bpf_map_offload_map_alloc()
557 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_map_free()
572 return sizeof(struct bpf_offloaded_map); in bpf_map_offload_map_mem_usage()
577 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_lookup_elem()
591 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_update_elem()
608 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_delete_elem()
621 struct bpf_offloaded_map *offmap = map_to_offmap(map); in bpf_map_offload_get_next_key()
[all …]
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/ !
Dmain.h210 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,
Dcmsg.c292 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()
Doffload.c285 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()
Dverifier.c87 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-6.6.21/drivers/net/netdevsim/ !
Dbpf.c42 struct bpf_offloaded_map *map;
333 static int nsim_map_key_find(struct bpf_offloaded_map *offmap, void *key) in nsim_map_key_find()
346 nsim_map_alloc_elem(struct bpf_offloaded_map *offmap, unsigned int idx) in nsim_map_alloc_elem()
366 nsim_map_get_next_key(struct bpf_offloaded_map *offmap, in nsim_map_get_next_key()
397 nsim_map_lookup_elem(struct bpf_offloaded_map *offmap, void *key, void *value) in nsim_map_lookup_elem()
414 nsim_map_update_elem(struct bpf_offloaded_map *offmap, in nsim_map_update_elem()
454 static int nsim_map_delete_elem(struct bpf_offloaded_map *offmap, void *key) in nsim_map_delete_elem()
484 nsim_bpf_map_alloc(struct netdevsim *ns, struct bpf_offloaded_map *offmap) in nsim_bpf_map_alloc()
533 static void nsim_bpf_map_free(struct bpf_offloaded_map *offmap) in nsim_bpf_map_free()
/linux-6.6.21/include/linux/ !
Dbpf.h526 struct bpf_offloaded_map;
529 int (*map_get_next_key)(struct bpf_offloaded_map *map,
531 int (*map_lookup_elem)(struct bpf_offloaded_map *map,
533 int (*map_update_elem)(struct bpf_offloaded_map *map,
535 int (*map_delete_elem)(struct bpf_offloaded_map *map, void *key);
538 struct bpf_offloaded_map { struct
546 static inline struct bpf_offloaded_map *map_to_offmap(struct bpf_map *map) in map_to_offmap() argument
548 return container_of(map, struct bpf_offloaded_map, map); in map_to_offmap()
Dnetdevice.h1015 struct bpf_offloaded_map *offmap;