Home
last modified time | relevance | path

Searched refs:ic_dlen (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/lib/libipmi/common/
H A Dipmi_sensor.c43 cmd.ic_dlen = sizeof (id); in ipmi_get_sensor_reading()
53 if (resp->ic_dlen < sizeof (ipmi_sensor_reading_t) - sizeof (uint8_t)) { in ipmi_get_sensor_reading()
59 if (resp->ic_dlen < sizeof (ipmi_sensor_reading_t)) in ipmi_get_sensor_reading()
60 (void) memset((char *)srp + resp->ic_dlen, '\0', in ipmi_get_sensor_reading()
61 sizeof (ipmi_sensor_reading_t) - resp->ic_dlen); in ipmi_get_sensor_reading()
88 cmd.ic_dlen = sizeof (realreq); in ipmi_set_sensor_reading()
93 if (resp->ic_dlen != 0) in ipmi_set_sensor_reading()
H A Dipmi_misc.c44 cmd.ic_dlen = 0; in ipmi_get_deviceid()
49 if (resp->ic_dlen < sizeof (ipmi_deviceid_t)) { in ipmi_get_deviceid()
58 if ((ihp->ih_deviceid = ipmi_alloc(ihp, resp->ic_dlen)) == NULL) in ipmi_get_deviceid()
61 (void) memcpy(ihp->ih_deviceid, resp->ic_data, resp->ic_dlen); in ipmi_get_deviceid()
65 ihp->ih_deviceid_len = resp->ic_dlen; in ipmi_get_deviceid()
145 cmd.ic_dlen = sizeof (msg_data); in ipmi_get_channel_auth_caps()
151 if (resp->ic_dlen < sizeof (ipmi_channel_auth_caps_t)) { in ipmi_get_channel_auth_caps()
183 cmd.ic_dlen = sizeof (channel); in ipmi_get_channel_info()
188 if (rsp->ic_dlen < sizeof (ipmi_channel_info_t)) { in ipmi_get_channel_info()
217 cmd.ic_dlen = sizeof (msg_data); in ipmi_chassis_identify()
H A Dipmi_sel.c50 cmd.ic_dlen = 0; in ipmi_sel_get_info()
93 cmd.ic_dlen = sizeof (data); in ipmi_sel_get_entry()
99 if (rsp->ic_dlen < sizeof (ipmi_sel_event_t)) { in ipmi_sel_get_entry()
130 cmd.ic_dlen = 0; in ipmi_sel_get_time()
136 if (rsp->ic_dlen < sizeof (uint32_t)) in ipmi_sel_get_time()
154 cmd.ic_dlen = sizeof (t); in ipmi_sel_set_time()
172 cmd.ic_dlen = 0; in ipmi_sel_get_utc_offset()
178 if (rsp->ic_dlen < sizeof (uint16_t)) in ipmi_sel_get_utc_offset()
198 cmd.ic_dlen = sizeof (off16); in ipmi_sel_set_utc_offset()
H A Dipmi_sunoem.c101 cmd.ic_dlen = sizeof (*req); in ipmi_send_sunoem_led_set()
106 if (resp->ic_dlen != 0) in ipmi_send_sunoem_led_set()
122 cmd.ic_dlen = sizeof (*req); in ipmi_send_sunoem_led_get()
127 if (resp->ic_dlen != 1) in ipmi_send_sunoem_led_get()
187 cmd.ic_dlen = sizeof (unused); in ipmi_sunoem_uptime()
193 if (resp->ic_dlen != 2 * sizeof (uint32_t)) in ipmi_sunoem_uptime()
233 cmd.ic_dlen = offsetof(ipmi_sunoem_fru_t, isf_data) + in ipmi_sunoem_update_fru()
240 if (resp->ic_dlen != 0) in ipmi_sunoem_update_fru()
H A Dipmi_user.c118 cmd.ic_dlen = sizeof (req); in ipmi_get_user_access()
133 if (resp->ic_dlen < sizeof (ipmi_get_user_access_t)) { in ipmi_get_user_access()
150 cmd.ic_dlen = sizeof (uid); in ipmi_get_user_name()
155 if (resp->ic_dlen < 16) { in ipmi_get_user_name()
347 cmd.ic_dlen = sizeof (req); in ipmi_user_set_password()
349 cmd.ic_dlen = sizeof (req) - 4; in ipmi_user_set_password()
H A Dipmi_lan.c435 len = req->ic_dlen + 29; in ipmi_lan_build_cmd()
473 msg[off++] = req->ic_dlen + 7; in ipmi_lan_build_cmd()
492 if (req->ic_dlen != 0) { in ipmi_lan_build_cmd()
493 (void) memcpy(msg + off, req->ic_data, req->ic_dlen); in ipmi_lan_build_cmd()
494 off += req->ic_dlen; in ipmi_lan_build_cmd()
551 response->ic_dlen = 0; in ipmi_lan_send()
555 response->ic_dlen = rsp->ir_dlen; in ipmi_lan_send()
603 cmd.ic_dlen = 17; in ipmi_get_session_challenge_cmd()
656 cmd.ic_dlen = 22; in ipmi_activate_session_cmd()
694 cmd.ic_dlen = 1; in ipmi_set_session_privlvl_cmd()
[all …]
H A Dipmi_bmc.c118 req.msg.data_len = cmd->ic_dlen; in ipmi_bmc_send()
166 response->ic_dlen = 0; in ipmi_bmc_send()
170 response->ic_dlen = (recv.msg.data_len > 0) ? in ipmi_bmc_send()
H A Dipmi_lancfg.c113 cmd.ic_dlen = sizeof (lcmd); in ipmi_lan_get_param()
124 if (rsp->ic_dlen < len + 1) in ipmi_lan_get_param()
174 cmd.ic_dlen = IPMI_LAN_SET_LEN(len); in ipmi_lan_set_param()
H A Dipmi_fru.c68 cmd.ic_dlen = sizeof (uint8_t); in ipmi_fru_read()
74 if (resp->ic_dlen != 3) { in ipmi_fru_read()
97 cmd.ic_dlen = sizeof (ipmi_fru_read_t); in ipmi_fru_read()
H A Dipmi_event.c36 cmd.ic_dlen = sizeof (ipmi_platform_event_message_t); in ipmi_event_platform_message()
H A Dipmi_sdr.c116 cmd.ic_dlen = 0; in ipmi_sdr_get_info()
150 cmd.ic_dlen = 0; in ipmi_sdr_reserve_repository()
474 cmd.ic_dlen = sizeof (req); in ipmi_sdr_get()
H A Dlibipmi.h155 uint16_t ic_dlen; member
/titanic_41/usr/src/cmd/fm/modules/common/fdd-msg/
H A Dfdd_msg.c218 cmd.ic_dlen = OEM_DATA_LENGTH; in send_fma_cap_to_ilom()