Home
last modified time | relevance | path

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

12

/trueos/contrib/apr-util/ldap/
HDapr_ldap_rebind.c78 apr_status_t retcode = APR_SUCCESS; in apr_ldap_rebind_init() local
90 retcode = apr_thread_mutex_create(&apr_ldap_xref_lock, APR_THREAD_MUTEX_DEFAULT, pool); in apr_ldap_rebind_init()
94 return(retcode); in apr_ldap_rebind_init()
103 apr_status_t retcode = APR_SUCCESS; in apr_ldap_rebind_add() local
122 retcode = apr_thread_mutex_lock(apr_ldap_xref_lock); in apr_ldap_rebind_add()
123 if (retcode != APR_SUCCESS) { in apr_ldap_rebind_add()
124 return retcode; in apr_ldap_rebind_add()
132 retcode = apr_thread_mutex_unlock(apr_ldap_xref_lock); in apr_ldap_rebind_add()
133 if (retcode != APR_SUCCESS) { in apr_ldap_rebind_add()
134 return retcode; in apr_ldap_rebind_add()
[all …]
/trueos/sys/dev/drm/
HDdrm_agpsupport.c153 int retcode; in drm_agp_acquire() local
158 retcode = agp_acquire(dev->agp->agpdev); in drm_agp_acquire()
159 if (retcode) in drm_agp_acquire()
160 return retcode; in drm_agp_acquire()
251 int retcode; in drm_agp_alloc_ioctl() local
256 retcode = drm_agp_alloc(dev, &request); in drm_agp_alloc_ioctl()
261 return retcode; in drm_agp_alloc_ioctl()
278 int retcode; in drm_agp_unbind() local
288 retcode = drm_agp_unbind_memory(entry->handle); in drm_agp_unbind()
291 if (retcode == 0) in drm_agp_unbind()
[all …]
HDdrm_fops.c47 int retcode; in drm_open_helper() local
71 retcode = -dev->driver->open(dev, priv); in drm_open_helper()
72 if (retcode != 0) { in drm_open_helper()
75 return retcode; in drm_open_helper()
86 retcode = devfs_set_cdevpriv(priv, drm_close); in drm_open_helper()
87 if (retcode != 0) in drm_open_helper()
90 return (retcode); in drm_open_helper()
HDdrm_drv.c432 int i, retcode; in drm_load() local
462 retcode = -dev->driver->load(dev, in drm_load()
467 if (retcode != 0) in drm_load()
478 retcode = ENOMEM; in drm_load()
488 retcode = drm_ctxbitmap_init(dev); in drm_load()
489 if (retcode != 0) { in drm_load()
521 return retcode; in drm_load()
536 int __unused retcode; in drm_unload() local
538 retcode = drm_mtrr_del(0, dev->agp->info.ai_aperture_base, in drm_unload()
540 DRM_DEBUG("mtrr_del = %d", retcode); in drm_unload()
[all …]
HDdrm_sysctl.c128 retcode = SYSCTL_OUT(req, buf, strlen(buf)); \
129 if (retcode) \
137 int retcode; variable
155 return retcode;
166 int retcode; variable
217 return retcode;
228 int retcode; variable
274 return retcode;
282 int retcode; variable
319 return retcode;
[all …]
HDdrm_bufs.c318 int __unused retcode; in drm_rmmap() local
320 retcode = drm_mtrr_del(0, map->offset, map->size, in drm_rmmap()
322 DRM_DEBUG("mtrr_del = %d\n", retcode); in drm_rmmap()
920 int retcode = 0; in drm_infobufs() local
945 retcode = EFAULT; in drm_infobufs()
960 return retcode; in drm_infobufs()
1000 int retcode = 0; in drm_freebufs() local
1007 retcode = EFAULT; in drm_freebufs()
1013 retcode = EINVAL; in drm_freebufs()
1020 retcode = EINVAL; in drm_freebufs()
[all …]
HDvia_dma.c244 int retcode = 0; in via_dma_init() local
249 retcode = -EPERM; in via_dma_init()
251 retcode = via_initialize(dev, dev_priv, init); in via_dma_init()
255 retcode = -EPERM; in via_dma_init()
257 retcode = via_dma_cleanup(dev); in via_dma_init()
260 retcode = (dev_priv->ring.virtual_start != NULL) ? in via_dma_init()
264 retcode = -EINVAL; in via_dma_init()
268 return retcode; in via_dma_init()
/trueos/usr.bin/su/
HDsu.c162 int asme, ch, asthem, fastlogin, prio, i, retcode, in main() local
289 retcode = pam_start("su", user, &conv, &pamh); in main()
290 if (retcode != PAM_SUCCESS) { in main()
291 syslog(LOG_ERR, "pam_start: %s", pam_strerror(pamh, retcode)); in main()
292 errx(1, "pam_start: %s", pam_strerror(pamh, retcode)); in main()
302 retcode = pam_authenticate(pamh, 0); in main()
303 if (retcode != PAM_SUCCESS) { in main()
317 retcode = pam_get_item(pamh, PAM_USER, &v); in main()
318 if (retcode == PAM_SUCCESS) in main()
322 pam_strerror(pamh, retcode)); in main()
[all …]
/trueos/sys/dev/drm2/
HDdrm_sysctl.c158 retcode = SYSCTL_OUT(req, buf, strlen(buf)); \
159 if (retcode) \
169 int retcode; variable
190 return retcode;
210 int retcode; variable
273 return retcode;
284 int retcode; variable
330 return retcode;
338 int retcode; variable
375 return retcode;
[all …]
HDdrm_stub.c228 int retcode, i; in drm_fill_in_dev() local
263 retcode = drm_pci_agp_init(dev); in drm_fill_in_dev()
264 if (retcode) in drm_fill_in_dev()
269 retcode = drm_ctxbitmap_init(dev); in drm_fill_in_dev()
270 if (retcode) { in drm_fill_in_dev()
276 retcode = drm_gem_init(dev); in drm_fill_in_dev()
277 if (retcode) { in drm_fill_in_dev()
284 retcode = drm_sysctl_init(dev); in drm_fill_in_dev()
285 if (retcode != 0) { in drm_fill_in_dev()
287 retcode); in drm_fill_in_dev()
[all …]
HDdrm_drv.c365 int retcode; in drm_ioctl() local
369 retcode = devfs_get_cdevpriv((void **)&file_priv); in drm_ioctl()
370 if (retcode != 0) { in drm_ioctl()
375 retcode = -EINVAL; in drm_ioctl()
455 retcode = -EINVAL; in drm_ioctl()
460 retcode = -EACCES; in drm_ioctl()
463 retcode = func(dev, data, file_priv); in drm_ioctl()
466 retcode = func(dev, data, file_priv); in drm_ioctl()
473 if (retcode) in drm_ioctl()
474 DRM_DEBUG("ret = %d\n", retcode); in drm_ioctl()
[all …]
HDdrm_agpsupport.c101 int retcode; in drm_agp_acquire() local
107 retcode = agp_acquire(dev->agp->bridge); in drm_agp_acquire()
108 if (retcode) in drm_agp_acquire()
109 return -retcode; in drm_agp_acquire()
323 int retcode; in drm_agp_bind() local
333 if ((retcode = drm_bind_agp(entry->memory, page))) in drm_agp_bind()
334 return retcode; in drm_agp_bind()
HDdrm_ioctl.c311 int if_version, retcode = 0; in drm_setversion() local
316 retcode = -EINVAL; in drm_setversion()
327 retcode = drm_set_busid(dev, file_priv); in drm_setversion()
328 if (retcode) in drm_setversion()
337 retcode = -EINVAL; in drm_setversion()
351 return retcode; in drm_setversion()
HDdrm_fops.c126 int retcode = 0; in drm_open() local
145 retcode = drm_open_helper(kdev, flags, fmt, p, dev); in drm_open()
146 if (retcode) { in drm_open()
148 return (-retcode); in drm_open()
152 retcode = drm_setup(dev); in drm_open()
153 if (retcode) in drm_open()
165 return -retcode; in drm_open()
HDdrm_bufs.c541 int retcode; in drm_rmmap_locked() local
542 retcode = drm_mtrr_del(map->mtrr, map->offset, in drm_rmmap_locked()
544 DRM_DEBUG("mtrr_del=%d\n", retcode); in drm_rmmap_locked()
1600 int retcode = 0; in drm_mapbufs() local
1634 retcode = -EINVAL; in drm_mapbufs()
1637 retcode = vm_mmap(&vms->vm_map, &virtual, map->size, in drm_mapbufs()
1642 retcode = vm_mmap(&vms->vm_map, &virtual, dma->byte_count, in drm_mapbufs()
1647 if (retcode) { in drm_mapbufs()
1649 retcode = -retcode; in drm_mapbufs()
1658 retcode = -EFAULT; in drm_mapbufs()
[all …]
/trueos/contrib/gdb/gdb/
HDf-typeprint.c162 int retcode; in f_type_print_varspec_suffix() local
183 retcode = f77_get_dynamic_lowerbound (type, &lower_bound); in f_type_print_varspec_suffix()
187 if (retcode == BOUND_FETCH_ERROR) in f_type_print_varspec_suffix()
206 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_varspec_suffix()
208 if (retcode == BOUND_FETCH_ERROR) in f_type_print_varspec_suffix()
289 int retcode; in f_type_print_base() local
385 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f_type_print_base()
387 if (retcode == BOUND_FETCH_ERROR) in f_type_print_base()
HDf-valprint.c198 int retcode; in f77_get_dynamic_length_of_aggregate() local
214 retcode = f77_get_dynamic_lowerbound (type, &lower_bound); in f77_get_dynamic_length_of_aggregate()
215 if (retcode == BOUND_FETCH_ERROR) in f77_get_dynamic_length_of_aggregate()
218 retcode = f77_get_dynamic_upperbound (type, &upper_bound); in f77_get_dynamic_length_of_aggregate()
219 if (retcode == BOUND_FETCH_ERROR) in f77_get_dynamic_length_of_aggregate()
237 int upper, lower, retcode; in f77_create_arrayprint_offset_tbl() local
246 retcode = f77_get_dynamic_upperbound (tmp_type, &upper); in f77_create_arrayprint_offset_tbl()
247 if (retcode == BOUND_FETCH_ERROR) in f77_create_arrayprint_offset_tbl()
250 retcode = f77_get_dynamic_lowerbound (tmp_type, &lower); in f77_create_arrayprint_offset_tbl()
251 if (retcode == BOUND_FETCH_ERROR) in f77_create_arrayprint_offset_tbl()
HDremote-fileio.c487 remote_fileio_reply (int retcode, int error) in remote_fileio_reply() argument
493 if (retcode < 0) in remote_fileio_reply()
496 retcode = -retcode; in remote_fileio_reply()
498 sprintf (buf + strlen (buf), "%x", retcode); in remote_fileio_reply()
529 remote_fileio_return_errno (int retcode) in remote_fileio_return_errno() argument
531 remote_fileio_reply (retcode, in remote_fileio_return_errno()
532 retcode < 0 ? remote_fileio_errno_to_target (errno) : 0); in remote_fileio_return_errno()
536 remote_fileio_return_success (int retcode) in remote_fileio_return_success() argument
538 remote_fileio_reply (retcode, 0); in remote_fileio_return_success()
HDmipsnbsd-tdep.c194 const char *retcode = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG in mipsnbsd_sigtramp_offset() local
205 if (memcmp (w, retcode + (i * 4), 4) == 0) in mipsnbsd_sigtramp_offset()
217 if (memcmp (ret, retcode, RETCODE_SIZE) == 0) in mipsnbsd_sigtramp_offset()
/trueos/sbin/quotacheck/
HDpreen.c93 int ret, pid, retcode, passno, sumstatus, status, nextpass; in checkfstab() local
156 retcode = WEXITSTATUS(status); in checkfstab()
158 retcode = 0; in checkfstab()
167 retcode = 8; in checkfstab()
172 if (retcode != 0) { in checkfstab()
174 sumstatus |= retcode; in checkfstab()
/trueos/sys/i386/i386/
HDvm86.c139 int retcode = 0; local
151 retcode = SIGTRAP;
219 return (retcode);
235 return (retcode);
254 return (retcode);
268 return (retcode);
275 return (retcode);
283 return (retcode);
292 return (retcode);
309 return (retcode);
[all …]
/trueos/sbin/fsck/
HDpreen.c91 int ret, pid, retcode, passno, sumstatus, status, nextpass; in checkfstab() local
174 retcode = WEXITSTATUS(status); in checkfstab()
176 retcode = 0; in checkfstab()
190 retcode = 8; in checkfstab()
195 if (retcode != 0) { in checkfstab()
197 sumstatus |= retcode; in checkfstab()
/trueos/sbin/mdconfig/
HDmdconfig.c413 int retcode, ffound, ufound; in md_list() local
418 retcode = geom_gettree(&gm); in md_list()
419 if (retcode != 0) in md_list()
421 retcode = geom_stats_open(); in md_list()
422 if (retcode != 0) in md_list()
440 retcode = md_find(units, pp->lg_name); in md_list()
441 if (retcode != 1) in md_list()
/trueos/contrib/llvm/tools/lldb/source/Plugins/Platform/POSIX/
HDPlatformPOSIX.cpp260 int retcode; in PutFile() local
263 &retcode, in PutFile()
267 if (retcode == 0) in PutFile()
440 int retcode; in GetFile() local
443 &retcode, in GetFile()
447 if (retcode == 0) in GetFile()
/trueos/sys/dev/mrsas/
HDmrsas.c2277 int i, retcode = 0; in mrsas_ioc_init() local
2348 retcode = 1; in mrsas_ioc_init()
2352 return (retcode); in mrsas_ioc_init()
3016 int retcode = 0; in mrsas_get_ctrl_info() local
3049 retcode = 1; in mrsas_get_ctrl_info()
3055 return (retcode); in mrsas_get_ctrl_info()
3173 int i, retcode = 0; in mrsas_issue_polled() local
3201 retcode = 1; in mrsas_issue_polled()
3203 return (retcode); in mrsas_issue_polled()
3330 int retcode = 0; in mrsas_issue_blocked_cmd() local
[all …]

12