Home
last modified time | relevance | path

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

/freebsd/contrib/pf/libevent/
H A Dbuffer.c87 (x)->totallen = (y)->totallen; \
139 space = buf->totallen - buf->misalign - buf->off; in evbuffer_add_vprintf()
263 if (buf->totallen >= need) in evbuffer_expand()
274 size_t length = buf->totallen; in evbuffer_expand()
287 buf->totallen = length; in evbuffer_expand()
299 if (buf->totallen < need) { in evbuffer_add()
364 if (n > buf->totallen << 2) in evbuffer_read()
365 n = buf->totallen << 2; in evbuffer_read()
H A Devent.h216 size_t totallen; member
/freebsd/sbin/ipf/ipnat/
H A Dipnat.c393 int sz, i, used, maxlen, minlen, totallen; in dotable() local
432 totallen = 0; in dotable()
443 totallen += buckets[i]; in dotable()
447 totallen ? used * 100 / totallen : 0, side); in dotable()
453 used ? ((float)totallen / used) : 0.0, side); in dotable()
/freebsd/crypto/heimdal/lib/asn1/
H A Dtemplate.c535 size_t i, totallen; in _asn1_encode()
547 for(totallen = 0, i = 0; i < el->len; i++) { in _asn1_encode()
565 totallen += val[i].length; in _asn1_encode()
567 if (ret == 0 && totallen > len) in _asn1_encode()
577 len -= totallen; in _asn1_encode()
533 size_t i, totallen; _asn1_encode() local
/freebsd/sys/dev/irdma/
H A Dirdma_puda.c572 info.len = buf->totallen; in irdma_puda_send_buf()
1375 txbuf->totallen = txbuf->hdrlen + fpdu_len; in irdma_ieq_compl_pfpdu()
1379 txbuf->totallen = buf->hdrlen + fpdu_len; in irdma_ieq_compl_pfpdu()
1512 txbuf->mem.va, txbuf->totallen); in irdma_ieq_handle_partial()
1604 txbuf->totallen = txbuf->hdrlen + len; in irdma_ieq_process_buf()
1609 txbuf->totallen = buf->hdrlen + len; in irdma_ieq_process_buf()
1613 txbuf->mem.va, txbuf->totallen); in irdma_ieq_process_buf()
1718 buf->totallen); in irdma_ieq_handle_exception()
H A Dirdma_puda.h101 u32 totallen; /* machlen+iphlen+tcphlen+datalen */ member
H A Dirdma_utils.c1460 buf->totallen = pkt_len + buf->maclen; in irdma_gen1_puda_get_tcpip_info()
1462 if (info->payload_len < buf->totallen) { in irdma_gen1_puda_get_tcpip_info()
1465 info->payload_len, buf->totallen); in irdma_gen1_puda_get_tcpip_info()
1508 buf->totallen = pkt_len; in irdma_puda_get_tcpip_info()
H A Dirdma_cm.c384 sqbuf->totallen = pktsize; in irdma_form_ah_cm_frame()
439 sqbuf->mem.va, sqbuf->totallen); in irdma_form_ah_cm_frame()
501 sqbuf->totallen = pktsize + eth_hlen; in irdma_form_uda_cm_frame()
626 sqbuf->mem.va, sqbuf->totallen); in irdma_form_uda_cm_frame()
3021 rbuf->mem.va, rbuf->totallen); in irdma_receive_ilq()
/freebsd/sbin/ipf/ipfstat/
H A Dipfstat.c1112 int minlen, maxlen, totallen; in showstatestats() local
1222 totallen = 0; in showstatestats()
1230 totallen += buckets[i]; in showstatestats()
1234 totallen ? ipsp->iss_inuse * 100 / totallen : 0); in showstatestats()
1240 ipsp->iss_inuse ? (float) totallen/ ipsp->iss_inuse : in showstatestats()
/freebsd/sys/contrib/openzfs/module/lua/
H A Dlstrlib.c126 size_t totallen = n * l + (n - 1) * lsep; in str_rep() local
128 char *p = luaL_buffinitsize(L, &b, totallen); in str_rep()
136 luaL_pushresultsize(&b, totallen); in str_rep()
/freebsd/contrib/lua/src/
H A Dlstrlib.c160 size_t totallen = (size_t)n * l + (size_t)(n - 1) * lsep; in str_rep() local
162 char *p = luaL_buffinitsize(L, &b, totallen); in str_rep()
171 luaL_pushresultsize(&b, totallen); in str_rep()
/freebsd/sys/contrib/openzfs/cmd/
H A Dztest.c7103 size_t totallen = 0; in join_strings() local
7105 totallen += strlen(*sp); in join_strings()
7106 totallen += strlen(sep); in join_strings()
7108 if (totallen > 0) { in join_strings()
7109 ASSERT(totallen >= strlen(sep)); in join_strings()
7110 totallen -= strlen(sep); in join_strings()
7113 size_t buflen = totallen + 1; in join_strings()
7126 ASSERT3S(strlen(o), ==, totallen); in join_strings()
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c580 register size_t totallen; in makequerydata() local
591 totallen = namelen + valuelen + (valuelen != 0) + (cp != data); in makequerydata()
592 if (cp + totallen > cpend) { in makequerydata()