Home
last modified time | relevance | path

Searched refs:totlen (Results 1 – 23 of 23) sorted by relevance

/f-stack/freebsd/netgraph/
H A Dng_bpf.c418 int totlen; in ng_bpf_rcvdata() local
427 totlen = m->m_pkthdr.len; in ng_bpf_rcvdata()
432 hip->stats.recvOctets += totlen; in ng_bpf_rcvdata()
435 if (totlen == 0) { in ng_bpf_rcvdata()
470 len = (*(hip->jit_prog->func))(data, totlen, totlen); in ng_bpf_rcvdata()
474 len = bpf_filter(hip->prog->bpf_prog, data, totlen, totlen); in ng_bpf_rcvdata()
485 hip->stats.recvMatchOctets += totlen; in ng_bpf_rcvdata()
489 if (len < totlen) { in ng_bpf_rcvdata()
490 m_adj(m, -(totlen - len)); in ng_bpf_rcvdata()
491 totlen = len; in ng_bpf_rcvdata()
[all …]
H A Dng_tag.c512 int totlen; in ng_tag_rcvdata() local
516 totlen = m->m_pkthdr.len; in ng_tag_rcvdata()
520 hip->stats.recvOctets += totlen; in ng_tag_rcvdata()
551 hip->stats.recvMatchOctets += totlen; in ng_tag_rcvdata()
567 dhip->stats.xmitOctets += totlen; in ng_tag_rcvdata()
/f-stack/app/redis-5.0.5/deps/hiredis/
H A Dhiredis.c218 int totlen = 0; in redisvFormatCommand() local
400 cmd = malloc(totlen+1); in redisvFormatCommand()
412 assert(pos == totlen); in redisvFormatCommand()
417 return totlen; in redisvFormatCommand()
481 unsigned long long totlen; in redisFormatSdsCommandArgv() local
493 totlen += bulklen(len); in redisFormatSdsCommandArgv()
518 return totlen; in redisFormatSdsCommandArgv()
534 int totlen, j; in redisFormatCommandArgv() local
548 cmd = malloc(totlen+1); in redisFormatCommandArgv()
561 assert(pos == totlen); in redisFormatCommandArgv()
[all …]
/f-stack/app/redis-5.0.5/src/
H A Danet.c423 ssize_t nread, totlen = 0; in anetRead() local
424 while(totlen != count) { in anetRead()
425 nread = read(fd,buf,count-totlen); in anetRead()
426 if (nread == 0) return totlen; in anetRead()
428 totlen += nread; in anetRead()
431 return totlen; in anetRead()
438 ssize_t nwritten, totlen = 0; in anetWrite() local
439 while(totlen != count) { in anetWrite()
441 if (nwritten == 0) return totlen; in anetWrite()
443 totlen += nwritten; in anetWrite()
[all …]
H A Dzipmap.c138 … *zipmapLookupRaw(unsigned char *zm, unsigned char *key, unsigned int klen, unsigned int *totlen) { in zipmapLookupRaw() argument
151 if (totlen != NULL) { in zipmapLookupRaw()
164 if (totlen != NULL) *totlen = (unsigned int)(p-zm)+1; in zipmapLookupRaw()
368 unsigned int totlen; in zipmapBlobLen() local
369 zipmapLookupRaw(zm,NULL,0,&totlen); in zipmapBlobLen()
370 return totlen; in zipmapBlobLen()
H A Dcluster.c1637 uint32_t totlen = ntohl(hdr->totlen); in clusterProcessPacket() local
2248 int totlen = 0; in clusterBuildMessageHdr() local
2317 hdr->totlen = htonl(totlen); in clusterBuildMessageHdr()
2403 if (totlen < (int)sizeof(clusterMsg)) totlen = sizeof(clusterMsg); in clusterSendPing()
2473 hdr->totlen = htonl(totlen); in clusterSendPing()
2521 uint32_t totlen; in clusterSendPublish() local
2535 hdr->totlen = htonl(totlen); in clusterSendPublish()
2604 hdr->totlen = htonl(totlen); in clusterSendModule()
2675 hdr->totlen = htonl(totlen); in clusterRequestFailoverAuth()
2688 hdr->totlen = htonl(totlen); in clusterSendFailoverAuth()
[all …]
H A Dt_string.c434 size_t totlen; in appendCommand() local
443 totlen = stringObjectLen(c->argv[2]); in appendCommand()
451 totlen = stringObjectLen(o)+sdslen(append->ptr); in appendCommand()
452 if (checkStringLength(c,totlen) != C_OK) in appendCommand()
458 totlen = sdslen(o->ptr); in appendCommand()
463 addReplyLongLong(c,totlen); in appendCommand()
H A Dcluster.h254 uint32_t totlen; /* Total length of this message */ member
H A Dziplist.c679 unsigned int i, totlen, deleted = 0; in __ziplistDelete() local
690 totlen = p-first.p; /* Bytes taken by the element(s) to delete. */ in __ziplistDelete()
691 if (totlen > 0) { in __ziplistDelete()
708 intrev32ifbe(intrev32ifbe(ZIPLIST_TAIL_OFFSET(zl))-totlen); in __ziplistDelete()
730 zl = ziplistResize(zl, intrev32ifbe(ZIPLIST_BYTES(zl))-totlen+nextdiff); in __ziplistDelete()
H A Dredis-cli.c6386 unsigned long long sampled = 0, total_keys, totlen=0, *sizes=NULL, it=0; in findBigKeys() local
6445 totlen += keys->element[i]->len; in findBigKeys()
6489 totlen, totlen ? (double)totlen/sampled : 0); in findBigKeys()
/f-stack/freebsd/netpfil/pf/
H A Dpf_ioctl.c3251 size_t totlen; in pfioctl() local
3283 size_t totlen; in pfioctl() local
3315 size_t totlen; in pfioctl() local
3352 size_t totlen; in pfioctl() local
3388 size_t totlen; in pfioctl() local
3428 size_t totlen; in pfioctl() local
3481 size_t totlen; in pfioctl() local
3519 size_t totlen; in pfioctl() local
3600 size_t totlen; in pfioctl() local
3632 size_t totlen; in pfioctl() local
[all …]
/f-stack/freebsd/kern/
H A Dkern_alq.c316 int totlen; in alq_doio() local
324 totlen = 0; in alq_doio()
336 totlen = aiov[0].iov_len = alq->aq_writehead - alq->aq_writetail; in alq_doio()
339 totlen = aiov[0].iov_len = alq->aq_buflen - alq->aq_writetail - in alq_doio()
352 totlen = aiov[0].iov_len + aiov[1].iov_len; in alq_doio()
363 auio.uio_resid = totlen; in alq_doio()
385 alq->aq_writetail = (alq->aq_writetail + totlen + wrapearly) % in alq_doio()
387 alq->aq_freebytes += totlen + wrapearly; in alq_doio()
H A Duipc_mbuf.c1069 while (totlen > 0) { in m_devget()
1071 if (totlen + off >= MINCLSIZE) { in m_devget()
1079 if (m && totlen + off + max_linkhdr <= MHLEN) { in m_devget()
1087 m->m_pkthdr.len = totlen; in m_devget()
1089 if (totlen + off >= MINCLSIZE) { in m_devget()
1106 m->m_len = len = min(totlen, len); in m_devget()
1114 totlen -= len; in m_devget()
1129 int totlen = 0; in m_copyback() local
1135 totlen += mlen; in m_copyback()
1157 totlen += mlen; in m_copyback()
[all …]
/f-stack/freebsd/security/audit/
H A Dbsm_token.c1287 u_int32_t totlen; in au_to_exec_strings() local
1291 totlen = 0; in au_to_exec_strings()
1295 totlen += strlen(p) + 1; in au_to_exec_strings()
1296 p = strs + totlen; in au_to_exec_strings()
1298 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen); in au_to_exec_strings()
1301 ADD_STRING(dptr, strs, totlen); in au_to_exec_strings()
1342 size_t totlen = 0; in au_to_exec_args() local
1350 totlen += nextlen + 1; in au_to_exec_args()
1355 GET_TOKEN_AREA(t, dptr, sizeof(u_char) + sizeof(u_int32_t) + totlen); in au_to_exec_args()
1379 size_t totlen = 0; in au_to_exec_env() local
[all …]
/f-stack/freebsd/amd64/include/pc/
H A Dbios.h106 size_t totlen; /* total length of BIOS string to copy */ member
/f-stack/freebsd/i386/include/pc/
H A Dbios.h276 size_t totlen; /* total length of BIOS string to copy */ member
/f-stack/freebsd/net/
H A Dbpf.c2485 int caplen, curlen, hdrlen, totlen; in catchpacket() local
2518 totlen = hdrlen + min(snaplen, pktlen); in catchpacket()
2519 if (totlen > d->bd_bufsize) in catchpacket()
2520 totlen = d->bd_bufsize; in catchpacket()
2536 if (curlen + totlen > d->bd_bufsize || !bpf_canwritebuf(d)) { in catchpacket()
2558 caplen = totlen - hdrlen; in catchpacket()
2614 d->bd_slen = curlen + totlen; in catchpacket()
/f-stack/app/redis-5.0.5/tests/support/
H A Dredis.tcl269 set totlen [dict get $::redis::state($id) bulk]
/f-stack/dpdk/drivers/crypto/openssl/
H A Drte_openssl_pmd.c929 int totlen; in process_openssl_cipher_encrypt() local
940 if (EVP_EncryptFinal_ex(ctx, dst, &totlen) <= 0) in process_openssl_cipher_encrypt()
979 int totlen; in process_openssl_cipher_decrypt() local
990 if (EVP_DecryptFinal_ex(ctx, dst, &totlen) <= 0) in process_openssl_cipher_decrypt()
/f-stack/freebsd/i386/i386/
H A Dbios.c468 tot = sig->totlen; in bios_oem_strings()
/f-stack/dpdk/drivers/net/nfp/
H A Dnfp_net.c3039 size_t count, curlen, totlen = 0; in nfp_cpp_bridge_serve_write() local
3116 totlen += pos; in nfp_cpp_bridge_serve_write()
3141 size_t count, curlen, totlen = 0; in nfp_cpp_bridge_serve_read() local
3217 totlen += pos; in nfp_cpp_bridge_serve_read()
/f-stack/freebsd/netipsec/
H A Dkey.c6286 int totlen; in key_getcomb_ealg() local
6319 totlen = 0; in key_getcomb_ealg()
6321 totlen += n->m_len; in key_getcomb_ealg()
6322 IPSEC_ASSERT((totlen % l) == 0, ("totlen=%u, l=%u", totlen, l)); in key_getcomb_ealg()
6324 for (off = 0; off < totlen; off += l) { in key_getcomb_ealg()
6486 int totlen; in key_getprop() local
6508 totlen = 0; in key_getprop()
6510 totlen += n->m_len; in key_getprop()
6514 prop->sadb_prop_len = PFKEY_UNIT64(totlen); in key_getprop()
/f-stack/dpdk/drivers/crypto/ccp/
H A Dccp_crypto.c606 int dstlen, totlen; in generate_cmac_subkeys() local
636 if (EVP_EncryptFinal_ex(ctx, dst + dstlen, &totlen) <= 0) in generate_cmac_subkeys()