/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | debug_funcs.c | 67 ulong_t attr_len; local 78 attr_start = tnf_probe_get_value(probe_p, "name", &attr_len); 80 attr_len = (attr_len > (NAME_LIMIT - 1)) ? (NAME_LIMIT - 1) : attr_len; 81 str_len = sprintf(buf_p, "probe %.*s; ", attr_len, attr_start); 85 attr_start = tnf_probe_get_value(probe_p, "sunw%debug", &attr_len); 87 attr_len = (attr_len > (ATTR_LIMIT - 1)) ? 88 (ATTR_LIMIT - 1) : attr_len; [all...] |
H A D | tnf_args.c | 141 uint_t attr_len; local 156 attr_len = attr_end - attr_start; 172 *size = attr_len - (input_len + 1);
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | isns_pdu.h | 38 if ((LEN) >= (8 + (OP)->attr_len)) { \ 40 (LEN) -= (8 + (OP)->attr_len); \ 41 b1 += (8 + (OP)->attr_len); \
|
H A D | pdu.c | 377 uint32_t attr_len, 393 normalized_attr_len = (attr_len % 4) == 0 ? (attr_len) : 394 (attr_len + (4 - (attr_len % 4))); 423 ASSERT(attr_len == sizeof (in6_addr_t)); 433 attr_len); 437 if (attr_len == 8) { 456 } else if (attr_len == 4) { 468 attr_tlv->attr_len 372 pdu_add_tlv( isns_pdu_t **pdu, size_t *pl, size_t *sz, uint32_t attr_id, uint32_t attr_len, void *attr_data, int pflag ) argument [all...] |
H A D | func.c | 112 source->attr_len == 0) { 332 if (key->attr_len >= 4) { 341 if (key->attr_len >= 4) { 352 if (key->attr_len == sizeof (in6_addr_t)) { 359 key->attr_len != 4 || 375 if (key->attr_len < 4) { 383 key->attr_len != sizeof (in6_addr_t) || 393 key->attr_len != 4 || 500 key->attr_id, key->attr_len, 591 len = tlv->attr_len; [all...] |
H A D | dump.c | 277 l = ntohl(tlvp->attr_len); 1292 tlv->attr_len = htonl(32); 1302 tlv->attr_len = htonl(0); 1317 tlv->attr_len = htonl(len); 1332 tlv->attr_len = htonl(len); 1350 tlv->attr_len = htonl(len); 1359 tlv->attr_len = htonl(4); 1376 tlv->attr_len = htonl(len); 1385 tlv->attr_len = htonl(4); 1451 tlv->attr_len [all...] |
H A D | dd.c | 1174 if (op->attr_len == 4) { 1178 } else if (op->attr_len != 0) { 1183 if (op->attr_len > 0 && 1184 op->attr_len <= 256) { 1185 name.len = op->attr_len; 1187 } else if (op->attr_len != 0) { 1201 if (op->attr_len == 4) { 1203 features.len = op->attr_len; 1205 } else if (op->attr_len != 0) { 1242 if (op->attr_len [all...] |
H A D | obj.c | 1495 if (tlv->attr_len < min_len || tlv->attr_len > max_len) { 1499 attr->len = tlv->attr_len; 1505 attr->len = tlv->attr_len; 1511 if (tlv->attr_len != 16) { 1515 attr->len = tlv->attr_len; 1536 if (tlv->attr_len != 4) { 1542 attr->len = tlv->attr_len; 1543 if (tlv->attr_len == 4) { 1564 if (tlv->attr_len ! [all...] |
H A D | isns_protocol.h | 231 uint32_t attr_len; member in struct:isns_tlv
|
H A D | qry.c | 622 } else if (key->attr_len > 0 && attrs != NULL) { 1154 if (tlv->attr_len == 0) { 1216 tmp->attr_len = 0;
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_isns.c | 358 uint32_t attr_len, 2420 uint32_t attr_len, attr_id, esi_interval; local 2483 attr_len = ntohl(attr->attr_len); 2486 if (attr_len != 4 || 2487 attr_len > rsp_payload_len - 8) { 2503 rsp_payload_len -= (8 + attr_len); 2505 ((void *)((uint8_t *)attr + attr_len + 8)); 2526 attr_len = ntohl(attr->attr_len); 2657 isnst_add_attr(isns_pdu_t *pdu, size_t max_pdu_size, uint32_t attr_id, uint32_t attr_len, void *attr_data, uint32_t attr_numeric_data) argument 3212 uint32_t attr_len, attr_id; local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | isns_protocol.h | 146 uint32_t attr_len; member in struct:isns_tlv
|
H A D | isns_client.c | 160 size_t max_pdu_size, uint32_t attr_id, uint32_t attr_len, 2507 if (ntohl(attr_tlv_p->attr_len) > 0) { 2520 len = ntohl(attr_tlv_p->attr_len); 2574 ntohl(attr_tlv_p->attr_len) < 2576 ntohl(attr_tlv_p->attr_len) : 2593 if (ntohl(attr_tlv_p->attr_len) != 16) { 2601 attr_tlv_p->attr_len)); 2663 if (ntohl(attr_tlv_p->attr_len) > 0) { 2677 len = ntohl(attr_tlv_p->attr_len); 2751 ntohl(attr_tlv_p->attr_len)) { 2865 isns_add_attr(isns_pdu_t *pdu, size_t max_pdu_size, uint32_t attr_id, uint32_t attr_len, void *attr_data, uint32_t attr_numeric_data) argument [all...] |
/illumos-gate/usr/src/uts/common/sys/iscsit/ |
H A D | isns_protocol.h | 231 uint32_t attr_len; member in struct:isns_tlv
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | nis_parse_ldap_conf.c | 312 int attr_len; local 334 attr_len = strlen(attr); 335 attr_buf[attr_len] = '='; 336 attr_buf[attr_len + 1] = '\0'; 340 attr_buf[attr_len] = ' '; 344 attr_buf[attr_len] = '\t'; 348 attr_buf[attr_len] = '\n';
|
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_callprov.c | 117 ssize_t attr_len; local 134 &attr, &attr_len)) == CRYPTO_SUCCESS) { 138 keylen = CRYPTO_BYTES2BITS(attr_len); 140 keylen = attr_len; 143 &attr, &attr_len)) == CRYPTO_SUCCESS) { 147 keylen = CRYPTO_BYTES2BITS(attr_len); 149 keylen = attr_len;
|
/illumos-gate/usr/src/lib/libsysevent/ |
H A D | libsysevent.c | 239 size_t attr_len; local 269 attr_len = SE_SIZE(ev) - attr_offset; 270 if ((error = nvlist_unpack(attr, attr_len, nvlist, 0)) != 0) { 648 size_t attr_len; local 665 attr_len = SE_SIZE(ev) - attr_offset; 666 if (attr_len == 0) { 669 if (nvlist_unpack(attr, attr_len, &attrp, 0) != 0) {
|
/illumos-gate/usr/src/cmd/ndmpd/include/ |
H A D | tlm.h | 387 char attr_len[7]; member in struct:sec_attr
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_standalone.c | 704 uint32_t total_length = 0, attr_len = 0, i; local 781 attr_len += strlen(a); 783 attr_len += strlen(vals[i]) + 788 attr_len, 795 attr_len,
|
/illumos-gate/usr/src/uts/common/fs/udfs/ |
H A D | udf_subr.c | 952 int32_t attr_len; local 958 attr_len = sizeof (struct dev_spec_ear); 961 ds->ds_attr_len = SWAP_32(attr_len); 966 return (attr_len);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | evchannels.c | 2158 size_t attr_len; local 2172 attr_len = SE_SIZE(ev) - attr_offset; 2173 if ((error = nvlist_unpack(attr, attr_len, nvlist, 0)) != 0) {
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_backup_reader.c | 169 (void) snprintf(acl_info->attr_len, sizeof (acl_info->attr_len),
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 204 char attr_len[7]; member in struct:sec_attr 3762 (void) sscanf(attr->attr_len, 6736 (void) sprintf(attr->attr_len, 6753 (void) sprintf(attr->attr_len,
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 515 char attr_len[7]; member in struct:sec_attr 4915 (void) sscanf(attr->attr_len, "%7lo", 8064 (void) sprintf(attr->attr_len, "%06o", acl_cnt(aclp));
|