Lines Matching refs:offmap
204 struct bpf_map *map = &nfp_map->offmap->map; in nfp_bpf_ctrl_op_cache_get()
294 nfp_bpf_ctrl_entry_op(struct bpf_offloaded_map *offmap, enum nfp_ccm_type op, in nfp_bpf_ctrl_entry_op() argument
297 struct nfp_bpf_map *nfp_map = offmap->dev_priv; in nfp_bpf_ctrl_entry_op()
300 struct bpf_map *map = &offmap->map; in nfp_bpf_ctrl_entry_op()
385 int nfp_bpf_ctrl_update_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_update_entry() argument
388 return nfp_bpf_ctrl_entry_op(offmap, NFP_CCM_TYPE_BPF_MAP_UPDATE, in nfp_bpf_ctrl_update_entry()
392 int nfp_bpf_ctrl_del_entry(struct bpf_offloaded_map *offmap, void *key) in nfp_bpf_ctrl_del_entry() argument
394 return nfp_bpf_ctrl_entry_op(offmap, NFP_CCM_TYPE_BPF_MAP_DELETE, in nfp_bpf_ctrl_del_entry()
398 int nfp_bpf_ctrl_lookup_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_lookup_entry() argument
401 return nfp_bpf_ctrl_entry_op(offmap, NFP_CCM_TYPE_BPF_MAP_LOOKUP, in nfp_bpf_ctrl_lookup_entry()
405 int nfp_bpf_ctrl_getfirst_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_getfirst_entry() argument
408 return nfp_bpf_ctrl_entry_op(offmap, NFP_CCM_TYPE_BPF_MAP_GETFIRST, in nfp_bpf_ctrl_getfirst_entry()
412 int nfp_bpf_ctrl_getnext_entry(struct bpf_offloaded_map *offmap, in nfp_bpf_ctrl_getnext_entry() argument
415 return nfp_bpf_ctrl_entry_op(offmap, NFP_CCM_TYPE_BPF_MAP_GETNEXT, in nfp_bpf_ctrl_getnext_entry()