Home
last modified time | relevance | path

Searched refs:resultp (Results 1 – 25 of 69) sorted by relevance

123

/titanic_44/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c1013 char *resultp, *result = NULL; in inittab_decode_e() local
1090 resultp = result; in inittab_decode_e()
1095 dstart = resultp; in inittab_decode_e()
1102 resultp = dstart; in inittab_decode_e()
1105 if (resultp != dstart) in inittab_decode_e()
1106 *resultp++ = '.'; in inittab_decode_e()
1113 (void) snprintf(resultp, 5, in inittab_decode_e()
1116 resultp += 4; in inittab_decode_e()
1121 *resultp++ = '\\'; in inittab_decode_e()
1122 *resultp++ = *payload++; in inittab_decode_e()
[all …]
/titanic_44/usr/src/lib/libc/port/aio/
H A Daio.c319 aio_result_t *resultp) in aioread() argument
321 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOREAD)); in aioread()
326 aio_result_t *resultp) in aiowrite() argument
328 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOWRITE)); in aiowrite()
334 aio_result_t *resultp) in aioread64() argument
336 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOAREAD64)); in aioread64()
341 aio_result_t *resultp) in aiowrite64() argument
343 return (_aiorw(fd, buf, bufsz, offset, whence, resultp, AIOAWRITE64)); in aiowrite64()
349 aio_result_t *resultp, int mode) in _aiorw() argument
403 resultp->aio_errno = 0; in _aiorw()
[all …]
H A Dposix_aio.c634 const aio_result_t *resultp = &aiocbp->aio_resultp; in aio_error() local
638 if ((error = resultp->aio_errno) == EINPROGRESS) { in aio_error()
650 error = resultp->aio_errno; in aio_error()
656 if ((reqp = _aio_hash_del((aio_result_t *)resultp)) == NULL) { in aio_error()
673 aio_result_t *resultp = &aiocbp->aio_resultp; in aio_return() local
684 error = resultp->aio_errno; in aio_return()
686 retval = resultp->aio_return; in aio_return()
705 if (resultp->aio_return == -1 && resultp->aio_errno == EINVAL) { in aio_return()
710 resultp->aio_return = -1; in aio_return()
711 resultp->aio_errno = EINVAL; in aio_return()
[all …]
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_main.c422 void *resultp = NULL; in cachefsdprog_1() local
449 resultp = (void *)cfsd_calloc(rtp->len_res); in cachefsdprog_1()
456 cfsd_free(resultp); in cachefsdprog_1()
464 xx = (*local)(argumentp, resultp, rqstp); in cachefsdprog_1()
473 xx = svc_sendreply(transp, rtp->xdr_res, (caddr_t)resultp); in cachefsdprog_1()
479 (caddr_t)resultp); in cachefsdprog_1()
492 if (resultp) in cachefsdprog_1()
493 cfsd_free(resultp); in cachefsdprog_1()
/titanic_44/usr/src/lib/libaio/common/
H A Dllib-laio35 aio_result_t *resultp);
37 aio_result_t *resultp);
40 aio_result_t *resultp);
42 aio_result_t *resultp);
44 int aiocancel(aio_result_t *resultp);
/titanic_44/usr/src/uts/common/os/
H A Daio.c1674 aio_list_get(aio_result_t *resultp) in aio_list_get() argument
1686 if (resultp) { in aio_list_get()
1687 index = AIO_HASH(resultp); in aio_list_get()
1691 if (reqp->aio_req_resultp == resultp) { in aio_list_get()
1702 lio_set_uerror(void *resultp, int error) in lio_set_uerror() argument
1711 (void) sulword(&((aio_result_t *)resultp)->aio_return, in lio_set_uerror()
1713 (void) suword32(&((aio_result_t *)resultp)->aio_errno, error); in lio_set_uerror()
1717 (void) suword32(&((aio_result32_t *)resultp)->aio_return, in lio_set_uerror()
1719 (void) suword32(&((aio_result32_t *)resultp)->aio_errno, error); in lio_set_uerror()
1733 aio_result_t *resultp; in alio_cleanup() local
[all …]
H A Daio_subr.c507 aio_result_t *resultp = reqp->aio_req_resultp; in aio_hash_delete() local
511 index = AIO_HASH(resultp); in aio_hash_delete()
514 if (current->aio_req_resultp == resultp) { in aio_hash_delete()
1098 void *resultp; in aio_copyout_result() local
1110 resultp = (void *)reqp->aio_req_resultp; in aio_copyout_result()
1123 (void) sulword(&((aio_result_t *)resultp)->aio_return, retval); in aio_copyout_result()
1124 (void) suword32(&((aio_result_t *)resultp)->aio_errno, error); in aio_copyout_result()
1126 (void) suword32(&((aio_result32_t *)resultp)->aio_return, in aio_copyout_result()
1128 (void) suword32(&((aio_result32_t *)resultp)->aio_errno, error); in aio_copyout_result()
1131 (void) suword32(&((aio_result_t *)resultp)->aio_return, retval); in aio_copyout_result()
[all …]
/titanic_44/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_isoch.h212 void **hal_idma_handle, int *resultp);
215 id1394_isoch_dma_ctrlinfo_t *idma_ctrlinfo, uint_t flags, int *resultp);
218 int *resultp);
220 int *resultp);
H A Dhci1394_ixl.h270 ixl1394_command_t *ixlp, int *resultp);
273 int *resultp);
/titanic_44/usr/src/uts/common/fs/dev/
H A Dsdev_comm.c287 sdev_ki_call_devfsadmd(sdev_door_arg_t *argp, sdev_door_res_t *resultp) in sdev_ki_call_devfsadmd() argument
305 darg.rbuf = (char *)(resultp); in sdev_ki_call_devfsadmd()
369 ASSERT((struct sdev_door_res *)(intptr_t)darg.rbuf == resultp); in sdev_ki_call_devfsadmd()
370 if (resultp->devfsadm_error != 0) { in sdev_ki_call_devfsadmd()
372 resultp->devfsadm_error)); in sdev_ki_call_devfsadmd()
373 error = resultp->devfsadm_error; in sdev_ki_call_devfsadmd()
/titanic_44/usr/src/uts/sun4u/excalibur/io/
H A Dxcalwd.c72 void *arg, void **resultp);
199 void *arg, void **resultp) in xcalwd_getinfo() argument
212 *resultp = NULL; in xcalwd_getinfo()
214 *resultp = tsp->dip; in xcalwd_getinfo()
219 *resultp = (void *)(uintptr_t)getminor(dev); in xcalwd_getinfo()
/titanic_44/usr/src/uts/sun4u/opl/io/oplpanel/
H A Doplpanel.c324 panel_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp) in panel_getinfo() argument
340 *resultp = NULL; in panel_getinfo()
343 *resultp = statep->dip; in panel_getinfo()
346 *resultp = (void *)(uintptr_t)instance; in panel_getinfo()
/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_isoch.c184 void **hal_idma_handlep, int *resultp) in hci1394_alloc_isoch_dma() argument
232 *resultp = IXL1394_ENO_DMA_RESRCS; in hci1394_alloc_isoch_dma()
270 *resultp = IXL1394_ENO_DMA_RESRCS; in hci1394_alloc_isoch_dma()
307 err = hci1394_compile_ixl(soft_statep, ctxtp, idi->ixlp, resultp); in hci1394_alloc_isoch_dma()
330 "IXL compilation error", tnf_int, ixl_error, *resultp); in hci1394_alloc_isoch_dma()
525 id1394_isoch_dma_updateinfo_t *idma_updateinfop, uint_t flags, int *resultp) in hci1394_update_isoch_dma() argument
568 *resultp = IXL1394_ECOUNT_MISMATCH; in hci1394_update_isoch_dma()
580 cur_orig_ixlp, 0, resultp); in hci1394_update_isoch_dma()
/titanic_44/usr/src/uts/sun4v/io/
H A Dmdesc.c182 mdesc_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp) in mdesc_getinfo() argument
187 ASSERT(resultp != NULL); in mdesc_getinfo()
194 *resultp = mdesc_devi; in mdesc_getinfo()
197 *resultp = NULL; in mdesc_getinfo()
200 *resultp = (void *)(uintptr_t)getminor((dev_t)arg); in mdesc_getinfo()
H A Dds_pri.c276 ds_pri_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp) in ds_pri_getinfo() argument
281 ASSERT(resultp != NULL); in ds_pri_getinfo()
287 *resultp = sp->dip; in ds_pri_getinfo()
290 *resultp = NULL; in ds_pri_getinfo()
294 *resultp = (void *)(uintptr_t)getminor((dev_t)arg); in ds_pri_getinfo()
H A Dds_snmp.c267 ds_snmp_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp) in ds_snmp_getinfo() argument
272 ASSERT(resultp != NULL); in ds_snmp_getinfo()
278 *resultp = sp->dip; in ds_snmp_getinfo()
281 *resultp = NULL; in ds_snmp_getinfo()
285 *resultp = (void *)(uintptr_t)getminor((dev_t)arg); in ds_snmp_getinfo()
/titanic_44/usr/src/lib/libc/inc/
H A Dasyncio.h261 #define AIOHASH(resultp) ((((uintptr_t)(resultp) >> 17) ^ \ argument
262 ((uintptr_t)(resultp) >> 2)) & (HASHSZ - 1))
/titanic_44/usr/src/uts/intel/io/agpgart/
H A Damd64_gart.c132 void *arg, void **resultp) in amd64_gart_getinfo() argument
145 *resultp = st->gsoft_dip; in amd64_gart_getinfo()
149 *resultp = NULL; in amd64_gart_getinfo()
156 *resultp = (void *)(uintptr_t)instance; in amd64_gart_getinfo()
/titanic_44/usr/src/uts/common/fs/getgen/
H A Dgetgen.c296 gg_getinfo(dev_info_t *dip, ddi_info_cmd_t infocmd, void *arg, void **resultp) in gg_getinfo() argument
306 *resultp = sp->dip; in gg_getinfo()
310 *resultp = NULL; in gg_getinfo()
315 *resultp = (void *)(uintptr_t)instance; in gg_getinfo()
/titanic_44/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c120 nvlist_t *source, nvlist_t **resultp) in lzc_ioctl() argument
135 if (resultp != NULL) { in lzc_ioctl()
136 *resultp = NULL; in lzc_ioctl()
147 if (errno == ENOMEM && resultp != NULL) { in lzc_ioctl()
162 *resultp = fnvlist_unpack((void *)(uintptr_t)zc.zc_nvlist_dst, in lzc_ioctl()
/titanic_44/usr/src/uts/sun4u/io/
H A Drmcadm.c45 void **resultp);
199 rmcadm_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp) in rmcadm_getinfo() argument
206 *resultp = NULL; in rmcadm_getinfo()
209 *resultp = rmcadm_dip; in rmcadm_getinfo()
212 *resultp = (void *)(uintptr_t)m; in rmcadm_getinfo()
H A Dppm_xgsubr.c79 ppm_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp) in ppm_getinfo() argument
90 *resultp = overlay->dip; in ppm_getinfo()
97 *resultp = (void *)(uintptr_t)ppm_inst; in ppm_getinfo()
/titanic_44/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_main.c347 eibnx_getinfo(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **resultp) in eibnx_getinfo() argument
353 *resultp = (ss) ? ss->nx_dip : NULL; in eibnx_getinfo()
356 *resultp = 0; in eibnx_getinfo()
/titanic_44/usr/src/lib/libsqlite/src/
H A Dprintf.c831 char ***resultp, /* Result written to a char *[] that this points to */ in sqlite_get_table_printf() argument
841 rc = sqlite_get_table_vprintf(db, sqlFormat, resultp, nrow, ncol, errmsg, ap); in sqlite_get_table_printf()
848 char ***resultp, /* Result written to a char *[] that this points to */ in sqlite_get_table_vprintf() argument
858 rc = sqlite_get_table(db, zSql, resultp, nrow, ncolumn, errmsg); in sqlite_get_table_vprintf()
/titanic_44/usr/src/uts/common/sys/fs/
H A Dufs_inode.h544 #define UFS_GET_ISIZE(resultp, ip) *(resultp) = (ip)->i_size argument
549 #define UFS_GET_ISIZE(resultp, ip) \ argument
552 *(resultp) = (ip)->i_size; \

123