Home
last modified time | relevance | path

Searched +full:cmd +full:- +full:cnt +full:- +full:name (Results 1 – 25 of 215) sorted by relevance

123456789

/freebsd/crypto/openssl/crypto/conf/
H A Dconf_ssl.c2 * Copyright 2015-2021 The OpenSSL Project Authors. All Rights Reserved.
23 /* Name of this set of commands */
24 char *name; member
33 char *cmd; member
49 OPENSSL_free(tname->name); in ssl_module_free()
50 for (j = 0; j < tname->cmd_count; j++) { in ssl_module_free()
51 OPENSSL_free(tname->cmds[j].cmd); in ssl_module_free()
52 OPENSSL_free(tname->cmds[j].arg); in ssl_module_free()
54 OPENSSL_free(tname->cmds); in ssl_module_free()
63 size_t i, j, cnt; in ssl_module_init() local
[all …]
/freebsd/usr.bin/procstat/
H A Dprocstat.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
55 void (*cmd)(struct procstat *, struct kinfo_proc *); member
73 * - usage field is abused to hold the pointer to the function
103 { "fd", "files", "[-C]", &procstat_files, &cmdopt_files,
105 { "file", "files", "[-C]", &procstat_files, &cmdopt_files,
109 { "kstack", "kstack", "[-v]", &procstat_kstack, &cmdopt_verbose,
123 { "rusage", "rusage", "[-Ht]", &procstat_rusage, &cmdopt_rusage,
127 { "signal", "signals", "[-n]", &procstat_sigs, &cmdopt_signals,
131 { "tsignal", "thread_signals", "[-n]", &procstat_threads_sigs,
[all …]
/freebsd/sys/dev/mmc/
H A Dmmcsd.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
35 * Group. This Simplified Specification is provided on a non-confidential
38 * Association, SD Group, SD-3C LLC or other third parties.
44 * is provided "AS-IS" without any representations or warranties of any
45 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD
47 * right of the SD Group, SD-3C LLC, the SD Card Association or any third
50 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing
51 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC
53 * information, know-how or other confidential information to any third party.
[all …]
/freebsd/share/doc/usd/12.vi/viapwh/
H A Dvi.apwh.ms16 .\" 4. Neither the name of the University nor the names of its contributors
67 Many \fBvi\fR commands have an optional count. \fB[cnt]\fR
72 \fB<character [-character]>\fR means that the character or
76 the \fBescape\fR key is to be typed. \fB<a-z>\fR means that a
119 that you are using an HP 2621 terminal, whose termcap name is ``2621''.
130 semi-automatically done when you log in.
138 tset \-s \-d 2621 > tset$$
146 type from an on-line list.
156 semi-automatically done when you log in.
164 tset \-s \-d 2621 > tset$$
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_argv.c1 /*-
37 * argv_init --
48 exp->argsoff = 0; in argv_init()
51 excp->argv = exp->args; in argv_init()
52 excp->argc = exp->argsoff; in argv_init()
57 * argv_exp0 --
63 argv_exp0(SCR *sp, EXCMD *excp, CHAR_T *cmd, size_t cmdlen) in argv_exp0() argument
69 MEMCPY(exp->args[exp->argsoff]->bp, cmd, cmdlen); in argv_exp0()
70 exp->args[exp->argsoff]->bp[cmdlen] = '\0'; in argv_exp0()
71 exp->args[exp->argsoff]->len = cmdlen; in argv_exp0()
[all …]
H A Dex_global.c1 /*-
32 * ex_global -- [line [,line]] g[lobal][!] /pattern/ [commands]
41 cmdp, FL_ISSET(cmdp->iflags, E_C_FORCE) ? V : GLOBAL)); in ex_global()
45 * ex_v -- [line [,line]] v /pattern/ [commands]
57 * ex_g_setup --
61 ex_g_setup(SCR *sp, EXCMD *cmdp, enum which cmd) in ex_g_setup() argument
72 int cnt, delim, eval; in ex_g_setup() local
78 msgq_wstr(sp, M_ERR, cmdp->cmd->name, in ex_g_setup()
84 * Skip leading white space. Historic vi allowed any non-alphanumeric in ex_g_setup()
87 if (cmdp->argc == 0) in ex_g_setup()
[all …]
H A Dex.c1 /*-
40 * ex --
56 gp = sp->gp; in ex()
64 while ((mp = SLIST_FIRST(gp->msgq)) != NULL) { in ex()
65 gp->scr_msg(sp, mp->mtype, mp->buf, mp->len); in ex()
66 SLIST_REMOVE_HEAD(gp->msgq, q); in ex()
67 free(mp->buf); in ex()
71 /* If reading from a file, errors should have name and line info. */ in ex()
73 gp->excmd.if_lno = 1; in ex()
74 gp->excmd.if_name = "script"; in ex()
[all …]
H A Dex_screen.c1 /*-
26 * ex_bg -- :bg
38 * ex_fg -- :fg [file]
50 if (vs_fg(sp, &nsp, cmdp->argc ? cmdp->argv[0]->bp : NULL, newscreen)) in ex_fg()
55 sp->nextdisp = nsp; in ex_fg()
62 * ex_resize -- :resize [+-]rows
72 switch (FL_ISSET(cmdp->iflags, in ex_resize()
84 ex_emsg(sp, cmdp->cmd->usage, EXM_USAGE); in ex_resize()
87 return (vs_resize(sp, cmdp->count, adj)); in ex_resize()
91 * ex_sdisplay --
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/
H A Dlibzfs_compat.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
18 * information: Portions Copyright [yyyy] [name of copyright owner]
45 execvPe(const char *name, const char *path, char * const *argv, in execvPe() argument
49 size_t cnt, lp, ln; in execvPe() local
57 /* If it's an absolute or relative path name, it's easy. */ in execvPe()
58 if (strchr(name, '/')) { in execvPe()
59 bp = name; in execvPe()
65 /* If it's an empty path name, fail in the usual POSIX way. */ in execvPe()
66 if (*name == '\0') { in execvPe()
[all …]
/freebsd/contrib/libedit/
H A Dkeymacro.c3 /*-
18 * 3. Neither the name of the University nor the names of its contributors
46 * the extended-key map.
48 * An extended-key (key) is a sequence of keystrokes introduced
51 * el->el_keymacro.map)
52 * to convert these extended-key sequences into input strs
58 * are in el->el_keymacro.map, adding the key "abc" will cause
62 * -------------
73 * The Nodes of the el->el_keymacro.map. The el->el_keymacro.map is a
108 el->el_keymacro.buf = el_calloc(KEY_BUFSIZ, in keymacro_init()
[all …]
H A Dparse.c3 /*-
18 * 3. Neither the name of the University nor the names of its contributors
64 const wchar_t *name; member
106 return -1; in el_wparse()
114 l = (size_t)(ptr - argv[0]); in el_wparse()
121 l = (size_t)el_match(el->el_prog, tprog); in el_wparse()
128 for (i = 0; cmds[i].name != NULL; i++) in el_wparse()
129 if (wcscmp(cmds[i].name, ptr) == 0) { in el_wparse()
131 return -i; in el_wparse()
133 return -1; in el_wparse()
[all …]
/freebsd/crypto/heimdal/appl/ftp/ftpd/
H A Dftpd.c17 * 4. Neither the name of the University nor the names of its contributors
78 int pdata = -1; /* for passive mode */
97 #define AUTH_OTP (1 << 1) /* passwords are one-time */
117 #define LOGCMD(cmd, file) \ argument
119 syslog(LOG_INFO,"%s %s%s", cmd, \
121 #define LOGCMD2(cmd, file1, file2) \ argument
123 syslog(LOG_INFO,"%s %s%s %s%s", cmd, \
126 #define LOGBYTES(cmd, file, cnt) \ argument
128 if (cnt == (off_t)-1) \
129 syslog(LOG_INFO,"%s %s%s", cmd, \
[all …]
/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_iter.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
18 * information: Portions Copyright [yyyy] [name of copyright owner]
73 zpool_handle_t *l = ((zpool_node_t *)larg)->zn_handle; in zpool_compare()
74 zpool_handle_t *r = ((zpool_node_t *)rarg)->zn_handle; in zpool_compare()
91 new->zn_handle = zhp; in add_pool()
92 uu_avl_node_init(new, &new->zn_avlnode, zlp->zl_pool); in add_pool()
94 node = uu_avl_find(zlp->zl_avl, new, NULL, &idx); in add_pool()
96 if (zlp->zl_proplist && in add_pool()
97 zpool_expand_proplist(zhp, zlp->zl_proplist, in add_pool()
[all …]
/freebsd/sys/powerpc/powerpc/
H A Dmem.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
21 * 3. Neither the name of the University nor the names of its contributors
97 vm_size_t cnt; in memrw() local
100 cnt = 0; in memrw()
102 orig_resid = uio->uio_resid; in memrw()
104 while (uio->uio_resid > 0 && !error) { in memrw()
105 iov = uio->uio_iov; in memrw()
106 if (iov->iov_len == 0) { in memrw()
107 uio->uio_iov++; in memrw()
[all …]
/freebsd/contrib/libfido2/src/
H A Dnetlink.c3 * Use of this source code is governed by a BSD-style
5 * SPDX-License-Identifier: BSD-2-Clause
87 return (&m->u.nlmsg); in nlmsg_ptr()
93 return (m->u.nlmsg.nlmsg_len); in nlmsg_len()
99 return (m->u.nlmsg.nlmsg_type); in nlmsg_type()
108 if (len > SIZE_MAX - sizeof(*m) || in nlmsg_new()
113 m->siz = siz; in nlmsg_new()
114 m->len = len; in nlmsg_new()
115 m->ptr = m->payload; in nlmsg_new()
116 m->u.nlmsg.nlmsg_type = type; in nlmsg_new()
[all …]
/freebsd/libexec/ftpd/
H A Dftpd.c
/freebsd/usr.sbin/binmiscctl/
H A Dbinmiscctl.c1 /*-
43 enum cmd { enum
62 const char *name; member
72 "<name> --interpreter <path_and_arguments> \\\n"
73 "\t\t--magic <magic_bytes> [--mask <mask_bytes>] \\\n"
74 "\t\t--size <magic_size> [--offset <magic_offset>] \\\n"
75 "\t\t[--set-enabled] \\\n"
76 "\t\t[--pre-open]"
83 "<name>"
90 "<name>"
[all …]
/freebsd/sys/netgraph/
H A Dng_source.c5 /*-
25 * PURPOSE, OR NON-INFRINGEMENT. SANDVINE DOES NOT WARRANT, GUARANTEE, OR
52 * self-re-enqueue packets (e.g. the if_bge driver could reuse the same
120 struct ng_source_embed_cnt_info *cnt,
260 .name = NG_SOURCE_NODE_TYPE,
285 sc->node = node; in ng_source_constructor()
286 mbufq_init(&sc->snd_queue, 2048); in ng_source_constructor()
287 ng_callout_init(&sc->intr_ch); in ng_source_constructor()
296 ng_source_newhook(node_p node, hook_p hook, const char *name) in ng_source_newhook() argument
300 if (strcmp(name, NG_SOURCE_HOOK_INPUT) == 0) { in ng_source_newhook()
[all …]
/freebsd/usr.bin/killall/
H A Dkillall.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
56 fprintf(stderr, "usage: killall [-delmsqvz] [-help] [-I] [-j jail]\n"); in usage()
58 " [-u user] [-t tty] [-c cmd] [-SIGNAL] [cmd]...\n"); in usage()
68 int cnt; in printsig() local
71 for (cnt = NSIG, p = sys_signame + 1; --cnt; ++p) { in printsig()
73 if (offset >= 75 && cnt > 1) { in printsig()
82 nosig(char *name) in nosig() argument
85 warnx("unknown signal %s; valid signals:", name); in nosig()
104 char *cmd = NULL; in main() local
[all …]
/freebsd/sys/dev/mxge/
H A Dif_mxge.c2 SPDX-License-Identifier: BSD-2-Clause
4 Copyright (c) 2006-2013, Myricom Inc.
13 2. Neither the name of the Myricom Inc, nor the names of its
145 static int mxge_send_cmd(mxge_softc_t *sc, uint32_t cmd, mxge_cmd_t *data);
161 device_set_desc(dev, "Myri10G-PCIE-8A"); in mxge_probe()
164 device_set_desc(dev, "Myri10G-PCIE-8B"); in mxge_probe()
167 device_set_desc(dev, "Myri10G-PCIE-8??"); in mxge_probe()
184 sc->wc = 1; in mxge_enable_wc()
185 len = rman_get_size(sc->mem_res); in mxge_enable_wc()
186 err = pmap_change_attr((vm_offset_t) sc->sram, in mxge_enable_wc()
[all …]
/freebsd/sys/dev/iicbus/controller/qcom/
H A Dgeni_iic.c2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2025 Poul-Henning Kamp <phk@FreeBSD.org>
29 * The GENI is actually a multi-protocol serial controller, so a lot of
120 #define ITER_MACRO(name, offset) name = offset, argument
125 #define RD(sc, reg) bus_read_4((sc)->regs_res, reg)
126 #define WR(sc, reg, val) bus_write_4((sc)->regs_res, reg, val)
131 device_printf(sc->dev, "Register Dump\n"); in geni_dump_regs()
132 #define DUMP_MACRO(name, offset) \ in geni_dump_regs() argument
133 device_printf(sc->dev, \ in geni_dump_regs()
134 " %08x %04x " #name "\n", \ in geni_dump_regs()
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dx509_lu.c2 * Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.
25 ret->method = method; in X509_LOOKUP_new()
26 if (method->new_item != NULL && method->new_item(ret) == 0) { in X509_LOOKUP_new()
37 if ((ctx->method != NULL) && (ctx->method->free != NULL)) in X509_LOOKUP_free()
38 (*ctx->method->free) (ctx); in X509_LOOKUP_free()
44 return CRYPTO_THREAD_write_lock(xs->lock); in X509_STORE_lock()
49 return CRYPTO_THREAD_read_lock(xs->lock); in ossl_x509_store_read_lock()
54 return CRYPTO_THREAD_unlock(xs->lock); in X509_STORE_unlock()
59 if (ctx->method == NULL) in X509_LOOKUP_init()
61 if (ctx->method->init != NULL) in X509_LOOKUP_init()
[all …]
/freebsd/sys/dev/iavf/
H A Diavf_txrx_iflib.c1 /* SPDX-License-Identifier: BSD-3-Clause */
15 * 3. Neither the name of the Intel Corporation nor the names of its
97 * iavf_is_tx_desc_done - Check if a Tx descriptor is ready
107 return (((txr->tx_base[idx].cmd_type_offset_bsz >> IAVF_TXD_QW1_DTYPE_SHIFT) in iavf_is_tx_desc_done()
113 * iavf_tso_detect_sparse - detect TSO packets with too many segments
134 if (nsegs <= IAVF_MAX_TX_SEGS-2) in iavf_tso_detect_sparse()
136 segsz = pi->ipi_tso_segsz; in iavf_tso_detect_sparse()
139 hlen = pi->ipi_ehdrlen + pi->ipi_ip_hlen + pi->ipi_tcp_hlen; in iavf_tso_detect_sparse()
140 tsolen = pi->ipi_len - hlen; in iavf_tso_detect_sparse()
146 if (count > IAVF_MAX_TX_SEGS - 2) in iavf_tso_detect_sparse()
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dmixer.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2009 Ariff Abdullah <ariff@FreeBSD.org>
5 * Portions Copyright (c) Ryan Beasley <ryan.beasley@gmail.com> - GSoC 2006
65 char name[MIXER_NAMELEN]; member
117 return snddev->mixer_dev; in mixer_get_devt()
129 return -1; in mixer_lookup()
134 snd_mtxunlock((x)->lock); \
139 snd_mtxlock((x)->lock); \
152 if (mtx_owned(m->lock)) in mixer_set_softpcmvol()
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DOSSL_trace_set_channel.31 .\" -*- mode: troff; coding: utf-8 -*-
58 .TH OSSL_TRACE_SET_CHANNEL 3ossl 2025-09-30 3.5.4 OpenSSL
63 .SH NAME
65 OSSL_trace_set_callback, OSSL_trace_cb \- Enabling trace output
71 \& typedef size_t (*OSSL_trace_cb)(const char *buf, size_t cnt,
72 \& int category, int cmd, void *data);
87 Every category can be enabled individually by attaching a so-called
101 can be used for producing free-text trace output.
122 dedicated BIO object, the so-called \fIcallback trace channel\fR.
138 It receives a text buffer \fIbuf\fR with \fIcnt\fR bytes of text, as well as
[all …]

123456789