Searched refs:attr_tlv (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/cmd/isns/isnsd/ |
H A D | pdu.c | 387 isns_tlv_t *attr_tlv; in pdu_add_tlv() local 411 attr_tlv = (isns_tlv_t *)malloc(attr_tlv_len); in pdu_add_tlv() 412 (void) memset((void *)attr_tlv, 0, attr_tlv_len); in pdu_add_tlv() 414 attr_tlv->attr_id = htonl(attr_id); in pdu_add_tlv() 424 (void) memcpy(attr_tlv->attr_value, attr_data, in pdu_add_tlv() 432 (void) memcpy(attr_tlv->attr_value, (char *)attr_data, in pdu_add_tlv() 453 *(uint64_t *)attr_tlv->attr_value = in pdu_add_tlv() 458 *(uint32_t *)attr_tlv->attr_value = in pdu_add_tlv() 461 *(uint32_t *)attr_tlv->attr_value = in pdu_add_tlv() 468 attr_tlv->attr_len = htonl(normalized_attr_len); in pdu_add_tlv() [all …]
|
/titanic_50/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_isns.c | 2664 isns_tlv_t *attr_tlv; in isnst_add_attr() local 2682 attr_tlv = (isns_tlv_t *)kmem_zalloc(attr_tlv_len, KM_SLEEP); in isnst_add_attr() 2684 attr_tlv->attr_id = htonl(attr_id); in isnst_add_attr() 2694 attr_tlv->attr_value[10] = 0xFF; in isnst_add_attr() 2695 attr_tlv->attr_value[11] = 0xFF; in isnst_add_attr() 2696 bcopy(attr_data, ((attr_tlv->attr_value) + 12), in isnst_add_attr() 2700 bcopy(attr_data, attr_tlv->attr_value, in isnst_add_attr() 2706 kmem_free(attr_tlv, attr_tlv_len); in isnst_add_attr() 2707 attr_tlv = NULL; in isnst_add_attr() 2718 attr_tlv->attr_value, attr_len); in isnst_add_attr() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | isns_client.c | 2872 isns_tlv_t *attr_tlv; in isns_add_attr() local 2890 attr_tlv = (isns_tlv_t *)kmem_zalloc(attr_tlv_len, KM_SLEEP); in isns_add_attr() 2892 attr_tlv->attr_id = htonl(attr_id); in isns_add_attr() 2902 attr_tlv->attr_value[10] = 0xFF; in isns_add_attr() 2903 attr_tlv->attr_value[11] = 0xFF; in isns_add_attr() 2904 bcopy(attr_data, ((attr_tlv->attr_value) + 12), in isns_add_attr() 2908 bcopy(attr_data, attr_tlv->attr_value, in isns_add_attr() 2914 kmem_free(attr_tlv, attr_tlv_len); in isns_add_attr() 2915 attr_tlv = NULL; in isns_add_attr() 2925 attr_tlv->attr_value, in isns_add_attr() [all …]
|