Home
last modified time | relevance | path

Searched refs:rv (Results 251 – 275 of 1040) sorted by relevance

1...<<11121314151617181920>>...42

/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_mem.c309 int rv; in dr_attach_mem() local
652 int rv; in dr_del_span_query() local
679 if (rv) in dr_del_span_query()
725 int rv; in dr_mem_status() local
1046 rv = 0; in dr_post_detach_mem()
1117 int rv; in dr_post_detach_mem_unit() local
1153 rv = 0; in dr_post_detach_mem_unit()
1173 rv = 0; in dr_post_detach_mem_unit()
1190 if (rv) in dr_post_detach_mem_unit()
1617 int rv; in dr_release_mem_done() local
[all …]
H A Ddr_cpu.c108 int rv; in dr_errno2ecode() local
130 return (rv); in dr_errno2ecode()
326 int rv; in dr_attach_cpu() local
462 rv = -1; in dr_pre_release_cpu()
482 rv = -1; in dr_pre_release_cpu()
488 if (!rv) { in dr_pre_release_cpu()
494 rv = -1; in dr_pre_release_cpu()
502 if (rv) { in dr_pre_release_cpu()
615 int rv; in dr_detach_cpu() local
882 rv = -1; in dr_cancel_cpu()
[all …]
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_finddev.c73 int rv; in device_exists() local
77 rv = modctl(MODDEVEXISTS, devname, strlen(devname)); in device_exists()
78 return ((rv == 0) ? 1 : 0); in device_exists()
180 int rv; in finddev_readdir_devfs() local
196 if (rv != 0) { in finddev_readdir_devfs()
198 return (rv); in finddev_readdir_devfs()
208 rv = modctl(MODDEVREADDIR, path, strlen(path), in finddev_readdir_devfs()
210 if (rv == 0) { in finddev_readdir_devfs()
297 int rv; in finddev_emptydir_devfs() local
300 rv = modctl(MODDEVEMPTYDIR, path, strlen(path), &empty); in finddev_emptydir_devfs()
[all …]
H A Ddevfsmap.c1106 rv = 1; in is_root_controller()
1110 rv = 0; in is_root_controller()
1237 int fd, rv; in vhci_ctl() local
1297 int rv = 0; in add_to_phci_list() local
1307 rv++; in add_to_phci_list()
1881 int rv; in devfs_parse_binding_file() local
1984 int rv; in devfs_walk_children_minors() local
2024 rv = 0; in devfs_walk_children_minors()
2049 int rv; in devfs_walk_device_minors() local
2102 rv = 0; in devfs_walk_device_minors()
[all …]
/illumos-gate/usr/src/cmd/virtinfo/
H A Dvirtinfo.c70 size_t rv; in main() local
188 rv = v12n_domain_name(domain_name, sizeof (domain_name)); in main()
189 if (rv == (size_t)(-1)) { in main()
200 rv = v12n_domain_uuid(uuid); in main()
202 if (rv == (size_t)(-1)) { in main()
214 rv = v12n_ctrl_domain(ctrl_name, sizeof (ctrl_name)); in main()
216 if (rv == (size_t)(-1)) { in main()
226 rv = v12n_chassis_serialno(serial_no, sizeof (serial_no)); in main()
228 if (rv == (size_t)(-1)) { in main()
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvsw.c586 int rv; in vsw_attach() local
1087 int rv; in vsw_mac_register() local
1191 int rv; in vsw_m_start() local
1578 int rv; in vsw_port_mdeg_cb() local
1824 int rv; in vsw_vlan_read_ids() local
1904 int rv; in vsw_port_read_bandwidth() local
1939 int rv; in vsw_read_pri_eth_types() local
1988 int rv; in vsw_mtu_read() local
2017 int rv; in vsw_mtu_update() local
2059 int rv; in vsw_linkprop_read() local
[all …]
H A Ddr_io.c552 if (rv != 0) { in dr_io_configure()
581 rv = EPERM; in dr_io_configure()
626 if (rv == 0) { in dr_io_configure()
636 return (rv); in dr_io_configure()
642 int rv; in dr_io_unconfigure() local
695 if (rv != 0) { in dr_io_unconfigure()
721 rv = EPERM; in dr_io_unconfigure()
754 if (rv == 0) { in dr_io_unconfigure()
772 return (rv); in dr_io_unconfigure()
861 int rv; in dr_io_init() local
[all …]
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_efcode.c43 int rv; in prom_get_fcode_size() local
56 rv = p1275_cif_handler(&ci); in prom_get_fcode_size()
59 if (rv == 0) in prom_get_fcode_size()
71 int rv; in prom_get_fcode() local
85 rv = p1275_cif_handler(&ci); in prom_get_fcode()
88 if (rv == 0) in prom_get_fcode()
H A Dprom_mem.c67 int rv; in prom_allocate_phys() local
85 rv = p1275_cif_handler(&ci); in prom_allocate_phys()
88 if (rv != 0) in prom_allocate_phys()
89 return (rv); in prom_allocate_phys()
109 int rv; in prom_claim_phys() local
126 rv = p1275_cif_handler(&ci); in prom_claim_phys()
129 if (rv != 0) in prom_claim_phys()
130 return (rv); in prom_claim_phys()
/illumos-gate/usr/src/uts/common/io/mii/
H A Dmii_marvell.c152 int rv; in mvphy_reset_88e3016() local
178 return (rv); in mvphy_reset_88e3016()
185 int rv; in mvphy_loop_88e3016() local
187 rv = phy_loop(ph); in mvphy_loop_88e3016()
204 return (rv); in mvphy_loop_88e3016()
211 int rv; in mvphy_reset_88e3082() local
221 return (rv); in mvphy_reset_88e3082()
228 int rv; in mvphy_reset_88e1149() local
283 return (rv); in mvphy_reset_88e1149()
438 int rv; in mvphy_start() local
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_vmac.c166 hpi_status_t rv; in hxge_tx_vmac_enable() local
172 rv = hxge_tx_vmac_init(hxgep); in hxge_tx_vmac_enable()
173 if (rv != HXGE_OK) in hxge_tx_vmac_enable()
174 return (rv); in hxge_tx_vmac_enable()
181 status = (rv == HPI_SUCCESS) ? HXGE_OK : HXGE_ERROR; in hxge_tx_vmac_enable()
193 hpi_status_t rv; in hxge_tx_vmac_disable() local
201 status = (rv == HPI_SUCCESS) ? HXGE_OK : HXGE_ERROR; in hxge_tx_vmac_disable()
213 hpi_status_t rv; in hxge_rx_vmac_enable() local
227 if (rv != HPI_SUCCESS) { in hxge_rx_vmac_enable()
242 status = (rv == HPI_SUCCESS) ? HXGE_OK : HXGE_ERROR; in hxge_rx_vmac_enable()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi.c173 int rv; in x86pi_enum_start() local
217 if (rv != 0) { in x86pi_enum_start()
233 return (rv); in x86pi_enum_start()
255 int rv; in x86pi_enum_gentopo() local
336 if (rv != 0) { in x86pi_enum_gentopo()
365 if (rv != 0) in x86pi_enum_gentopo()
470 if (rv != 0) { in x86pi_enum_gentopo()
479 rv = in x86pi_enum_gentopo()
484 if (rv != 0) in x86pi_enum_gentopo()
495 if (rv != 0) { in x86pi_enum_gentopo()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbgetwidth.c96 int rv; in wcscrw() local
100 rv = _curs_scrwidth[0]; in wcscrw()
103 rv = _curs_scrwidth[1]; in wcscrw()
106 rv = _curs_scrwidth[2]; in wcscrw()
109 rv = 1; in wcscrw()
113 return (rv); in wcscrw()
/illumos-gate/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c207 brand_unimpl(sysret_t *rv, uintptr_t p1) in brand_unimpl() argument
243 brand_indir(sysret_t *rv, int code, in brand_indir() argument
252 return ((sst->st_callc)(rv)); in brand_indir()
254 return ((sst->st_callc)(rv, a0)); in brand_indir()
256 return ((sst->st_callc)(rv, a0, a1)); in brand_indir()
258 return ((sst->st_callc)(rv, a0, a1, a2)); in brand_indir()
260 return ((sst->st_callc)(rv, a0, a1, a2, a3)); in brand_indir()
262 return ((sst->st_callc)(rv, a0, a1, a2, a3, a4)); in brand_indir()
264 return ((sst->st_callc)(rv, a0, a1, a2, a3, a4, a5)); in brand_indir()
266 return ((sst->st_callc)(rv, a0, a1, a2, a3, a4, a5, a6)); in brand_indir()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/io/
H A Ddrmach.c387 int rv; in drmach_setup_mc_info() local
464 int rv; member
888 int rv; in drmach_array_first() local
900 int rv; in drmach_array_next() local
914 int rv; in drmach_array_dispose() local
1608 if (rv) in drmach_board_find_devices_cb()
2044 int rv; member
2136 int rv; in drmach_io_pre_release() local
2176 int rv; in drmach_io_post_attach() local
2217 int rv; in drmach_mem_new() local
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftSessionUtil.c59 CK_RV rv = CKR_OK; in soft_delete_all_sessions() local
83 if (rv == CKR_OK) { in soft_delete_all_sessions()
84 rv = rv1; in soft_delete_all_sessions()
96 return (rv); in soft_delete_all_sessions()
476 CK_RV rv = CKR_OK; in soft_get_operationstate() local
485 rv = CKR_STATE_UNSAVEABLE; in soft_get_operationstate()
491 rv = CKR_STATE_UNSAVEABLE; in soft_get_operationstate()
580 return (rv); in soft_get_operationstate()
613 CK_RV rv = CKR_OK; in soft_set_operationstate() local
681 rv = CKR_HOST_MEMORY; in soft_set_operationstate()
[all …]
H A DsoftDESCrypt.c182 CK_RV rv = CKR_OK; in soft_des_encrypt_common() local
458 return (rv); in soft_des_encrypt_common()
493 CK_RV rv = CKR_OK; in soft_des_decrypt_common() local
781 return (rv); in soft_des_decrypt_common()
823 CK_RV rv; in soft_des_sign_verify_init_common() local
878 return (rv); in soft_des_sign_verify_init_common()
910 CK_RV rv; in soft_des_sign_verify_common() local
1018 if (rv == CKR_OK) { in soft_des_sign_verify_common()
1045 return (rv); in soft_des_sign_verify_common()
1071 CK_RV rv; in soft_des_mac_sign_verify_update() local
[all …]
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_dtime.c436 int rv; in makedumpdate() local
446 rv = -1; in makedumpdate()
448 rv = -1; in makedumpdate()
451 rv = -1; in makedumpdate()
454 rv = -1; in makedumpdate()
457 rv = -1; in makedumpdate()
461 rv = 0; in makedumpdate()
587 int rv; in initdumptimes() local
648 int rv; in putdumptime() local
963 int rv; in ndmpd_put_dumptime() local
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcdio.c57 ssize_t rv; local
60 rv = 0;
77 rv = read(f->file,buf,io);
78 else rv = write(f->file,buf,io);
80 if(rv > 0)
81 { rw -= rv; done += rv;
82 buf = (Void_t*)((char*)buf + rv);
85 if(rv < io || rw < di->dio.d_miniosz)
98 (rv = type == SF_READ ? read(f->file,buf,rw) : write(f->file,buf,rw)) > 0 )
99 done += rv;
[all …]
/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_prop.c130 int rv; in promif_ds_init() local
146 "%s: ds_cap_init failed (primary): %d", me, rv); in promif_ds_init()
150 if ((rv = (*ds_init)(&vc_backup_cap, &vc_backup_ops)) != 0) { in promif_ds_init()
152 "%s: ds_cap_init failed (backup): %d", me, rv); in promif_ds_init()
180 int rv; in promif_ldom_setprop() local
204 if ((rv = (*ds_send)(ds_handle, req, in promif_ldom_setprop()
206 cmn_err(CE_WARN, "%s: ds_cap_send failed: %d", me, rv); in promif_ldom_setprop()
218 rv = -1; in promif_ldom_setprop()
225 rv = -1; in promif_ldom_setprop()
228 rv = (cfg_rsp->result == VAR_CONFIG_SUCCESS) ? valuelen : -1; in promif_ldom_setprop()
[all …]
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dswap_rcm.c202 int rv; in swap_suspend() local
218 return (rv); in swap_suspend()
227 int rv; in swap_resume() local
240 return (rv); in swap_resume()
253 int rv; in swap_offline() local
284 int rv; in swap_online() local
297 return (rv); in swap_online()
396 return (rv); in swap_delete()
433 return (rv); in swap_add()
611 int rv = 0; in get_dumpdev() local
[all …]
/illumos-gate/usr/src/uts/sun4u/io/ppm/
H A Djbusppm.c195 int rv = DDI_SUCCESS; in jbppm_attach() local
208 rv = ddi_soft_state_zalloc(jbppm_statep, instance); in jbppm_attach()
209 if (rv != DDI_SUCCESS) { in jbppm_attach()
213 return (rv); in jbppm_attach()
217 rv = DDI_FAILURE; in jbppm_attach()
227 if (rv != DDI_PROP_SUCCESS) in jbppm_attach()
239 if (rv != DDI_SUCCESS) in jbppm_attach()
244 if (rv != DDI_SUCCESS) in jbppm_attach()
257 if (rv != DDI_SUCCESS) in jbppm_attach()
260 return (rv); in jbppm_attach()
[all …]
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Drdn_parser.c292 int rv = KMF_OK; in CreateAVA() local
316 return (rv); in CreateAVA()
321 return (rv); in CreateAVA()
328 KMF_RETURN rv; in ParseRdnAttribute() local
338 if (rv != KMF_OK) in ParseRdnAttribute()
339 return (rv); in ParseRdnAttribute()
341 if (rv != KMF_OK) in ParseRdnAttribute()
342 return (rv); in ParseRdnAttribute()
384 return (rv); in ParseRdnAttribute()
462 return (rv); in ParseDistinguishedName()
[all …]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dwordexp.c107 int rv = WRDE_ERRNO; in wordexp() local
322 rv = 0; in wordexp()
337 rv = WRDE_NOSPACE; in wordexp()
355 if (rv == 0) in wordexp()
356 rv = WRDE_ERRNO; in wordexp()
360 if (rv == 0) in wordexp()
364 if (rv == 0) in wordexp()
376 switch (rv) { in wordexp()
378 rv = WRDE_BADVAL; in wordexp()
381 rv = WRDE_BADCHAR; in wordexp()
[all …]
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dssm.c400 int rv; in ssm_attach() local
677 int rv; in ssm_make_nodes() local
712 int rv; in ssm_open() local
884 if (rv == 0) { in ssm_ioctl()
901 return (rv); in ssm_ioctl()
950 int rv = 0; in ssm_generate_event() local
968 if (rv != 0) { in ssm_generate_event()
972 return (rv); in ssm_generate_event()
982 if (rv != 0) { in ssm_generate_event()
999 if (rv != 0) { in ssm_generate_event()
[all …]

1...<<11121314151617181920>>...42