Searched refs:nargs (Results 76 - 100 of 157) sorted by relevance

1234567

/freebsd-current/sys/dev/enic/
H A Dvnic_dev.c245 u64 *args, int nargs, int wait)
254 if (nargs > VNIC_DEVCMD_NARGS - 2) {
255 pr_err("number of args %d exceeds the maximum\n", nargs);
262 memcpy(&vdev->args[2], args, nargs * sizeof(args[0]));
277 memcpy(args, &vdev->args[1], nargs * sizeof(args[0]));
283 enum vnic_devcmd_cmd cmd, u64 *args, int nargs, int wait)
287 if (nargs > VNIC_DEVCMD_NARGS) {
288 pr_err("number of args %d exceeds the maximum\n", nargs);
292 memcpy(vdev->args, args, nargs * sizeof(args[0]));
296 memcpy(args, vdev->args, nargs * sizeo
243 vnic_dev_cmd_proxy(struct vnic_dev *vdev, enum vnic_devcmd_cmd proxy_cmd, enum vnic_devcmd_cmd cmd, u64 *args, int nargs, int wait) argument
282 vnic_dev_cmd_no_proxy(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *args, int nargs, int wait) argument
334 vnic_dev_cmd_args(struct vnic_dev *vdev, enum vnic_devcmd_cmd cmd, u64 *args, int nargs, int wait) argument
350 vnic_dev_advanced_filters_cap(struct vnic_dev *vdev, u64 *args, int nargs) argument
[all...]
/freebsd-current/usr.bin/truss/
H A Dtruss.h75 * argument on a 32-bit system). The nargs member contains the count
81 unsigned int nargs; member in struct:current_syscall
H A Dsyscall.h215 u_int nargs; /* number of meaningful arguments */ member in struct:syscall_decode
H A Dsetup.c433 assert(t->cs.nargs == 0);
446 for (i = 0; i < t->cs.nargs; i++)
472 t->cs.nargs = sc->decode.nargs;
473 assert(sc->decode.nargs <= nitems(t->cs.s_args));
487 for (i = 0; i < t->cs.nargs; i++) {
491 i < (t->cs.nargs - 1) ? "," : "");
552 for (i = 0; i < sc->decode.nargs; i++) {
/freebsd-current/usr.bin/fortune/tools/
H A Ddo_uniq.py65 parser.add_argument("filename", type=str, nargs=1)
/freebsd-current/tests/sys/netinet6/
H A Dexthdr.py170 parser.add_argument('--sendif', nargs=1,
173 parser.add_argument('--recvif', nargs=1,
176 parser.add_argument('--src', nargs=1,
179 parser.add_argument('--to', nargs=1,
/freebsd-current/usr.bin/xargs/
H A Dxargs.c110 int ch, Jflag, nargs, nflag, nline; local
136 nargs = 5000;
169 nargs = (int)strtonum(optarg, 1, INT_MAX, &errstr);
246 linelen = 1 + argc + (size_t)nargs + 1;
276 endxp = (xp = bxp) + nargs;
/freebsd-current/sys/geom/concat/
H A Dg_concat.c853 int *nargs; local
856 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs));
857 if (nargs == NULL) {
858 gctl_error(req, "No '%s' argument.", "nargs");
861 if (*nargs < 2) {
877 md.md_all = *nargs - 1;
882 for (no = 1; no < *nargs; no++) {
898 for (attached = 0, no = 1; no < *nargs; n
946 int *force, *nargs, error; local
1060 int *nargs, *hardcode; local
[all...]
/freebsd-current/sys/kern/
H A Dkern_exit.c733 int nargs; member in struct:abort2_args
743 int error, nargs; local
745 nargs = uap->nargs;
746 if (nargs < 0 || nargs > nitems(uargs))
747 nargs = -1;
749 if (nargs > 0) {
752 nargs * sizeof(void *));
754 nargs
771 kern_abort2(struct thread *td, const char *why, int nargs, void **uargs) argument
[all...]
/freebsd-current/contrib/cortex-strings/scripts/
H A Dbench.py133 parser.add_argument("-v", "--variants", nargs="+", help="library variant to run (run all if not specified)", default = VARIANTS, choices = VARIANTS)
134 parser.add_argument("-f", "--functions", nargs="+", help="function to run (run all if not specified)", default = FUNCTIONS, choices = FUNCTIONS)
/freebsd-current/sys/ddb/
H A Ddb_command.c622 db_fncall_generic(db_expr_t addr, db_expr_t *rv, int nargs, db_expr_t args[]) argument
626 if (nargs > 10) {
640 int nargs = 0; local
653 nargs++;
655 if (nargs == DB_MAXARGS) {
660 if (!db_expression(&args[nargs])) {
665 nargs++;
678 if (DB_CALL(fn_addr, &retval, nargs, args))
/freebsd-current/contrib/expat/xmlwf/
H A Dxmlwf_helpgen.py89 parser.add_argument('files', metavar='FILE', nargs='*', help='file to process (default: STDIN)')
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
H A DCTFTypes.h139 CTFFunction(lldb::user_id_t uid, llvm::StringRef name, uint32_t nargs, argument
141 : CTFType(eFunction, uid, name), nargs(nargs), return_type(return_type),
146 uint32_t nargs; member in struct:CTFFunction
/freebsd-current/contrib/ntp/ntpq/
H A Dntpq.h84 size_t nargs; member in struct:parse
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_provider.c243 dt_node_t *xargs, *nargs; local
300 nargs = dt_probe_alloc_args(pvp, nc);
302 if ((xc != 0 && xargs == NULL) || (nc != 0 && nargs == NULL))
315 nargs, nc, xargs, xc)) == NULL) {
415 dt_node_t *nargs, uint_t nargc, dt_node_t *xargs, uint_t xargc)
427 * simplify subsequent use. Note that we can have one or both of nargs
433 xargs = nargs;
447 prp->pr_nargs = nargs;
468 prp->pr_mapping[i] = dt_probe_argmap(xargs, nargs);
484 for (i = 0; i < nargc; i++, nargs
414 dt_probe_create(dtrace_hdl_t *dtp, dt_ident_t *idp, int protoc, dt_node_t *nargs, uint_t nargc, dt_node_t *xargs, uint_t xargc) argument
[all...]
/freebsd-current/lib/geom/part/
H A Dgeom_part.c728 int error, i, nargs, show_providers; local
741 nargs = gctl_get_int(req, "nargs");
742 if (nargs == 1) {
755 if (nargs > 0) {
756 for (i = 0; i < nargs; i++) {
784 if (gctl_get_int(req, "nargs") != 1)
871 int error, forced, i, l, nargs, created, rl; local
874 nargs = gctl_get_int(req, "nargs");
[all...]
/freebsd-current/sys/geom/stripe/
H A Dg_stripe.c1067 int *nargs; local
1070 nargs = gctl_get_paraml(req, "nargs", sizeof(*nargs));
1071 if (nargs == NULL) {
1072 gctl_error(req, "No '%s' argument.", "nargs");
1075 if (*nargs <= 2) {
1090 md.md_all = *nargs - 1;
1102 for (no = 1; no < *nargs; no++) {
1118 for (attached = 0, no = 1; no < *nargs; n
1163 int *force, *nargs, error; local
[all...]
/freebsd-current/sys/geom/virstor/
H A Dg_virstor.c202 int *force, *nargs; local
205 nargs = gctl_get_paraml(req, "nargs", sizeof *nargs);
206 if (nargs == NULL) {
207 gctl_error(req, "Error fetching argument '%s'", "nargs");
210 if (*nargs < 1) {
221 for (i = 0; i < *nargs; i++) {
265 int *hardcode, *nargs; local
273 nargs
523 int *nargs; local
[all...]
/freebsd-current/contrib/ntp/ntpdc/
H A Dntpdc.c1205 pcmd.nargs = 0;
1224 pcmd.nargs++;
1239 pcmd.nargs++;
1542 if (pcmd->nargs == 0) {
1641 if (pcmd->nargs == 0) {
1664 if (pcmd->nargs == 0) {
1697 if (pcmd->nargs == 0) {
1706 if (pcmd->nargs == 2) {
1742 if (pcmd->nargs == 0) {
1769 if (!pcmd->nargs) {
[all...]
H A Dntpdc_ops.c382 if ((pcmd->nargs == 0) ||
501 if ((pcmd->nargs == 0) ||
704 qitemlim = min(pcmd->nargs, COUNTOF(plist));
780 qitemlim = min(pcmd->nargs, COUNTOF(plist));
889 if (pcmd->nargs > 0) {
1358 while (pcmd->nargs > (size_t)items) {
1506 qitemlim = min(pcmd->nargs, COUNTOF(plist));
1583 for (items = 0; (size_t)items < pcmd->nargs; items++) {
1737 if ((pcmd->nargs == 0) ||
1879 for (res = 2; res < pcmd->nargs; re
[all...]
/freebsd-current/contrib/lua/src/
H A Dliolib.c567 int nargs = lua_gettop(L) - 1; local
570 if (nargs == 0) { /* no arguments? */
576 luaL_checkstack(L, nargs+LUA_MINSTACK, "too many arguments");
578 for (n = first; nargs-- && success; n++) {
661 int nargs = lua_gettop(L) - arg; local
663 for (; nargs--; arg++) {
/freebsd-current/contrib/wpa/wpa_supplicant/examples/
H A Ddpp-qrcode.py119 nargs='?')
/freebsd-current/contrib/unbound/util/
H A Dconfiglexer.lex37 * of the form variable: value1 value2 ... nargs is the number of values. */
38 #define YDVAR(nargs, var) \
39 num_args=(nargs); \
/freebsd-current/sbin/geom/core/
H A Dgeom.c397 gctl_ro_param(req, "nargs", sizeof(int), argc);
1016 int all, error, i, nargs; local
1018 nargs = gctl_get_int(req, "nargs");
1019 if (nargs == 1) {
1032 if (nargs > 0) {
1033 for (i = 0; i < nargs; i++) {
1231 int all, error, geoms, i, n, nargs, script; local
1239 nargs = gctl_get_int(req, "nargs");
[all...]
/freebsd-current/crypto/heimdal/lib/sl/
H A Dslc-gram.y495 int nargs = 0;
586 cprint(1, "args[%d].value = &opt.%s;\n", nargs++, s);
589 cprint(1, "args[%d].value = &help_flag;\n", nargs++);
590 cprint(1, "if(getarg(args, %d, argc, argv, &optidx))\n", nargs);
670 cprint(1, "arg_printusage (args, %d, \"%s\", \"%s\");\n", nargs,

Completed in 291 milliseconds

1234567