Home
last modified time | relevance | path

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

12345678910>>...45

/freebsd/sys/cam/ctl/
H A Dctl_frontend_iscsi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
83 #define ISCSI_BHS_OPCODE_INTERNAL 0x3e
88 SYSCTL_NODE(_kern_cam_ctl, OID_AUTO, iscsi, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
95 &ping_timeout, 5, "Interval between ping (NOP-Out) requests, in seconds");
101 &maxtags, 0, "Max number of requests queued by initiator");
109 } while (0)
113 if (debug > 0) { \
117 } while (0)
123 __func__, S->cs_initiator_addr, \
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_chksum.c9 * or https://opensource.org/licenses/CDDL-1.0.
23 * Copyright (c) 2021-2022 Tino Reichardt <milky-zfs@mcmilk.de>
54 static chksum_stat_t *chksum_stat_data = 0;
55 static int chksum_stat_cnt = 0;
59 * Sample output on i3-1005G1 System:
62 * edonr-generic 1278 1625 1769 1776 1783 1778 1771 1767
63 * skein-generic 548 594 613 623 621 623 621 486
64 * sha256-generic 255 270 281 278 279 281 283 283
65 * sha256-x64 288 310 316 317 318 317 317 316
66 * sha256-ssse3 304 342 351 355 356 357 356 356
[all …]
/freebsd/contrib/nvi/vi/
H A Dv_sentence.c1 /*-
36 * white-space characters.
39 * treats lines containing only white-space characters as empty lines.
45 * v_sentencef -- [count])
54 VCS cs; in v_sentencef() local
58 cs.cs_lno = vp->m_start.lno; in v_sentencef()
59 cs.cs_cno = vp->m_start.cno; in v_sentencef()
60 if (cs_init(sp, &cs)) in v_sentencef()
63 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; in v_sentencef()
67 * If in white-space, the next start of sentence counts as one. in v_sentencef()
[all …]
H A Dv_word.c1 /*-
25 * There are two types of "words". Bigwords are easy -- groups of anything
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
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.
70 * v_wordW -- [count]W
82 * v_wordw -- [count]w
[all …]
/freebsd/usr.bin/vgrind/
H A Dregexp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
48 /* STRNCMP - like strncmp except that we convert the
58 if (*s2 - makelower(*s1)) in STRNCMP()
59 return (*s2 - makelower(*s1)); in STRNCMP()
64 while (--len); in STRNCMP()
67 if (*s2 - *s1) in STRNCMP()
68 return (*s2 - *s1); in STRNCMP()
73 while (--len); in STRNCMP()
75 return(0); in STRNCMP()
[all …]
/freebsd/contrib/tcpdump/
H A Dcpack.c1 /*-
34 #include "netdissect-stdinc.h"
44 size_t misalignment = (size_t)(p - buf) % alignment; in nd_cpack_next_boundary()
46 if (misalignment == 0) 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) in nd_cpack_align_and_reserve() argument
62 next = nd_cpack_next_boundary(cs->c_buf, cs->c_next, wordsize); in nd_cpack_align_and_reserve()
65 if (next - cs->c_buf + wordsize > cs->c_len) in nd_cpack_align_and_reserve()
73 nd_cpack_advance(struct cpack_state *cs, const size_t toskip) in nd_cpack_advance() argument
76 if (cs->c_next - cs->c_buf + toskip > cs->c_len) in nd_cpack_advance()
[all …]
/freebsd/lib/libc/locale/
H A DmbrtocXX_iconv.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
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()
75 nl_langinfo_l(CODESET, locale), UTF_XX_INTERNAL) != 0) { in mbrtocXX_l()
76 cs->initialized = false; in mbrtocXX_l()
78 return (-1); in mbrtocXX_l()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dti-aemif.txt4 provide a glue-less interface to a variety of asynchronous memory devices like
11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf
12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf
13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf
17 - compatible: "ti,davinci-aemif"
18 "ti,keystone-aemif"
19 "ti,da850-aemif"
21 - reg: contains offset/length value for AEMIF control registers
24 - #address-cells: Must be 2. The partition number has to be encoded in the
25 first address cell and it may accept values 0..N-1
[all …]
H A Dst,stm32-fmc2-ebi-props.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christophe Kerello <christophe.kerello@foss.st.com>
11 - Marek Vasut <marex@denx.de>
14 st,fmc2-ebi-cs-transaction-type:
17 0: Asynchronous mode 1 SRAM/FRAM.
30 minimum: 0
33 st,fmc2-ebi-cs-cclk-enable:
[all …]
/freebsd/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.
35 /*-
75 * Mail Stop 258-6
99 #define CCDF_UNIFORM 0x02 /* use LCCD of sizes for uniform interleave */
100 #define CCDF_MIRROR 0x04 /* use mirroring */
101 #define CCDF_NO_OFFSET 0x08 /* do not leave space in front */
102 #define CCDF_LINUX 0x10 /* use Linux compatibility mode */
104 /* Mask of user-settable ccd flags. */
[all …]
/freebsd/lib/msun/src/
H A Ds_sincosf.c1 /*-
12 /* s_sincosf.c -- float version of s_sincos.c.
28 p1pio2 = 1*M_PI_2, /* 0x3FF921FB, 0x54442D18 */
29 p2pio2 = 2*M_PI_2, /* 0x400921FB, 0x54442D18 */
30 p3pio2 = 3*M_PI_2, /* 0x4012D97C, 0x7F3321D2 */
31 p4pio2 = 4*M_PI_2; /* 0x401921FB, 0x54442D18 */
34 sincosf(float x, float *sn, float *cs) in sincosf() argument
41 ix = hx & 0x7fffffff; in sincosf()
43 if (ix <= 0x3f490fda) { /* |x| ~<= pi/4 */ in sincosf()
44 if (ix < 0x39800000) { /* |x| < 2**-12 */ in sincosf()
[all …]
H A Ds_sincos.c1 /*-
24 sincos(double x, double *sn, double *cs) in sincos() argument
33 ix &= 0x7fffffff; in sincos()
34 if (ix <= 0x3fe921fb) { in sincos()
35 if (ix < 0x3e400000) { /* |x| < 2**-27 */ in sincos()
36 if ((int)x == 0) { /* Generate inexact. */ in sincos()
38 *cs = 1; in sincos()
42 __kernel_sincos(x, 0, 0, sn, cs); in sincos()
47 if (ix >= 0x7ff00000) { in sincos()
48 *sn = x - x; in sincos()
[all …]
H A Ds_sincosl.c1 /*-
2 * Copyright (c) 2007, 2010-2013 Steven G. Kargl
47 sincosl(long double x, long double *sn, long double *cs) in sincosl() argument
54 z.bits.sign = 0; in sincosl()
61 * If x = +-0 or x is a subnormal number, then sin(x) = x and in sincosl()
64 if (z.bits.exp == 0) { 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()
[all …]
/freebsd/usr.bin/tr/
H A Dcset.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
47 * cset_alloc --
53 struct cset *cs; in cset_alloc() local
55 if ((cs = malloc(sizeof(*cs))) == NULL) in cset_alloc()
57 cs->cs_root = NULL; in cset_alloc()
58 cs->cs_classes = NULL; in cset_alloc()
59 cs->cs_havecache = false; in cset_alloc()
60 cs->cs_invert = false; in cset_alloc()
61 return (cs); in cset_alloc()
[all …]
/freebsd/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
33 * Copyright (c) 1986-1991 by Sun Microsystems Inc.
62 * Disable RPC exponential back-off for FreeBSD.org systems.
90 static volatile uint32_t rpc_xid = 0;
152 int cu_sent; /* number of in-flight RPCs */
163 * NB: The rpch->cl_auth is initialized to null authentication.
[all …]
/freebsd/lib/libiconv_modules/ISO2022/
H A Dcitrus_iso2022.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
52 /* ----------------------------------------------------------------------
59 * ASCII (ESC ( B) 00000000 00000000 00000000 0xxxxxxx
60 * iso-8859-1 (ESC , A) 00000000 00000000 00000000 1xxxxxxx
61 * 94 charset (ESC ( F) 0fffffff 00000000 00000000 0xxxxxxx
62 * 94 charset (ESC ( M F) 0fffffff 1mmmmmmm 00000000 0xxxxxxx
63 * 96 charset (ESC , F) 0fffffff 00000000 00000000 1xxxxxxx
64 * 96 charset (ESC , M F) 0fffffff 1mmmmmmm 00000000 1xxxxxxx
65 * 94x94 charset (ESC $ ( F) 0fffffff 00000000 0xxxxxxx 0xxxxxxx
[all …]
/freebsd/usr.sbin/ppp/
H A Dslcompress.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
37 * - Initial distribution.
85 register struct cstate *tstate = comp->tstate; in sl_compress_init()
87 memset(comp, '\0', sizeof *comp); in sl_compress_init()
88 for (i = max_state; i > 0; --i) { in sl_compress_init()
90 tstate[i].cs_next = &tstate[i - 1]; in sl_compress_init()
92 tstate[0].cs_next = &tstate[max_state]; in sl_compress_init()
93 tstate[0].cs_id = 0; in sl_compress_init()
94 comp->last_cs = &tstate[0]; in sl_compress_init()
[all …]
/freebsd/sys/net/
H A Dslcompress.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
37 * - Initial distribution.
53 #define INCR(counter) ++comp->counter;
65 struct cstate *tstate = comp->tstate; in sl_compress_init()
67 if (max_state == -1) { in sl_compress_init()
68 max_state = MAX_STATES - 1; in sl_compress_init()
72 bzero((char *)comp->tstate, sizeof(comp->tstate)); in sl_compress_init()
73 bzero((char *)comp->rstate, sizeof(comp->rstate)); in sl_compress_init()
75 for (i = max_state; i > 0; --i) { in sl_compress_init()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dspi-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mark Brown <broonie@kernel.org>
20 pattern: "^spi(@.*|-([0-9]|[1-9][0-9]+))?$"
22 "#address-cells":
23 enum: [0, 1]
25 "#size-cells":
26 const: 0
[all …]
/freebsd/lib/libc/regex/
H A Dregex2.h1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
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
76 #define OPRMASK 0xf8000000L
77 #define OPDMASK 0x07ffffffL
84 #define OEND (1L<<OPSHIFT) /* endmarker - */
[all …]
H A Dregcomp.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
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? */
104 #define PFLAG_LEGACY_ESC 0x00000001
[all …]
/freebsd/lib/libnetgraph/
H A Dmsg.c4 * Copyright (c) 1996-1999 Whistle Communications, Inc.
22 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
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
70 memset(&msg, 0, sizeof(msg)); in NgSendMsg()
79 if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0) in NgSendMsg()
80 return (-1); in NgSendMsg()
89 NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...) in NgSendAsciiMsg() argument
[all …]
/freebsd/contrib/nvi/regex/
H A Dregcomp.c3 /*-
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);
101 static int freezeset(struct parse *p, cset *cs);
[all …]
/freebsd/usr.sbin/jail/
H A Dcommand.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
65 int paralimit = -1;
92 if (error == 0 && setid == CPUSET_INVALID) in root_cpuset_id()
93 error = cpuset_getid(CPU_LEVEL_ROOT, CPU_WHICH_PID, -1, &setid); in root_cpuset_id()
94 if (error != 0) in root_cpuset_id()
108 if (paralimit == 0) { in next_command()
109 if (j->flags & JF_FROM_RUNQ) in next_command()
115 j->flags &= ~JF_FROM_RUNQ; in next_command()
116 create_failed = (j->flags & (JF_STOP | JF_FAILED)) == JF_FAILED; in next_command()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dfsl-ls1043a-rdb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Freescale Layerscape-1043A family SoC.
5 * Copyright 2014-2015 Freescale Semiconductor, Inc.
11 /dts-v1/;
12 #include "fsl-ls1043a.dtsi"
16 compatible = "fsl,ls1043a-rdb", "fsl,ls1043a";
26 stdout-path = "serial0:115200n8";
35 reg = <0x40>;
36 shunt-resistor = <1000>;
41 reg = <0x4c>;
[all …]

12345678910>>...45