Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/isns/isnsd/
H A Disns_qry.h35 (TLV)->attr_id >= FIRST_TAG_DD ? OBJ_DD : \
36 (TLV)->attr_id >= FIRST_TAG_DDS ? OBJ_DDS : \
37 (TLV)->attr_id >= FIRST_TAG_PG ? OBJ_PG : \
38 (TLV)->attr_id >= FIRST_TAG_ISCSI ? OBJ_ISCSI : \
39 (TLV)->attr_id >= FIRST_TAG_PORTAL ? OBJ_PORTAL : \
40 (TLV)->attr_id >= FIRST_TAG_ENTITY ? OBJ_ENTITY : 0;
56 (OP)->attr_id >= TAG_RANGE[OP_TYPE][0] &&\
57 (OP)->attr_id <= TAG_RANGE[OP_TYPE][2]);
H A Dpdu.c376 uint32_t attr_id, in pdu_add_tlv() argument
414 attr_tlv->attr_id = htonl(attr_id); in pdu_add_tlv()
416 switch (attr_id) { in pdu_add_tlv()
509 tlv->attr_id = ntohl(tlv->attr_id); in pdu_get_source()
546 tlv->attr_id = ntohl(tlv->attr_id); in pdu_get_key()
548 if (tlv->attr_id == ISNS_DELIMITER_ATTR_ID) { in pdu_get_key()
591 tlv->attr_id = ntohl(tlv->attr_id); in pdu_get_operand()
598 if (tlv->attr_id == ISNS_DELIMITER_ATTR_ID) { in pdu_get_operand()
H A Ddump.c276 t = ntohl(tlvp->attr_id); in dump_pdu()
1291 tlv->attr_id = htonl(ISNS_ISCSI_NAME_ATTR_ID); in new_dd_dds()
1301 tlv->attr_id = htonl(ISNS_DELIMITER_ATTR_ID); in new_dd_dds()
1316 tlv->attr_id = htonl(ISNS_DD_NAME_ATTR_ID); in new_dd_dds()
1331 tlv->attr_id = htonl(ISNS_DD_SET_NAME_ATTR_ID); in new_dd_dds()
1349 tlv->attr_id = htonl(ISNS_DD_NAME_ATTR_ID); in new_dd_dds()
1358 tlv->attr_id = htonl(ISNS_DD_ID_ATTR_ID); in new_dd_dds()
1375 tlv->attr_id = htonl(ISNS_DD_SET_NAME_ATTR_ID); in new_dd_dds()
1384 tlv->attr_id = htonl(ISNS_DD_SET_ID_ATTR_ID); in new_dd_dds()
1450 tlv->attr_id = htonl(ISNS_ISCSI_NAME_ATTR_ID); in del_dd_dds()
[all …]
H A Dfunc.c111 } else if (source->attr_id != ISNS_ISCSI_NAME_ATTR_ID || in packet_get_source()
330 switch (key->attr_id) { in setup_key_lcp()
360 key->attr_id != ISNS_PORTAL_PORT_ATTR_ID) { in setup_key_lcp()
384 key->attr_id != ISNS_PG_PORTAL_IP_ADDR_ATTR_ID) { in setup_key_lcp()
394 key->attr_id != ISNS_PG_PORTAL_PORT_ATTR_ID) { in setup_key_lcp()
494 if (key->attr_id == ISNS_EID_ATTR_ID) { in rsp_add_key()
500 key->attr_id, key->attr_len, in rsp_add_key()
590 tag = tlv->attr_id; in rsp_add_tlvs()
1169 switch (op->attr_id) {
1199 op->attr_id == ISNS_PORTAL_PORT_ATTR_ID) {
[all …]
H A Dobj.c1485 switch (tlv->attr_id) { in extract_attr()
1498 attr->tag = tlv->attr_id; in extract_attr()
1504 attr->tag = tlv->attr_id; in extract_attr()
1514 attr->tag = tlv->attr_id; in extract_attr()
1541 attr->tag = tlv->attr_id; in extract_attr()
1567 attr->tag = tlv->attr_id; in extract_attr()
1881 if (tmp_len >= 8 && IS_ENTITY_KEY(tmp->attr_id)) { in reg_get_entity()
1886 ATTR_INDEX_ENTITY(tmp->attr_id)]; in reg_get_entity()
1891 IS_ENTITY_ATTR(tmp->attr_id)); in reg_get_entity()
1965 ATTR_INDEX_ISCSI(tmp->attr_id)]; in reg_get_iscsi()
[all …]
H A Dqry.c619 tag = key->attr_id; in validate_qry_key()
1052 tag = tlv->attr_id; in get_next_obj()
1078 ((tag = tlv->attr_id) == in get_next_obj()
1155 tag = tlv->attr_id; in cb_qry_rsp()
1168 tlv->attr_id >= min_tag && in cb_qry_rsp()
1169 tlv->attr_id <= max_tag); in cb_qry_rsp()
H A Disns_protocol.h230 uint32_t attr_id; member
H A Ddd.c1172 switch (op->attr_id) { in create_dd_object()
1240 switch (op->attr_id) { in create_dds_object()
/titanic_50/usr/src/cmd/picl/plugins/sun4u/psvc/psvcobj/
H A Dpsvcobj.c102 static int32_t i_psvc_get_reg_11_0(EHdl_t *hdlp, EObj_t *objp, int32_t attr_id,
272 i_psvc_value(char *buf, int32_t attr_id, void *attrp) in i_psvc_value() argument
285 switch (attr_id) { in i_psvc_value()
296 snprintf(label, sizeof (label), "%s=", attr_str_tab[attr_id]); in i_psvc_value()
311 snprintf(label, sizeof (label), "%s=", attr_str_tab[attr_id]); in i_psvc_value()
325 snprintf(label, sizeof (label), "%s=", attr_str_tab[attr_id]); in i_psvc_value()
593 psvc_get_attr(EHdl_t *hdlp, char *name, int32_t attr_id, void *attr_valuep, ...) in psvc_get_attr() argument
608 switch (attr_id) { in psvc_get_attr()
635 status = (*objp->get_attr)(hdlp, objp, attr_id, in psvc_get_attr()
649 psvc_set_attr(EHdl_t *hdlp, char *name, int32_t attr_id, void *attr_valuep) in psvc_set_attr() argument
[all …]
/titanic_50/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_saa_impl.c66 static int ibmf_saa_impl_check_sa_support(uint16_t cap_mask, uint16_t attr_id);
67 static uint_t ibmf_saa_impl_get_attr_id_length(uint16_t attr_id);
1344 uint16_t attr_id; in ibmf_saa_impl_send_request() local
1363 attr_id = trans_info->si_trans_attr_id; in ibmf_saa_impl_send_request()
1400 ibmf_status = ibmf_saa_impl_check_sa_support(sa_cap_mask, attr_id); in ibmf_saa_impl_send_request()
1682 uint16_t attr_id, pack_attr_id; in ibmf_saa_impl_init_msg() local
1694 attr_id = trans_info->si_trans_attr_id; in ibmf_saa_impl_init_msg()
1748 mad_hdr->AttributeID = h2b16(attr_id); in ibmf_saa_impl_init_msg()
1759 tnf_opaque, attr_id, attr_id); in ibmf_saa_impl_init_msg()
1794 if (attr_id == SA_MULTIPATHRECORD_ATTRID) { in ibmf_saa_impl_init_msg()
[all …]
H A Dibmf_saa_utils.c966 structs_payload_length, uint16_t attr_id, void **buf_payloadp, in ibmf_saa_utils_pack_payload() argument
986 ASSERT(attr_id != SA_TRACERECORD_ATTRID); in ibmf_saa_utils_pack_payload()
988 switch (attr_id) { in ibmf_saa_utils_pack_payload()
1158 uint16_t attr_id, void **structs_payloadp, size_t *structs_payload_lengthp, in ibmf_saa_utils_unpack_payload() argument
1176 switch (attr_id) { in ibmf_saa_utils_unpack_payload()
H A Dibmf_saa_events.c1067 uint16_t attr_id; in ibmf_saa_report_cb() local
1149 if (((attr_id = b2h16(req_mad_hdr->AttributeID)) != SA_NOTICE_ATTRID) || in ibmf_saa_report_cb()
1157 tnf_opaque, attr_id, attr_id, in ibmf_saa_report_cb()
H A Dibmf_saa.c657 tnf_opaque, attr_id, access_args->sq_attr_id, in ibmf_sa_access()
H A Dibmf_recv.c499 mad_hdr->MgmtClass, tnf_opaque, attr_id, in ibmf_i_do_recv_cb()
/titanic_50/usr/src/uts/common/sys/ib/mgt/ibmf/
H A Dibmf_saa_utils.h53 uint16_t attr_id, void **structs_payloadp, size_t *structs_payload_lengthp,
58 structs_payload_length, uint16_t attr_id, void **buf_payloadp,
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_agents.c369 uint_t attr_id, method, mgmt_class; in hermon_agent_handle_req() local
373 attr_id = b2h16(madhdrp->AttributeID); in hermon_agent_handle_req()
389 if (isSMSet && (attr_id == SM_PORTINFO_ATTRID) || in hermon_agent_handle_req()
390 (attr_id == SM_PKEY_TABLE_ATTRID) || in hermon_agent_handle_req()
391 (attr_id == SM_GUIDINFO_ATTRID)) { in hermon_agent_handle_req()
435 switch (attr_id) { in hermon_agent_handle_req()
/titanic_50/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_isns.c357 uint32_t attr_id,
2420 uint32_t attr_len, attr_id, esi_interval; in isnst_verify_rsp() local
2484 attr_id = ntohl(attr->attr_id); in isnst_verify_rsp()
2485 if (attr_id == ISNS_ESI_INTERVAL_ATTR_ID) { in isnst_verify_rsp()
2527 attr_id = ntohl(attr->attr_id); in isnst_verify_rsp()
2528 if (attr_id == ISNS_EID_ATTR_ID && in isnst_verify_rsp()
2594 uint32_t attr_id; in isnst_pdu_get_op() local
2619 attr_id = ntohl(attr->attr_id); in isnst_pdu_get_op()
2620 if (attr_id == ISNS_DELIMITER_ATTR_ID) { in isnst_pdu_get_op()
2659 uint32_t attr_id, in isnst_add_attr() argument
[all …]
/titanic_50/usr/src/cmd/fs.d/autofs/
H A Dns_fnreaddir.c158 get_attrval(const FN_attrset_t *, const FN_identifier_t *attr_id);
589 get_attrval(const FN_attrset_t *attrs, const FN_identifier_t *attr_id) in get_attrval() argument
594 attr = fn_attrset_get(attrs, attr_id); in get_attrval()
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Disns_protocol.h145 uint32_t attr_id; member
H A Disns_client.c160 size_t max_pdu_size, uint32_t attr_id, uint32_t attr_len,
2499 if (ntohl(attr_tlv_p->attr_id) == ISNS_DELIMITER_ATTR_ID) { in isns_process_dev_attr_qry_target_nodes_pdu()
2505 } else if (ntohl(attr_tlv_p->attr_id) == in isns_process_dev_attr_qry_target_nodes_pdu()
2561 switch (ntohl(attr_tlv_p->attr_id)) { in isns_process_dev_attr_qry_target_nodes_pdu()
2738 switch (ntohl(attr_tlv_p->attr_id)) { in isns_process_scn()
2867 uint32_t attr_id, in isns_add_attr() argument
2892 attr_tlv->attr_id = htonl(attr_id); in isns_add_attr()
2894 switch (attr_id) { in isns_add_attr()
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dsa.c960 sa_attr_type_t attr_id; in sa_attr_table_setup() local
962 attr_id = sa->sa_user_table[i]; in sa_attr_table_setup()
963 if (tb[attr_id].sa_name) in sa_attr_table_setup()
966 tb[attr_id].sa_length = reg_attrs[i].sa_length; in sa_attr_table_setup()
967 tb[attr_id].sa_byteswap = reg_attrs[i].sa_byteswap; in sa_attr_table_setup()
968 tb[attr_id].sa_attr = attr_id; in sa_attr_table_setup()
969 tb[attr_id].sa_name = in sa_attr_table_setup()
971 (void) strlcpy(tb[attr_id].sa_name, reg_attrs[i].sa_name, in sa_attr_table_setup()
/titanic_50/usr/src/uts/common/sys/iscsit/
H A Disns_protocol.h230 uint32_t attr_id; member
/titanic_50/usr/src/cmd/mdb/common/modules/zfs/
H A Dzfs.c2687 uint64_t attr_id; in sa_attr_print() local
2698 attr_id = mdb_strtoull(argv[0].a_un.a_str); in sa_attr_print()
2722 if (attr_id > attr_count) { in sa_attr_print()
2739 if (bonus_tab && !TOC_ATTR_PRESENT(offset_tab[attr_id]) && in sa_attr_print()
2743 } else if (!TOC_ATTR_PRESENT(offset_tab[attr_id]) && spill_tab) { in sa_attr_print()
2752 if (!TOC_ATTR_PRESENT(offset_tab[attr_id])) { in sa_attr_print()
2757 attr_addr = db_data + TOC_OFF(offset_tab[attr_id]); in sa_attr_print()
/titanic_50/usr/src/cmd/isns/isnsd/xml/
H A Ddata.c514 const int attr_id = xmlArg2[i]; in parse_xml_attr() local
524 &(obj->attrs[attr_id])); in parse_xml_attr()
/titanic_50/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_sm.c522 ibcm_event_type_t attr_id; /* Attribute ID in MAD hdr */ in _NOTE() local
619 attr_id = b2h16(in_mad_hdr->AttributeID); in _NOTE()
622 "Method %x Attribute %x", method, attr_id); in _NOTE()
630 if (attr_id == (IBCM_INCOMING_REQ + IBCM_ATTR_BASE_ID)) in _NOTE()
657 if ((attr_id == MAD_ATTR_ID_CLASSPORTINFO) && in _NOTE()
666 } else if ((attr_id >= IBCM_ATTR_BASE_ID) && in _NOTE()
667 (attr_id < (IBCM_ATTR_BASE_ID + IBCM_MAX_EVENTS)) && in _NOTE()
670 attr_id -= IBCM_ATTR_BASE_ID; /* figure out CM message id */ in _NOTE()
675 ibcm_sm_funcs_tbl[attr_id](hcap, in _NOTE()
683 "unknown Method %x or Attribute %x", method, attr_id); in _NOTE()