Home
last modified time | relevance | path

Searched refs:mapping_ctx (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dmapping.h7 struct mapping_ctx;
9 int mapping_add(struct mapping_ctx *ctx, void *data, u32 *id);
10 int mapping_remove(struct mapping_ctx *ctx, u32 id);
11 int mapping_find(struct mapping_ctx *ctx, u32 id, void *data);
23 struct mapping_ctx *mapping_create(size_t data_size, u32 max_id,
25 void mapping_destroy(struct mapping_ctx *ctx);
Dmapping.c13 struct mapping_ctx { struct
35 int mapping_add(struct mapping_ctx *ctx, void *data, u32 *id) in mapping_add() argument
77 static void mapping_remove_and_free(struct mapping_ctx *ctx, in mapping_remove_and_free()
84 static void mapping_free_item(struct mapping_ctx *ctx, in mapping_free_item()
101 int mapping_remove(struct mapping_ctx *ctx, u32 id) in mapping_remove()
124 int mapping_find(struct mapping_ctx *ctx, u32 id, void *data) in mapping_find()
144 mapping_remove_and_free_list(struct mapping_ctx *ctx, struct list_head *list) in mapping_remove_and_free_list()
157 struct mapping_ctx *ctx; in mapping_work_handler()
159 ctx = container_of(work, struct mapping_ctx, dwork.work); in mapping_work_handler()
177 static void mapping_flush_work(struct mapping_ctx *ctx) in mapping_flush_work()
[all …]
Dtc_ct.c55 struct mapping_ctx *zone_mapping;
56 struct mapping_ctx *labels_mapping;
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h85 struct mapping_ctx *tunnel_mapping;
87 struct mapping_ctx *tunnel_enc_opts_mapping;
Den_tc.c5296 struct mapping_ctx *mapping; in mlx5e_tc_esw_init()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c51 struct mapping_ctx *chains_mapping;
803 struct mapping_ctx *mapping; in mlx5_chains_init()