/titanic_41/usr/src/lib/libdhcputil/common/ |
H A D | dhcp_inittab.c | 1013 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_41/usr/src/lib/libc/port/aio/ |
H A D | aio.c | 319 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 D | posix_aio.c | 634 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_41/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_main.c | 422 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_41/usr/src/lib/libaio/common/ |
H A D | llib-laio | 35 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_41/usr/src/uts/common/os/ |
H A D | aio.c | 1674 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 D | aio_subr.c | 507 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_41/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mdmn_commd_server.c | 326 md_mn_result_t *resultp; in timeout_initiator() local 328 resultp = Zalloc(sizeof (md_mn_result_t)); in timeout_initiator() 329 resultp->mmr_comm_state = MDMNE_TIMEOUT; in timeout_initiator() 342 MSGID_COPY(&mid, &(resultp->mmr_msgid)); in timeout_initiator() 345 mdmn_svc_sendreply(transp, xdr_md_mn_result_t, (char *)resultp); in timeout_initiator() 347 free(resultp); in timeout_initiator() 1127 md_mn_result_t *resultp; in mdmn_send_to_work() local 1128 resultp = Zalloc(sizeof (md_mn_result_t)); in mdmn_send_to_work() 1129 resultp->mmr_comm_state = success; in mdmn_send_to_work() 1134 MSGID_COPY(&(msg->msg_msgid), &(resultp->mmr_msgid)); in mdmn_send_to_work() [all …]
|
/titanic_41/usr/src/uts/common/sys/1394/adapters/ |
H A D | hci1394_isoch.h | 212 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 D | hci1394_ixl.h | 270 ixl1394_command_t *ixlp, int *resultp); 273 int *resultp);
|
/titanic_41/usr/src/uts/common/fs/dev/ |
H A D | sdev_comm.c | 287 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_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_db.c | 905 md_mn_result_t *resultp = NULL; in meta_db_addsidenms() local 932 &resultp, ep); in meta_db_addsidenms() 935 if (resultp == NULL) in meta_db_addsidenms() 942 &(resultp->mmr_ep)); in meta_db_addsidenms() 949 free_result(resultp); in meta_db_addsidenms() 953 if (resultp) in meta_db_addsidenms() 954 free_result(resultp); in meta_db_addsidenms() 1029 md_mn_result_t *resultp = NULL; in meta_db_delsidenm() local 1051 sizeof (md_mn_msg_meta_db_delside_t), &resultp, ep); in meta_db_delsidenm() 1053 if (resultp == NULL) in meta_db_delsidenm() [all …]
|
/titanic_41/usr/src/uts/sun4u/excalibur/io/ |
H A D | xcalwd.c | 72 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_41/usr/src/uts/sun4u/opl/io/oplpanel/ |
H A D | oplpanel.c | 324 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_41/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_isoch.c | 184 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_41/usr/src/uts/sun4v/io/ |
H A D | mdesc.c | 182 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 D | ds_pri.c | 276 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 D | ds_snmp.c | 267 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_41/usr/src/lib/libc/inc/ |
H A D | asyncio.h | 261 #define AIOHASH(resultp) ((((uintptr_t)(resultp) >> 17) ^ \ argument 262 ((uintptr_t)(resultp) >> 2)) & (HASHSZ - 1))
|
/titanic_41/usr/src/uts/intel/io/agpgart/ |
H A D | amd64_gart.c | 132 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_41/usr/src/uts/common/fs/getgen/ |
H A D | getgen.c | 296 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_41/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 120 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_41/usr/src/uts/sun4u/io/ |
H A D | rmcadm.c | 45 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 D | ppm_xgsubr.c | 79 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_41/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_main.c | 347 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()
|