Searched refs:st (Results 1 - 14 of 14) sorted by relevance

/tldk/lib/libtle_l4p/
H A Dstream_table.c22 stbl_fini(struct stbl *st) argument
26 for (i = 0; i != RTE_DIM(st->ht); i++) {
27 rte_hash_free(st->ht[i].t);
28 rte_free(st->ht[i].ent);
31 memset(st, 0, sizeof(*st));
35 stbl_init(struct stbl *st, uint32_t num, int32_t socket) argument
51 snprintf(buf, sizeof(buf), "stbl4@%p", st);
53 st->ht[TLE_V4].t = rte_hash_create(&hprm);
54 if (st
[all...]
H A Dstream_table.h59 extern void stbl_fini(struct stbl *st);
61 extern int stbl_init(struct stbl *st, uint32_t num, int32_t socket);
80 stbl_lock(struct stbl *st, uint32_t type) argument
82 rte_spinlock_lock(&st->ht[type].l);
86 stbl_unlock(struct stbl *st, uint32_t type) argument
88 rte_spinlock_unlock(&st->ht[type].l);
92 stbl_add_entry(struct stbl *st, const union pkt_info *pi) argument
101 ht = st->ht + type;
110 stbl_add_stream(struct stbl *st, const union pkt_info *pi, const void *s) argument
114 se = stbl_add_entry(st, p
121 stbl_find_entry(struct stbl *st, const union pkt_info *pi) argument
139 stbl_find_data(struct stbl *st, const union pkt_info *pi) argument
167 stbl_add_stream_lock(struct stbl *st, const struct tle_tcp_stream *s) argument
194 stbl_del_stream(struct stbl *st, struct stbl_entry *se, const struct tle_tcp_stream *s, uint32_t lock) argument
[all...]
H A Dtle_event.h169 * @param st
173 tle_event_active(struct tle_event *ev, enum tle_ev_state st) argument
184 if (st > ev->state) {
185 if (st == TLE_SEV_UP) {
189 ev->state = st;
H A Dtcp_stream.h177 struct stbl st; member in struct:tcp_streams
186 #define CTX_TCP_STLB(ctx) (&CTX_TCP_STREAMS(ctx)->st)
H A Dtcp_ctl.h170 stbl_del_stream(&ts->st, s->ste, s,
H A Dtcp_rxtx.c75 rx_obtain_stream(const struct tle_dev *dev, struct stbl *st, argument
80 s = stbl_find_data(st, pi);
168 get_ip_pid(struct tle_dev *dev, uint32_t num, uint32_t type, uint32_t st) argument
175 if (st == 0) {
851 accept_prep_stream(struct tle_tcp_stream *ps, struct stbl *st, argument
913 cs->ste = stbl_add_stream(st, pi, cs);
932 rx_ack_listen(struct tle_tcp_stream *s, struct stbl *st, argument
959 if (accept_prep_stream(s, st, cs, &to, tms, pi, si) == 0) {
971 stbl_del_stream(st, cs->ste, cs, 0);
1763 rx_postsyn(struct tle_dev *dev, struct stbl *st, uint32_ argument
1887 struct stbl *st; local
2083 struct stbl *st; local
[all...]
H A Dtcp_stream.c48 stbl_fini(&ts->st);
294 rc = stbl_init(&ts->st, ctx->prm.max_streams, ctx->prm.socket_id);
/tldk/lib/libtle_memtank/
H A Dmisc.c43 mchunk_stat_dump(FILE *f, const struct mchunk_stat *st) argument
48 fprintf(f, "\t\t\tnb_empty=%u,\n", st->nb_empty);
49 fprintf(f, "\t\t\tnb_full=%u,\n", st->nb_full);
51 fprintf(f, "\t\t\t\tnb_chunk=%u,\n", st->used.nb_chunk);
52 fprintf(f, "\t\t\t\tnb_obj=%u,\n", st->used.nb_obj);
54 for (i = 0; i != RTE_DIM(st->used.chunk_obj_lt); i++) {
55 if (st->used.chunk_obj_lt[i].num != 0)
57 st->used.chunk_obj_lt[i].val,
58 st->used.chunk_obj_lt[i].num);
66 mchunk_stat_init(struct mchunk_stat *st, uint32_ argument
78 mchunk_stat_collect(struct mchunk_stat *st, const struct memchunk *ch) argument
138 mfree_stat_init(struct mfree_stat *st, uint32_t nb_obj_chunk) argument
155 mfree_stat_collect(struct mfree_stat *st, struct memtank *mt) argument
199 mfree_stat_dump(FILE *f, const struct mfree_stat *st) argument
[all...]
/tldk/lib/libtle_dring/
H A Ddring.c40 const char *st; local
42 st = str_obj_state(dr, db, idx);
45 if (st == NULL)
51 db->start + idx, db->objs[idx], st);
/tldk/app/nginx/src/os/win32/
H A Dngx_service.c13 SERVICE_TABLE_ENTRY st[] = { variable
26 if (StartServiceCtrlDispatcher(st) == 0) {
/tldk/examples/l4fwd/test/
H A Drun_test.sh205 st=$?
206 if [[ ${st} -eq 0 ]]
236 st=$?
237 if [[ ${st} -eq 0 ]]
H A Dconfig.sh75 st=$?
76 if [[ $st -ne 0 ]]
79 exit $st
84 st=$?
86 if [[ $st -ne 0 || -z "${LINUX_MAC}" ]]
318 st=1
319 while [[ ${i} -ne 5 && ${st} -ne 0 ]]
323 st=$?
/tldk/test/memtank/
H A Dtest_memtank.c316 long double st; local
318 st = (long double)rte_get_timer_hz() / US_PER_S;
343 (long double)ms->alloc.max_cycle / st);
346 (long double)ms->alloc.min_cycle / st);
363 (long double)ms->free.max_cycle / st);
366 (long double)ms->free.min_cycle / st);
383 (long double)ms->grow.max_cycle / st);
386 (long double)ms->grow.min_cycle / st);
403 (long double)ms->shrink.max_cycle / st);
406 (long double)ms->shrink.min_cycle / st);
[all...]
/tldk/examples/l4fwd/
H A Dparse.c779 struct stat st; local
781 rc = stat(fname, &st);
785 tx->data = rte_malloc(NULL, st.st_size, RTE_CACHE_LINE_SIZE);
788 __func__, fname, st.st_size);
793 sz = read(fd, tx->data, st.st_size);
800 if (sz != st.st_size) {

Completed in 14 milliseconds