/freebsd/tools/regression/sockets/unix_bindconnect/ |
H A D | unix_bindconnect.c | 91 warn("bind_test: socket(PF_UNIX, SOCK_STREAM, 0)"); in bind_test() 97 warn("bind_test: snprintf(socket_path)"); in bind_test() 107 warn("bind_test: snprintf(sun.sun_path)"); in bind_test() 113 warn("bind_test: bind(sun) #1"); in bind_test() 130 warn("bind_test: bind(sun) #2"); in bind_test() 137 warn("bind_test: socket(PF_UNIX, SOCK_STREAM, 0)"); in bind_test() 153 warn("bind_test: bind(sun) #2"); in bind_test() 172 warn("bind_test: bind(sun) #4"); in bind_test() 184 warn("bind_test: bind(sun) #5"); in bind_test() 202 warn("connect_test: socket(PF_UNIX, SOCK_STREAM, 0)"); in connect_test() [all …]
|
/freebsd/bin/mv/ |
H A D | mv.c | 174 warn("%s", from); in do_move() 222 warn("%s", from); in do_move() 228 warn("cannot resolve %s: %s", from, path); in do_move() 238 warn("rename %s to %s", from, to); in do_move() 248 warn("%s", from); in do_move() 267 warn("fastcopy: open() failed (from): %s", from); in fastcopy() 279 warn("fastcopy: open() failed (to): %s", to); in fastcopy() 285 warn("fastcopy: write() failed: %s", to); in fastcopy() 289 warn("fastcopy: read() failed: %s", from); in fastcopy() 291 warn("%s: remove", to); in fastcopy() [all …]
|
/freebsd/tests/sys/fifo/ |
H A D | fifo_io.c | 174 warn("%s: fcntl(fd, F_GETFL)", testname); in set_nonblocking() 181 warn("%s: fcntl(fd, 0x%x)", testname, flags); in set_nonblocking() 195 warn("%s: fcntl(fd, F_GETFL)", testname); in set_blocking() 202 warn("%s: fcntl(fd, 0x%x)", testname, flags); in set_blocking() 228 warn("%s: drain_fd: read", testname); in drain_fd() 232 warn("%s: drain_fd: read: returned 0 bytes", testname); in drain_fd() 251 warn("test_simpleio: openfifo: testfifo"); in test_simpleio() 261 warn("test_simpleio: write"); in test_simpleio() 274 warn("test_simpleio: read"); in test_simpleio() 324 warn("%s: timed_write: sigaction", testname); in timed_write() [all …]
|
H A D | fifo_misc.c | 112 warn("%s: openfifo", __func__); in test_lseek() 124 warn("%s: lseek returned instead of ESPIPE", __func__); in test_lseek() 142 warn("%s: truncate", __func__); in test_truncate() 158 warn("%s:%s: ioctl(%s, %s, 1)", testname, __func__, fdname, in test_ioctl_setclearflag() 166 warn("%s:%s: ioctl(%s, %s, 0)", testname, __func__, fdname, in test_ioctl_setclearflag() 187 warn("%s: openfifo", __func__); in test_ioctl() 239 warn("%s: openfifo", __func__); in test_chmodchown() 245 warn("%s: fchmod", __func__); in test_chmodchown() 251 warn("%s: stat", __func__); in test_chmodchown() 263 warn("%s: fstat", __func__); in test_chmodchown() [all …]
|
/freebsd/contrib/kyua/admin/ |
H A D | check-style-cpp.awk | 29 function warn(msg) { function 59 warn("Undesired usage of #ifdef; use #if defined()") 63 warn("Undesired usage of #ifndef; use #if !defined()") 67 warn("Use the macros in sanity.hpp instead of assert"); 71 warn("Do not include assert.h nor cassert"); 75 warn("Use \\n instead of std::endl"); 79 warn("Do not use multi-line C-style comments"); 84 warn("Missing CHECK_STYLE_ENABLE");
|
H A D | check-style-common.awk | 29 function warn(msg) { function 58 warn("Line too long to fit on screen") 63 warn("Tab character used for indentation"); 67 warn("Trailing spaces or tabs"); 71 warn("Missing space after #!"); 76 warn("Missing CHECK_STYLE_ENABLE");
|
/freebsd/usr.sbin/sa/ |
H A D | db.c | 72 warn("retrieving %s summary", uname); in db_copy_in() 86 warn("get version key from %s stats", uname); in db_copy_in() 115 warn("converting %s stats", uname); in db_copy_in() 122 warn("initializing %s stats", uname); in db_copy_in() 128 warn("retrieving %s summary", uname); in db_copy_in() 134 warn("closing %s summary", uname); in db_copy_in() 156 warn("creating %s summary", uname); in db_copy_out() 165 warn("saving %s summary", uname); in db_copy_out() 171 warn("retrieving %s stats", uname); in db_copy_out() 183 warn("add version record to %s stats", uname); in db_copy_out() [all …]
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_properties.c | 75 warn("mfi_ctrl_set_rebuild_rate"); in mfi_ctrl_rebuild_rate() 82 warn("mfi_open"); in mfi_ctrl_rebuild_rate() 89 warn("Failed to get controller properties"); in mfi_ctrl_rebuild_rate() 101 warn("Failed to set controller properties"); in mfi_ctrl_rebuild_rate() 109 warn("Failed to get controller properties"); in mfi_ctrl_rebuild_rate() 127 warn("mfi_ctrl_alarm_enable"); in mfi_ctrl_alarm_enable() 134 warn("mfi_open"); in mfi_ctrl_alarm_enable() 141 warn("Failed to get controller properties"); in mfi_ctrl_alarm_enable() 153 warn("Failed to set controller properties"); in mfi_ctrl_alarm_enable() 161 warn("Failed to get controller properties"); in mfi_ctrl_alarm_enable()
|
H A D | mfi_patrol.c | 58 warn("Couldn't fetch adapter time"); in mfi_get_time() 71 warn("Failed to get patrol read properties"); in patrol_get_props() 93 warn("mfi_open"); in show_patrol() 133 warn("Failed to get patrol read properties"); in show_patrol() 159 warn("Failed to get drive list"); in show_patrol() 171 warn("Failed to fetch info for drive %u", in show_patrol() 203 warn("mfi_open"); in start_patrol() 210 warn("Failed to start patrol read"); in start_patrol() 229 warn("mfi_open"); in stop_patrol() 236 warn("Failed to stop patrol read"); in stop_patrol() [all …]
|
H A D | mfi_drive.c | 77 warn("mfi_open"); in mfi_drive_name() 83 warn("Failed to fetch info for drive %2u", device_id); in mfi_drive_name() 205 warn("Failed to fetch drive list"); in mfi_lookup_drive() 392 warn("mfi_open"); in drive_set_state() 405 warn("Failed to fetch info for drive %u", device_id); in drive_set_state() 423 warn("Failed to set drive %u to %s", device_id, in drive_set_state() 507 warn("mfi_open"); in start_rebuild() 520 warn("Failed to fetch info for drive %u", device_id); in start_rebuild() 537 warn("Failed to start rebuild on drive %u", device_id); in start_rebuild() 564 warn("mfi_open"); in abort_rebuild() [all …]
|
H A D | mfi_show.c | 70 warn("mfi_open"); in show_adapter() 76 warn("Failed to get controller info"); in show_adapter() 159 warn("mfi_open"); in show_battery() 166 warn("Failed to get capacity info"); in show_battery() 180 warn("Failed to get design info"); in show_battery() 188 warn("Failed to get status"); in show_battery() 195 warn("Failed to get properties"); in show_battery() 361 warn("mfi_open"); in show_config() 368 warn("Failed to get config"); in show_config() 462 warn("mfi_open"); in show_volumes() [all …]
|
H A D | mfi_foreign.c | 52 warn("mfi_open"); in foreign_clear() 70 warn("Failed to clear foreign configuration"); in foreign_clear() 90 warn("mfi_open"); in foreign_scan() 97 warn("Failed to scan foreign configuration"); in foreign_scan() 121 warn("Failed to get foreign config %d", error); in foreign_show_cfg() 226 warn("mfi_open"); in display_format() 233 warn("Failed to scan foreign configuration"); in display_format() 298 warn("mfi_open"); in foreign_import() 305 warn("Failed to scan foreign configuration"); in foreign_import() 350 warn("Failed to import foreign configuration"); in foreign_import()
|
/freebsd/contrib/libfido2/examples/ |
H A D | util.c | 58 warn("open %s", path); in write_blob() 63 warn("write"); in write_blob() 91 warn("open %s", path); in read_blob() 95 warn("stat %s", path); in read_blob() 104 warn("malloc"); in read_blob() 108 warn("read"); in read_blob() 138 warn("fopen"); in read_ec_pubkey() 182 warn("open %s", path); in write_es256_pubkey() 187 warn("fdopen"); in write_es256_pubkey() 239 warn("open %s", path); in write_es384_pubkey() [all …]
|
/freebsd/usr.sbin/apmd/contrib/ |
H A D | pccardq.c | 79 warn("socket"); in connect_to_pccardd() 88 warn("bind: %s", pccardq.sun_path); in connect_to_pccardd() 92 warn("strdup"); in connect_to_pccardd() 105 warn("connect: %s", pccardd_file); in connect_to_pccardd() 123 warn("write"); in get_slot_number() 131 warn("read"); in get_slot_number() 172 warn("write"); in get_slot_info() 180 warn("read"); in get_slot_info() 201 warn("strdup"); in get_slot_info() 205 warn("strdup"); in get_slot_info() [all …]
|
/freebsd/tools/regression/netinet/msocket_ifnet_remove/ |
H A D | msocket_ifnet_remove.c | 79 warn("disc_setup: kldload(if_disc)"); in disc_setup() 86 warn("disc_setup: socket(PF_INET, SOCK_RAW, 0)"); in disc_setup() 95 warn("disc_setup: ioctl(%s, SIOCIFCREATE)", ifr.ifr_name); in disc_setup() 112 warn("disc_done: socket(PF_INET, SOCK_RAW, 0)"); in disc_done() 121 warn("disc_done: ioctl(%s, SIOCIFDESTROY)", ifr.ifr_name); in disc_done() 137 warn("ifconfig_inet: socket(PF_INET, SOCK_RAW, 0)"); in ifconfig_inet() 156 warn("ifconfig_inet: ioctl(%s%d, SIOCAIFADDR, %s)", ifname, in ifconfig_inet() 174 warn("multicast_test: socket(PF_INET, %s, 0)", type_string); in multicast_open() 184 warn("multicast_test: setsockopt(IPPROTO_IP, " in multicast_open()
|
/freebsd/libexec/rc/rc.d/ |
H A D | cfumass | 50 warn "${cfumass_dir} does not exist" 61 warn "unable to create ${cfumass_image}" 73 warn "unable to create CTL LUN" 87 warn "unable to set hw.usb.template sysctl" 102 warn "hw.usb.template sysctl set to neither -1 nor 8; not changing" 111 warn "unable to set hw.usb.template sysctl to ${_new_template}" 132 warn "hw.usb.template sysctl set to neither 0 nor 10; not changing" 141 warn "unable to set hw.usb.template sysctl to ${_new_template}"
|
H A D | pflog | 33 warn "could not create $pflog_dev." 40 warn "could not bring up $pflog_dev." 57 warn "could not bring down $pflog_dev." 87 warn "pflog_dev not set" 91 warn "pflog_logfile not set"
|
/freebsd/usr.sbin/mlx5tool/ |
H A D | mlx5tool.c | 89 warn("open %s", dumpname); in mlx5tool_save_dump() 97 warn("MLX5_FWDUMP_GET dumpsize"); in mlx5tool_save_dump() 102 warn("alloc rege"); in mlx5tool_save_dump() 112 warn("MLX5_FWDUMP_GET dump fetch"); in mlx5tool_save_dump() 129 warn("MLX5_FWDUMP_RESET"); in mlx5tool_dump_reset() 140 warn("MLX5_FWDUMP_FORCE"); in mlx5tool_dump_force() 157 warn("Unable to open %s", img_fw_path); in mlx5tool_fw_update() 163 warn("Unable to stat %s", img_fw_path); in mlx5tool_fw_update() 172 warn("Unable to mmap %s", img_fw_path); in mlx5tool_fw_update() 180 warn("MLX5_FW_UPDATE"); in mlx5tool_fw_update() [all …]
|
/freebsd/usr.sbin/mptutil/ |
H A D | mpt_config.c | 113 warn("Unable to lock volume %s", qd.devname); in mpt_lock_volume() 129 warn("Unable to lock disk %s", disk->devname); in mpt_lock_physdisk() 240 warn("mpt_open"); in clear_config() 247 warn("Failed to fetch volume list"); in clear_config() 292 warn("Failed to fetch spare list"); in clear_config() 297 warn("Failed to delete physical disk %d", in clear_config() 305 warn("Failed to fetch drive list"); in clear_config() 310 warn("Failed to delete physical disk %d", in clear_config() 424 warn("Unable to lookup drive %s", cp); in parse_volume() 454 warn( in add_drives() [all …]
|
/freebsd/usr.sbin/mpsutil/ |
H A D | mps_set.c | 57 warn("mps_open"); in set_ncq() 65 warn("Failed to get IOUNIT page 1 header"); in set_ncq() 72 warn("Failed to get IOUNIT page 1 info"); in set_ncq() 89 warn("set ncq: Only 'enable' and 'disable' allowed."); in set_ncq() 102 warn("Failed to update config page"); in set_ncq() 108 warn("%s", mps_ioc_status(reply.IOCStatus)); in set_ncq() 115 warn("set ncq: too many arguments"); in set_ncq()
|
H A D | mps_show.c | 84 warn("mps_open"); in show_adapter() 91 warn("Failed to get controller info"); in show_adapter() 108 warn("Failed to get BIOS page 3 info"); in show_adapter() 134 warn("Failed to get IOUNIT page 1 info"); in show_adapter() 145 warn("Failed to get IOUNIT page 7 info"); in show_adapter() 162 warn("mps_open"); in show_adapter() 171 warn("Error retrieving SAS IO Unit page %d", IOCStatus); in show_adapter() 182 warn("Error retrieving SAS IO Unit page %d", IOCStatus); in show_adapter() 243 warn("mps_open"); in show_iocfacts() 331 warn("Faled to get controller iocfacts"); in show_adapters() [all …]
|
/freebsd/bin/ln/ |
H A D | ln.c | 229 warn("%s", source); in linkit() 235 warn("%s", source); in linkit() 252 warn("%s", source); in linkit() 266 warn("warning: %s inaccessible", source); in linkit() 279 warn("warning: %s", source); in linkit() 302 warn("%s", target); in linkit() 306 warn("%s", target); in linkit() 323 warn("%s", target); in linkit() 327 warn("%s", target); in linkit() 336 warn("%s", target); in linkit()
|
/freebsd/usr.bin/posixshmcontrol/ |
H A D | posixshmcontrol.c | 69 warn("create %s", path); in create_one_shm() 76 warn("shm_create_largepage %s psind %d", path, idx); in create_one_shm() 172 warn("unlink of %s failed", path); in delete_one_shm() 277 warn("cannot translate %s", listmib); in list_shm() 283 warn("cannot get %s length", listmib); in list_shm() 289 warn("malloc"); in list_shm() 294 warn("reading %s", listmib); in list_shm() 309 warn("open %s", kif->kf_path); in list_shm() 317 warn("stat %s", kif->kf_path); in list_shm() 355 warn("open %s", path); in read_one_shm() [all …]
|
/freebsd/usr.bin/mkuzip/ |
H A D | mkuz_insize.c | 49 warn("fstat(%s)", cfp->iname); in mkuz_get_insize() 54 warn("fstatfs(%s)", cfp->iname); in mkuz_get_insize() 59 warn("open(%s, O_RDONLY)", statfsbuf.f_mntfromname); in mkuz_get_insize() 63 warn("ioctl(DIOCGMEDIASIZE)"); in mkuz_get_insize() 71 warn("ioctl(DIOCGMEDIASIZE)"); in mkuz_get_insize()
|
/freebsd/tools/regression/sockets/sblock/ |
H A D | sblock.c | 118 warn("signaller sleep(2)"); in signaller() 122 warn("signaller kill(%d)", locking_recver_pid); in signaller() 126 warn("signaller sleep(1)"); in signaller() 131 warn("signaller send"); in signaller() 139 warn("signaller close"); in signaller() 143 warn("signaller sleep(1)"); in signaller()
|