| /OK3568_Linux_fs/kernel/arch/powerpc/boot/ |
| H A D | oflib.c | 21 __be32 nargs; /* Number of input arguments. */ member 41 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() argument 48 args.nargs = cpu_to_be32(nargs); in of_call_prom() 52 for (i = 0; i < nargs; i++) in of_call_prom() 57 args.args[nargs+i] = 0; in of_call_prom() 62 return (nret > 0) ? be32_to_cpu(args.args[nargs]) : 0; in of_call_prom() 65 static int of_call_prom_ret(const char *service, int nargs, int nret, in of_call_prom_ret() argument 73 args.nargs = cpu_to_be32(nargs); in of_call_prom_ret() 77 for (i = 0; i < nargs; i++) in of_call_prom_ret() 82 args.args[nargs+i] = 0; in of_call_prom_ret() [all …]
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | cli_simple.c | 26 int nargs = 0; in cli_simple_parse_line() local 29 while (nargs < CONFIG_SYS_MAXARGS) { in cli_simple_parse_line() 35 argv[nargs] = NULL; in cli_simple_parse_line() 36 debug_parser("%s: nargs=%d\n", __func__, nargs); in cli_simple_parse_line() 37 return nargs; in cli_simple_parse_line() 40 argv[nargs++] = line; /* begin of argument string */ in cli_simple_parse_line() 47 argv[nargs] = NULL; in cli_simple_parse_line() 48 debug_parser("parse_line: nargs=%d\n", nargs); in cli_simple_parse_line() 49 return nargs; in cli_simple_parse_line() 57 debug_parser("%s: nargs=%d\n", __func__, nargs); in cli_simple_parse_line() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | bpf-prologue.c | 184 struct probe_trace_arg *args, int nargs) in gen_prologue_fastpath() argument 188 for (i = 0; i < nargs; i++) { in gen_prologue_fastpath() 243 struct probe_trace_arg *args, int nargs) in gen_prologue_slowpath() argument 247 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath() 308 for (i = 0; i < nargs; i++) { in gen_prologue_slowpath() 364 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, in bpf__gen_prologue() argument 385 if (!nargs) { in bpf__gen_prologue() 396 if (nargs > BPF_PROLOGUE_MAX_ARGS) { in bpf__gen_prologue() 398 nargs - BPF_PROLOGUE_MAX_ARGS); in bpf__gen_prologue() 399 nargs = BPF_PROLOGUE_MAX_ARGS; in bpf__gen_prologue() [all …]
|
| H A D | bpf-prologue.h | 18 int bpf__gen_prologue(struct probe_trace_arg *args, int nargs, 26 int nargs __maybe_unused, in bpf__gen_prologue()
|
| H A D | probe-event.c | 1770 pev->nargs = argc - 1; in parse_perf_probe_command() 1771 pev->args = zalloc(sizeof(struct perf_probe_arg) * pev->nargs); in parse_perf_probe_command() 1776 for (i = 0; i < pev->nargs && ret >= 0; i++) { in parse_perf_probe_command() 1796 for (i = 0; i < pev->nargs; i++) in perf_probe_with_var() 1920 tev->nargs = argc - 2; in parse_probe_trace_command() 1921 tev->args = zalloc(sizeof(struct probe_trace_arg) * tev->nargs); in parse_probe_trace_command() 1926 for (i = 0; i < tev->nargs; i++) { in parse_probe_trace_command() 2044 for (i = 0; i < pev->nargs; i++) { in synthesize_perf_probe_command() 2175 for (i = 0; i < tev->nargs; i++) in synthesize_probe_trace_command() 2279 pev->nargs = tev->nargs; in convert_to_perf_probe_event() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/s390x/ |
| H A D | ucall.c | 17 void ucall(uint64_t cmd, int nargs, ...) in ucall() argument 25 nargs = nargs <= UCALL_MAX_ARGS ? nargs : UCALL_MAX_ARGS; in ucall() 27 va_start(va, nargs); in ucall() 28 for (i = 0; i < nargs; ++i) in ucall()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/x86_64/ |
| H A D | ucall.c | 19 void ucall(uint64_t cmd, int nargs, ...) in ucall() argument 27 nargs = nargs <= UCALL_MAX_ARGS ? nargs : UCALL_MAX_ARGS; in ucall() 29 va_start(va, nargs); in ucall() 30 for (i = 0; i < nargs; ++i) in ucall()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | rtas.c | 378 err_args.nargs = cpu_to_be32(2); in __fetch_rtas_last_error() 417 va_rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, in va_rtas_call_unlocked() argument 423 args->nargs = cpu_to_be32(nargs); in va_rtas_call_unlocked() 425 args->rets = &(args->args[nargs]); in va_rtas_call_unlocked() 427 for (i = 0; i < nargs; ++i) in va_rtas_call_unlocked() 436 void rtas_call_unlocked(struct rtas_args *args, int token, int nargs, int nret, ...) in rtas_call_unlocked() argument 441 va_rtas_call_unlocked(args, token, nargs, nret, list); in rtas_call_unlocked() 445 int rtas_call(int token, int nargs, int nret, int *outputs, ...) in rtas_call() argument 463 va_rtas_call_unlocked(rtas_args, token, nargs, nret, list); in rtas_call() 918 int rtas_call_reentrant(int token, int nargs, int nret, int *outputs, ...) in rtas_call_reentrant() argument [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/lib/aarch64/ |
| H A D | ucall.c | 74 void ucall(uint64_t cmd, int nargs, ...) in ucall() argument 81 nargs = nargs <= UCALL_MAX_ARGS ? nargs : UCALL_MAX_ARGS; in ucall() 83 va_start(va, nargs); in ucall() 84 for (i = 0; i < nargs; ++i) in ucall()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | aisimage.c | 60 uint32_t nargs; member 152 ptr += cmd_table[id].nargs + IS_FNC_EXEC(id) + 1; in aisimage_print_header() 161 static uint32_t *ais_insert_cmd_header(uint32_t cmd, uint32_t nargs, in ais_insert_cmd_header() argument 169 *ptr++ = ((nargs & 0xFFFF) << 16) + ais_func_table[cmd].index; in ais_insert_cmd_header() 172 for (i = 0; i < nargs; i++) in ais_insert_cmd_header() 265 uint32_t nargs, cmd_parms[10]; in aisimage_generate() local 305 nargs = 0; in aisimage_generate() 329 cmd_parms[nargs++] = value; in aisimage_generate() 330 if (nargs > cmd_table[cmd].nargs) { in aisimage_generate() 345 aishdr = ais_insert_cmd_header(cmd, nargs, cmd_parms, in aisimage_generate()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/syscalls/ |
| H A D | rtas_filter.c | 41 __be32 nargs; member 169 static int rtas_call(const char *name, int nargs, in rtas_call() argument 188 args.nargs = cpu_to_be32(nargs); in rtas_call() 191 for (i = 0; i < nargs; i++) in rtas_call() 204 *(rets[0]) = be32_to_cpu(args.args[nargs]); in rtas_call() 207 *(rets[i]) = args.args[nargs + i]; in rtas_call()
|
| /OK3568_Linux_fs/kernel/drivers/input/joystick/ |
| H A D | turbografx.c | 33 unsigned int nargs; member 38 module_param_array_named(map, tgfx_cfg[0].args, int, &tgfx_cfg[0].nargs, 0); 40 module_param_array_named(map2, tgfx_cfg[1].args, int, &tgfx_cfg[1].nargs, 0); 42 module_param_array_named(map3, tgfx_cfg[2].args, int, &tgfx_cfg[2].nargs, 0); 154 if (tgfx_cfg[port_idx].nargs == 0 || in tgfx_attach() 166 n_devs = tgfx_cfg[port_idx].nargs - 1; in tgfx_attach() 289 if (tgfx_cfg[i].nargs == 0 || tgfx_cfg[i].args[0] < 0) in tgfx_init() 292 if (tgfx_cfg[i].nargs < 2) { in tgfx_init()
|
| /OK3568_Linux_fs/yocto/poky/bitbake/bin/ |
| H A D | bitbake-diffsigs | 117 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname')) 121 action="store", nargs='?', metavar="sigdatafile") 133 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname')) 137 action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig')) 141 action="store", nargs='?') 145 action="store", nargs='?')
|
| H A D | bitbake-dumpsig | 117 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname')) 121 action="store", nargs='?', metavar="sigdatafile") 133 … action="store", dest="taskargs", nargs=2, metavar=('recipename', 'taskname')) 137 action="store", dest="sigargs", nargs=2, metavar=('fromsig', 'tosig')) 141 action="store", nargs='?') 145 action="store", nargs='?')
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_rtas.c | 24 if (be32_to_cpu(args->nargs) != 3 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_set_xive() 48 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 3) { in kvm_rtas_get_xive() 76 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_off() 98 if (be32_to_cpu(args->nargs) != 1 || be32_to_cpu(args->nret) != 1) { in kvm_rtas_int_on() 245 if (be32_to_cpu(args.nargs) >= ARRAY_SIZE(args.args)) { in kvmppc_rtas_hcall() 256 args.rets = &args.args[be32_to_cpu(args.nargs)]; in kvmppc_rtas_hcall()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/ |
| H A D | math.h | 539 #define __MATHCALL_NARROW_NORMAL(func, nargs) \ argument 540 extern _Mret_ func __MATHCALL_NARROW_ARGS_ ## nargs __THROW 541 #define __MATHCALL_NARROW_REDIR(func, redir, nargs) \ argument 542 extern _Mret_ __REDIRECT_NTH (func, __MATHCALL_NARROW_ARGS_ ## nargs, \ 544 #define __MATHCALL_NARROW(func, redir, nargs) \ argument 545 __MATHCALL_NARROW_NORMAL (func, nargs) 563 # define __MATHCALL_NARROW(func, redir, nargs) \ argument 564 __MATHCALL_NARROW_REDIR (func, redir, nargs) 568 # define __MATHCALL_NARROW(func, redir, nargs) \ argument 569 __MATHCALL_NARROW_REDIR (func, redir, nargs) [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/ |
| H A D | math.h | 539 #define __MATHCALL_NARROW_NORMAL(func, nargs) \ argument 540 extern _Mret_ func __MATHCALL_NARROW_ARGS_ ## nargs __THROW 541 #define __MATHCALL_NARROW_REDIR(func, redir, nargs) \ argument 542 extern _Mret_ __REDIRECT_NTH (func, __MATHCALL_NARROW_ARGS_ ## nargs, \ 544 #define __MATHCALL_NARROW(func, redir, nargs) \ argument 545 __MATHCALL_NARROW_NORMAL (func, nargs) 563 # define __MATHCALL_NARROW(func, redir, nargs) \ argument 564 __MATHCALL_NARROW_REDIR (func, redir, nargs) 568 # define __MATHCALL_NARROW(func, redir, nargs) \ argument 569 __MATHCALL_NARROW_REDIR (func, redir, nargs) [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | omap-secure.c | 59 u32 omap_secure_dispatcher(u32 idx, u32 flag, u32 nargs, u32 arg1, u32 arg2, in omap_secure_dispatcher() argument 65 param[0] = nargs; in omap_secure_dispatcher() 153 u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs, in rx51_secure_dispatcher() argument 159 param[0] = nargs+1; /* RX-51 needs number of arguments + 1 */ in rx51_secure_dispatcher()
|
| /OK3568_Linux_fs/kernel/include/trace/events/ |
| H A D | xen.h | 37 TP_PROTO(struct multicall_entry *mc, unsigned nargs), 38 TP_ARGS(mc, nargs), 41 __field(unsigned int, nargs) 45 __entry->nargs = nargs; 46 memcpy(__entry->args, mc->args, sizeof(ulong) * nargs); 47 memset(__entry->args + nargs, 0, sizeof(ulong) * (6 - nargs));
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | audit.h | 395 extern int __audit_socketcall(int nargs, unsigned long *args); 434 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument 437 return __audit_socketcall(nargs, args); in audit_socketcall() 441 static inline int audit_socketcall_compat(int nargs, u32 *args) in audit_socketcall_compat() argument 449 for (i = 0; i < nargs; i++) in audit_socketcall_compat() 451 return __audit_socketcall(nargs, a); in audit_socketcall_compat() 617 static inline int audit_socketcall(int nargs, unsigned long *args) in audit_socketcall() argument 622 static inline int audit_socketcall_compat(int nargs, u32 *args) in audit_socketcall_compat() argument
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_attr_leaf.c | 906 struct xfs_da_args nargs; in xfs_attr_shortform_to_leaf() local 937 memset((char *)&nargs, 0, sizeof(nargs)); in xfs_attr_shortform_to_leaf() 938 nargs.dp = dp; in xfs_attr_shortform_to_leaf() 939 nargs.geo = args->geo; in xfs_attr_shortform_to_leaf() 940 nargs.total = args->total; in xfs_attr_shortform_to_leaf() 941 nargs.whichfork = XFS_ATTR_FORK; in xfs_attr_shortform_to_leaf() 942 nargs.trans = args->trans; in xfs_attr_shortform_to_leaf() 943 nargs.op_flags = XFS_DA_OP_OKNOENT; in xfs_attr_shortform_to_leaf() 947 nargs.name = sfe->nameval; in xfs_attr_shortform_to_leaf() 948 nargs.namelen = sfe->namelen; in xfs_attr_shortform_to_leaf() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/base/test/ |
| H A D | property-entry-test.c | 375 .nargs = 0, in pe_test_reference() 379 .nargs = 2, in pe_test_reference() 405 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference() 416 KUNIT_EXPECT_EQ(test, ref.nargs, 1U); in pe_test_reference() 424 KUNIT_EXPECT_EQ(test, ref.nargs, 3U); in pe_test_reference() 439 KUNIT_EXPECT_EQ(test, ref.nargs, 0U); in pe_test_reference() 446 KUNIT_EXPECT_EQ(test, ref.nargs, 2U); in pe_test_reference()
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/ |
| H A D | argparse_oe.py | 115 action.save_nargs = action.nargs 116 action.nargs = 0 124 action.nargs = action.save_nargs 134 action.nargs = action.save_nargs
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | property.c | 701 args->nargs = 0; in __acpi_node_get_property_reference() 723 u32 nargs, i; in __acpi_node_get_property_reference() local 733 nargs = 0; in __acpi_node_get_property_reference() 754 nargs++; in __acpi_node_get_property_reference() 761 if (nargs > NR_FWNODE_REFERENCE_ARGS) in __acpi_node_get_property_reference() 766 args->nargs = nargs; in __acpi_node_get_property_reference() 767 for (i = 0; i < nargs; i++) in __acpi_node_get_property_reference() 773 element += nargs; in __acpi_node_get_property_reference() 1257 return args.nargs ? NULL : args.fwnode; in acpi_graph_get_remote_endpoint() 1263 if (args.nargs != 2) in acpi_graph_get_remote_endpoint()
|
| /OK3568_Linux_fs/yocto/poky/scripts/ |
| H A D | yocto-check-layer | 54 parser.add_argument('layers', metavar='LAYER_DIR', nargs='+', 58 parser.add_argument('--dependency', nargs="+", 62 parser.add_argument('--machines', nargs="+", 64 parser.add_argument('--additional-layers', nargs="+",
|