Home
last modified time | relevance | path

Searched refs:parity (Results 1 – 25 of 111) sorted by relevance

12345

/freebsd/usr.bin/tip/tip/
H A Dcu.c45 int ch, i, parity; in cumain() local
54 parity = 0; /* none */ in cumain()
108 if (parity != 0) in cumain()
109 parity = 0; /* -e -o */ in cumain()
111 parity = 1; /* odd */ in cumain()
114 if (parity != 0) in cumain()
115 parity = 0; /* -o -e */ in cumain()
117 parity = -1; /* even */ in cumain()
162 switch (parity) { in cumain()
H A Dtip.c598 char *parity; in setparity() local
603 parity = value(PARITY); in setparity()
604 if (equal(parity, "none")) { in setparity()
612 if (equal(parity, "odd")) in setparity()
614 else if (equal(parity, "zero")) in setparity()
616 else if (equal(parity, "one")) in setparity()
618 else if (!equal(parity, "even")) { in setparity()
619 (void) fprintf(stderr, "%s: unknown parity value\r\n", parity); in setparity()
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm_insformat.h52 parity : 1; member
54 uint32_t parity : 1,
70 parity : 1; member
72 uint32_t parity : 1,
87 parity : 1; member
89 uint32_t parity : 1,
/freebsd/sys/contrib/ck/src/
H A Dck_barrier_dissemination.c83 state->parity = 0; in ck_barrier_dissemination_subscribe()
106 pflag = barrier[state->tid].flags[state->parity][i].pflag; in ck_barrier_dissemination()
107 tflag = &barrier[state->tid].flags[state->parity][i].tflag; in ck_barrier_dissemination()
123 if (state->parity == 1) in ck_barrier_dissemination()
126 state->parity = 1 - state->parity; in ck_barrier_dissemination()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_spare1.ksh61 parity=$(random_int_between 1 3)
62 spares=$(random_int_between $parity 3)
65 (( min_children = (data + parity + spares) ))
68 draid="draid${parity}:${data}d:${children}c:${spares}s"
75 spare_vdev="draid${parity}-0-${i}"
H A Dredundancy_draid_spare2.ksh41 parity=1
45 draid="draid${parity}:${data}d:${children}c:${spares}s"
/freebsd/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c210 cmp_code(raidz_test_opts_t *opts, const raidz_map_t *rm, const int parity) in cmp_code() argument
214 VERIFY(parity >= 1 && parity <= 3); in cmp_code()
219 for (i = 0; i < parity; i++) { in cmp_code()
303 init_raidz_golden_map(raidz_test_opts_t *opts, const int parity) in init_raidz_golden_map() argument
308 const size_t total_ncols = opts->rto_dcols + parity; in init_raidz_golden_map()
332 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map()
335 parity, opts->rto_expand_offset, 0, B_FALSE); in init_raidz_golden_map()
338 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map()
340 opts->rto_ashift, total_ncols, parity); in init_raidz_golden_map()
351 err |= cmp_code(opts, rm_test, parity); in init_raidz_golden_map()
[all …]
/freebsd/sys/sys/
H A Dkerneldump.h104 uint32_t parity; member
120 uint32_t *up, parity; in kerneldump_parity() local
124 parity = 0; in kerneldump_parity()
126 parity ^= *up++; in kerneldump_parity()
127 return (parity); in kerneldump_parity()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/refreserv/
H A Drefreserv_raidz.ksh89 for parity in 1 2 3; do
90 raid=raidz$parity
93 for ndisks in $((parity * 2)) $((parity * 2 + 1)); do
H A Drefreserv_multi_raidz.ksh88 for parity in 1 2 3; do
89 raid=raidz$parity
93 for ndisks in $((parity * 2)) $((parity * 2 + 1)); do
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_draid_001_pos.ksh57 for parity in {1..3}; do
58 for children in {$((parity + 2))..24}; do
60 log_must zpool create $TESTPOOL draid$parity $vdevs
H A Dzpool_create_draid_003_pos.ksh56 parity=$(random_int_between 1 3)
60 (( min_children = (data + parity + spares) ))
63 draid="draid${parity}:${data}d:${children}c:${spares}s"
/freebsd/libexec/getty/
H A Dgettytab18 # specify no parity. The different parities are:
21 # fake parity. login will use even parity (cs7 parenb -parodd).
22 # op: same as ep except odd parity (cs7 parenb parodd) for login.
23 # getty will fake odd parity as well.
26 # np: 1. don't fake parity in getty. The fake parity garbles
28 # support parity. It would probably better for getty not to
29 # try to fake parity. It could just use cbreak mode so as
30 # not to force cs8 and let the hardware handle the parity.
/freebsd/contrib/ntp/html/hints/
H A Dchanges4 - Made Linux ignore parity errors with CLOCK_RAWDCF.
9 - Made Linux ignore parity errors.
13 - Made Linux ignore parity errors.
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DTerminal.cpp324 llvm::Error Terminal::SetParity(Terminal::Parity parity) { in SetParity() argument
337 if (parity != Parity::No) { in SetParity()
339 if (parity == Parity::Odd || parity == Parity::Mark) in SetParity()
341 if (parity == Parity::Mark || parity == Parity::Space) { in SetParity()
/freebsd/sys/dev/uart/
H A Duart_dev_msm.c70 int stopbits, int parity) in msm_uart_param() argument
93 switch (parity) { in msm_uart_param()
147 int parity) in msm_init() argument
156 msm_uart_param(bas, baudrate, databits, stopbits, parity); in msm_init()
433 int stopbits, int parity) in msm_bus_param() argument
444 parity); in msm_bus_param()
H A Duart_dev_lowrisc.c90 int stopbits, int parity) in lowrisc_uart_init() argument
200 di->parity); in lowrisc_uart_bus_attach()
284 int stopbits, int parity) in lowrisc_uart_bus_param() argument
288 lowrisc_uart_init(&sc->sc_bas, baudrate, databits, stopbits, parity); in lowrisc_uart_bus_param()
H A Duart_dev_mu.c165 int parity) in uart_mu_param() argument
206 int parity) in uart_mu_init() argument
211 uart_mu_param(bas, baudrate, databits, stopbits, parity); in uart_mu_init()
404 int stopbits, int parity) in uart_mu_bus_param() argument
408 uart_mu_param(&sc->sc_bas, baudrate, databits, stopbits, parity); in uart_mu_bus_param()
H A Duart_dev_mvebu.c168 int parity) in uart_mvebu_param() argument
189 switch (parity) { in uart_mvebu_param()
222 int parity) in uart_mvebu_init() argument
232 uart_mvebu_param(bas, baudrate, databits, stopbits, parity); in uart_mvebu_init()
464 int stopbits, int parity) in uart_mvebu_bus_param() argument
469 ret = uart_mvebu_param(&sc->sc_bas, baudrate, databits, stopbits, parity); in uart_mvebu_bus_param()
H A Duart_dev_pl011.c201 int parity) in uart_pl011_param() argument
232 if (parity) in uart_pl011_param()
277 int parity) in uart_pl011_init() argument
283 uart_pl011_param(bas, baudrate, databits, stopbits, parity); in uart_pl011_init()
501 int stopbits, int parity) in uart_pl011_bus_param() argument
505 uart_pl011_param(&sc->sc_bas, baudrate, databits, stopbits, parity); in uart_pl011_bus_param()
H A Duart_tty.c263 int databits, parity, stopbits; in uart_tty_param() local
282 parity = (t->c_cflag & PARODD) ? UART_PARITY_ODD : in uart_tty_param()
285 parity = UART_PARITY_NONE; in uart_tty_param()
286 if (UART_PARAM(sc, t->c_ospeed, databits, stopbits, parity) != 0) in uart_tty_param()
H A Duart_cpu.h71 int parity; member
131 di->parity); in uart_init()
H A Duart_dev_imx.c153 int stopbits, int parity) in imx_uart_init() argument
171 switch (parity) { in imx_uart_init()
386 di->parity); in imx_uart_bus_attach()
543 int stopbits, int parity) in imx_uart_bus_param() argument
547 imx_uart_init(&sc->sc_bas, baudrate, databits, stopbits, parity); in imx_uart_bus_param()
/freebsd/sys/arm/xilinx/
H A Duart_dev_cdnc.c217 int stopbits, int parity) in cdnc_uart_set_params() argument
237 switch (parity) { in cdnc_uart_set_params()
303 int parity) in cdnc_uart_init() argument
310 (void)cdnc_uart_set_params(bas, baudrate, databits, stopbits, parity); in cdnc_uart_init()
438 di->stopbits, di->parity); in cdnc_uart_bus_attach()
547 int stopbits, int parity) in cdnc_uart_bus_param() argument
551 databits, stopbits, parity)); in cdnc_uart_bus_param()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dabd.c1056 size_t csize, size_t dsize, const unsigned parity, in abd_raidz_gen_iterate() argument
1068 ASSERT3U(parity, <=, 3); in abd_raidz_gen_iterate()
1069 for (i = 0; i < parity; i++) { in abd_raidz_gen_iterate()
1085 for (i = 0; i < parity; i++) { in abd_raidz_gen_iterate()
1113 for (i = parity-1; i >= 0; i--) { in abd_raidz_gen_iterate()
1145 size_t tsize, const unsigned parity, in abd_raidz_rec_iterate() argument
1159 ASSERT3U(parity, <=, 3); in abd_raidz_rec_iterate()
1161 for (i = 0; i < parity; i++) { in abd_raidz_rec_iterate()
1175 for (i = 0; i < parity; i++) { in abd_raidz_rec_iterate()
1196 for (i = parity-1; i >= 0; i--) { in abd_raidz_rec_iterate()

12345