| /f-stack/dpdk/examples/performance-thread/common/ |
| H A D | lthread.c | 62 DIAG_EVENT(lt, LT_DIAG_LTHREAD_FREE, lt, 0); in _lthread_free() 73 _lthread_objcache_free(lt->tls->root_sched->tls_cache, lt->tls); in _lthread_free() 80 _lthread_objcache_free(lt->root_sched->lthread_cache, lt); in _lthread_free() 108 lt->fun(lt->arg); in _lthread_exec() 111 lt->exit_handler(lt); in _lthread_exec() 124 lt->fun = fun; in _lthread_init() 125 lt->arg = arg; in _lthread_init() 184 *new_lt = lt; in lthread_create() 426 _ready_queue_insert(lt->sched, lt); in lthread_join() 466 strncpy(lt->funcname, f, sizeof(lt->funcname)); in lthread_set_funcname() [all …]
|
| H A D | lthread_sched.c | 331 _lthread_free(lt); in _lthread_resume() 340 lt->sched = THIS_SCHED; in _lthread_resume() 349 _lthread_tls_alloc(lt); in _lthread_resume() 357 DIAG_EVENT(lt, LT_DIAG_LTHREAD_RESUMED, init, lt); in _lthread_resume() 388 DIAG_EVENT(lt, LT_DIAG_LTHREAD_TMR_EXPIRED, <->tim, 0); in _sched_timer_cb() 396 _lthread_resume(lt); in _sched_timer_cb() 484 if (lt != NULL) in lthread_run() 485 _lthread_resume(lt); in lthread_run() 487 if (lt != NULL) in lthread_run() 488 _lthread_resume(lt); in lthread_run() [all …]
|
| H A D | lthread_timer.h | 40 _timer_start(struct lthread *lt, uint64_t clks) in _timer_start() argument 43 DIAG_EVENT(lt, LT_DIAG_LTHREAD_TMR_START, <->tim, clks); in _timer_start() 44 rte_timer_init(<->tim); in _timer_start() 45 rte_timer_reset(<->tim, in _timer_start() 50 (void *)lt); in _timer_start() 56 _timer_stop(struct lthread *lt) in _timer_stop() argument 58 if (lt != NULL) { in _timer_stop() 59 DIAG_EVENT(lt, LT_DIAG_LTHREAD_TMR_DELETE, <->tim, 0); in _timer_stop() 60 rte_timer_stop(<->tim); in _timer_stop()
|
| H A D | lthread_sched.h | 27 _lthread_queue_insert_sp((THIS_SCHED)->ready, lt); in _ready_queue_insert() 29 _lthread_queue_insert_mp(sched->pready, lt); in _ready_queue_insert() 65 struct lthread *lt = THIS_LTHREAD; in _affinitize() local 67 DIAG_EVENT(lt, LT_DIAG_LTHREAD_SUSPENDED, 0, 0); in _affinitize() 68 ctx_switch(&(THIS_SCHED)->ctx, <->ctx); in _affinitize() 76 struct lthread *lt = THIS_LTHREAD; in _suspend() local 79 DIAG_EVENT(lt, LT_DIAG_LTHREAD_SUSPENDED, 0, 0); in _suspend() 80 ctx_switch(&(THIS_SCHED)->ctx, <->ctx); in _suspend() 89 struct lthread *lt = THIS_LTHREAD; in _reschedule() local 92 _ready_queue_insert(THIS_SCHED, lt); in _reschedule() [all …]
|
| H A D | lthread_cond.c | 100 struct lthread *lt = THIS_LTHREAD; in lthread_cond_wait() local 116 lt->pending_wr_queue = c->blocked; in lthread_cond_wait() 129 struct lthread *lt; in lthread_cond_signal() local 136 lt = _lthread_queue_remove(c->blocked); in lthread_cond_signal() 138 if (lt != NULL) { in lthread_cond_signal() 140 DIAG_EVENT(c, LT_DIAG_COND_SIGNAL, c, lt); in lthread_cond_signal() 141 _ready_queue_insert((struct lthread_sched *)lt->sched, lt); in lthread_cond_signal() 151 struct lthread *lt; in lthread_cond_broadcast() local 161 lt = _lthread_queue_remove(c->blocked); in lthread_cond_broadcast() 163 if (lt != NULL) { in lthread_cond_broadcast() [all …]
|
| H A D | lthread.h | 24 void _lthread_exit_handler(struct lthread *lt); 28 void _lthread_sched_busy_sleep(struct lthread *lt, uint64_t nsecs); 30 int _lthread_desched_sleep(struct lthread *lt); 32 void _lthread_free(struct lthread *lt); 42 _lthread_init(struct lthread *lt, 45 void _lthread_set_stack(struct lthread *lt, void *stack, size_t stack_size);
|
| H A D | lthread_tls.c | 132 void _lthread_tls_destroy(struct lthread *lt) in _lthread_tls_destroy() argument 143 nb_keys = lt->tls->nb_keys_inuse; in _lthread_tls_destroy() 148 if (lt->tls->data[k] == NULL) in _lthread_tls_destroy() 152 data = lt->tls->data[k]; in _lthread_tls_destroy() 153 lt->tls->data[k] = NULL; in _lthread_tls_destroy() 154 lt->tls->nb_keys_inuse = nb_keys-1; in _lthread_tls_destroy() 206 void _lthread_tls_alloc(struct lthread *lt) in _lthread_tls_alloc() argument 215 lt->tls = tls; in _lthread_tls_alloc() 219 lt->per_lthread_data = in _lthread_tls_alloc()
|
| H A D | lthread_mutex.c | 104 struct lthread *lt = THIS_LTHREAD; in lthread_mutex_lock() local 112 if (m->owner == lt) { in lthread_mutex_lock() 121 ((uint64_t *) &m->owner, 0, (uint64_t) lt)) { in lthread_mutex_lock() 138 DIAG_EVENT(m, LT_DIAG_MUTEX_BLOCKED, m, lt); in lthread_mutex_lock() 139 lt->pending_wr_queue = m->blocked; in lthread_mutex_lock() 150 struct lthread *lt = THIS_LTHREAD; in lthread_mutex_trylock() local 157 if (m->owner == lt) { in lthread_mutex_trylock() 165 ((uint64_t *) &m->owner, (uint64_t) NULL, (uint64_t) lt)) { in lthread_mutex_trylock() 182 struct lthread *lt = THIS_LTHREAD; in lthread_mutex_unlock() local 191 if (m->owner != lt || m->owner == NULL) { in lthread_mutex_unlock()
|
| H A D | lthread_tls.h | 27 void _lthread_tls_destroy(struct lthread *lt); 29 void _lthread_tls_alloc(struct lthread *lt);
|
| H A D | lthread_api.h | 245 int lthread_cancel(struct lthread *lt); 263 int lthread_join(struct lthread *lt, void **ptr);
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_flow_parse.c | 27 int lid, lt; in otx2_flow_parse_lh() local 41 lt = NPC_LT_LH_TU_UDP; in otx2_flow_parse_lh() 46 lt = NPC_LT_LH_TU_TCP; in otx2_flow_parse_lh() 56 lt = NPC_LT_LH_TU_ESP; in otx2_flow_parse_lh() 78 int lid, lt; in otx2_flow_parse_lg() local 118 int lid, lt, lflags; in otx2_flow_parse_lf() local 214 int lid, lt, lflags; in otx2_flow_parse_le() local 345 int lt, lflags; in otx2_flow_parse_mpls() local 498 int lid, lt; in otx2_flow_parse_lc() local 664 int lid, lt; in otx2_flow_parse_la() local [all …]
|
| H A D | otx2_flow.c | 65 uint64_t lt, flags; in flow_program_npc() local 82 lt = pst->lt[lid] & 0xf; in flow_program_npc() 92 data = lt; in flow_program_npc() 105 if (lt == 0) in flow_program_npc() 853 int lid, lt, ld, fl, ix; in flow_process_mkex_cfg() local 890 for (lt = 0; lt < NPC_MAX_LT; lt++) { in flow_process_mkex_cfg() 892 x_info = &(*p)[ix][lid][lt].xtract[ld]; in flow_process_mkex_cfg() 893 val = (*q)[ix][lid][lt][ld]; in flow_process_mkex_cfg()
|
| H A D | otx2_flow.h | 212 uint8_t lt[NPC_MAX_LID]; member 357 int lid, int lt, uint8_t flags); 372 int lid, int lt);
|
| /f-stack/tools/libutil/ |
| H A D | login_ok.c | 95 struct login_time *lt = NULL; in login_timelist() local 103 lt = *ltptr; in login_timelist() 106 *ltptr = lt; in login_timelist() 108 if (lt != NULL) { in login_timelist() 112 lt[i] = parse_lt(tl[i]); in login_timelist() 113 lt[i].lt_dow = LTM_NONE; in login_timelist() 116 return lt; in login_timelist() 230 struct login_time *lt; in auth_timeok() local 232 lt = login_timelist(lc, "times.allow", <imesno, <imes); in auth_timeok() 233 if (lt != NULL && in_ltms(lt, tptr, NULL) == -1) in auth_timeok() [all …]
|
| /f-stack/dpdk/examples/performance-thread/common/arch/x86/ |
| H A D | stack.h | 23 arch_set_stack(struct lthread *lt, void *func) in arch_set_stack() argument 25 char *stack_top = (char *)(lt->stack) + lt->stack_size; in arch_set_stack() 30 s[-2] = (void *)lt; in arch_set_stack() 31 lt->ctx.rsp = (void *)(stack_top - (4 * sizeof(void *))); in arch_set_stack() 32 lt->ctx.rbp = (void *)(stack_top - (3 * sizeof(void *))); in arch_set_stack() 33 lt->ctx.rip = func; in arch_set_stack()
|
| /f-stack/dpdk/examples/performance-thread/common/arch/arm64/ |
| H A D | stack.h | 18 arch_set_stack(struct lthread *lt, void *func) in arch_set_stack() argument 20 void **stack_top = (void *)((char *)(lt->stack) + lt->stack_size); in arch_set_stack() 37 lt->ctx.fp = &stack_top[-1]; in arch_set_stack() 38 lt->ctx.sp = &stack_top[-2]; in arch_set_stack() 49 lt->ctx.lr = func; in arch_set_stack()
|
| /f-stack/app/nginx-1.16.1/auto/os/ |
| H A D | freebsd | 29 if [ \( $version -ge 500000 -a $version -lt 500012 \) \ 30 -o $version -lt 410002 ] 67 if [ \( $osreldate -lt 500000 -a $osreldate -ge 410000 \) \ 85 if [ \( $version -lt 500000 -a $version -ge 430000 \) \ 94 if [ \( $version -lt 500000 -a $version -ge 440001 \) \
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | bzero.S | 76 b.lt normal 139 b.lt lead_out 152 b.lt lead_out
|
| /f-stack/dpdk/examples/performance-thread/pthread_shim/ |
| H A D | main.c | 210 struct lthread *lt; in lthread_scheduler() local 212 lthread_create(<, -1, initial_lthread, (void *) NULL); in lthread_scheduler()
|
| /f-stack/freebsd/contrib/openzfs/config/ |
| H A D | always-python.m4 | 37 AS_IF([test $PYTHON_MINOR -lt 6], 41 AS_IF([test $PYTHON_MINOR -lt 4],
|
| H A D | .gitignore | 9 /lt*.m4
|
| /f-stack/tools/ifconfig/ |
| H A D | iflagg.c | 311 static const struct lagg_types lt[] = LAGG_TYPES; in DECL_CMD_FUNC() local 314 for (i = 0; i < nitems(lt); i++) { in DECL_CMD_FUNC() 315 if (strcmp(arg, lt[i].lt_name) == 0) { in DECL_CMD_FUNC() 316 params.lagg_type = lt[i].lt_value; in DECL_CMD_FUNC()
|
| /f-stack/tools/libxo/tests/core/saved/ |
| H A D | test_02.X.out | 6 </message><error><message>Shut 'er down, Clancey! She's a-pumpin' mud! <>!,"!<>
|
| H A D | test_02.XP.out | 87 <message>Shut 'er down, Clancey! She's a-pumpin' mud! <>!,"!<>
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | rax.c | 1509 int eq = 0, lt = 0, gt = 0, first = 0, last = 0; in raxSeek() local 1522 lt = 1; in raxSeek() 1574 } else if (lt || gt) { in raxSeek() 1617 if (lt && !raxIteratorPrevStep(it,1)) return 0; in raxSeek() 1639 if (lt) { in raxSeek() 1678 if (lt && !raxIteratorPrevStep(it,0)) return 0; in raxSeek() 1775 int eq = 0, lt = 0, gt = 0; in raxCompare() local 1779 else if (op[0] == '<') lt = 1; in raxCompare() 1786 if (lt == 0 && gt == 0) return cmp == 0 && key_len == iter->key_len; in raxCompare() 1792 else if (lt) return iter->key_len < key_len; in raxCompare() [all …]
|