Home
last modified time | relevance | path

Searched refs:tcb (Results 1 – 25 of 84) sorted by relevance

1234

/kernel/liteos_m/components/trace/
Dtrace_online.c62 STATIC VOID OsTraceSendObj(const LosTaskCB *tcb) in OsTraceSendObj() argument
66 OsTraceSetObj(&obj, tcb); in OsTraceSendObj()
73 LosTaskCB *tcb = NULL; in OsTraceSendObjTable() local
76 tcb = g_taskCBArray + loop; in OsTraceSendObjTable()
77 if (tcb->taskStatus & OS_TASK_STATUS_UNUSED) { in OsTraceSendObjTable()
80 OsTraceSendObj(tcb); in OsTraceSendObjTable()
Dlos_trace.c118 VOID OsTraceSetObj(ObjData *obj, const LosTaskCB *tcb) in OsTraceSetObj() argument
123 obj->id = OsTraceGetMaskTid(tcb->taskID); in OsTraceSetObj()
124 obj->prio = tcb->priority; in OsTraceSetObj()
126 …ret = strncpy_s(obj->name, LOSCFG_TRACE_OBJ_MAX_NAME_SIZE, tcb->taskName, LOSCFG_TRACE_OBJ_MAX_NAM… in OsTraceSetObj()
/kernel/liteos_a/kernel/extended/trace/
Dtrace_online.c61 STATIC VOID OsTraceSendObj(const LosTaskCB *tcb) in OsTraceSendObj() argument
65 OsTraceSetObj(&obj, tcb); in OsTraceSendObj()
72 LosTaskCB *tcb = NULL; in OsTraceSendObjTable() local
75 tcb = g_taskCBArray + loop; in OsTraceSendObjTable()
76 if (tcb->taskStatus & OS_TASK_STATUS_UNUSED) { in OsTraceSendObjTable()
79 OsTraceSendObj(tcb); in OsTraceSendObjTable()
Dlos_trace.c126 VOID OsTraceSetObj(ObjData *obj, const LosTaskCB *tcb) in OsTraceSetObj() argument
132 obj->id = OsTraceGetMaskTid(tcb->taskID); in OsTraceSetObj()
133 tcb->ops->schedParamGet(tcb, &param); in OsTraceSetObj()
136 …ret = strncpy_s(obj->name, LOSCFG_TRACE_OBJ_MAX_NAME_SIZE, tcb->taskName, LOSCFG_TRACE_OBJ_MAX_NAM… in OsTraceSetObj()
/kernel/liteos_m/kal/posix/src/
Dpthread.c86 LosTaskCB *tcb = NULL; in IsPthread() local
90 tcb = OS_TCB_FROM_TID((UINT32)thread); in IsPthread()
91 if ((UINTPTR)tcb->taskEntry != (UINTPTR)PthreadEntry) { in IsPthread()
175 LosTaskCB *tcb = NULL; in CheckForCancel() local
183 tcb = OS_TCB_FROM_TID((UINT32)thread); in CheckForCancel()
185 PthreadData *pthreadData = (PthreadData *)(UINTPTR)tcb->arg; in CheckForCancel()
305 LosTaskCB *tcb = NULL; in pthread_setcancelstate() local
317 tcb = OS_TCB_FROM_TID((UINT32)thread); in pthread_setcancelstate()
319 pthreadData = (PthreadData *)(UINTPTR)tcb->arg; in pthread_setcancelstate()
337 LosTaskCB *tcb = NULL; in pthread_setcanceltype() local
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbnad.c137 bnad_txq_cleanup(struct bnad *bnad, struct bna_tcb *tcb) in bnad_txq_cleanup() argument
139 struct bnad_tx_unmap *unmap_q = tcb->unmap_q; in bnad_txq_cleanup()
143 for (i = 0; i < tcb->q_depth; i++) { in bnad_txq_cleanup()
147 bnad_tx_buff_unmap(bnad, unmap_q, tcb->q_depth, i); in bnad_txq_cleanup()
159 bnad_txcmpl_process(struct bnad *bnad, struct bna_tcb *tcb) in bnad_txcmpl_process() argument
163 struct bnad_tx_unmap *unmap_q = tcb->unmap_q; in bnad_txcmpl_process()
168 if (!test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags)) in bnad_txcmpl_process()
171 hw_cons = *(tcb->hw_consumer_index); in bnad_txcmpl_process()
173 cons = tcb->consumer_index; in bnad_txcmpl_process()
174 q_depth = tcb->q_depth; in bnad_txcmpl_process()
[all …]
Dbnad_ethtool.c756 struct bna_tcb *tcb = NULL; in bnad_per_q_stats_fill() local
825 if (bnad->tx_info[i].tcb[j] && in bnad_per_q_stats_fill()
826 bnad->tx_info[i].tcb[j]->txq) { in bnad_per_q_stats_fill()
827 tcb = bnad->tx_info[i].tcb[j]; in bnad_per_q_stats_fill()
828 buf[bi++] = tcb->txq->tx_packets; in bnad_per_q_stats_fill()
829 buf[bi++] = tcb->txq->tx_bytes; in bnad_per_q_stats_fill()
830 buf[bi++] = tcb->producer_index; in bnad_per_q_stats_fill()
831 buf[bi++] = tcb->consumer_index; in bnad_per_q_stats_fill()
832 buf[bi++] = *(tcb->hw_consumer_index); in bnad_per_q_stats_fill()
/kernel/linux/linux-5.10/drivers/net/ethernet/agere/
Det131x.c349 struct tcb { struct
350 struct tcb *next; /* Next entry in ring */ argument
361 struct tcb *tcb_ring; argument
364 struct tcb *tcb_qhead;
365 struct tcb *tcb_qtail;
368 struct tcb *send_head;
369 struct tcb *send_tail;
1753 struct tcb *tcb = tx_ring->tcb_ring; in et131x_init_send() local
1755 tx_ring->tcb_qhead = tcb; in et131x_init_send()
1757 memset(tcb, 0, sizeof(struct tcb) * NUM_TCB); in et131x_init_send()
[all …]
/kernel/liteos_a/kernel/base/ipc/
Dlos_signal.c276 static int SigProcessSignalHandler(LosTaskCB *tcb, void *arg) in SigProcessSignalHandler() argument
282 if (tcb == NULL) { in SigProcessSignalHandler()
288 info->defaultTcb = tcb; in SigProcessSignalHandler()
291 isMember = OsSigIsMember(&tcb->sig.sigwaitmask, info->sigInfo->si_signo); in SigProcessSignalHandler()
297 ret = OsTcbDispatch(tcb, info->sigInfo); in SigProcessSignalHandler()
301 info->awakenedTcb = tcb; in SigProcessSignalHandler()
305 isMember = OsSigIsMember(&tcb->sig.sigprocmask, info->sigInfo->si_signo); in SigProcessSignalHandler()
306 if ((!isMember) && (!info->receivedTcb) && (tcb != info->awakenedTcb)) { in SigProcessSignalHandler()
309 info->unblockedTcb = tcb; in SigProcessSignalHandler()
312 ret = OsTcbDispatch(tcb, info->sigInfo); in SigProcessSignalHandler()
[all …]
/kernel/liteos_a/kernel/extended/liteipc/
Dhm_liteipc.c487 LosTaskCB *tcb = OS_TCB_FROM_TID(serviceTid); in AddServiceAccess() local
490 if ((tcb->ipcTaskInfo == NULL) || (pcb->ipcInfo == NULL)) { in AddServiceAccess()
491 … PRINT_ERR("Liteipc AddServiceAccess ipc not create! pid %u tid %u\n", processID, tcb->taskID); in AddServiceAccess()
494 tcb->ipcTaskInfo->accessMap[processID] = TRUE; in AddServiceAccess()
700 LosTaskCB *tcb = NULL; in IsTaskAlive() local
704 tcb = OS_TCB_FROM_TID(taskID); in IsTaskAlive()
705 if (!OsTaskIsUserMode(tcb)) { in IsTaskAlive()
708 if (OsTaskIsUnused(tcb)) { in IsTaskAlive()
711 if (OsTaskIsInactive(tcb)) { in IsTaskAlive()
776 LosTaskCB *tcb = OS_TCB_FROM_TID(selfTid); in HandleSvc() local
[all …]
/kernel/liteos_a/arch/arm/include/
Dperf.h49 #define OsPerfArchFetchIrqRegs(regs, tcb) \ argument
51 (regs)->pc = (tcb)->pc; \
52 (regs)->fp = (tcb)->fp; \
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pwm/
Datmel-tcb-pwm.txt4 - compatible: should be "atmel,tcb-pwm"
13 compatible = "atmel,tcb-pwm";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmpa1600.dts36 compatible = "atmel,tcb-timer";
41 compatible = "atmel,tcb-timer";
Dat91-linea.dtsi31 compatible = "atmel,tcb-timer";
36 compatible = "atmel,tcb-timer";
Dat91-ariettag25.dts66 compatible = "atmel,tcb-timer";
71 compatible = "atmel,tcb-timer";
Dat91-kizbox.dts84 compatible = "atmel,tcb-pwm";
97 compatible = "atmel,tcb-timer";
102 compatible = "atmel,tcb-timer";
Dge863-pro3.dtsi22 compatible = "atmel,tcb-timer";
27 compatible = "atmel,tcb-timer";
Dethernut5.dts40 compatible = "atmel,tcb-timer";
45 compatible = "atmel,tcb-timer";
Dtny_a9260_common.dtsi31 compatible = "atmel,tcb-timer";
36 compatible = "atmel,tcb-timer";
Dat91-sam9_l9260.dts36 compatible = "atmel,tcb-timer";
41 compatible = "atmel,tcb-timer";
Dusb_a9260_common.dtsi27 compatible = "atmel,tcb-timer";
32 compatible = "atmel,tcb-timer";
Dtny_a9263.dts40 compatible = "atmel,tcb-timer";
45 compatible = "atmel,tcb-timer";
Dat91sam9x5cm.dtsi28 compatible = "atmel,tcb-timer";
33 compatible = "atmel,tcb-timer";
Dat91-sama5d4_ma5d4.dtsi88 compatible = "atmel,tcb-timer";
93 compatible = "atmel,tcb-timer";
Dat91rm9200ek.dts36 compatible = "atmel,tcb-timer";
41 compatible = "atmel,tcb-timer";

1234