Home
last modified time | relevance | path

Searched refs:rtn (Results 1 – 12 of 12) sorted by relevance

/f-stack/freebsd/net/
H A Dmppcd.c112 int rtn = MPPC_OK; in MPPC_Decompress() local
131 rtn &= ~MPPC_OK; in MPPC_Decompress()
132 return rtn; in MPPC_Decompress()
147 rtn &= ~MPPC_OK; in MPPC_Decompress()
148 return (rtn); in MPPC_Decompress()
170 rtn &= ~MPPC_OK; in MPPC_Decompress()
171 return (rtn); in MPPC_Decompress()
175 return (rtn); in MPPC_Decompress()
237 return (rtn); in MPPC_Decompress()
258 return (rtn); in MPPC_Decompress()
[all …]
H A Dmppcc.c151 int rtn = MPPC_OK; in MPPC_Compress() local
163 rtn &= ~MPPC_OK; in MPPC_Compress()
164 return (rtn); in MPPC_Compress()
169 rtn &= ~MPPC_OK; in MPPC_Compress()
170 return (rtn); in MPPC_Compress()
236 rtn &= ~MPPC_OK; in MPPC_Compress()
237 return (rtn); in MPPC_Compress()
266 rtn &= ~MPPC_OK; in MPPC_Compress()
267 return (rtn); in MPPC_Compress()
289 rtn |= MPPC_EXPANDED; in MPPC_Compress()
[all …]
/f-stack/tools/ngctl/
H A Dmain.c170 int ch, rtn = 0; local
226 switch (rtn) {
229 rtn = 0;
232 rtn = EX_USAGE;
241 return (rtn);
251 int num, rtn; local
258 return (rtn);
510 int rtn; local
518 return (rtn);
578 int rtn; local
[all …]
H A Dlist.c72 int ch, rtn = CMDRTN_OK; in ListCmd() local
124 if ((rtn = (*show_cmd.func)(2, argv)) != CMDRTN_OK) in ListCmd()
146 return (rtn); in ListCmd()
H A Dtypes.c63 int rtn = CMDRTN_OK; in TypesCmd() local
99 return (rtn); in TypesCmd()
/f-stack/tools/libnetgraph/
H A Dsock.c225 int rtn, errnosv; in NgRecvData() local
228 rtn = recvfrom(ds, buf, len, 0, (struct sockaddr *) from, &fromlen); in NgRecvData()
229 if (rtn < 0) { in NgRecvData()
244 rtn ? "PACKET" : "EOF", from->sg_data, rtn); in NgRecvData()
246 _NgDebugBytes(buf, rtn); in NgRecvData()
250 return (rtn); in NgRecvData()
H A Dmsg.c212 int rtn = 0; in NgDeliverMsg() local
223 rtn = -1; in NgDeliverMsg()
253 rtn = -1; in NgDeliverMsg()
271 rtn = -1; in NgDeliverMsg()
280 return (rtn); in NgDeliverMsg()
/f-stack/freebsd/netgraph/
H A Dng_deflate.c424 int rtn; in ng_deflate_compress() local
464 rtn = deflate(&priv->cx, Z_SYNC_FLUSH); in ng_deflate_compress()
467 if (rtn != Z_OK) { in ng_deflate_compress()
470 rtn, priv->cx.msg); in ng_deflate_compress()
530 int rtn; in ng_deflate_decompress() local
600 if (rtn != Z_OK && rtn != Z_STREAM_END) { in ng_deflate_decompress()
605 __func__, rtn, priv->cx.msg); in ng_deflate_decompress()
607 switch (rtn) { in ng_deflate_decompress()
667 rtn = inflate(&priv->cx, Z_NO_FLUSH); in ng_deflate_decompress()
683 if (rtn != Z_OK) { in ng_deflate_decompress()
[all …]
H A Dng_mppc.c506 int rtn; in ng_mppc_compress() local
542 rtn = MPPC_Compress(&source, &dest, &sourceCnt, in ng_mppc_compress()
547 if ((rtn & MPPC_EXPANDED) == 0 in ng_mppc_compress()
548 && (rtn & MPPC_COMP_OK) == MPPC_COMP_OK) { in ng_mppc_compress()
551 if ((rtn & MPPC_RESTART_HISTORY) != 0) in ng_mppc_compress()
562 d->flushed = (rtn & MPPC_EXPANDED) != 0 in ng_mppc_compress()
766 int rtn; in ng_mppc_decompress() local
803 rtn = MPPC_Decompress(&source, &dest, in ng_mppc_decompress()
808 if ((rtn & MPPC_DEST_EXHAUSTED) != 0 in ng_mppc_decompress()
809 || (rtn & MPPC_DECOMP_OK) != MPPC_DECOMP_OK) { in ng_mppc_decompress()
[all …]
/f-stack/dpdk/drivers/net/octeontx/base/
H A Docteontx_pkovf.c79 uint64_t rtn; in octeontx_pko_dq_open() local
101 rtn = octeontx_reg_ldadd_u64(vf_bar0 + reg_off, 0); in octeontx_pko_dq_open()
104 if (((rtn >> PKO_DQ_OP_BIT) & 0x3) != 0x1) in octeontx_pko_dq_open()
107 switch (rtn >> PKO_DQ_STATUS_BIT) { in octeontx_pko_dq_open()
118 return rtn & ((1ull << PKO_DQ_OP_BIT) - 1); in octeontx_pko_dq_open()
130 uint64_t rtn; in octeontx_pko_dq_close() local
141 rtn = octeontx_reg_ldadd_u64(vf_bar0 + reg_off, 0); in octeontx_pko_dq_close()
144 if (((rtn >> PKO_DQ_OP_BIT) & 0x3) != 0x2) in octeontx_pko_dq_close()
147 switch (rtn >> PKO_DQ_STATUS_BIT) { in octeontx_pko_dq_close()
155 res = rtn & ((1ull << PKO_DQ_OP_BIT) - 1); /* DEPTH */ in octeontx_pko_dq_close()
/f-stack/tools/arp/
H A Darp.c140 int rtn = 0; in main() local
218 rtn = get(argv[0]); in main()
227 rtn = set(argc, argv) ? 1 : 0; in main()
237 rtn = delete(argv[0]); in main()
243 rtn = file(argv[0]); in main()
254 return (rtn); in main()
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-sriox-defs.h813 uint64_t rtn : 2; /**< Outgoing Response Return FIFO. */ member
837 uint64_t rtn : 2;
857 uint64_t rtn : 2; /**< Outgoing Response Return FIFO. */ member
882 uint64_t rtn : 2;
901 uint64_t rtn : 2; /**< Outgoing Response Return FIFO. */ member
923 uint64_t rtn : 2;