Home
last modified time | relevance | path

Searched +full:cs +full:- +full:out (Results 1 – 25 of 1013) sorted by relevance

12345678910>>...41

/freebsd-src/sys/rpc/
H A Dclnt_dg.c3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
11 * - Redistributions of source code must retain the above copyright notice,
13 * - Redistributions in binary form must reproduce the above copyright notice,
16 * - Neither the name of Sun Microsystems, Inc. nor the names of its
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 * Copyright (c) 1986-1991 by Sun Microsystems Inc.
62 * Disable RPC exponential back-off for FreeBSD.org systems.
152 int cu_sent; /* number of in-flight RPCs */
163 * NB: The rpch->cl_auth is initialized to null authentication.
[all …]
/freebsd-src/sys/cam/ctl/
H A Dctl_frontend_iscsi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
95 &ping_timeout, 5, "Interval between ping (NOP-Out) requests, in seconds");
123 __func__, S->cs_initiator_addr, \
124 S->cs_initiator_name, ## __VA_ARGS__); \
132 S->cs_initiator_addr, \
133 S->cs_initiator_name, ## __VA_ARGS__); \
137 #define CFISCSI_SESSION_LOCK(X) mtx_lock(&X->cs_lock)
138 #define CFISCSI_SESSION_UNLOCK(X) mtx_unlock(&X->cs_lock)
[all …]
/freebsd-src/tools/tools/nanobsd/
H A Dlegacy.sh3 # Copyright (c) 2005 Poul-Henning Kamp All rights reserved.
25 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 [ -n "$NANO_SECTS" ] || NANO_SECTS=63
32 [ -n "$NANO_HEADS" ] || NANO_HEADS=16
44 cs = $3 * $4
47 cyl = int ($1 / cs)
51 dsl = int (($7 + cs - 1) / cs)
57 csl = int (($6 + cs
[all...]
/freebsd-src/lib/libnetgraph/
H A Dmsg.c4 * Copyright (c) 1996-1999 Whistle Communications, Inc.
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
27 * RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING
32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
55 static int NgDeliverMsg(int cs, const char *path,
59 * Send a message to a node using control socket node "cs".
60 * Returns -1 if error and sets errno appropriately.
64 NgSendMsg(int cs, const char *path, in NgSendMsg() argument
79 if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0) in NgSendMsg()
80 return (-1); in NgSendMsg()
[all …]
H A Dsock.c4 * Copyright (c) 1996-1999 Whistle Communications, Inc.
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
27 * RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING
32 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
56 * Returns -1 if error and sets errno.
62 int cs = -1; /* control socket */ in NgMkSockNode() local
63 int ds = -1; /* data socket */ in NgMkSockNode()
73 if ((cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL)) < 0) { in NgMkSockNode()
81 cs = socket(AF_NETGRAPH, SOCK_DGRAM, NG_CONTROL); in NgMkSockNode()
82 if (cs >= 0) in NgMkSockNode()
[all …]
H A Dnetgraph.31 .\" Copyright (c) 1996-1999 Whistle Communications, Inc.
19 .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
24 .\" RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING
29 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
62 .Fn NgNameNode "int cs" "const char *path" "const char *fmt" ...
65 .Fa "int cs" "const char *path" "int cookie" "int cmd" "const void *arg"
69 .Fn NgSendAsciiMsg "int cs" "const char *path" "const char *fmt" ...
72 .Fa "int cs" "const char *path" "struct ng_mesg *msg" "const void *arg"
76 .Fn NgRecvMsg "int cs" "struct ng_mesg *rep" "size_t replen" "char *path"
78 .Fn NgAllocRecvMsg "int cs" "struct ng_mesg **rep" "char *path"
[all …]
/freebsd-src/contrib/blocklist/bin/
H A Dconf.c3 /*-
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
76 ((const struct sockaddr_if *)(const void *)(a))->sif_name
80 #define FSTAR -1
81 #define FEQUAL -2
108 goto out; in conf_getnum()
120 return -1; in conf_getnum()
123 return -1; in conf_getnum()
124 out: in conf_getnum()
127 return -1; in conf_getnum()
[all …]
/freebsd-src/contrib/nvi/regex/
H A Dregex2.h3 /*-
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
39 * First, the stuff that ends up in the outside-world include file
45 = struct re_guts *re_g; // none of your business :-)
66 * - OPLUS_ and O_PLUS are *inside* the loop they create.
67 * - OQUEST_ and O_QUEST are *outside* the bypass they create.
68 * - OCH_ and O_CH are *outside* the multi-way branch they create, while
80 #define OEND (1) /* endmarker - */
82 #define OBOL (3) /* left anchor - */
83 #define OEOL (4) /* right anchor - */
[all …]
H A Dregcomp.c3 /*-
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
62 RCHAR_T *end; /* end of string (-> NUL normally) */
70 # define NPAREN 10 /* we need to remember () 1-9 for back refs */
71 sopno pbegin[NPAREN]; /* -> ( ([0] unused) */
72 sopno pend[NPAREN]; /* -> ) ([0] unused) */
88 static void p_b_term(struct parse *p, cset *cs);
89 static void p_b_cclass(struct parse *p, cset *cs);
90 static void p_b_eclass(struct parse *p, cset *cs);
100 static void freeset(struct parse *p, cset *cs);
[all …]
/freebsd-src/contrib/llvm-project/llvm/lib/Support/
H A Dregex2.h1 /*-
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
58 * - OPLUS_ and O_PLUS are *inside* the loop they create.
59 * - OQUEST_ and O_QUEST are *outside* the bypass they create.
60 * - OCH_ and O_CH are *outside* the multi-way branch they create, while
78 #define OEND (1LU<<OPSHIFT) /* endmarker - */
80 #define OBOL (3LU<<OPSHIFT) /* left anchor - */
81 #define OEOL (4LU<<OPSHIFT) /* right anchor - */
82 #define OANY (5LU<<OPSHIFT) /* . - */
96 #define OBOW (19LU<<OPSHIFT) /* begin word - */
[all …]
/freebsd-src/usr.bin/truss/
H A Dsetup.c1 /*-
2 * SPDX-License-Identifier: BSD-4-Clause
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36 * Various setup functions for truss. Not the cleanest-written code,
128 { "FreeBSD a.out", &freebsd32 },
131 { "FreeBSD a.out", &freebsd },
153 if (pid == - in setup_and_wait()
[all...]
/freebsd-src/lib/libc/regex/
H A Dregex2.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
32 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * First, the stuff that ends up in the outside-world include file
43 = struct re_guts *re_g; // none of your business :-)
64 * - OPLUS_ and O_PLUS are *inside* the loop they create.
65 * - OQUEST_ and O_QUEST are *outside* the bypass they create.
66 * - OCH_ and O_CH are *outside* the multi-way branch they create, while
84 #define OEND (1L<<OPSHIFT) /* endmarker - */
86 #define OBOL (3L<<OPSHIFT) /* left anchor - */
[all …]
H A Dregcomp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
37 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
62 * Branching context, used to keep track of branch state for all of the branch-
66 * also for whether we're in a sub-expression or not.
85 const char *end; /* end of string (-> NUL normally) */
93 # define NPAREN 10 /* we need to remember () 1-9 for back refs */
94 sopno pbegin[NPAREN]; /* -> ( ([0] unused) */
95 sopno pend[NPAREN]; /* -> ) ([0] unused) */
98 int pflags; /* other parsing flags -- legacy escapes? */
[all …]
/freebsd-src/sys/net/
H A Dslcompress.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * - Initial distribution.
53 #define INCR(counter) ++comp->counter;
65 struct cstate *tstate = comp->tstate; in sl_compress_init()
67 if (max_state == - in sl_compress_init()
154 struct cstate *cs = comp->last_cs->cs_next; sl_compress_tcp() local
456 struct cstate *cs; sl_uncompress_tcp_core() local
[all...]
/freebsd-src/lib/libc/locale/
H A DmbrtocXX_iconv.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
61 _ConversionState *cs; in mbrtocXX_l() local
68 ps = &(XLOCALE_CTYPE(locale)->mbrtocXX); in mbrtocXX_l()
69 cs = (_ConversionState *)ps; in mbrtocXX_l()
70 handle = &cs->iconv; in mbrtocXX_l()
73 if (s == NULL || !cs->initialized) { in mbrtocXX_l()
76 cs->initialized = false; in mbrtocXX_l()
78 return (-1); in mbrtocXX_l()
[all …]
H A DcXXrtomb_iconv.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
57 _ConversionState *cs; in cXXrtomb_l() local
65 ps = &(XLOCALE_CTYPE(locale)->cXXrtomb); in cXXrtomb_l()
66 cs = (_ConversionState *)ps; in cXXrtomb_l()
67 handle = &cs->iconv; in cXXrtomb_l()
70 if (s == NULL || !cs->initialized) { in cXXrtomb_l()
73 cs->initialized = false; in cXXrtomb_l()
75 return (-1); in cXXrtomb_l()
[all …]
H A Dmbrtoc16.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
41 _Char16State *cs; in mbrtoc16_l() local
47 ps = &(XLOCALE_CTYPE(locale)->mbrtoc16); in mbrtoc16_l()
48 cs = (_Char16State *)ps; in mbrtoc16_l()
56 cs->trail_surrogate = 0; in mbrtoc16_l()
57 return (mbrtoc32_l(NULL, s, n, &cs->c32_mbstate, locale)); in mbrtoc16_l()
61 if (cs->trail_surrogate >= 0xdc00 && cs->trail_surrogate <= 0xdfff) { in mbrtoc16_l()
62 *pc16 = cs->trail_surrogate; in mbrtoc16_l()
[all …]
/freebsd-src/contrib/nvi/vi/
H A Dv_word.c1 /*-
25 * There are two types of "words". Bigwords are easy -- groups of anything
30 * word. Otherwise, figure out if the next character is in a different group.
34 * same as "eeee" -- in particular, single character words, and commands that
36 * you have to resolve the cursor after each search so that the look-ahead to
37 * figure out what type of "word" the cursor is in will be correct.
39 * Empty lines, and lines that consist of only white-space characters count
50 * One historic note -- in the original vi, the 'w', 'W' and 'B' commands
56 * command, go absolutely nuts. If the lines contained only white-space
60 * implementation treats all of these cases as a single white-space word.
[all …]
/freebsd-src/contrib/tcpdump/
H A Dcpack.c1 /*-
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
34 #include "netdissect-stdinc.h"
44 size_t misalignment = (size_t)(p - buf) % alignment; in nd_cpack_next_boundary()
49 return p + (alignment - misalignment); in nd_cpack_next_boundary()
57 nd_cpack_align_and_reserve(struct cpack_state *cs, size_t wordsize)
62 next = nd_cpack_next_boundary(cs->c_buf, cs->c_nex in nd_cpack_align_and_reserve()
59 nd_cpack_align_and_reserve(struct cpack_state * cs,size_t wordsize) nd_cpack_align_and_reserve() argument
75 nd_cpack_advance(struct cpack_state * cs,const size_t toskip) nd_cpack_advance() argument
85 nd_cpack_init(struct cpack_state * cs,const uint8_t * buf,size_t buflen) nd_cpack_init() argument
98 nd_cpack_uint64(netdissect_options * ndo,struct cpack_state * cs,uint64_t * u) nd_cpack_uint64() argument
114 nd_cpack_int64(netdissect_options * ndo,struct cpack_state * cs,int64_t * u) nd_cpack_int64() argument
130 nd_cpack_uint32(netdissect_options * ndo,struct cpack_state * cs,uint32_t * u) nd_cpack_uint32() argument
146 nd_cpack_int32(netdissect_options * ndo,struct cpack_state * cs,int32_t * u) nd_cpack_int32() argument
162 nd_cpack_uint16(netdissect_options * ndo,struct cpack_state * cs,uint16_t * u) nd_cpack_uint16() argument
178 nd_cpack_int16(netdissect_options * ndo,struct cpack_state * cs,int16_t * u) nd_cpack_int16() argument
194 nd_cpack_uint8(netdissect_options * ndo,struct cpack_state * cs,uint8_t * u) nd_cpack_uint8() argument
209 nd_cpack_int8(netdissect_options * ndo,struct cpack_state * cs,int8_t * u) nd_cpack_int8() argument
[all...]
/freebsd-src/sys/dev/gpio/
H A Dgpiospi.c1 /*-
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
74 device_set_desc(dev, "GPIO SPI bit-banging driver"); in gpio_spi_probe()
83 d = sc->sc_freq / 1000000; in gpio_delay()
97 sc->sc_dev = dev; in gpio_spi_attach()
98 sc->sc_busdev = device_get_parent(dev); in gpio_spi_attach()
104 sc->sc_sclk = value & 0xff; in gpio_spi_attach()
109 sc->sc_mosi = value & 0xff; in gpio_spi_attach()
115 sc->sc_miso = value & 0xff; in gpio_spi_attach()
120 sc->sc_cs in gpio_spi_attach()
192 gpio_spi_chip_activate(struct gpio_spi_softc * sc,int cs) gpio_spi_chip_activate() argument
221 gpio_spi_chip_deactivate(struct gpio_spi_softc * sc,int cs) gpio_spi_chip_deactivate() argument
265 gpio_spi_txrx(struct gpio_spi_softc * sc,int cs,int mode,uint8_t data) gpio_spi_txrx() argument
267 uint32_t mask, out = 0; gpio_spi_txrx() local
[all...]
/freebsd-src/usr.sbin/ppp/
H A Dslcompress.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * - Initial distribution.
85 register struct cstate *tstate = comp->tstate; in sl_compress_init()
88 for (i = max_state; i > 0; -- in sl_compress_init()
161 register struct cstate *cs = comp->last_cs->cs_next; sl_compress_tcp() local
434 register struct cstate *cs; sl_uncompress_tcp() local
[all...]
/freebsd-src/lib/msun/src/
H A Ds_sincosl.c1 /*-
2 * Copyright (c) 2007, 2010-2013 Steven G. Kargl
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
47 sincosl(long double x, long double *sn, long double *cs) in sincosl() argument
61 * If x = +-0 or x is a subnormal number, then sin(x) = x and in sincosl()
66 *cs = 1; in sincosl()
68 __kernel_sincosl(x, 0, 0, sn, cs); in sincosl()
74 *sn = x - x; in sincosl()
75 *cs = x - x; in sincosl()
84 __kernel_sincosl(y[0], y[1], 1, sn, cs); in sincosl()
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm64/hisilicon/
H A Dhi6220-coresight.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
14 compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
17 clock-names = "apb_pclk";
19 out-ports {
22 remote-endpoint =
28 in-ports {
31 remote-endpoint =
39 compatible = "arm,coresight-tmc", "arm,primecell";
42 clock-names = "apb_pclk";
44 in-ports {
[all …]
/freebsd-src/usr.bin/hexdump/
H A Dparse.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
42 FU *endfu; /* format at end-of-data */
84 nextfs = &tfs->nextfs; in add()
85 nextfu = &tfs->nextfu; in add()
98 nextfu = &tfu->nextfu; in add()
99 tfu->reps = 1; in add()
107 tfu->reps = atoi(savep); in add()
108 tfu->flags = F_SETREP; in add()
[all …]
/freebsd-src/sys/geom/
H A Dgeom_ccd.c1 /*-
2 * SPDX-License-Identifier: (BSD-2-Clause AND BSD-3-Clause)
4 * Copyright (c) 2003 Poul-Henning Kamp.
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
35 /*-
65 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
75 * Mail Stop 258-6
104 /* Mask of user-settable ccd flags. */
109 * Computed at boot time to speed irregular-interleave lookups.
113 * remaining disks up to the size of the next-smallest (second group),
[all …]

12345678910>>...41