/titanic_50/usr/src/lib/libsip/common/ |
H A D | sip_hdrs_ui.c | 43 int *error) in sip_get_val_from_hdr() argument 45 if (error != NULL) in sip_get_val_from_hdr() 46 *error = 0; in sip_get_val_from_hdr() 49 if (error != NULL) in sip_get_val_from_hdr() 50 *error = EINVAL; in sip_get_val_from_hdr() 55 *error = EPROTO; in sip_get_val_from_hdr() 82 if (error != NULL && *error == 0) in sip_get_val_from_hdr() 83 *error = EINVAL; in sip_get_val_from_hdr() 93 boolean_t stype, boolean_t empty_val, int *error) in sip_get_val_from_msg() argument 98 if (error != NULL) in sip_get_val_from_msg() [all …]
|
H A D | sip_uri_ui.c | 62 sip_parse_uri(sip_str_t *uri_str, int *error) in sip_parse_uri() argument 66 if (error != NULL) in sip_parse_uri() 67 *error = 0; in sip_parse_uri() 70 if (error != NULL) in sip_parse_uri() 71 *error = EINVAL; in sip_parse_uri() 76 if (error != NULL) in sip_parse_uri() 77 *error = ENOMEM; in sip_parse_uri() 84 if (error != NULL) in sip_parse_uri() 85 *error = ENOMEM; in sip_parse_uri() 88 if (parsed_uri->sip_uri_errflags != 0 && error != NULL) in sip_parse_uri() [all …]
|
H A D | sip_xaction_ui.c | 75 sip_get_trans(sip_msg_t sip_msg, int which, int *error) in sip_get_trans() argument 77 if (error != NULL) in sip_get_trans() 78 *error = 0; in sip_get_trans() 80 if (error != NULL) in sip_get_trans() 81 *error = EINVAL; in sip_get_trans() 92 sip_get_trans_resp_msg(sip_transaction_t sip_trans, int *error) in sip_get_trans_resp_msg() argument 96 if (error != NULL) in sip_get_trans_resp_msg() 97 *error = 0; in sip_get_trans_resp_msg() 99 if (error != NULL) in sip_get_trans_resp_msg() 100 *error = EINVAL; in sip_get_trans_resp_msg() [all …]
|
H A D | sip_dialog_ui.c | 148 sip_get_dialog_method(sip_dialog_t dialog, int *error) in sip_get_dialog_method() argument 152 if (error != NULL) in sip_get_dialog_method() 153 *error = 0; in sip_get_dialog_method() 155 if (error != NULL) in sip_get_dialog_method() 156 *error = EINVAL; in sip_get_dialog_method() 160 if (error != NULL) in sip_get_dialog_method() 161 *error = EINVAL; in sip_get_dialog_method() 172 sip_get_dialog_state(sip_dialog_t dialog, int *error) in sip_get_dialog_state() argument 176 if (error != NULL) in sip_get_dialog_state() 177 *error = 0; in sip_get_dialog_state() [all …]
|
/titanic_50/usr/src/cmd/hal/utils/ |
H A D | acpi.c | 33 my_dbus_error_free(DBusError *error) in my_dbus_error_free() argument 35 if (dbus_error_is_set(error)) { in my_dbus_error_free() 36 dbus_error_free(error); in my_dbus_error_free() 44 DBusError error; in laptop_panel_update() local 49 dbus_error_init(&error); in laptop_panel_update() 50 if (!libhal_device_query_capability(ctx, udi, "laptop_panel", &error)) { in laptop_panel_update() 57 my_dbus_error_free(&error); in laptop_panel_update() 58 libhal_device_add_capability(ctx, udi, "laptop_panel", &error); in laptop_panel_update() 60 my_dbus_error_free(&error); in laptop_panel_update() 69 my_dbus_error_free(&error); in laptop_panel_update() [all …]
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv_attr.c | 214 int error = 0; in rfs4_fattr4_supported_attrs() local 219 error = EINVAL; in rfs4_fattr4_supported_attrs() 228 error = EINVAL; in rfs4_fattr4_supported_attrs() 235 error = -1; /* no match */ in rfs4_fattr4_supported_attrs() 241 return (error); in rfs4_fattr4_supported_attrs() 256 int error = 0; in rfs4_fattr4_type() local 261 error = EINVAL; in rfs4_fattr4_type() 265 error = -1; /* may be okay if rdattr_error */ in rfs4_fattr4_type() 292 error = EINVAL; in rfs4_fattr4_type() 300 error = -1; /* no match */ in rfs4_fattr4_type() [all …]
|
/titanic_50/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_diskmgt.c | 39 static char *get_device_name(dm_descriptor_t device, int *error); 40 static dmgt_disk_t *get_disk(dm_descriptor_t disk, int *error); 41 static char **get_disk_aliases(dm_descriptor_t disk, char *name, int *error); 42 static int get_disk_online(dm_descriptor_t disk, int *error); 45 const char *name, uint32_t blocksize, int *error); 47 const char *name, uint32_t blocksize, int *in_use, int *error); 49 uint64_t *size, uint32_t *blocksize, int *error); 51 char **used_name, char **used_by, int *error); 53 dm_descriptor_t slice, uint32_t blocksize, int *error); 55 static int slice_in_use(dmgt_slice_t *slice, int *error); [all …]
|
/titanic_50/usr/src/cmd/sgs/libelf/common/ |
H A D | libelf.msg | 36 @ EINF_NULLERROR "Elf error 0" 39 # BUG bug Internal error 41 @ EBUG_COOKSTAT "Internal error: cook status" 42 @ EBUG_COOKTYPE "Internal error: cook data type" 43 @ EBUG_SCNLIST "Internal error: broken section list" 44 @ EBUG_THRDKEY "Internal error: thr_keycreate() failed. \ 45 Unable to allocate error buffer" 46 @ EBUG_THRDSET "Internal error: thr_setspecific failed. \ 47 Unable to create TSD for error message." 50 # FMT fmt Format error [all …]
|
/titanic_50/usr/src/uts/i86xpv/io/ |
H A D | privcmd_hcall.c | 113 export_buffer(import_export_t *iep, int *error) in export_buffer() argument 125 if ((iep->ie_flags & IE_EXPORT) && (*error >= 0) && in export_buffer() 134 if (copy_err != 0 && *error >= 0) in export_buffer() 135 *error = copy_err; in export_buffer() 169 int error, kscount, bytes; in privcmd_HYPERVISOR_mmu_update() local 174 error = import_buffer(&cnt_ie, scount, &kscount, sizeof (kscount), in privcmd_HYPERVISOR_mmu_update() 176 if (error != 0) in privcmd_HYPERVISOR_mmu_update() 179 error = import_buffer(&req_ie, ureq, kreq, bytes, IE_IMPEXP); in privcmd_HYPERVISOR_mmu_update() 182 ((error == -X_EFAULT) ? ureq : kreq)); in privcmd_HYPERVISOR_mmu_update() 184 if (error == 0) in privcmd_HYPERVISOR_mmu_update() [all …]
|
/titanic_50/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | view.c | 70 int error, err2, opt; in cmd_view() local 75 error = smb_ctx_alloc(&ctx); in cmd_view() 76 if (error) in cmd_view() 77 return (error); in cmd_view() 79 error = smb_ctx_scan_argv(ctx, argc, argv, in cmd_view() 81 if (error) in cmd_view() 82 return (error); in cmd_view() 84 error = smb_ctx_readrc(ctx); in cmd_view() 85 if (error) in cmd_view() 86 return (error); in cmd_view() [all …]
|
H A D | print.c | 76 int error, opt; in cmd_print() local 83 error = smb_ctx_alloc(&ctx); in cmd_print() 84 if (error) in cmd_print() 87 error = smb_ctx_scan_argv(ctx, argc-1, argv, in cmd_print() 89 if (error) in cmd_print() 92 error = smb_ctx_readrc(ctx); in cmd_print() 93 if (error) in cmd_print() 99 error = smb_ctx_opt(ctx, opt, optarg); in cmd_print() 100 if (error) in cmd_print() 122 error = smb_ctx_resolve(ctx); in cmd_print() [all …]
|
/titanic_50/usr/src/lib/libsec/common/ |
H A D | acl.y | 152 int error; variable 156 error = get_id($1, $2, &id); 157 if (error) { 165 error = ace_perm_mask(&$3, &$$.a_access_mask); 166 if (error) { 168 return (error); 175 int error; variable 185 error = get_id($1, $2, &id); 186 if (error) { 192 error = ace_perm_mask(&$3, &$$.a_access_mask); [all …]
|
H A D | acltext.c | 126 int error = IDMAP_ERR_NORESULT; in getsidname() local 138 error = idmap_getwinnamebyuid(who, in getsidname() 141 error = idmap_getwinnamebygid(who, in getsidname() 144 if (error != IDMAP_SUCCESS) { in getsidname() 147 error = idmap_get_sidbyuid(get_hdl, who, in getsidname() 151 error = idmap_get_sidbygid(get_hdl, who, in getsidname() 154 if (error == IDMAP_SUCCESS && in getsidname() 305 int error; in aclent_type_txt() local 311 error = str_append(dstr, "user::"); in aclent_type_txt() 313 error = str_append(dstr, "defaultuser::"); in aclent_type_txt() [all …]
|
/titanic_50/usr/src/uts/sun4u/starcat/io/ |
H A D | mboxsc.c | 258 int error = 0; in _init() local 281 error = iosram_hdr_ctrl(IOSRAM_HDRCMD_SET_OS_MBOX_VER, in _init() 283 if (error != 0) { in _init() 291 error = iosram_hdr_ctrl(IOSRAM_HDRCMD_GET_SMS_MBOX_VER, in _init() 293 if (error != 0) { in _init() 306 error = iosram_hdr_ctrl(IOSRAM_HDRCMD_REG_CALLBACK, in _init() 308 if (error != 0) { in _init() 312 DPRINTF1(DBG_RETS, DBGACT_DEFAULT, "_init ret: 0x%08x\n", error); in _init() 322 DPRINTF1(DBG_RETS, DBGACT_DEFAULT, "_init ret: 0x%08x\n", error); in _init() 323 return (error); in _init() [all …]
|
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ioctl.c | 476 int error; in zfs_secpolicy_write_perms_ds() local 478 error = zfs_dozonecheck_ds(name, ds, cr); in zfs_secpolicy_write_perms_ds() 479 if (error == 0) { in zfs_secpolicy_write_perms_ds() 480 error = secpolicy_zfs(cr); in zfs_secpolicy_write_perms_ds() 481 if (error != 0) in zfs_secpolicy_write_perms_ds() 482 error = dsl_deleg_access_impl(ds, perm, cr); in zfs_secpolicy_write_perms_ds() 484 return (error); in zfs_secpolicy_write_perms_ds() 490 int error; in zfs_secpolicy_write_perms() local 494 error = dsl_pool_hold(name, FTAG, &dp); in zfs_secpolicy_write_perms() 495 if (error != 0) in zfs_secpolicy_write_perms() [all …]
|
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_smb.c | 107 int error; in smbfs_smb_lockandx() local 121 error = smb_rq_init(rqp, SSTOCP(ssp), SMB_COM_LOCKING_ANDX, scrp); in smbfs_smb_lockandx() 122 if (error) in smbfs_smb_lockandx() 123 return (error); in smbfs_smb_lockandx() 159 error = smb_rq_simple(rqp); in smbfs_smb_lockandx() 161 return (error); in smbfs_smb_lockandx() 197 int error; in smbfs_smb_getfattr() local 209 error = smbfs_xa_getfattr(np, fap, scrp); in smbfs_smb_getfattr() 210 return (error); in smbfs_smb_getfattr() 213 error = smbfs_smb_trans2_query(np, fap, scrp, 0); in smbfs_smb_getfattr() [all …]
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | statvfs.c | 84 int error; in cstatvfs32() local 92 if ((error = VFS_STATVFS(vfsp, &ds64)) != 0) in cstatvfs32() 93 return (error); in cstatvfs32() 146 int error; in cstatvfs64() local 152 if ((error = VFS_STATVFS(vfsp, &ds64)) != 0) in cstatvfs64() 153 return (error); in cstatvfs64() 166 int error; in statvfs() local 170 if (error = lookupname(fname, UIO_USERSPACE, FOLLOW, NULLVPP, &vp)) { in statvfs() 171 if ((error == ESTALE) && fs_need_estale_retry(estale_retry++)) in statvfs() 173 return (set_errno(error)); in statvfs() [all …]
|
H A D | lseek.c | 82 int error; in lseek32_common() local 96 error = EINVAL; in lseek32_common() 103 error = EOVERFLOW; in lseek32_common() 108 error = EINVAL; in lseek32_common() 115 if (error = VOP_GETATTR(vp, &vattr, 0, fp->f_cred, NULL)) { in lseek32_common() 119 error = EOVERFLOW; in lseek32_common() 124 error = EINVAL; in lseek32_common() 135 error = VOP_IOCTL(vp, _FIO_SEEK_DATA, (intptr_t)(&noff), in lseek32_common() 137 if (error) { in lseek32_common() 138 if (error != ENOTTY) in lseek32_common() [all …]
|
/titanic_50/usr/src/lib/libc/port/sys/ |
H A D | lwp_rwlock.c | 45 int error; in __lwp_rwlock_rdlock() local 47 error = __systemcall(&rval, SYS_lwp_rwlock_sys, in __lwp_rwlock_rdlock() 49 if (error == ERESTART) in __lwp_rwlock_rdlock() 50 error = EINTR; in __lwp_rwlock_rdlock() 52 return (error); in __lwp_rwlock_rdlock() 59 int error; in __lwp_rwlock_wrlock() local 61 error = __systemcall(&rval, SYS_lwp_rwlock_sys, in __lwp_rwlock_wrlock() 63 if (error == ERESTART) in __lwp_rwlock_wrlock() 64 error = EINTR; in __lwp_rwlock_wrlock() 66 return (error); in __lwp_rwlock_wrlock() [all …]
|
/titanic_50/usr/src/uts/common/fs/autofs/ |
H A D | auto_vnops.c | 112 VOPNAME_FRLOCK, { .error = fs_error }, 113 VOPNAME_DISPOSE, { .error = fs_error }, 114 VOPNAME_SHRLOCK, { .error = fs_error }, 126 int error; in auto_open() local 130 error = auto_trigger_mount(*vpp, cred, &newvp); in auto_open() 131 if (error) in auto_open() 140 error = VOP_ACCESS(*vpp, VREAD, 0, cred, ct); in auto_open() 141 if (!error) in auto_open() 142 error = VOP_OPEN(vpp, flag, cred, ct); in auto_open() 147 error)); in auto_open() [all …]
|
/titanic_50/usr/src/lib/libsmbfs/smb/ |
H A D | acl_api.c | 79 int error; in smbfs_acl_iocget() local 81 error = mb_init_sz(mbp, MAX_RAW_SD_SIZE); in smbfs_acl_iocget() 82 if (error) in smbfs_acl_iocget() 83 return (error); in smbfs_acl_iocget() 95 error = errno; in smbfs_acl_iocget() 104 return (error); in smbfs_acl_iocget() 113 int error; in smbfs_acl_iocset() local 116 error = m_lineup(mbp->mb_top, &m); in smbfs_acl_iocset() 117 if (error) in smbfs_acl_iocset() 118 return (error); in smbfs_acl_iocset() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | inst_sync.c | 129 int error; in in_sync_sys() local 139 if ((error = secpolicy_sys_devices(CRED())) != 0) in in_sync_sys() 140 return (set_errno(error)); in in_sync_sys() 156 error = EALREADY; in in_sync_sys() 165 if ((error = vn_open(pathname, UIO_USERSPACE, in in_sync_sys() 167 if (error == EISDIR) in in_sync_sys() 168 error = EACCES; /* SVID compliance? */ in in_sync_sys() 177 error = in_write_instance(vp); in in_sync_sys() 184 if (error) in in_sync_sys() 190 return (error ? set_errno(error) : 0); in in_sync_sys() [all …]
|
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_smb.c | 161 int error, tlen, plen, unc_len; in smb_smb_treeconnect() local 177 error = smb_rq_alloc(VCTOCP(vcp), SMB_COM_TREE_CONNECT_ANDX, in smb_smb_treeconnect() 179 if (error) in smb_smb_treeconnect() 180 return (error); in smb_smb_treeconnect() 216 error = mb_put_mem(mbp, pbuf, plen, MB_MSYSTEM); in smb_smb_treeconnect() 217 if (error) in smb_smb_treeconnect() 221 error = smb_put_dstring(mbp, vcp, unc_name, SMB_CS_NONE); in smb_smb_treeconnect() 222 if (error) in smb_smb_treeconnect() 231 error = mb_put_mem(mbp, tname, tlen, MB_MSYSTEM); in smb_smb_treeconnect() 232 if (error) in smb_smb_treeconnect() [all …]
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_impl.c | 62 int error; in common_resource_op() local 75 error = rsrc_node_find(rsrcname, 0, &node); in common_resource_op() 76 if ((error == RCM_SUCCESS) && (node != NULL)) { in common_resource_op() 87 error = rsrc_client_action_list(node->users, cmd, &arg); in common_resource_op() 89 error = rsrc_tree_action(node, cmd, &arg); in common_resource_op() 91 } else if ((error == RCM_SUCCESS) && (flag & RCM_RETIRE_REQUEST)) { in common_resource_op() 99 error = RCM_NO_CONSTRAINT; in common_resource_op() 102 return (error); in common_resource_op() 114 int error; in notify_resource_remove() local 127 error = dr_req_update(rsrcnames[i], pid, flag, in notify_resource_remove() [all …]
|
/titanic_50/usr/src/uts/common/io/urtw/ |
H A D | urtw.c | 599 usbd_status error; in urtw_led_init() local 601 if (error = urtw_read8_c(sc, URTW_PSR, &sc->sc_psr, 0)) in urtw_led_init() 603 error = urtw_eprom_read32(sc, URTW_EPROM_SWREV, &rev); in urtw_led_init() 604 if (error != 0) in urtw_led_init() 627 return (error); in urtw_led_init() 639 usbd_status error; in urtw_8225_write_s16() local 658 error = usb_pipe_ctrl_xfer_wait(sc->sc_udev->dev_default_ph, &req, &mp, in urtw_8225_write_s16() 660 if (error != USB_SUCCESS) { in urtw_8225_write_s16() 667 return (error); in urtw_8225_write_s16() 680 usbd_status error; in urtw_8225_read() local [all …]
|