Home
last modified time | relevance | path

Searched refs:paylen (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/promif/
H A Dpromif_prop.c182 int paylen = namelen + 1 + valuelen; /* valuelen includes the null */ in promif_ldom_setprop() local
198 req = kmem_zalloc(sizeof (var_config_hdr_t) + paylen, KM_SLEEP); in promif_ldom_setprop()
205 sizeof (var_config_hdr_t) + paylen)) != 0) { in promif_ldom_setprop()
207 kmem_free(req, sizeof (var_config_hdr_t) + paylen); in promif_ldom_setprop()
212 kmem_free(req, sizeof (var_config_hdr_t) + paylen); in promif_ldom_setprop()
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Draw_access.c762 pkt_hash->u.pkt_obj->paylen); in get_checksum_crc()
763 offset += pkt_hash->u.pkt_obj->paylen; in get_checksum_crc()
795 int paylen; in get_packets() local
841 paylen = get_payload_length((void *)&tag); in get_packets()
842 if (paylen == -1) { in get_packets()
846 seg_limit += paylen; in get_packets()
850 if ((offset + tag_size + paylen) > in get_packets()
870 offset, paylen); in get_packets()
872 if (retval != paylen) { in get_packets()
881 pkt_hash_obj->u.pkt_obj->paylen = paylen; in get_packets()
[all …]
H A Dfru_access_impl.h151 uint32_t paylen; member
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/
H A Dfru_access.c1879 pkt_hash->u.pkt_obj->paylen); in get_checksum_crc()
1898 int paylen; in get_dev_or_buffered_packets() local
1942 if (paylen == -1) { in get_dev_or_buffered_packets()
1946 seg_limit += paylen; in get_dev_or_buffered_packets()
1970 buf + offset, paylen); in get_dev_or_buffered_packets()
1971 retval = paylen; in get_dev_or_buffered_packets()
1973 if (retval != paylen) { in get_dev_or_buffered_packets()
1982 pkt_hash_obj->u.pkt_obj->paylen = paylen; in get_dev_or_buffered_packets()
1986 offset += paylen; in get_dev_or_buffered_packets()
2691 prev_obj->u.pkt_obj->paylen); in fru_delete_packet()
[all …]
H A Dfru_access_impl.h157 uint32_t paylen; member
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/
H A Dfru_data.c815 hash_obj->u.pkt_node->paylen, &rarg->cred); in frudata_read_payload()
860 hash_obj->u.pkt_node->paylen, in frudata_write_payload()
1113 int paylen; in add_row_to_table() local
1131 paylen = get_payload_length((void *)&pkt->tag); in add_row_to_table()
1132 if (paylen < 0) { in add_row_to_table()
1144 prop.piclinfo.size = paylen; in add_row_to_table()
1177 hash_obj->u.pkt_node->paylen = paylen; in add_row_to_table()
1269 int paylen; in frudata_add_packet() local
1308 paylen = get_payload_length((void *)buf); in frudata_add_packet()
1309 if (paylen == -1) { in frudata_add_packet()
[all …]
H A Dfru_data_impl.h67 size_t paylen; /* payload length */ member
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_vpd.c658 uint8_t paylen; in efx_vpd_hunk_next() local
670 paylen = 0; in efx_vpd_hunk_next()
679 paylen = (uint8_t)MIN(taglen, 0xff); in efx_vpd_hunk_next()
691 paylen = keylen; in efx_vpd_hunk_next()
707 *paylenp = paylen; in efx_vpd_hunk_next()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82575.h78 u32 paylen:18; /* Payload length */ member
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_e82545.c1091 int mss, paylen, seg, tiovcnt, left, now, nleft, nnow, pv, pvoff; in e82545_transmit() local
1367 paylen = (sc->esc_txctx.cmd_and_length & 0x000fffff); in e82545_transmit()
1369 tcp ? "TCP" : "UDP", hdrlen, paylen, mss, iovcnt); in e82545_transmit()
1380 for (seg = 0, left = paylen; left > 0; seg++, left -= now) { in e82545_transmit()
1428 htonl(tcpseq + paylen - left); in e82545_transmit()
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtw.c2038 int firstlen, hdrlen, lastlen, lastlen0, npkt, overlen, paylen; in rtw_compute_duration() local
2043 paylen = len - hdrlen; in rtw_compute_duration()
2047 paylen -= 8; in rtw_compute_duration()
2051 npkt = paylen / fraglen; in rtw_compute_duration()
2052 lastlen0 = paylen % fraglen; in rtw_compute_duration()
2055 lastlen = paylen + overlen; in rtw_compute_duration()
2068 firstlen = paylen + overlen; in rtw_compute_duration()