Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddev.c88 static void mlx5_sf_dev_add(struct mlx5_core_dev *dev, u16 sf_index, u16 fn_id, u32 sfnum) in mlx5_sf_dev_add() argument
116 sf_dev->fn_id = fn_id; in mlx5_sf_dev_add()
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/
H A Dhw_table.c59 mlx5_sf_table_fn_to_hwc(struct mlx5_sf_hw_table *table, u16 fn_id) in mlx5_sf_table_fn_to_hwc() argument
65 fn_id >= table->hwc[i].start_fn_id && in mlx5_sf_table_fn_to_hwc()
66 fn_id < (table->hwc[i].start_fn_id + table->hwc[i].max_fn)) in mlx5_sf_table_fn_to_hwc()
H A Ddevlink.c37 mlx5_sf_lookup_by_function_id(struct mlx5_sf_table *table, unsigned int fn_id) in mlx5_sf_lookup_by_function_id() argument
39 return xa_load(&table->function_ids, fn_id); in mlx5_sf_lookup_by_function_id()
461 sf = mlx5_sf_lookup_by_function_id(table, event_ctx->fn_id); in mlx5_sf_mdev_event()
/linux/drivers/infiniband/hw/bng_re/
H A Dbng_re.h75 int fn_id; member
H A Dbng_dev.c39 rdev->fn_id = rdev->aux_dev->pdev->devfn; in bng_re_dev_add()
/linux/tools/lib/bpf/
H A Dlibbpf.c7221 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; in clone_func_btf_info()
7271 fn_id = btf__add_func(btf, prog->name, linkage, fn_proto_id); in bpf_program_fixup_func_info()
7272 if (fn_id < 0) in bpf_program_fixup_func_info()
7275 fn_t = btf_type_by_id(btf, fn_id); in bpf_program_fixup_func_info()
7278 return fn_id; in bpf_program_fixup_func_info()
7378 int fn_id; in bpf_object__relocate()
7380 fn_id = clone_func_btf_info(btf, orig_fn_id, prog); in bpf_object__relocate()
7381 if (fn_id < 0) { in bpf_object__relocate()
7382 err = fn_id; in bpf_object__relocate()
7387 func_rec->type_id = fn_id; in bpf_object__relocate()
7166 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; clone_func_btf_info() local
7323 int fn_id; bpf_program_fixup_func_info() local
[all...]