Home
last modified time | relevance | path

Searched refs:rvalp (Results 1 – 25 of 217) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_door.c180 (void) door_return((char *)rvalp, sizeof (*rvalp), NULL, 0); in ipmgmt_getprop_handler()
383 void *rvalp; in ipmgmt_aobjop_handler() local
397 rvalp = &aobjrval; in ipmgmt_aobjop_handler()
420 rvalp = &rval; in ipmgmt_aobjop_handler()
432 rvalp = &rval; in ipmgmt_aobjop_handler()
452 rvalp = &aobjrval; in ipmgmt_aobjop_handler()
520 rvalp = &rval; in ipmgmt_aobjop_handler()
769 rvalp->ir_err = 0; in ipmgmt_initif_handler()
778 (void) door_return((char *)rvalp, sizeof (*rvalp), NULL, 0); in ipmgmt_initif_handler()
868 rvalp->ir_err = 0; in ipmgmt_common_handler()
[all …]
/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun_ctl.c39 iptun_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_create() argument
46 iptun_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_delete() argument
53 iptun_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_modify() argument
60 iptun_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in iptun_ioc_info() argument
68 int *rvalp) in iptun_ioc_set_6to4relay() argument
82 int *rvalp) in iptun_ioc_get_6to4relay() argument
/illumos-gate/usr/src/uts/common/io/
H A Dsysevent.c152 sysevent_publish(dev_t dev, int *rvalp, void *arg, int flag, cred_t *cr) in sysevent_publish() argument
586 int flag, cred_t *cr, int *rvalp) in sysevent_ioctl() argument
592 rc = sysevent_publish(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
595 rc = sysevent_chan_open(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
598 rc = sysevent_chan_control(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
601 rc = sysevent_subscribe(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
604 rc = sysevent_unsubscribe(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
607 rc = sysevent_channames(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
610 rc = sysevent_chandata(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
613 rc = sysevent_setpropnvl(dev, rvalp, (void *)arg, flag, cr); in sysevent_ioctl()
[all …]
H A Dcons.c444 struct cred *cred, int *rvalp) in cnprivateioc() argument
491 return (cdev_ioctl(rconsdev, CONS_GETTERM, arg, flag, cred, rvalp)); in cnprivateioc()
497 int *rvalp) in cnioctl() argument
513 return (cnprivateioc(dev, cmd, arg, flag, cred, rvalp)); in cnioctl()
517 cred, rvalp)); in cnioctl()
519 return (cdev_ioctl(rconsdev, cmd, arg, flag, cred, rvalp)); in cnioctl()
H A Diwscons.c330 cred_t *cred, int *rvalp) in iwscnioctl() argument
375 FKIOCTL, K_TO_K, cred, rvalp); in iwscnioctl()
386 cred, rvalp); in iwscnioctl()
418 *rvalp = (str_vp(f->f_vnode) == lp->wl_vp); in iwscnioctl()
441 FKIOCTL, K_TO_K, cred, rvalp); in iwscnioctl()
450 error = VOP_IOCTL(lp->wl_vp, cmd, arg, flag, cred, rvalp, NULL); in iwscnioctl()
459 error = VOP_IOCTL(lp->wl_vp, cmd, arg, flag, cred, rvalp, NULL); in iwscnioctl()
H A Dkstat.c62 read_kstat_data(int *rvalp, void *user_ksp, int flag) in read_kstat_data() argument
160 *rvalp = kstat_chain_id; in read_kstat_data()
403 write_kstat_data(int *rvalp, void *user_ksp, int flag, cred_t *cred) in write_kstat_data() argument
655 *rvalp = kstat_chain_id; in write_kstat_data()
664 kstat_ioctl(dev_t dev, int cmd, intptr_t data, int flag, cred_t *cr, int *rvalp) in kstat_ioctl() argument
671 *rvalp = kstat_chain_id; in kstat_ioctl()
675 rc = read_kstat_data(rvalp, (void *)data, flag); in kstat_ioctl()
679 rc = write_kstat_data(rvalp, (void *)data, flag, cr); in kstat_ioctl()
H A Ddump.c92 dump_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cred, int *rvalp) in dump_ioctl() argument
141 *rvalp = dump_conflags; in dump_ioctl()
143 *rvalp |= DUMP_EXCL; in dump_ioctl()
/illumos-gate/usr/src/lib/libipadm/common/
H A Dlibipadm.c791 ipmgmt_get_rval_t *rvalp = NULL; in i_ipadm_init_ifs() local
834 rvalp->ir_nvlsize, allifs, 0); in i_ipadm_init_ifs()
841 free(rvalp); in i_ipadm_init_ifs()
898 ipmgmt_retval_t rval, *rvalp; in ipadm_door_call() local
902 rvalp = &rval; in ipadm_door_call()
903 rbufp = (void **)&rvalp; in ipadm_door_call()
985 ipmgmt_get_rval_t *rvalp; in i_ipadm_call_ipmgmtd() local
991 if (rvalp == NULL) in i_ipadm_call_ipmgmtd()
995 sizeof (*rvalp), B_TRUE); in i_ipadm_call_ipmgmtd()
997 nvlsize = rvalp->ir_nvlsize; in i_ipadm_call_ipmgmtd()
[all …]
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_devctl.c51 cred_t *credp, int *rvalp);
53 cred_t *credp, int *rvalp);
168 cred_t *credp, int *rvalp) in pci_devctl_ioctl() argument
235 pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in pci_ioctl() argument
251 *rvalp = pci_dma_test(cmd, dip, pci_p, arg); in pci_ioctl()
315 dev, cmd, arg, mode, credp, rvalp); in pci_ioctl()
318 dip, cmd, arg, mode, credp, rvalp); in pci_ioctl()
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c421 fc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_ioctl() argument
443 return (fc_get_parameters(dev, arg, mode, credp, rvalp)); in fc_ioctl()
450 return (fc_get_my_args(dev, arg, mode, credp, rvalp)); in fc_ioctl()
457 return (fc_run_priv(dev, arg, mode, credp, rvalp)); in fc_ioctl()
464 return (fc_validate(dev, arg, mode, credp, rvalp)); in fc_ioctl()
470 return (fc_get_fcode(dev, arg, mode, credp, rvalp)); in fc_ioctl()
477 return (fc_set_fcode_error(dev, arg, mode, credp, rvalp)); in fc_ioctl()
567 fc_get_my_args(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_get_my_args() argument
613 fc_run_priv(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_run_priv() argument
776 fc_validate(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_validate() argument
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/daplt/
H A Ddaplt.c1310 *rvalp = (int)status; in daplka_ep_create()
1338 *rvalp = (int)status; in daplka_ep_create()
1707 *rvalp = (int)status; in daplka_ep_modify()
2187 *rvalp = (int)status; in daplka_ep_connect()
2260 *rvalp = (int)status; in daplka_ep_connect()
2395 *rvalp = (int)status; in daplka_ep_disconnect()
2450 *rvalp = (int)status; in daplka_ep_reinit()
2809 *rvalp = (int)status; in daplka_cq_resize()
4057 *rvalp = (int)status; in daplka_cr_accept()
4182 *rvalp = (int)status; in daplka_cr_reject()
[all …]
/illumos-gate/usr/src/uts/common/io/dld/
H A Ddld_drv.c335 drv_ioc_attr(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_attr() argument
429 drv_ioc_hwgrpget(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_hwgrpget() argument
837 drv_ioc_setprop(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_setprop() argument
857 drv_ioc_rename(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in drv_ioc_rename() argument
1024 int *rvalp) in drv_ioc_usagelog() argument
1297 int *rvalp) in drv_ioc_secobj_unset() argument
1327 int *rvalp) in drv_ioc_gettran() argument
1371 int *rvalp) in drv_ioc_readtran() argument
1424 int *rvalp) in drv_ioc_getled() argument
1470 int *rvalp) in drv_ioc_setled() argument
[all …]
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_ctl.c39 aggr_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_modify() argument
86 aggr_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_create() argument
132 aggr_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_delete() argument
201 aggr_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_info() argument
255 aggr_ioc_add(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_add() argument
262 aggr_ioc_remove(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in aggr_ioc_remove() argument
/illumos-gate/usr/src/uts/common/xen/io/
H A Devtchn_dev.c334 int *rvalp) in evtchndrv_ioctl() argument
345 *rvalp = 0; in evtchndrv_ioctl()
356 if ((err = xen_bind_virq(bind.virq, 0, rvalp)) != 0) in evtchndrv_ioctl()
359 evtchn_bind_to_user(ep, *rvalp); in evtchndrv_ioctl()
372 bind.remote_port, rvalp)) != 0) in evtchndrv_ioctl()
375 ec_bind_vcpu(*rvalp, 0); in evtchndrv_ioctl()
376 evtchn_bind_to_user(ep, *rvalp); in evtchndrv_ioctl()
389 rvalp)) != 0) in evtchndrv_ioctl()
392 evtchn_bind_to_user(ep, *rvalp); in evtchndrv_ioctl()
/illumos-gate/usr/src/uts/common/fs/zut/
H A Dzut.c101 zut_readdir(intptr_t arg, cred_t *cr, int iflag, int *rvalp) in zut_readdir() argument
194 if (rvalp) in zut_readdir()
195 *rvalp = error; in zut_readdir()
280 zut_lookup(intptr_t arg, cred_t *cr, int iflag, int *rvalp) in zut_lookup() argument
372 if (rvalp) in zut_lookup()
373 *rvalp = error; in zut_lookup()
379 zut_ioctl(dev_t dev, int cmd, intptr_t arg, int flag, cred_t *cr, int *rvalp) in zut_ioctl() argument
391 error = zut_lookup(arg, cr, flag, rvalp); in zut_ioctl()
394 error = zut_readdir(arg, cr, flag, rvalp); in zut_ioctl()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_devctl.c51 cred_t *credp, int *rvalp);
170 px_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) in px_ioctl() argument
185 *rvalp = px_dma_test(cmd, dip, px_p, arg); in px_ioctl()
245 rv = pcie_ioctl(dip, dev, cmd, arg, mode, credp, rvalp); in px_ioctl()
/illumos-gate/usr/src/uts/common/io/vnic/
H A Dvnic_ctl.c195 vnic_ioc_create(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_create() argument
300 vnic_ioc_modify(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_modify() argument
312 vnic_ioc_delete(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_delete() argument
321 vnic_ioc_info(void *karg, intptr_t arg, int mode, cred_t *cred, int *rvalp) in vnic_ioc_info() argument
/illumos-gate/usr/src/uts/common/io/usb/hubd/
H A Dhubd.c44 cred_t *credp, int *rvalp);
201 cred_t *credp, int *rvalp) in hubd_ioctl() argument
206 credp, rvalp)); in hubd_ioctl()
/illumos-gate/usr/src/uts/common/fs/fifofs/
H A Dfifovnops.c1117 int *rvalp, caller_context_t *ct) in fifo_ioctl() argument
1147 int *rvalp) in fifo_fastioctl() argument
1229 *rvalp = (fnp->fn_count == 0) ? 0 : 1; in fifo_fastioctl()
1234 *rvalp = fnp->fn_count; in fifo_fastioctl()
1249 *rvalp = 0; in fifo_fastioctl()
1262 *rvalp = 0; in fifo_fastioctl()
1299 *rvalp = 1; in fifo_fastioctl()
1310 *rvalp = 0; in fifo_fastioctl()
1352 *rvalp = 0; in fifo_fastioctl()
1361 *rvalp = 0; in fifo_fastioctl()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dinfo.c112 int32_t *rvalp) in rdsv3_info_ioctl() argument
190 *rvalp = lens.each; in rdsv3_info_ioctl()
/illumos-gate/usr/src/uts/common/os/
H A Dstreamio.c3689 *rvalp = 0; in strioctl()
3778 *rvalp = 0; in strioctl()
3838 *rvalp = 0; in strioctl()
4126 *rvalp = fd; in strioctl()
4571 *rvalp = 0; in strioctl()
4605 *rvalp = 0; in strioctl()
5067 *rvalp = 0; in strioctl()
5230 *rvalp = 0; in strioctl()
5232 *rvalp = 1; in strioctl()
5617 *rvalp = 0; in strioctl()
[all …]
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_tmpl.c122 int *rvalp, in ctfs_tmpl_ioctl() argument
145 *rvalp = ctid; in ctfs_tmpl_ioctl()
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu.c56 cred_t *credp, int *rvalp);
412 int *rvalp) in amd_iommu_ioctl() argument
418 ASSERT(*rvalp); in amd_iommu_ioctl()
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_ioctl.c133 int *rvalp) in ibnex_ioctl() argument
149 credp, rvalp)); in ibnex_ioctl()
153 credp, rvalp)); in ibnex_ioctl()
157 credp, rvalp)); in ibnex_ioctl()
161 credp, rvalp)); in ibnex_ioctl()
195 int *rvalp) in ibnex_devctl() argument
2794 cred_t *credp, int *rvalp) in ibnex_ctl_get_api_ver() argument
2800 rvalp, dev); in ibnex_ctl_get_api_ver()
2829 rvalp, dev); in ibnex_ctl_get_hca_list()
2976 rvalp, dev); in ibnex_ctl_query_hca()
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Dinfo.h43 int32_t *rvalp);

123456789