Home
last modified time | relevance | path

Searched refs:arg_sz (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dusdt.c1188 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz);
1194 int arg_sz, len; in parse_usdt_spec() local
1208 len = parse_usdt_arg(s, spec->arg_cnt, arg, &arg_sz); in parse_usdt_spec()
1212 arg->arg_signed = arg_sz < 0; in parse_usdt_spec()
1213 if (arg_sz < 0) in parse_usdt_spec()
1214 arg_sz = -arg_sz; in parse_usdt_spec()
1216 switch (arg_sz) { in parse_usdt_spec()
1218 arg->arg_bitshift = 64 - arg_sz * 8; in parse_usdt_spec()
1222 spec->arg_cnt, s, arg_sz); in parse_usdt_spec()
1282 static int parse_usdt_arg(const char *arg_str, int arg_num, struct usdt_arg_spec *arg, int *arg_sz) in parse_usdt_arg() argument
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_action.c2177 u32 arg_sz, arg_idx; in hws_action_setter_modify_header() local
2208 arg_sz = mlx5hws_arg_get_arg_size(action->modify_header.max_num_of_actions); in hws_action_setter_modify_header()
2209 arg_idx = rule_action->modify_header.offset * arg_sz; in hws_action_setter_modify_header()
2230 u32 arg_idx, arg_sz; in hws_action_setter_insert_ptr() local
2237 arg_sz = mlx5hws_arg_data_size_to_arg_size(action->reformat.max_hdr_sz); in hws_action_setter_insert_ptr()
2238 arg_idx = rule_action->reformat.offset * arg_sz; in hws_action_setter_insert_ptr()
2262 u32 arg_sz, arg_idx; in hws_action_setter_tnl_l3_to_l2() local
2269 arg_sz = mlx5hws_arg_get_arg_size(action->modify_header.max_num_of_actions); in hws_action_setter_tnl_l3_to_l2()
2270 arg_idx = rule_action->reformat.offset * arg_sz; in hws_action_setter_tnl_l3_to_l2()