| /f-stack/app/redis-5.0.5/src/ |
| H A D | object.c | 944 zfree(mh->db); in freeMemoryOverheadData() 945 zfree(mh); in freeMemoryOverheadData() 956 struct redisMemOverhead *mh = zcalloc(sizeof(*mh)); in getMemoryOverheadData() local 1046 mh->db = zrealloc(mh->db,sizeof(mh->db[0])*(mh->num_dbs+1)); in getMemoryOverheadData() 1047 mh->db[mh->num_dbs].dbid = j; in getMemoryOverheadData() 1052 mh->db[mh->num_dbs].overhead_ht_main = mem; in getMemoryOverheadData() 1057 mh->db[mh->num_dbs].overhead_ht_expires = mem; in getMemoryOverheadData() 1065 mh->peak_perc = (float)zmalloc_used*100/mh->peak_allocated; in getMemoryOverheadData() 1072 mh->dataset_perc = (float)mh->dataset*100/net_usage; in getMemoryOverheadData() 1073 mh->bytes_per_key = mh->total_keys ? (net_usage / mh->total_keys) : 0; in getMemoryOverheadData() [all …]
|
| H A D | server.c | 3305 mh->peak_perc, in genRedisInfoString() 3306 mh->overhead_total, in genRedisInfoString() 3308 mh->dataset, in genRedisInfoString() 3309 mh->dataset_perc, in genRedisInfoString() 3323 mh->allocator_frag, in genRedisInfoString() 3325 mh->allocator_rss, in genRedisInfoString() 3327 mh->rss_extra, in genRedisInfoString() 3332 mh->repl_backlog, in genRedisInfoString() 3333 mh->clients_slaves, in genRedisInfoString() 3334 mh->clients_normal, in genRedisInfoString() [all …]
|
| H A D | server.h | 1750 void freeMemoryOverheadData(struct redisMemOverhead *mh);
|
| /f-stack/freebsd/net/ |
| H A D | if_me.c | 470 struct mobhdr *mh; in me_input() local 492 if (mh->mob_flags) { in me_input() 508 ip->ip_dst = mh->mob_dst; in me_input() 512 if (mh->mob_flags) in me_input() 553 struct mobhdr mh; in me_transmit() local 595 mh.mob_proto = ip->ip_p; in me_transmit() 596 mh.mob_src = ip->ip_src; in me_transmit() 597 mh.mob_dst = ip->ip_dst; in me_transmit() 600 mh.mob_flags = 0; in me_transmit() 627 mh.mob_csum = 0; in me_transmit() [all …]
|
| H A D | iflib.c | 2714 mh = NULL; in assemble_segments() 2730 if (mh == NULL) { in assemble_segments() 2741 if (mh == NULL) { in assemble_segments() 2743 mh = mt = m; in assemble_segments() 2766 return (mh); in assemble_segments() 2893 mh = mt = NULL; in iflib_rxeof() 2952 if (mh == NULL) in iflib_rxeof() 2953 mh = mt = m; in iflib_rxeof() 2968 while (mh != NULL) { in iflib_rxeof() 2969 m = mh; in iflib_rxeof() [all …]
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_thread.c | 2231 mh->match.acl.sp0; in match_convert() 2233 mh->match.acl.sp1; in match_convert() 2236 mh->match.acl.dp0; in match_convert() 2238 mh->match.acl.dp1; in match_convert() 2259 mh->match.acl.sp0; in match_convert() 2261 mh->match.acl.sp1; in match_convert() 2264 mh->match.acl.dp0; in match_convert() 2266 mh->match.acl.dp1; in match_convert() 2328 mh->match.acl.sp0; in match_convert() 2330 mh->match.acl.sp1; in match_convert() [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | thread.c | 2377 mh->match.acl.sp0; in match_convert() 2379 mh->match.acl.sp1; in match_convert() 2382 mh->match.acl.dp0; in match_convert() 2384 mh->match.acl.dp1; in match_convert() 2405 mh->match.acl.sp0; in match_convert() 2407 mh->match.acl.sp1; in match_convert() 2410 mh->match.acl.dp0; in match_convert() 2412 mh->match.acl.dp1; in match_convert() 2475 mh->match.acl.sp0; in match_convert() 2477 mh->match.acl.sp1; in match_convert() [all …]
|
| /f-stack/freebsd/net80211/ |
| H A D | ieee80211_power.c | 369 struct mbuf *mh; in ieee80211_pwrsave() local 379 mh = psq->psq_head[0].head; in ieee80211_pwrsave() 380 if (mh != NULL) in ieee80211_pwrsave() 381 age-= M_AGE_GET(mh); in ieee80211_pwrsave() 383 mh = psq->psq_head[1].head; in ieee80211_pwrsave() 384 if (mh != NULL) { in ieee80211_pwrsave() 385 int nage = M_AGE_GET(mh) - age; in ieee80211_pwrsave() 387 M_AGE_SET(mh, nage < 0 ? 0 : nage); in ieee80211_pwrsave()
|
| /f-stack/dpdk/drivers/net/memif/ |
| H A D | memif_socket.c | 33 struct msghdr mh = { 0 }; in memif_msg_send() local 40 mh.msg_iov = iov; in memif_msg_send() 41 mh.msg_iovlen = 1; in memif_msg_send() 45 mh.msg_control = ctl; in memif_msg_send() 47 cmsg = CMSG_FIRSTHDR(&mh); in memif_msg_send() 54 return sendmsg(fd, &mh, 0); in memif_msg_send() 627 struct msghdr mh = { 0 }; in memif_msg_receive() local 642 mh.msg_iov = iov; in memif_msg_receive() 643 mh.msg_iovlen = 1; in memif_msg_receive() 644 mh.msg_control = ctl; in memif_msg_receive() [all …]
|
| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_net.c | 274 const struct rte_mpls_hdr *mh; in rte_net_get_ptype() local 279 mh = rte_pktmbuf_read(m, off + (i * sizeof(*mh)), in rte_net_get_ptype() 280 sizeof(*mh), &mh_copy); in rte_net_get_ptype() 281 if (unlikely(mh == NULL)) in rte_net_get_ptype() 287 hdr_lens->l2_len += (sizeof(*mh) * i); in rte_net_get_ptype()
|
| /f-stack/freebsd/netinet6/ |
| H A D | mld6.c | 1804 struct mbuf *mh, *md; in mld_v1_transmit_report() local 1819 if (mh == NULL) { in mld_v1_transmit_report() 1826 m_free(mh); in mld_v1_transmit_report() 1831 mh->m_next = md; in mld_v1_transmit_report() 1862 mld_save_context(mh, ifp); in mld_v1_transmit_report() 1863 mh->m_flags |= M_MLDV1; in mld_v1_transmit_report() 1865 mld_dispatch_packet(mh); in mld_v1_transmit_report() 3197 struct mbuf *mh; in mld_v2_encap_report() local 3216 if (mh == NULL) { in mld_v2_encap_report() 3250 mh->m_next = m; in mld_v2_encap_report() [all …]
|
| H A D | ip6_output.c | 3331 struct mbuf *mh; in ip6_splithdr() local 3336 mh = m_gethdr(M_NOWAIT, MT_DATA); in ip6_splithdr() 3337 if (mh == NULL) { in ip6_splithdr() 3341 m_move_pkthdr(mh, m); in ip6_splithdr() 3342 M_ALIGN(mh, sizeof(*ip6)); in ip6_splithdr() 3345 mh->m_next = m; in ip6_splithdr() 3346 m = mh; in ip6_splithdr()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_sendfile.c | 689 struct mbuf *m, *mh, *mhtail; in vn_sendfile() local 703 m = mh = NULL; in vn_sendfile() 843 mh = m_uiotombuf(hdr_uio, M_WAITOK, space, in vn_sendfile() 847 mh = m_uiotombuf(hdr_uio, M_WAITOK, in vn_sendfile() 849 hdrlen = m_length(mh, &mhtail); in vn_sendfile() 1142 m = mh; in vn_sendfile() 1143 mh = NULL; in vn_sendfile() 1236 if (mh) in vn_sendfile() 1237 m_freem(mh); in vn_sendfile()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_ksocket.c | 1110 struct mbuf *mh; in ng_ksocket_incoming2() local 1112 mh = m_gethdr(M_NOWAIT, MT_DATA); in ng_ksocket_incoming2() 1113 if (mh == NULL) { in ng_ksocket_incoming2() 1120 mh->m_next = m; in ng_ksocket_incoming2() 1122 mh->m_pkthdr.len += m->m_len; in ng_ksocket_incoming2() 1123 m = mh; in ng_ksocket_incoming2()
|
| /f-stack/freebsd/arm64/broadcom/genet/ |
| H A D | if_genet.c | 1275 struct mbuf *m, *mh, *mt; in gen_rxintr() local 1281 mh = mt = NULL; in gen_rxintr() 1352 if (mh == NULL) in gen_rxintr() 1353 mh = m; in gen_rxintr() 1367 if_input(ifp, mh); in gen_rxintr() 1369 mh = mt = NULL; in gen_rxintr() 1374 if (mh != NULL) { in gen_rxintr() 1376 if_input(ifp, mh); in gen_rxintr()
|
| /f-stack/freebsd/arm/allwinner/ |
| H A D | if_awg.c | 1195 struct mbuf *m, *mh, *mt; in awg_rxintr() local 1200 mh = mt = NULL; in awg_rxintr() 1248 if (mh == NULL) in awg_rxintr() 1249 mh = m; in awg_rxintr() 1258 if_input(ifp, mh); in awg_rxintr() 1260 mh = mt = NULL; in awg_rxintr() 1270 if (mh != NULL) { in awg_rxintr() 1272 if_input(ifp, mh); in awg_rxintr()
|
| /f-stack/dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_flow.c | 1505 uint32_t sh, lh, mh; in signature_match() local 1528 mh = mask->thresh; in signature_match() 1529 sh = sh & mh; in signature_match() 1530 lh = lh & mh; in signature_match()
|
| /f-stack/freebsd/netipsec/ |
| H A D | key.c | 7733 struct sadb_msghdr mh; in key_parse() local 7800 error = key_align(m, &mh); in key_parse() 7804 msg = mh.msg; in key_parse() 7882 if (mh.ext[SADB_EXT_ADDRESS_SRC] != NULL in key_parse() 7883 && mh.ext[SADB_EXT_ADDRESS_DST] != NULL) { in key_parse() 7887 src0 = (struct sadb_address *)(mh.ext[SADB_EXT_ADDRESS_SRC]); in key_parse() 7888 dst0 = (struct sadb_address *)(mh.ext[SADB_EXT_ADDRESS_DST]); in key_parse() 7977 return (*key_typesw[msg->sadb_msg_type])(so, m, &mh); in key_parse()
|