/freebsd/libexec/atrun/ |
H A D | atrun.c | 92 void perr(const char *fmt, ...); 151 perr("cannot change file permissions"); in run_file() 158 perr("cannot fork"); in run_file() 199 perr("cannot open input file %s", filename); in run_file() 202 perr("error duplicating input file descriptor"); in run_file() 205 perr("error in fstat of input file descriptor"); in run_file() 208 perr("error in fstat of input file"); in run_file() 223 perr("error in fcntl"); in run_file() 250 perr("cannot chdir to %s", ATSPOOL_DIR); in run_file() 257 perr("cannot create output file"); in run_file() [all …]
|
H A D | gloadavg.c | 44 void perr(const char *fmt, ...); 66 perr("error in getloadavg"); in gloadavg()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_hwmp.c | 402 struct ieee80211_meshperr_ie *perr; in hwmp_recv_action_meshpath() local 510 perr = IEEE80211_MALLOC(sizeof(*perr) + in hwmp_recv_action_meshpath() 511 (ndest - 1) * sizeof(*perr->perr_dests), in hwmp_recv_action_meshpath() 514 KASSERT(perr != NULL, ("perr == NULL")); in hwmp_recv_action_meshpath() 516 perr->perr_ie = *iefrm_t++; in hwmp_recv_action_meshpath() 517 perr->perr_len = *iefrm_t++; in hwmp_recv_action_meshpath() 518 perr->perr_ttl = *iefrm_t++; in hwmp_recv_action_meshpath() 519 perr->perr_ndests = *iefrm_t++; in hwmp_recv_action_meshpath() 521 for (i = 0; i<perr->perr_ndests; i++) { in hwmp_recv_action_meshpath() 522 perr->perr_dests[i].dest_flags = *iefrm_t++; in hwmp_recv_action_meshpath() [all …]
|
/freebsd/usr.bin/at/ |
H A D | at.c | 171 perr("cannot get directory"); in cwdname() 246 perr("cannot open lockfile " LFILE); in writefile() 264 perr("cannot generate job number"); in writefile() 275 perr("cannot access " ATJOB_DIR); in writefile() 284 perr("cannot create atjob file"); in writefile() 287 perr("error in dup() of job file"); in writefile() 290 perr("cannot give away file"); in writefile() 334 perr("cannot open input file"); in writefile() 436 perr("cannot give away file"); in writefile() 479 perr("cannot change to " ATJOB_DIR); in list_jobs() [all …]
|
H A D | panic.h | 32 void perr(const char *a) __dead2;
|
H A D | panic.c | 63 perr(const char *a) in perr() function
|
/freebsd/sys/dev/pms/freebsd/driver/common/ |
H A D | lxencrypt.c | 940 IoctlEncryptErrorQuery_t *perr = (IoctlEncryptErrorQuery_t *) &ioctl_data->request; in agtiapi_EncryptionIoctl() local 942 printf("%s: query flag %x\n", __FUNCTION__, perr->query_flag); in agtiapi_EncryptionIoctl() 943 query_flag = perr->query_flag; in agtiapi_EncryptionIoctl() 946 memset(perr, 0, sizeof(IoctlEncryptErrorQuery_t)); in agtiapi_EncryptionIoctl() 959 perr->valid_mask |= (1 << i); in agtiapi_EncryptionIoctl() 960 memcpy(&perr->error[i], &ioerr->ioerr, sizeof(IoctlEncryptIOError_t)); in agtiapi_EncryptionIoctl() 971 if (!perr->valid_mask) { in agtiapi_EncryptionIoctl() 1094 ag_encrypt_ioerr_t *perr; in agtiapi_HandleEncryptedIOFailure() local 1121 if (!perr) { in agtiapi_HandleEncryptedIOFailure() 1127 perr->ioerr.error_id = cmd->serial_number; in agtiapi_HandleEncryptedIOFailure() [all …]
|
/freebsd/sbin/fsck/ |
H A D | fsutil.c | 150 perr(const char *fmt, ...) in perr() function 176 perr("Can't stat `/'"); in devcheck() 180 perr("Can't stat %s\n", origname); in devcheck() 184 perr("%s is not a char device\n", origname); in devcheck()
|
H A D | fsutil.h | 35 void perr(const char *, ...) __printflike(1, 2);
|
H A D | fsck.c | 325 perr("strdup(pvfstype)"); in checkfs()
|
/freebsd/sbin/fsck_msdosfs/ |
H A D | dir.c | 233 perr("No space for directory buffer (%zu)", len); in resetDosDirSection() 239 perr("No space for directory delbuf (%zu)", len); in resetDosDirSection() 246 perr("No space for directory entry"); in resetDosDirSection() 320 perr("Unable to lseek to %" PRId64, off); in delete() 324 perr("Unable to read directory"); in delete() 332 perr("Unable to lseek to %" PRId64, off); in delete() 336 perr("Unable to write directory"); in delete() 506 perr("No space for directory buffer (%u)", in check_subdirectory() 514 perr("Unable to read directory"); in check_subdirectory() 614 perr("Unable to read directory"); in readDosDirSection() [all …]
|
H A D | fat.c | 595 perr("No space for FAT sectors (%zu)", len); in checkdirty() 600 perr("Unable to read FAT"); in checkdirty() 606 perr("Unable to read FAT"); in checkdirty() 662 perr("No memory for FAT sectors (%zu)", len); in cleardirty() 667 perr("Unable to read FAT"); in cleardirty() 678 perr("Unable to write FAT"); in cleardirty() 744 perr("No space for FAT (%zu)", readsize); in _readfat() 749 perr("Unable to read FAT"); in _readfat() 753 perr("Unable to read FAT"); in _readfat() 765 perr("No space for FAT cache (%zu of %zu)", in _readfat() [all …]
|
H A D | boot.c | 53 perr("could not read boot block"); in readboot() 203 perr("could not read fsinfo block"); in readboot() 231 perr("Unable to write bpbFSInfo"); in readboot() 344 perr("could not read fsinfo block"); in writefsinfo() 359 perr("Unable to write bpbFSInfo"); in writefsinfo()
|
H A D | check.c | 74 perr("Can't open `%s'", fname); in checkfilesys()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_mem2.h | 158 ({ int *perr = _perr; if (perr) *(perr) = EOPNOTSUPP; NULL; })
|
H A D | netmap_mem2.c | 1686 const struct netmap_mem_ops *ops, uint64_t memtotal, int *perr) in _netmap_mem_private_new() argument 1758 if (perr) in _netmap_mem_private_new() 1759 *perr = err; in _netmap_mem_private_new() 1765 u_int extra_bufs, u_int npipes, int *perr) in netmap_mem_private_new() argument 1816 d = _netmap_mem_private_new(sizeof(*d), p, -1, &netmap_mem_global_ops, 0, perr); in netmap_mem_private_new()
|
H A D | netmap_kern.h | 1259 static __inline int nm_kr_tryget(struct netmap_kring *kr, int can_sleep, int *perr) in nm_kr_tryget() argument 1299 if (perr) in nm_kr_tryget() 1300 *perr |= NM_POLLERR; in nm_kr_tryget()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | asn1_gen.c | 66 int *perr); 74 int depth, int *perr); 99 int *perr) in generate_v3() argument 121 *perr = ASN1_R_UNKNOWN_TAG; in generate_v3() 128 *perr = ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG; in generate_v3() 132 *perr = ASN1_R_ILLEGAL_NESTED_TAGGING; in generate_v3() 135 ret = asn1_multi(asn1_tags.utype, asn1_tags.str, cnf, depth, perr); in generate_v3() 402 int depth, int *perr) in asn1_multi() argument 422 depth + 1, perr); in asn1_multi()
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_audio.c | 219 int perr = (m.u.complete.count & (1U << 30)) != 0; in bcm2835_audio_callback() local 221 if (perr) in bcm2835_audio_callback() 233 if (!perr) { in bcm2835_audio_callback() 237 ch->available_space, count, perr); in bcm2835_audio_callback() 245 if (perr || (ch->available_space >= VCHIQ_AUDIO_PACKET_SIZE)) in bcm2835_audio_callback()
|
/freebsd/crypto/openssh/ |
H A D | session.c | 403 int pin[2], pout[2], perr[2]; in do_exec_no_pty() local 419 if (pipe(perr) == -1) { in do_exec_no_pty() 457 close(perr[0]); in do_exec_no_pty() 458 close(perr[1]); in do_exec_no_pty() 493 close(perr[0]); in do_exec_no_pty() 494 if (dup2(perr[1], 2) == -1) in do_exec_no_pty() 496 close(perr[1]); in do_exec_no_pty() 542 close(perr[1]); in do_exec_no_pty() 544 session_set_fds(ssh, s, pin[1], pout[0], perr[0], in do_exec_no_pty()
|
/freebsd/contrib/bsnmp/snmpd/ |
H A D | main.c | 1039 enum snmpd_proxy_err perr; in snmpd_input() local 1108 perr = (*comm->owner->config->proxy)(&pdu, tport->transport, in snmpd_input() 1112 switch (perr) { in snmpd_input()
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 5393 u32 perr; in t4_slow_intr_handler() local 5395 perr = t4_read_reg(adap, pl_perr_cause.cause_reg); in t4_slow_intr_handler() 5396 if (verbose || perr != 0) { in t4_slow_intr_handler() 5397 t4_show_intr_info(adap, &pl_perr_cause, perr); in t4_slow_intr_handler() 5398 if (perr != 0) in t4_slow_intr_handler() 5399 t4_write_reg(adap, pl_perr_cause.cause_reg, perr); in t4_slow_intr_handler() 5401 perr |= t4_read_reg(adap, pl_intr_info.enable_reg); in t4_slow_intr_handler() 5404 return (t4_handle_intr(adap, &pl_intr_info, perr, verbose)); in t4_slow_intr_handler()
|