Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 2663) sorted by relevance

12345678910>>...107

/titanic_50/usr/src/cmd/picl/plugins/sun4u/daktari/psvcpolicy/
H A Dpsvcpolicy.c334 int32_t status = PSVC_SUCCESS; in update_thresholds() local
343 status = psvc_get_attr(hdlp, id, PSVC_PRESENCE_ATTR, &present); in update_thresholds()
344 if ((status != PSVC_SUCCESS) || (present != PSVC_PRESENT)) in update_thresholds()
345 return (status); in update_thresholds()
347 status = psvc_get_attr(hdlp, id, PSVC_ASSOC_MATCHES_ATTR, &match_count, in update_thresholds()
349 if (status == PSVC_FAILURE) in update_thresholds()
350 return (status); in update_thresholds()
354 status = psvc_get_attr(hdlp, id, PSVC_ASSOC_ID_ATTR, in update_thresholds()
356 if (status != PSVC_SUCCESS) in update_thresholds()
357 return (status); in update_thresholds()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/
H A Dpsvcpolicy.c215 int32_t status = PSVC_SUCCESS; in psvc_update_thresholds_0() local
224 status = psvc_get_attr(hdlp, id, PSVC_PRESENCE_ATTR, &present); in psvc_update_thresholds_0()
225 if ((status != PSVC_SUCCESS) || (present != PSVC_PRESENT)) in psvc_update_thresholds_0()
226 return (status); in psvc_update_thresholds_0()
228 status = psvc_get_attr(hdlp, id, PSVC_ASSOC_MATCHES_ATTR, &match_count, in psvc_update_thresholds_0()
230 if (status == PSVC_FAILURE) in psvc_update_thresholds_0()
231 return (status); in psvc_update_thresholds_0()
235 status = psvc_get_attr(hdlp, id, PSVC_ASSOC_ID_ATTR, in psvc_update_thresholds_0()
237 if (status != PSVC_SUCCESS) in psvc_update_thresholds_0()
238 return (status); in psvc_update_thresholds_0()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/
H A Dpsvcpolicy.c209 int32_t seg_found = 0, status; in find_segment() local
222 status = psvc_get_attr(hdlp, fru, PSVC_FRU_INFO_ATTR, in find_segment()
230 if (status != PSVC_SUCCESS) { in find_segment()
244 status = psvc_get_attr(hdlp, fru, PSVC_FRU_INFO_ATTR, in find_segment()
252 status = psvc_get_attr(hdlp, fru, PSVC_FRU_INFO_ATTR, in find_segment()
254 if (status != PSVC_SUCCESS) { in find_segment()
270 int32_t status = PSVC_SUCCESS; in psvc_update_thresholds_0() local
283 status = psvc_get_attr(hdlp, id, PSVC_ASSOC_MATCHES_ATTR, &fru_count, in psvc_update_thresholds_0()
285 if (status == PSVC_FAILURE) in psvc_update_thresholds_0()
286 return (status); in psvc_update_thresholds_0()
[all …]
/titanic_50/usr/src/lib/krb5/kdb/
H A Dkdb5.c120 krb5_error_code status = 0; in kdb_get_conf_section() local
128 status = profile_get_string(kcontext->profile, in kdb_get_conf_section()
138 if (status) { in kdb_get_conf_section()
154 krb5_error_code status = 0; in kdb_get_library_name() local
159 status = profile_get_string(kcontext->profile, in kdb_get_library_name()
168 if (status) { in kdb_get_library_name()
174 status = profile_get_string(kcontext->profile, KDB_MODULE_SECTION, value, in kdb_get_library_name()
180 if (status) { in kdb_get_library_name()
241 krb5_error_code status; in kdb_load_library() local
252 status = ENOMEM; in kdb_load_library()
[all …]
/titanic_50/usr/src/lib/smbsrv/libmlsvc/common/
H A Dlsalib.c81 uint32_t status; in lsa_lookup_name() local
101 status = lsa_lookup_name_builtin(domain, name, info); in lsa_lookup_name()
102 if (status == NT_STATUS_NOT_FOUND) { in lsa_lookup_name()
103 status = smb_sam_lookup_name(domain, name, type, info); in lsa_lookup_name()
104 if (status == NT_STATUS_SUCCESS) in lsa_lookup_name()
105 return (status); in lsa_lookup_name()
107 if ((domain == NULL) || (status == NT_STATUS_NOT_FOUND)) in lsa_lookup_name()
108 status = lsa_lookup_name_domain(account, info); in lsa_lookup_name()
111 return ((status == NT_STATUS_SUCCESS) ? status : NT_STATUS_NONE_MAPPED); in lsa_lookup_name()
117 uint32_t status; in lsa_lookup_sid() local
[all …]
H A Dmlsvc_util.c65 DWORD status; in mlsvc_netlogon() local
67 status = netr_open(server, domain, &netr_handle); in mlsvc_netlogon()
68 if (status != 0) { in mlsvc_netlogon()
71 xlate_nt_status(status)); in mlsvc_netlogon()
72 return (status); in mlsvc_netlogon()
75 status = netlogon_auth(server, &netr_handle, NETR_FLG_INIT); in mlsvc_netlogon()
76 if (status != NT_STATUS_SUCCESS) { in mlsvc_netlogon()
79 xlate_nt_status(status)); in mlsvc_netlogon()
86 return (status); in mlsvc_netlogon()
108 DWORD status; in mlsvc_join() local
[all …]
H A Dsamr_clnt.c82 DWORD status; in samr_open() local
94 status = samr_connect(server, domain, username, access_mask, in samr_open()
97 return (status); in samr_open()
127 DWORD status; in samr_connect() local
130 status = ndr_rpc_bind(samr_handle, server, domain, username, "SAMR"); in samr_connect()
131 if (status) in samr_connect()
132 return (status); in samr_connect()
135 status = (*samr_connop[i])(server, domain, username, in samr_connect()
138 if (status == NT_STATUS_SUCCESS) in samr_connect()
139 return (status); in samr_connect()
[all …]
/titanic_50/usr/src/lib/libdladm/common/
H A Dlibdlsim.c48 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_create_simnet() local
61 status = dladm_errno2status(errno); in i_dladm_create_simnet()
63 if (status != DLADM_STATUS_OK) in i_dladm_create_simnet()
64 return (status); in i_dladm_create_simnet()
68 return (status); in i_dladm_create_simnet()
76 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_modify_simnet() local
85 status = dladm_errno2status(errno); in i_dladm_modify_simnet()
87 return (status); in i_dladm_modify_simnet()
95 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_delete_simnet() local
103 status = dladm_errno2status(errno); in i_dladm_delete_simnet()
[all …]
H A Dlibdliptun.c66 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_ioctl() local
72 status = (ioctl(dladm_dld_fd(handle), cmd, dp) == 0) ? in i_iptun_ioctl()
74 if (status != DLADM_STATUS_TRYAGAIN) in i_iptun_ioctl()
77 return (status); in i_iptun_ioctl()
88 dladm_status_t status; in i_iptun_kparams() local
110 status = i_iptun_ioctl(handle, IPTUN_INFO, &tmpik); in i_iptun_kparams()
111 if (status != DLADM_STATUS_OK) in i_iptun_kparams()
112 return (status); in i_iptun_kparams()
223 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_get_sysparams() local
227 status = i_iptun_ioctl(handle, IPTUN_INFO, &ik); in i_iptun_get_sysparams()
[all …]
H A Dlibdlib.c115 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_part_info_active() local
126 status = i_dladm_ib_ioctl(handle, IBD_INFO_IBPART, (ibd_ioctl_t *)&ioc); in i_dladm_part_info_active()
127 if (status != DLADM_STATUS_OK) in i_dladm_part_info_active()
150 return (status); in i_dladm_part_info_active()
162 dladm_status_t status; in i_dladm_part_info_persist() local
168 if ((status = dladm_datalink_id2info(handle, linkid, NULL, &class, in i_dladm_part_info_persist()
174 if ((status = dladm_getsnap_conf(handle, linkid, &conf)) != in i_dladm_part_info_persist()
176 return (status); in i_dladm_part_info_persist()
182 status = dladm_get_conf_field(handle, conf, FLINKOVER, linkover, in i_dladm_part_info_persist()
184 if (status != DLADM_STATUS_OK) { in i_dladm_part_info_persist()
[all …]
H A Dlibdlvnic.c108 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_create_sys() local
131 status = dladm_errno2status(errno); in i_dladm_vnic_create_sys()
133 if (status != DLADM_STATUS_OK) { in i_dladm_vnic_create_sys()
135 status = dladm_vnic_diag2status(ioc.vc_diag); in i_dladm_vnic_create_sys()
137 if (status != DLADM_STATUS_OK) in i_dladm_vnic_create_sys()
138 return (status); in i_dladm_vnic_create_sys()
150 return (status); in i_dladm_vnic_create_sys()
163 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_info_active() local
171 status = dladm_errno2status(errno); in i_dladm_vnic_info_active()
188 return (status); in i_dladm_vnic_info_active()
[all …]
/titanic_50/usr/src/lib/mpapi/libmpapi/common/
H A Dmpapi.c264 MP_STATUS status; in InitLibrary() local
276 status = PassFunc(plugintable[i].ownerId); in InitLibrary()
477 MP_STATUS status; in MP_GetPluginProperties() local
482 if ((status = validate_object(pluginOid, MP_OBJECT_TYPE_PLUGIN, in MP_GetPluginProperties()
484 return (status); in MP_GetPluginProperties()
495 status = PassFunc(pProps); in MP_GetPluginProperties()
497 status = MP_STATUS_UNSUPPORTED; in MP_GetPluginProperties()
500 status = MP_STATUS_FAILED; in MP_GetPluginProperties()
504 return status; in MP_GetPluginProperties()
546 MP_STATUS status; in MP_GetAssociatedPluginOid() local
[all …]
/titanic_50/usr/src/lib/udapl/libdat/common/
H A Ddat_dr.c72 DAT_RETURN status; in dat_dr_init() local
74 status = dat_os_lock_init(&g_dr_lock); in dat_dr_init()
75 if (DAT_SUCCESS != status) { in dat_dr_init()
76 return (status); in dat_dr_init()
79 status = dat_dictionary_create(&g_dr_dictionary); in dat_dr_init()
80 if (DAT_SUCCESS != status) { in dat_dr_init()
81 return (status); in dat_dr_init()
95 DAT_RETURN status; in dat_dr_fini() local
97 status = dat_os_lock_destroy(&g_dr_lock); in dat_dr_fini()
98 if (DAT_SUCCESS != status) { in dat_dr_fini()
[all …]
H A Ddat_sr.c73 DAT_RETURN status; in dat_sr_init() local
75 status = dat_os_lock_init(&g_sr_lock); in dat_sr_init()
76 if (DAT_SUCCESS != status) { in dat_sr_init()
77 return (status); in dat_sr_init()
80 status = dat_dictionary_create(&g_sr_dictionary); in dat_sr_init()
81 if (DAT_SUCCESS != status) { in dat_sr_init()
82 return (status); in dat_sr_init()
104 DAT_RETURN status; in dat_sr_fini() local
106 status = dat_os_lock_destroy(&g_sr_lock); in dat_sr_fini()
107 if (DAT_SUCCESS != status) { in dat_sr_fini()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c596 int32_t status = PSVC_SUCCESS; in psvc_get_attr() local
611 status = i_psvc_get_table_value(hdlp, name, in psvc_get_attr()
617 status = i_psvc_get_assoc_matches(hdlp, name, in psvc_get_attr()
625 status = i_psvc_get_assoc_id(hdlp, name, in psvc_get_attr()
630 status = i_psvc_get_obj(hdlp, name, &objp); in psvc_get_attr()
631 if (status != PSVC_SUCCESS) { in psvc_get_attr()
633 return (status); in psvc_get_attr()
635 status = (*objp->get_attr)(hdlp, objp, attr_id, in psvc_get_attr()
639 if (status != PSVC_SUCCESS) { in psvc_get_attr()
641 return (status); in psvc_get_attr()
[all …]
/titanic_50/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_x550.c127 s32 status; in ixgbe_read_pe() local
129 status = ixgbe_read_i2c_byte_unlocked(hw, reg, IXGBE_PE, value); in ixgbe_read_pe()
130 if (status != IXGBE_SUCCESS) in ixgbe_read_pe()
132 "port expander access failed with %d\n", status); in ixgbe_read_pe()
133 return status; in ixgbe_read_pe()
146 s32 status; in ixgbe_write_pe() local
148 status = ixgbe_write_i2c_byte_unlocked(hw, reg, IXGBE_PE, value); in ixgbe_write_pe()
149 if (status != IXGBE_SUCCESS) in ixgbe_write_pe()
151 "port expander access failed with %d\n", status); in ixgbe_write_pe()
152 return status; in ixgbe_write_pe()
[all …]
/titanic_50/usr/src/cmd/picl/plugins/sun4u/cherrystone/psvcpolicy/
H A Dpsvcpolicy.c375 int status; in check_fan() local
386 status = psvc_get_attr(hdlp, fan_id, PSVC_ASSOC_ID_ATTR, in check_fan()
388 if (status != PSVC_SUCCESS) in check_fan()
389 return (status); in check_fan()
392 status = psvc_get_attr(hdlp, tach_id, PSVC_LO_WARN_ATTR, &low_thresh); in check_fan()
393 if (status != PSVC_SUCCESS) in check_fan()
394 return (status); in check_fan()
401 status = psvc_get_attr(hdlp, tach_id, PSVC_SENSOR_VALUE_ATTR, in check_fan()
403 if (status != PSVC_SUCCESS) in check_fan()
404 return (status); in check_fan()
[all …]
/titanic_50/usr/src/cmd/lp/cmd/lpsched/
H A Ddisp4.c43 ushort status; in s_accept_dest() local
55 if ((pps->status & PS_REJECTED) == 0) in s_accept_dest()
56 status = MERRDEST; in s_accept_dest()
58 pps->status &= ~PS_REJECTED; in s_accept_dest()
61 status = MOK; in s_accept_dest()
68 if ((pcs->status & CS_REJECTED) == 0) in s_accept_dest()
69 status = MERRDEST; in s_accept_dest()
71 pcs->status &= ~CS_REJECTED; in s_accept_dest()
74 status = MOK; in s_accept_dest()
78 status = MNODEST; in s_accept_dest()
[all …]
/titanic_50/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_mem.c64 ibt_status_t status; in ibt_register_mr() local
71 status = IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_register_mr( in ibt_register_mr()
74 if (status == IBT_SUCCESS) { in ibt_register_mr()
79 return (status); in ibt_register_mr()
112 ibt_status_t status; in ibt_register_buf() local
117 status = IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_register_buf( in ibt_register_buf()
120 if (status == IBT_SUCCESS) { in ibt_register_buf()
124 return (status); in ibt_register_buf()
175 ibt_status_t status; in ibt_deregister_mr() local
179 status = IBTL_HCA2CIHCAOPS_P(hca_hdl)->ibc_deregister_mr( in ibt_deregister_mr()
[all …]
/titanic_50/usr/src/cmd/svr4pkg/libinst/
H A Dscriptvfy.l140 } status = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; variable
155 if (status.in_awk == 0)
204 if (status.in_awk != 0) {
231 if (status.in_function == 0 && status.in_awk == 0)
237 if (status.in_function == 0 && status.in_awk == 0)
243 if (status.in_function == 0 && status.in_awk == 0)
252 "()"[ \t]*\n[ \t]*/\{ { status.in_function = 1; line_no++; }
253 "()"[ ]*/\{ status.in_function = 1;
256 if (status.in_function == 1)
261 if (status.in_function == 1) {
[all …]
/titanic_50/usr/src/cmd/format/
H A Dmenu_cache.c100 int status; in ca_write_display() local
108 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_display()
112 if (status == 0) { in ca_write_display()
129 int status; in ca_write_enable() local
139 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_enable()
143 if (status == 0) { in ca_write_enable()
145 status = uscsi_mode_sense(cur_file, DAD_MODE_CACHE, in ca_write_enable()
148 if (status != 0) { in ca_write_enable()
149 status = uscsi_mode_sense(cur_file, in ca_write_enable()
154 if (status == 0) { in ca_write_enable()
[all …]
/titanic_50/usr/src/uts/intel/io/ipmi/
H A Dipmi_kcs.c56 int status; in kcs_wait_for_ibf() local
59 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_ibf()
62 for (i = 0; i < timeout_usecs && status & KCS_STATUS_IBF; in kcs_wait_for_ibf()
65 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_ibf()
69 for (i = 0; i < timeout_usecs && !(status & KCS_STATUS_IBF); in kcs_wait_for_ibf()
72 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_ibf()
75 return (status); in kcs_wait_for_ibf()
81 int status; in kcs_wait_for_obf() local
84 status = INB(sc, KCS_CTL_STS); in kcs_wait_for_obf()
87 for (i = 0; i < timeout_usecs && status & KCS_STATUS_OBF; in kcs_wait_for_obf()
[all …]
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_create.c58 krb5_error_code status = 0; in krb5_ldap_create() local
77 status = ENOMEM; in krb5_ldap_create()
88 if ((status = krb5_ldap_get_db_opt(*t_ptr, &opt, &val)) != 0) { in krb5_ldap_create()
95 status = EINVAL; in krb5_ldap_create()
96 krb5_set_error_message (context, status, gettext("'binddn' missing")); in krb5_ldap_create()
100 status = EINVAL; in krb5_ldap_create()
101 krb5_set_error_message (context, status, gettext("'binddn' value missing")); in krb5_ldap_create()
109 status = ENOMEM; in krb5_ldap_create()
116 status = EINVAL; in krb5_ldap_create()
117 krb5_set_error_message (context, status, gettext("'nconns' missing")); in krb5_ldap_create()
[all …]
/titanic_50/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ioctl.c92 int status; in hci1394_ioctl() local
113 status = 0; in hci1394_ioctl()
117 status = hci1394_ioctl_wrreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
120 status = hci1394_ioctl_rdreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
123 status = hci1394_ioctl_rdvreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
126 status = hci1394_ioctl_wrvreg(soft_state, (void *)arg, mode); in hci1394_ioctl()
129 status = hci1394_ohci_bus_reset(soft_state->ohci); in hci1394_ioctl()
132 status = hci1394_ioctl_selfid_cnt(soft_state, (void *)arg, in hci1394_ioctl()
136 status = hci1394_ioctl_busgen_cnt(soft_state, (void *)arg, in hci1394_ioctl()
140 status = hci1394_ioctl_read_selfid(soft_state, (void *)arg, in hci1394_ioctl()
[all …]
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_qinfo_file.c56 uint32_t status; in smb2_qinfo_file() local
105 status = smb2_ofile_getattr(sr, of, &qi->qi_attr); in smb2_qinfo_file()
106 if (status) in smb2_qinfo_file()
107 return (status); in smb2_qinfo_file()
110 status = smb2_ofile_getstd(of, qi); in smb2_qinfo_file()
111 if (status) in smb2_qinfo_file()
112 return (status); in smb2_qinfo_file()
115 status = smb2_ofile_getname(of, qi); in smb2_qinfo_file()
116 if (status) in smb2_qinfo_file()
117 return (status); in smb2_qinfo_file()
[all …]

12345678910>>...107