Home
last modified time | relevance | path

Searched refs:retcode (Results 1 – 25 of 26) sorted by relevance

12

/dflybsd-src/usr.bin/su/
H A Dsu.c150 int asme, ch, asthem, fastlogin, prio, i, retcode, in main() local
278 retcode = pam_start("su", user, &conv, &pamh); in main()
279 if (retcode != PAM_SUCCESS) { in main()
280 syslog(LOG_ERR, "pam_start: %s", pam_strerror(pamh, retcode)); in main()
281 errx(1, "pam_start: %s", pam_strerror(pamh, retcode)); in main()
291 retcode = pam_authenticate(pamh, 0); in main()
292 if (retcode != PAM_SUCCESS) { in main()
306 retcode = pam_get_item(pamh, PAM_USER, &v); in main()
307 if (retcode == PAM_SUCCESS) in main()
311 pam_strerror(pamh, retcode)); in main()
[all …]
/dflybsd-src/sys/dev/drm/
H A Ddrm_ioctl.c350 int if_version, retcode = 0; in drm_setversion() local
356 retcode = -EINVAL; in drm_setversion()
367 retcode = drm_set_busid(dev, file_priv); in drm_setversion()
368 if (retcode) in drm_setversion()
377 retcode = -EINVAL; in drm_setversion()
389 return retcode; in drm_setversion()
749 int retcode;
754 retcode = drm_ioctl_permit(flags, file_priv);
755 if (unlikely(retcode))
756 return retcode;
[all …]
H A Ddrm_sysctl.c122 retcode = SYSCTL_OUT(req, buf, strlen(buf)); \
123 if (retcode) \
131 int retcode; variable
149 return retcode;
160 int retcode; variable
212 int retcode; variable
254 return retcode;
262 int retcode; variable
297 return retcode;
H A Ddrm_agpsupport.c101 int retcode; in drm_agp_acquire() local
106 retcode = -agp_acquire(dev->agp->agpdev); in drm_agp_acquire()
107 if (retcode) in drm_agp_acquire()
108 return retcode; in drm_agp_acquire()
259 int retcode; in drm_agp_alloc_ioctl() local
263 retcode = drm_agp_alloc(dev, &request); in drm_agp_alloc_ioctl()
267 return retcode; in drm_agp_alloc_ioctl()
369 int retcode; in drm_agp_bind() local
383 retcode = drm_agp_bind_memory(entry->handle, page); in drm_agp_bind()
384 if (retcode == 0) in drm_agp_bind()
[all …]
H A Ddrm_file.c155 int retcode; in drm_open() local
172 retcode = drm_open_helper(kdev, flags, filp, minor); in drm_open()
174 retcode = drm_open_helper(kdev, flags, ap->a_fp, minor); in drm_open()
176 if (retcode) in drm_open()
179 retcode = drm_setup(dev); in drm_open()
180 if (retcode) in drm_open()
191 return retcode; in drm_open()
H A Ddrm_bufs.c1461 int retcode = 0; in __drm_legacy_mapbufs() local
1490 retcode = -EINVAL; in __drm_legacy_mapbufs()
1505 retcode = (signed long)virtual; in __drm_legacy_mapbufs()
1512 retcode = -EFAULT; in __drm_legacy_mapbufs()
1519 DRM_DEBUG("%d buffers, retcode = %d\n", *p, retcode); in __drm_legacy_mapbufs()
1521 return retcode; in __drm_legacy_mapbufs()
/dflybsd-src/lib/libftpio/
H A Dftpio.h55 int *retcode);
66 const char *passwd, int *retcode);
68 const char *passwd, int *retcode);
73 int *retcode);
75 const char *passwd, int *retcode);
77 const char *passwd, int *retcode);
H A Dftpio.c275 int verbose, int *retcode) in ftpLogin() argument
278 return ftpLoginAf(host, AF_UNSPEC, user, passwd, port, verbose, retcode); in ftpLogin()
280 return ftpLoginAf(host, AF_INET, user, passwd, port, verbose, retcode); in ftpLogin()
286 int port, int verbose, int *retcode) in ftpLoginAf() argument
291 if (retcode) in ftpLoginAf()
292 *retcode = 0; in ftpLoginAf()
301 if (retcode) { in ftpLoginAf()
303 *retcode = (FtpTimedOut ? FTP_TIMED_OUT : -1); in ftpLoginAf()
307 *retcode = FTP_TIMED_OUT; /* Actually no such host, but we have no way of saying that. :-( */ in ftpLoginAf()
311 *retcode = FTP_TIMED_OUT; in ftpLoginAf()
[all …]
/dflybsd-src/contrib/cvs-1.12/src/
H A Dcommit.c1766 int retcode; in remove_file() local
1779 retcode = 0; in remove_file()
1788 if ((retcode = RCS_deltag (finfo->rcs, tag)) != 0) in remove_file()
1791 error (0, retcode == -1 ? errno : 0, in remove_file()
1853 retcode = RCS_checkout (finfo->rcs, finfo->file, rev ? corev : NULL, in remove_file()
1855 if (retcode != 0) in remove_file()
1873 retcode = RCS_checkin (finfo->rcs, NULL, finfo->file, message, in remove_file()
1875 if (retcode != 0) in remove_file()
1878 error (0, retcode == -1 ? errno : 0, in remove_file()
1952 int retcode; in unlockrcs() local
[all …]
H A Dtag.c934 int retcode = 0; in rtag_fileproc() local
1000 retcode = RCS_settag(rcsfile, symtag, numtag); in rtag_fileproc()
1001 if (retcode == 0) in rtag_fileproc()
1060 retcode = RCS_settag (rcsfile, symtag, rev); in rtag_fileproc()
1061 if (retcode == 0) in rtag_fileproc()
1065 if (retcode != 0) in rtag_fileproc()
1067 error (1, retcode == -1 ? errno : 0, in rtag_fileproc()
1102 int retcode, isbranch; in rtag_delete() local
1131 if ((retcode = RCS_deltag(rcsfile, symtag)) != 0) in rtag_delete()
1134 error (0, retcode == -1 ? errno : 0, in rtag_delete()
[all …]
H A Dno_diff.c31 int retcode = 0; in No_Difference() local
56 retcode = RCS_cmp_file (vers->srcfile, vers->vn_user, NULL, NULL, options, in No_Difference()
58 if (retcode == 0) in No_Difference()
H A Ddiff.c755 int retcode; in diff_fileproc() local
758 retcode = RCS_checkout (vers->srcfile, NULL, use_rev2, NULL, in diff_fileproc()
761 if (retcode != 0) in diff_fileproc()
770 int retcode; in diff_fileproc() local
773 retcode = RCS_checkout (vers->srcfile, NULL, use_rev1, NULL, in diff_fileproc()
776 if (retcode != 0) in diff_fileproc()
921 int retcode; in diff_file_nodiff() local
1152 retcode = RCS_cmp_file( vers->srcfile, use_rev1, rev1_cache, in diff_file_nodiff()
1156 return retcode == 0 ? DIFF_SAME : DIFF_DIFFERENT; in diff_file_nodiff()
H A Dmkmodules.c864 int retcode = 0; in checkout_file() local
886 retcode = RCS_checkout (rcsnode, NULL, NULL, NULL, NULL, temp, NULL, NULL); in checkout_file()
887 if (retcode != 0) in checkout_file()
896 return retcode; in checkout_file()
1210 int retcode; in init() local
1227 retcode = add_rcs_file ("initial checkin", info_v, in init()
1234 if (retcode != 0) in init()
H A Dupdate.c1520 int retcode = 0; in patch_file() local
1610 retcode = RCS_checkout (vers_ts->srcfile, NULL, in patch_file()
1618 if (retcode != 0 || ! data.final_nl) in patch_file()
1633 retcode = RCS_checkout (vers_ts->srcfile, NULL, in patch_file()
1641 if (retcode != 0 || ! data.final_nl) in patch_file()
1647 retcode = 0; in patch_file()
1677 retcode = diff_exec (file1, file2, NULL, NULL, dargc, dargv, in patch_file()
1683 if (retcode != 0 && retcode != 1) in patch_file()
1772 if (retcode != 0 && retcode != 1) in patch_file()
1773 error (retcode == -1 ? 1 : 0, retcode == -1 ? old_errno : 0, in patch_file()
[all …]
H A Dpatch.c384 int retcode = 0; in patch_fileproc() local
533 retcode = RCS_checkout (rcsfile, NULL, vers_tag, rev1, options, in patch_fileproc()
535 if (retcode != 0) in patch_fileproc()
556 retcode = RCS_checkout (rcsfile, NULL, vers_head, rev2, options, in patch_fileproc()
558 if (retcode != 0) in patch_fileproc()
H A Dimport.c819 int retcode = 0; in add_tags() local
825 if ((retcode = RCS_settag (rcs, vtag, vbranch)) != 0) in add_tags()
828 fperrmsg (logfp, 0, retcode == -1 ? ierrno : 0, in add_tags()
830 error (0, retcode == -1 ? ierrno : 0, in add_tags()
847 if ((retcode = RCS_settag (rcs, targv[i], vers->vn_rcs)) == 0) in add_tags()
852 fperrmsg (logfp, 0, retcode == -1 ? ierrno : 0, in add_tags()
855 error (0, retcode == -1 ? ierrno : 0, in add_tags()
H A Dlogmsg.c203 int retcode = 0; in do_editor() local
292 if ((retcode = run_exec (RUN_TTY, RUN_TTY, RUN_TTY, in do_editor()
294 error (0, retcode == -1 ? errno : 0, "warning: editor session failed"); in do_editor()
/dflybsd-src/sbin/fsck/
H A Dpreen.c76 int ret, pid, retcode, passno, sumstatus, status; in checkfstab() local
133 retcode = WEXITSTATUS(status); in checkfstab()
135 retcode = 0; in checkfstab()
140 retcode = 8; in checkfstab()
142 if (retcode != 0) { in checkfstab()
143 sumstatus |= retcode; in checkfstab()
/dflybsd-src/sys/dev/raid/mrsas/
H A Dmrsas.c1910 int i, retcode = 0; in mrsas_ioc_init() local
1977 retcode = 1; in mrsas_ioc_init()
1981 return (retcode); in mrsas_ioc_init()
2596 int retcode = 0; in mrsas_get_ctrl_info() local
2629 retcode = 1; in mrsas_get_ctrl_info()
2633 return(retcode); in mrsas_get_ctrl_info()
2705 int i, retcode = 0; in mrsas_issue_polled() local
2735 retcode = 1; in mrsas_issue_polled()
2737 return(retcode); in mrsas_issue_polled()
2869 int retcode = 0; in mrsas_issue_blocked_cmd() local
[all …]
H A Dmrsas_cam.c915 u_int32_t retcode = 0; in mrsas_map_request() local
924 retcode = bus_dmamap_load(sc->data_tag, cmd->data_dmamap, cmd->data, in mrsas_map_request()
927 if (retcode) in mrsas_map_request()
928 device_printf(sc->mrsas_dev, "bus_dmamap_load(): retcode = %d\n", retcode); in mrsas_map_request()
929 if (retcode == EINPROGRESS) { in mrsas_map_request()
936 return(retcode); in mrsas_map_request()
/dflybsd-src/contrib/gdb-7/gdb/
H A Dremote-fileio.c529 remote_fileio_reply (int retcode, int error) in remote_fileio_reply() argument
535 if (retcode < 0) in remote_fileio_reply()
538 retcode = -retcode; in remote_fileio_reply()
540 sprintf (buf + strlen (buf), "%x", retcode); in remote_fileio_reply()
571 remote_fileio_return_errno (int retcode) in remote_fileio_return_errno() argument
573 remote_fileio_reply (retcode, retcode < 0 in remote_fileio_return_errno()
578 remote_fileio_return_success (int retcode) in remote_fileio_return_success() argument
580 remote_fileio_reply (retcode, 0); in remote_fileio_return_success()
H A Dremote.c9531 remote_hostio_parse_result (char *buffer, int *retcode, in remote_hostio_parse_result() argument
9543 *retcode = strtol (&buffer[1], &p, 16); in remote_hostio_parse_result()
9990 int retcode, fd, remote_errno, bytes, io_size; in remote_file_put() local
10049 retcode = remote_hostio_pwrite (fd, buffer, bytes, in remote_file_put()
10052 if (retcode < 0) in remote_file_put()
10054 else if (retcode == 0) in remote_file_put()
10056 else if (retcode < bytes) in remote_file_put()
10060 bytes_in_buffer = bytes - retcode; in remote_file_put()
10061 memmove (buffer, buffer + retcode, bytes_in_buffer); in remote_file_put()
10064 offset += retcode; in remote_file_put()
[all …]
/dflybsd-src/usr.sbin/lpr/lpd/
H A Dprintjob.c596 int p[2], retcode, stopped, wstatus, wstatus_set; in print() local
807 retcode = 100; in print()
812 retcode = 100; in print()
818 retcode = WEXITSTATUS(wstatus); in print()
843 switch (retcode) { in print()
853 pp->printer, format, retcode); in print()
1210 int errfd, retcode, wstatus; in execfilter() local
1222 retcode = 100; in execfilter()
1228 retcode = 100; in execfilter()
1233 retcode = WEXITSTATUS(wstatus); in execfilter()
[all …]
/dflybsd-src/crypto/libressl/crypto/ocsp/
H A Docsp_ht.c203 int retcode; in parse_http_line1() local
234 retcode = strtoul(p, &r, 10); in parse_http_line1()
250 if (retcode != 200) { in parse_http_line1()
/dflybsd-src/sbin/vquota/
H A Dvquota.c61 usage(int retcode) in usage() argument
70 exit(retcode); in usage()

12