Home
last modified time | relevance | path

Searched refs:arg_idx (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/platform/x86/amd/
H A Dwbrf.c47 u32 arg_idx = 0; in wbrf_record() local
92 arg_idx = 2; in wbrf_record()
97 tmp[arg_idx].integer.type = ACPI_TYPE_INTEGER; in wbrf_record()
98 tmp[arg_idx++].integer.value = in->band_list[i].start; in wbrf_record()
99 tmp[arg_idx].integer.type = ACPI_TYPE_INTEGER; in wbrf_record()
100 tmp[arg_idx++].integer.value = in->band_list[i].end; in wbrf_record()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dpat_arg.c291 u32 arg_idx) in mlx5d_arg_init_send_attr() argument
296 send_attr->id = arg_idx; in mlx5d_arg_init_send_attr()
301 u32 arg_idx, in mlx5hws_arg_decapl3_write() argument
311 mlx5d_arg_init_send_attr(&send_attr, NULL, arg_idx); in mlx5hws_arg_decapl3_write()
324 u32 arg_idx, in mlx5hws_arg_write() argument
335 mlx5d_arg_init_send_attr(&send_attr, comp_data, arg_idx); in mlx5hws_arg_write()
347 send_attr.id = arg_idx++; in mlx5hws_arg_write()
360 send_attr.id = arg_idx; in mlx5hws_arg_write()
366 u32 arg_idx, in mlx5hws_arg_write_inline_arg_data() argument
378 mlx5hws_arg_write(queue, arg_data, arg_idx, arg_data, data_size); in mlx5hws_arg_write_inline_arg_data()
H A Daction.c2107 u32 arg_idx, in hws_action_modify_write() argument
2130 mlx5hws_arg_write(queue, NULL, arg_idx, in hws_action_modify_write()
2220 u32 arg_sz, arg_idx; in hws_action_setter_modify_header() local
2256 arg_idx = rule_action->modify_header.offset * arg_sz; in hws_action_setter_modify_header()
2258 apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW7] = htonl(arg_idx); in hws_action_setter_modify_header()
2263 action->modify_header.arg_id + arg_idx, in hws_action_setter_modify_header()
2276 u32 arg_idx, arg_sz; in hws_action_setter_insert_ptr() local
2284 arg_idx = rule_action->reformat.offset * arg_sz; in hws_action_setter_insert_ptr()
2287 apply->wqe_data[MLX5HWS_ACTION_OFFSET_DW7] = htonl(arg_idx); in hws_action_setter_insert_ptr()
2296 action->reformat.arg_id + arg_idx, in hws_action_setter_insert_ptr()
[all …]
/linux/tools/perf/util/
H A Dprobe-file.c817 int arg_idx = 0; in synthesize_sdt_probe_command()
871 if (synthesize_sdt_probe_arg(&buf, arg_idx, arg) < 0) { in synthesize_sdt_probe_command()
878 arg_idx++; in synthesize_sdt_probe_command()
815 int arg_idx = 0; synthesize_sdt_probe_command() local
/linux/include/linux/
H A Dbtf.h603 int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx);
688 static inline int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx) in btf_check_iter_arg() argument
/linux/kernel/bpf/
H A Dbtf.c7802 static int btf_get_ptr_to_btf_id(struct bpf_verifier_log *log, int arg_idx, in btf_get_ptr_to_btf_id() argument
7826 arg_idx, btf_type_str(t), __btf_name_by_offset(btf, t->name_off), in btf_get_ptr_to_btf_id()
7832 arg_idx, btf_type_str(t), __btf_name_by_offset(btf, t->name_off), in btf_get_ptr_to_btf_id()
7839 arg_idx, btf_type_str(t), __btf_name_by_offset(btf, t->name_off)); in btf_get_ptr_to_btf_id()
7865 u32 arg_idx, bool is_global, u32 *tags) in btf_scan_decl_tags() argument
7885 while ((id = btf_find_next_decl_tag(btf, fn_t, arg_idx, tag_key, id)) > 0) { in btf_scan_decl_tags()
7895 arg_idx); in btf_scan_decl_tags()
7912 bpf_log(&env->log, "arg#%d has unsupported set of tags\n", arg_idx); in btf_scan_decl_tags()
7917 bpf_log(&env->log, "arg#%d type tag fetching failure: %d\n", arg_idx, id); in btf_scan_decl_tags()
8746 int btf_check_iter_arg(struct btf *btf, const struct btf_type *func, int arg_idx) in BTF_ID_LIST_GLOBAL()
[all …]
H A Dliveness.c1396 struct arg_track *at, int arg_idx, in record_arg_access() argument
1408 bytes = bpf_helper_stack_access_bytes(env, insn, arg_idx, insn_idx); in record_arg_access()
1410 bytes = bpf_kfunc_stack_access_bytes(env, insn, arg_idx, insn_idx); in record_arg_access()
H A Dverifier.c4231 static int mark_stack_arg_precision(struct bpf_verifier_env *env, int arg_idx) in mark_stack_arg_precision() argument
4234 int spi = arg_idx - MAX_BPF_FUNC_REG_ARGS; in mark_stack_arg_precision()
7676 static bool is_kfunc_arg_iter(struct bpf_call_arg_meta *meta, int arg_idx, in is_kfunc_arg_iter() argument
7683 return arg_idx == 0; in is_kfunc_arg_iter()
7694 u32 arg_idx = arg_idx_from_argno(argno); in process_iter_arg() local
7714 btf_id = btf_check_iter_arg(meta->btf, meta->func_proto, arg_idx); in process_iter_arg()
11500 static bool is_kfunc_arg_implicit(const struct bpf_call_arg_meta *meta, u32 arg_idx) in is_kfunc_arg_implicit() argument
11512 return argn <= arg_idx; in is_kfunc_arg_implicit()
/linux/tools/lib/bpf/
H A Dlibbpf.c7198 const char *subprog_name, int arg_idx, in need_func_arg_type_fixup() argument
7264 prog->name, subprog_name, arg_idx, ctx_name); in need_func_arg_type_fixup()
7346 int i, n, arg_idx, arg_cnt, err, rec_idx; in bpf_program_fixup_func_info() local
7415 arg_idx = btf_decl_tag(t)->component_idx; in bpf_program_fixup_func_info()
7416 if (arg_idx < 0 || arg_idx >= arg_cnt) in bpf_program_fixup_func_info()
7420 p = &btf_params(fn_proto_t)[arg_idx]; in bpf_program_fixup_func_info()
7422 if (!need_func_arg_type_fixup(btf, prog, fn_name, arg_idx, p->type, ctx_name)) in bpf_program_fixup_func_info()
7454 tag_id = btf__add_decl_tag(btf, ctx_tag, func_rec->type_id, arg_idx); in bpf_program_fixup_func_info()
7465 p = &btf_params(fn_proto_t)[arg_idx]; in bpf_program_fixup_func_info()