Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A Dusdt.bpf.h116 int bpf_usdt_arg(struct pt_regs *ctx, __u64 arg_num, long *res) in bpf_usdt_arg() argument
133 if (arg_num >= BPF_USDT_MAX_ARG_CNT) in bpf_usdt_arg()
135 barrier_var(arg_num); in bpf_usdt_arg()
136 if (arg_num >= spec->arg_cnt) in bpf_usdt_arg()
139 arg_spec = &spec->args[arg_num]; in bpf_usdt_arg()
H A Dusdt.c1282 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
1319 pr_warn("usdt: unrecognized arg #%d spec '%s'\n", arg_num, arg_str); in parse_usdt_arg()
1330 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
1360 pr_warn("usdt: unrecognized arg #%d spec '%s'\n", arg_num, arg_str); in parse_usdt_arg()
1383 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
1419 pr_warn("usdt: unrecognized arg #%d spec '%s'\n", arg_num, arg_str); in parse_usdt_arg()
1477 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
1505 pr_warn("usdt: unrecognized arg #%d spec '%s'\n", arg_num, arg_str); in parse_usdt_arg()
1548 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
1585 pr_warn("usdt: unrecognized arg #%d spec '%s'\n", arg_num, arg_str); in parse_usdt_arg()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dgen_print.py168 def get_arg_name(var, arg_num=1, stack_frame_ix=1): argument
250 print_varx("arg_num", arg_num, indent=debug_indent)
473 if arg_num < 0:
474 if abs(arg_num) > len(lvalues):
477 argument = lvalues[arg_num]
478 elif arg_num == 0:
481 if arg_num > len(args_list):
484 argument = args_list[arg_num - 1]
1299 arg_num = 1
1301 var_name = get_arg_name(None, arg_num, stack_frame)
[all …]
H A Dvar_funcs.py51 arg_num = 1
53 arg_name = gp.get_arg_name(None, arg_num, stack_frame_ix=2)
55 arg_num += 1
H A Dfunc_args.py56 arg_name = gp.get_arg_name(None, arg_num=-3, stack_frame_ix=2)
H A Dgen_cmd.py554 for arg_num in range(first_kwarg_pos, first_kwarg_pos + len(kwargs)):
556 arg_name = gp.get_arg_name(None, arg_num, stack_frame_ix + 2)
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Ddebugfs.c771 int ret, arg_num; in mwifiex_hscfg_write() local
780 arg_num = sscanf(buf, "%d %x %x", &conditions, &gpio, &gap); in mwifiex_hscfg_write()
784 if (arg_num > 3) { in mwifiex_hscfg_write()
791 if (arg_num >= 1 && arg_num < 3) in mwifiex_hscfg_write()
795 if (arg_num) { in mwifiex_hscfg_write()
803 if (arg_num >= 2) in mwifiex_hscfg_write()
805 if (arg_num == 3) in mwifiex_hscfg_write()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-Add-support-for-mips64-n32-n64.patch1066 @@ -462,7 +555,7 @@ gimme_arg(enum tof type, struct process *proc, int arg_num,
1070 - ret = addr + 4*arg_num;
1071 + ret = addr + sizeof(long) * arg_num;
1075 @@ -474,7 +567,7 @@ gimme_arg(enum tof type, struct process *proc, int arg_num,
1079 - ret = addr + 4*arg_num;
1080 + ret = addr + sizeof(long) * arg_num;
1084 @@ -483,4 +576,34 @@ gimme_arg(enum tof type, struct process *proc, int arg_num,
/openbmc/ipmitool/lib/
H A Dipmi_sunoem.c1063 int arg_num = 0; in ipmi_sunoem_cli() local
1197 } else if (arg_num >= argc) { in ipmi_sunoem_cli()
1200 } else if (strncmp(argv[arg_num], "@wait=", 6) == 0) { in ipmi_sunoem_cli()
1202 char *s = &argv[arg_num][6]; in ipmi_sunoem_cli()
1213 arg_num++; in ipmi_sunoem_cli()
1222 char *s = argv[arg_num]; in ipmi_sunoem_cli()
1233 arg_num++; in ipmi_sunoem_cli()