/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_chk.c | 55 goto err; in rsa_validate_keypair_multiprime() 91 goto err; in rsa_validate_keypair_multiprime() 97 goto err; in rsa_validate_keypair_multiprime() 111 goto err; in rsa_validate_keypair_multiprime() 115 goto err; in rsa_validate_keypair_multiprime() 121 goto err; in rsa_validate_keypair_multiprime() 125 goto err; in rsa_validate_keypair_multiprime() 129 goto err; in rsa_validate_keypair_multiprime() 135 goto err; in rsa_validate_keypair_multiprime() 139 goto err; in rsa_validate_keypair_multiprime() [all …]
|
/freebsd/tests/sys/file/ |
H A D | dup_test.c | 72 err(1, "mkstemp"); in getafile() 75 err(1, "ftruncate"); in getafile() 91 err(1, "dup"); in main() 96 err(1, "fcntl(F_SETFD)"); in main() 100 err(1, "dup2"); in main() 146 err(1, "dup2"); in main() 167 err(1, "fcntl(F_DUPFD)"); in main() 185 err(1, "getrlimit"); in main() 193 err(1, "fcntl(F_DUP2FD)"); in main() 218 err(1, "fcntl(F_DUP2FD)"); in main() [all …]
|
/freebsd/sys/arm/ti/clk/ |
H A D | ti_clkctrl.c | 117 int num_reg, err, ti_clock_cells; in ti_clkctrl_attach() local 128 err = OF_searchencprop(node, "#clock-cells", in ti_clkctrl_attach() 130 if (err == -1) { in ti_clkctrl_attach() 188 err = create_clkctrl(sc, reg, index, reg_offset, parent_offset, in ti_clkctrl_attach() 190 if (err) in ti_clkctrl_attach() 203 err = create_clkctrl(sc, reg, index, reg_offset, in ti_clkctrl_attach() 205 if (err) in ti_clkctrl_attach() 213 err = create_clkctrl(sc, reg, index, reg_offset, in ti_clkctrl_attach() 215 if (err) in ti_clkctrl_attach() 223 err = clkdom_finit(sc->clkdom); in ti_clkctrl_attach() [all …]
|
H A D | ti_mux_clock.c | 97 int err; in register_clk() local 105 err = clknode_mux_register(sc->clkdom, &sc->mux_def); in register_clk() 106 if (err) { in register_clk() 107 DPRINTF(sc->sc_dev, "clknode_mux_register failed %x\n", err); in register_clk() 111 err = clkdom_finit(sc->clkdom); in register_clk() 112 if (err) { in register_clk() 113 DPRINTF(sc->sc_dev, "Clk domain finit fails %x.\n", err); in register_clk() 125 int err; in ti_mux_attach() local 165 err = find_parent_clock_names(sc->sc_dev, &sc->clock_cell, &sc->mux_def.clkdef); in ti_mux_attach() 167 if (err) { in ti_mux_attach() [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | sndstat.c | 212 int err; in sndstat_read() local 215 err = devfs_get_cdevpriv((void **)&pf); in sndstat_read() 216 if (err != 0) in sndstat_read() 217 return (err); in sndstat_read() 226 err = EINVAL; in sndstat_read() 229 err = sndstat_prepare(pf); in sndstat_read() 230 if (err <= 0) { in sndstat_read() 231 err = ENOMEM; in sndstat_read() 239 err = uiomove(sbuf_data(&pf->sbuf) + pf->in_offset, len, buf); in sndstat_read() 243 return (err); in sndstat_read() [all …]
|
/freebsd/tests/sys/kqueue/libkqueue/ |
H A D | read.c | 29 err(1, "read(2)"); in kevent_socket_drain() 37 err(1, "write(2)"); in kevent_socket_fill() 50 err(1, "%s", test_id); in test_kevent_socket_add() 65 err(1, "%s", test_id); in test_kevent_socket_get() 77 err(1, "%s", test_id); in test_kevent_socket_get() 94 err(1, "%s", test_id); in test_kevent_socket_clear() 111 err(1, "%s", test_id); in test_kevent_socket_clear() 133 err(1, "%s", test_id); in test_kevent_socket_disable_and_enable() 140 err(1, "%s", test_id); in test_kevent_socket_disable_and_enable() 149 err(1, "%s", test_id); in test_kevent_socket_disable_and_enable() [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | sendfile8.sh | 99 err(1, "open(%s)", input); 102 err(1, "truncate(%jd)", length); 116 err(1, "socket(), %s:%d", __FILE__, __LINE__); 120 err(1, "setsockopt(), %s:%d", __FILE__, __LINE__); 129 err(1, "bind(), %s:%d", __FILE__, __LINE__); 132 err(1, "listen(), %s:%d", __FILE__, __LINE__); 137 err(1, "accept(), %s:%d", __FILE__, __LINE__); 140 err(1, "malloc(%d), %s:%d", BUFSIZE, __FILE__, __LINE__); 143 err(1, "open(%s)", output); 147 err(1, "read(), %s:%d", __FILE__, __LINE__); [all …]
|
H A D | sendfile9.sh | 98 err(1, "open(%s)", input); 101 err(1, "truncate(%jd)", length); 115 err(1, "socket(), %s:%d", __FILE__, __LINE__); 119 err(1, "setsockopt(), %s:%d", __FILE__, __LINE__); 128 err(1, "bind(), %s:%d", __FILE__, __LINE__); 131 err(1, "listen(), %s:%d", __FILE__, __LINE__); 136 err(1, "accept(), %s:%d", __FILE__, __LINE__); 139 err(1, "malloc(%d), %s:%d", BUFSIZE, __FILE__, __LINE__); 142 err(1, "open(%s)", output); 146 err(1, "read(), %s:%d", __FILE__, __LINE__); [all …]
|
H A D | sendfile.sh | 85 err(1, "socket(), %s:%d", __FILE__, __LINE__); 89 err(1, "setsockopt(), %s:%d", __FILE__, __LINE__); 98 err(1, "bind(), %s:%d", __FILE__, __LINE__); 101 err(1, "listen(), %s:%d", __FILE__, __LINE__); 106 err(1, "accept(), %s:%d", __FILE__, __LINE__); 110 err(1, "malloc(%d), %s:%d", bufsize, __FILE__, __LINE__); 113 err(1, "open(%s)", outputFile); 117 err(1, "read(), %s:%d", __FILE__, __LINE__); 123 err(1, "write"); 145 err(1, "socket(), %s:%d", __FILE__, __LINE__); [all …]
|
H A D | machipc.sh | 102 int err, i; 109 err = mach_msg(&message.head, /* The header */ 116 if (err) 117 error(1, err, "server mach_msg MACH_RCV_MSG"); 132 int err, i; 135 err = mach_port_allocate(mach_task_self(), 137 if (err) 138 error(1, err, "mach_port_allocate"); 140 err = mach_port_insert_right(mach_task_self(), 143 if (err) [all …]
|
/freebsd/tools/regression/sockets/sigpipe/ |
H A D | sigpipe.c | 82 err(-1, "%s: signal(SIGPIPE)", testname); in signal_setup() 96 err(-1, "%s: send", testname); in test_send() 112 err(-1, "%s: write", testname); in test_write() 122 err(-1, "%s: shutdown", testname); in test_send_wantsignal() 139 err(-1, "%s: setsockopt(SOL_SOCKET, SO_NOSIGPIPE)", testname); in test_send_dontsignal() 141 err(-1, "%s: shutdown", testname); in test_send_dontsignal() 156 err(-1, "%s: shutdown", testname); in test_write_wantsignal() 173 err(-1, "%s: setsockopt(SOL_SOCKET, SO_NOSIGPIPE)", testname); in test_write_dontsignal() 175 err(-1, "%s: shutdown", testname); in test_write_dontsignal() 193 err(-1, "tcp_setup: listen"); in tcp_setup() [all …]
|
/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_attrval.c | 32 dwarf_attrval_flag(Dwarf_Die die, Dwarf_Half attr, Dwarf_Bool *valp, Dwarf_Error *err) in dwarf_attrval_flag() argument 40 DWARF_SET_ERROR(dbg, err, DW_DLE_ARGUMENT); in dwarf_attrval_flag() 47 DWARF_SET_ERROR(dbg, err, DW_DLE_NO_ENTRY); in dwarf_attrval_flag() 57 DWARF_SET_ERROR(dbg, err, DW_DLE_ATTR_FORM_BAD); in dwarf_attrval_flag() 65 dwarf_attrval_string(Dwarf_Die die, Dwarf_Half attr, const char **strp, Dwarf_Error *err) in dwarf_attrval_string() argument 73 DWARF_SET_ERROR(dbg, err, DW_DLE_ARGUMENT); in dwarf_attrval_string() 80 DWARF_SET_ERROR(dbg, err, DW_DLE_NO_ENTRY); in dwarf_attrval_string() 92 DWARF_SET_ERROR(dbg, err, DW_DLE_ATTR_FORM_BAD); in dwarf_attrval_string() 100 dwarf_attrval_signed(Dwarf_Die die, Dwarf_Half attr, Dwarf_Signed *valp, Dwarf_Error *err) in dwarf_attrval_signed() argument 108 DWARF_SET_ERROR(dbg, err, DW_DLE_ARGUMENT); in dwarf_attrval_signed() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libcurses/director/ |
H A D | director.c | 195 err(2, "Failed to set TERM variable"); in main() 198 err(1, "Cannot stat %s", termpath); in main() 205 err(1, "Cannot stat `%s'", tinfo); in main() 209 err(1, "Failed to set TERMINFO variable"); in main() 214 err(1, "Cannot open `%s'", termpath); in main() 217 err(1, "Cannot map `%s'", termpath); in main() 219 err(1, "Failed to set TERMINFO variable"); in main() 225 err(1, "Command pipe creation failed"); in main() 228 err(1, "Slave pipe creation failed"); in main() 243 err(1, "Fork of pty for slave failed\n"); in main() [all …]
|
/freebsd/tools/test/stress2/tools/ |
H A D | fstool.c | 55 err(1, "mkdir(%s)", path); in mkDir2() 57 err(1, "chdir(%s) @ %d", path, __LINE__); in mkDir2() 62 err(1, "mkdir(%s) @ %d", newPath, __LINE__); in mkDir2() 64 err(1, "chdir(%s) @ %d", newPath, __LINE__); in mkDir2() 73 err(1, "%d: creat(%s)", j, file); in mkDir2() 78 err(1, "%d: write(%s), %s:%d", j, file, __FILE__, __LINE__); in mkDir2() 81 err(2, "%d: close(%d)", j, j); in mkDir2() 87 err(1, "mkdir(%s) @ %d", newPath, __LINE__); in mkDir2() 117 err(1, "rmdir(%s) @ %d", newPath, __LINE__); in rmFile() 127 err(1, "chdir(%s)", path); in rmDir2() [all …]
|
/freebsd/crypto/openssl/crypto/dsa/ |
H A D | dsa_key.c | 54 goto err; in ossl_dsa_generate_public_key() 56 err: in ossl_dsa_generate_public_key() 88 goto err; in dsa_keygen_knownanswer_test() 94 goto err; in dsa_keygen_knownanswer_test() 97 goto err; in dsa_keygen_knownanswer_test() 103 err: in dsa_keygen_knownanswer_test() 124 goto err; in dsa_keygen_pairwise_test() 131 goto err; in dsa_keygen_pairwise_test() 136 goto err; in dsa_keygen_pairwise_test() 139 err: in dsa_keygen_pairwise_test() [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | generic_ehci.c | 66 int err; in generic_ehci_attach() local 111 err = bus_setup_intr(self, sc->sc_irq_res, INTR_TYPE_BIO | INTR_MPSAFE, in generic_ehci_attach() 113 if (err) { in generic_ehci_attach() 114 device_printf(self, "Could not setup irq, %d\n", err); in generic_ehci_attach() 121 err = ehci_init(sc); in generic_ehci_attach() 122 if (!err) in generic_ehci_attach() 123 err = device_probe_and_attach(sc->sc_bus.bdev); in generic_ehci_attach() 124 if (err) in generic_ehci_attach() 138 int err; in generic_ehci_detach() local 141 err = bus_generic_detach(self); in generic_ehci_detach() [all …]
|
/freebsd/crypto/openssl/fuzz/ |
H A D | quic-lcidm.c | 80 goto err; in FuzzerTestOneInput() 85 goto err; in FuzzerTestOneInput() 90 goto err; in FuzzerTestOneInput() 95 goto err; in FuzzerTestOneInput() 98 goto err; in FuzzerTestOneInput() 105 goto err; in FuzzerTestOneInput() 115 goto err; in FuzzerTestOneInput() 124 goto err; in FuzzerTestOneInput() 134 goto err; in FuzzerTestOneInput() 145 goto err; in FuzzerTestOneInput() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | quic_ackm_test.c | 96 goto err; in helper_init() 103 goto err; in helper_init() 109 goto err; in helper_init() 116 goto err; in helper_init() 122 err: in helper_init() 353 goto err; in test_tx_ack_case_actual() 364 goto err; in test_tx_ack_case_actual() 380 goto err; in test_tx_ack_case_actual() 386 goto err; in test_tx_ack_case_actual() 391 goto err; in test_tx_ack_case_actual() [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_tx.c | 155 int err; in dmu_tx_hold_object_impl() local 158 err = dnode_hold(os, object, FTAG, &dn); in dmu_tx_hold_object_impl() 159 if (err != 0) { in dmu_tx_hold_object_impl() 160 tx->tx_err = err; in dmu_tx_hold_object_impl() 212 int err; in dmu_tx_check_ioerr() local 216 err = dbuf_hold_impl(dn, level, blkid, TRUE, FALSE, FTAG, &db); in dmu_tx_check_ioerr() 218 if (err == ENOENT) in dmu_tx_check_ioerr() 220 if (err != 0) in dmu_tx_check_ioerr() 221 return (err); in dmu_tx_check_ioerr() 226 err = dbuf_read(db, zio, DB_RF_CANFAIL | DMU_READ_NO_PREFETCH | in dmu_tx_check_ioerr() [all …]
|
/freebsd/crypto/openssl/crypto/cms/ |
H A D | cms_sd.c | 360 goto err; in CMS_add1_signer() 364 goto err; in CMS_add1_signer() 370 goto err; in CMS_add1_signer() 373 goto err; in CMS_add1_signer() 385 goto err; in CMS_add1_signer() 399 goto err; in CMS_add1_signer() 407 goto err; in CMS_add1_signer() 413 goto err; in CMS_add1_signer() 434 goto err; in CMS_add1_signer() 440 goto err; in CMS_add1_signer() [all …]
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_srq.c | 78 int err; in create_srq_user() local 101 err = get_srq_user_index(ucontext, &ucmd, udata->inlen, &uidx); in create_srq_user() 102 if (err) in create_srq_user() 103 return err; in create_srq_user() 111 err = PTR_ERR(srq->umem); in create_srq_user() 112 return err; in create_srq_user() 117 err = mlx5_ib_get_buf_offset(ucmd.buf_addr, page_shift, in create_srq_user() 119 if (err) { in create_srq_user() 126 err = -ENOMEM; in create_srq_user() 132 err = mlx5_ib_db_map_user(ucontext, ucmd.db_addr, &srq->db); in create_srq_user() [all …]
|
/freebsd/sys/dev/amdsmu/ |
H A D | amdsmu.c | 127 int err; in amdsmu_get_vers() local 131 err = amdsmu_cmd(dev, SMU_MSG_GETSMUVERSION, 0, &smu_vers); in amdsmu_get_vers() 132 if (err != 0) { in amdsmu_get_vers() 134 return (err); in amdsmu_get_vers() 151 int err; in amdsmu_get_ip_blocks() local 173 err = amdsmu_cmd(dev, SMU_MSG_GET_SUP_CONSTRAINTS, 0, in amdsmu_get_ip_blocks() 175 if (err != 0) { in amdsmu_get_ip_blocks() 177 return (err); in amdsmu_get_ip_blocks() 240 int err; in amdsmu_init_metrics() local 245 err = amdsmu_cmd(dev, SMU_MSG_LOG_GETDRAM_ADDR_LO, 0, &metrics_addr_lo); in amdsmu_init_metrics() [all …]
|
/freebsd/cddl/usr.sbin/dtrace/tests/common/struct/ |
H A D | Makefile | 8 err.D_ADDROF_VAR.StructPointer.d \ 9 err.D_DECL_COMBO.StructWithoutColon.d \ 10 err.D_DECL_COMBO.StructWithoutColon1.d \ 11 err.D_DECL_INCOMPLETE.circular.d \ 12 err.D_DECL_INCOMPLETE.order.d \ 13 err.D_DECL_INCOMPLETE.order2.d \ 14 err.D_DECL_INCOMPLETE.recursive.d \ 15 err.D_DECL_INCOMPLETE.simple.d \ 16 err.D_DECL_VOIDOBJ.baddec.d \ 17 err.D_PROTO_ARG.DupStructAssoc.d \
|
/freebsd/contrib/netbsd-tests/lib/libc/regex/ |
H A D | main.c | 65 int err; in main() local 108 err = regcomp(&re, argv[optind++], copts); in main() 109 if (err) { in main() 110 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 112 eprint(err), len, (size_t)sizeof(erbuf), erbuf); in main() 126 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); in main() 127 if (err) { in main() 128 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 130 eprint(err), len, (size_t)sizeof(erbuf), erbuf); in main() 241 int err; in try() local [all …]
|
/freebsd/lib/libc/regex/grot/ |
H A D | main.c | 34 int err; in main() local 77 err = regcomp(&re, argv[optind++], copts); in main() 78 if (err) { in main() 79 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 81 eprint(err), len, sizeof(erbuf), erbuf); in main() 95 err = regexec(&re, argv[optind], (size_t)NS, subs, eopts); in main() 96 if (err) { in main() 97 len = regerror(err, &re, erbuf, sizeof(erbuf)); in main() 99 eprint(err), len, sizeof(erbuf), erbuf); in main() 212 int err, i, nshould; in try() local [all …]
|