tcb              1980 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.t_state_to_astid =
tcb              1983 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.cplrxdataack_cplpassacceptrpl =
tcb              1985 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.tx_max = (__force __be32) jiffies;
tcb              1986 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.rcv_adv = htons(1);
tcb              2000 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.opt0 = (__force __be64) (TCAM_BYPASS_F |
tcb              2012 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.opt2 = (__force __be32) (PACE_V(1) |
tcb              2018 drivers/infiniband/hw/cxgb4/cm.c 		req->tcb.opt2 |= (__force __be32)TSTAMPS_EN_F;
tcb              2020 drivers/infiniband/hw/cxgb4/cm.c 		req->tcb.opt2 |= (__force __be32)SACK_EN_F;
tcb              2022 drivers/infiniband/hw/cxgb4/cm.c 		req->tcb.opt2 |= (__force __be32)WND_SCALE_EN_F;
tcb              2023 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.opt0 = cpu_to_be64((__force u64)req->tcb.opt0);
tcb              2024 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.opt2 = cpu_to_be32((__force u32)req->tcb.opt2);
tcb              3821 drivers/infiniband/hw/cxgb4/cm.c static inline u64 t4_tcb_get_field64(__be64 *tcb, u16 word)
tcb              3823 drivers/infiniband/hw/cxgb4/cm.c 	u64 tlo = be64_to_cpu(tcb[((31 - word) / 2)]);
tcb              3824 drivers/infiniband/hw/cxgb4/cm.c 	u64 thi = be64_to_cpu(tcb[((31 - word) / 2) - 1]);
tcb              3833 drivers/infiniband/hw/cxgb4/cm.c static inline u32 t4_tcb_get_field32(__be64 *tcb, u16 word, u32 mask, u32 shift)
tcb              3836 drivers/infiniband/hw/cxgb4/cm.c 	u64 t = be64_to_cpu(tcb[(31 - word) / 2]);
tcb              3847 drivers/infiniband/hw/cxgb4/cm.c 	__be64 *tcb = (__be64 *)(rpl + 1);
tcb              3864 drivers/infiniband/hw/cxgb4/cm.c 	t_flags_64 = t4_tcb_get_field64(tcb, TCB_T_FLAGS_W);
tcb              3880 drivers/infiniband/hw/cxgb4/cm.c 	ep->srqe_idx = t4_tcb_get_field32(tcb, TCB_RQ_START_W, TCB_RQ_START_M,
tcb              4015 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.rcv_nxt = htonl(rcv_isn + 1);
tcb              4016 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.rcv_adv = htons(window);
tcb              4017 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.t_state_to_astid =
tcb              4027 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.opt2 = htonl(RSS_QUEUE_V(rss_qid));
tcb              4035 drivers/infiniband/hw/cxgb4/cm.c 	req->tcb.opt0 = cpu_to_be64(MSS_IDX_V(0xF));
tcb               350 drivers/net/ethernet/agere/et131x.c 	struct tcb *next;	/* Next entry in ring */
tcb               361 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb_ring;
tcb               364 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb_qhead;
tcb               365 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb_qtail;
tcb               368 drivers/net/ethernet/agere/et131x.c 	struct tcb *send_head;
tcb               369 drivers/net/ethernet/agere/et131x.c 	struct tcb *send_tail;
tcb              1757 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb = tx_ring->tcb_ring;
tcb              1759 drivers/net/ethernet/agere/et131x.c 	tx_ring->tcb_qhead = tcb;
tcb              1761 drivers/net/ethernet/agere/et131x.c 	memset(tcb, 0, sizeof(struct tcb) * NUM_TCB);
tcb              1764 drivers/net/ethernet/agere/et131x.c 		tcb->next = tcb + 1;
tcb              1765 drivers/net/ethernet/agere/et131x.c 		tcb++;
tcb              1768 drivers/net/ethernet/agere/et131x.c 	tcb--;
tcb              1769 drivers/net/ethernet/agere/et131x.c 	tx_ring->tcb_qtail = tcb;
tcb              1770 drivers/net/ethernet/agere/et131x.c 	tcb->next = NULL;
tcb              2364 drivers/net/ethernet/agere/et131x.c 	tx_ring->tcb_ring = kcalloc(NUM_TCB, sizeof(struct tcb),
tcb              2421 drivers/net/ethernet/agere/et131x.c static int nic_send_packet(struct et131x_adapter *adapter, struct tcb *tcb)
tcb              2427 drivers/net/ethernet/agere/et131x.c 	struct sk_buff *skb = tcb->skb;
tcb              2519 drivers/net/ethernet/agere/et131x.c 	tcb->index_start = tx_ring->send_idx;
tcb              2520 drivers/net/ethernet/agere/et131x.c 	tcb->stale = 0;
tcb              2553 drivers/net/ethernet/agere/et131x.c 			tcb->index = NUM_DESC_PER_RING_TX - 1;
tcb              2555 drivers/net/ethernet/agere/et131x.c 			tcb->index = ET_DMA10_WRAP|(NUM_DESC_PER_RING_TX - 1);
tcb              2557 drivers/net/ethernet/agere/et131x.c 		tcb->index = tx_ring->send_idx - 1;
tcb              2563 drivers/net/ethernet/agere/et131x.c 		tx_ring->send_tail->next = tcb;
tcb              2565 drivers/net/ethernet/agere/et131x.c 		tx_ring->send_head = tcb;
tcb              2567 drivers/net/ethernet/agere/et131x.c 	tx_ring->send_tail = tcb;
tcb              2569 drivers/net/ethernet/agere/et131x.c 	WARN_ON(tcb->next != NULL);
tcb              2591 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb;
tcb              2601 drivers/net/ethernet/agere/et131x.c 	tcb = tx_ring->tcb_qhead;
tcb              2603 drivers/net/ethernet/agere/et131x.c 	if (tcb == NULL) {
tcb              2608 drivers/net/ethernet/agere/et131x.c 	tx_ring->tcb_qhead = tcb->next;
tcb              2615 drivers/net/ethernet/agere/et131x.c 	tcb->skb = skb;
tcb              2616 drivers/net/ethernet/agere/et131x.c 	tcb->next = NULL;
tcb              2618 drivers/net/ethernet/agere/et131x.c 	status = nic_send_packet(adapter, tcb);
tcb              2624 drivers/net/ethernet/agere/et131x.c 			tx_ring->tcb_qtail->next = tcb;
tcb              2627 drivers/net/ethernet/agere/et131x.c 			tx_ring->tcb_qhead = tcb;
tcb              2629 drivers/net/ethernet/agere/et131x.c 		tx_ring->tcb_qtail = tcb;
tcb              2639 drivers/net/ethernet/agere/et131x.c 				    struct tcb *tcb)
tcb              2647 drivers/net/ethernet/agere/et131x.c 	if (tcb->skb) {
tcb              2648 drivers/net/ethernet/agere/et131x.c 		stats->tx_bytes += tcb->skb->len;
tcb              2656 drivers/net/ethernet/agere/et131x.c 			       INDEX10(tcb->index_start);
tcb              2665 drivers/net/ethernet/agere/et131x.c 			add_10bit(&tcb->index_start, 1);
tcb              2666 drivers/net/ethernet/agere/et131x.c 			if (INDEX10(tcb->index_start) >=
tcb              2668 drivers/net/ethernet/agere/et131x.c 				tcb->index_start &= ~ET_DMA10_MASK;
tcb              2669 drivers/net/ethernet/agere/et131x.c 				tcb->index_start ^= ET_DMA10_WRAP;
tcb              2671 drivers/net/ethernet/agere/et131x.c 		} while (desc != tx_ring->tx_desc_ring + INDEX10(tcb->index));
tcb              2673 drivers/net/ethernet/agere/et131x.c 		dev_kfree_skb_any(tcb->skb);
tcb              2676 drivers/net/ethernet/agere/et131x.c 	memset(tcb, 0, sizeof(struct tcb));
tcb              2684 drivers/net/ethernet/agere/et131x.c 		tx_ring->tcb_qtail->next = tcb;
tcb              2686 drivers/net/ethernet/agere/et131x.c 		tx_ring->tcb_qhead = tcb;
tcb              2688 drivers/net/ethernet/agere/et131x.c 	tx_ring->tcb_qtail = tcb;
tcb              2697 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb;
tcb              2705 drivers/net/ethernet/agere/et131x.c 	tcb = tx_ring->send_head;
tcb              2707 drivers/net/ethernet/agere/et131x.c 	while (tcb != NULL && freed < NUM_TCB) {
tcb              2708 drivers/net/ethernet/agere/et131x.c 		struct tcb *next = tcb->next;
tcb              2720 drivers/net/ethernet/agere/et131x.c 		free_send_packet(adapter, tcb);
tcb              2724 drivers/net/ethernet/agere/et131x.c 		tcb = tx_ring->send_head;
tcb              2743 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb;
tcb              2755 drivers/net/ethernet/agere/et131x.c 	tcb = tx_ring->send_head;
tcb              2757 drivers/net/ethernet/agere/et131x.c 	while (tcb &&
tcb              2758 drivers/net/ethernet/agere/et131x.c 	       ((serviced ^ tcb->index) & ET_DMA10_WRAP) &&
tcb              2759 drivers/net/ethernet/agere/et131x.c 	       index < INDEX10(tcb->index)) {
tcb              2761 drivers/net/ethernet/agere/et131x.c 		tx_ring->send_head = tcb->next;
tcb              2762 drivers/net/ethernet/agere/et131x.c 		if (tcb->next == NULL)
tcb              2766 drivers/net/ethernet/agere/et131x.c 		free_send_packet(adapter, tcb);
tcb              2770 drivers/net/ethernet/agere/et131x.c 		tcb = tx_ring->send_head;
tcb              2772 drivers/net/ethernet/agere/et131x.c 	while (tcb &&
tcb              2773 drivers/net/ethernet/agere/et131x.c 	       !((serviced ^ tcb->index) & ET_DMA10_WRAP) &&
tcb              2774 drivers/net/ethernet/agere/et131x.c 	       index > (tcb->index & ET_DMA10_MASK)) {
tcb              2776 drivers/net/ethernet/agere/et131x.c 		tx_ring->send_head = tcb->next;
tcb              2777 drivers/net/ethernet/agere/et131x.c 		if (tcb->next == NULL)
tcb              2781 drivers/net/ethernet/agere/et131x.c 		free_send_packet(adapter, tcb);
tcb              2785 drivers/net/ethernet/agere/et131x.c 		tcb = tx_ring->send_head;
tcb              3397 drivers/net/ethernet/agere/et131x.c 		struct tcb *tcb = tx_ring->send_head;
tcb              3399 drivers/net/ethernet/agere/et131x.c 		if (tcb)
tcb              3400 drivers/net/ethernet/agere/et131x.c 			if (++tcb->stale > 1)
tcb              3405 drivers/net/ethernet/agere/et131x.c 		else if (tcb == NULL)
tcb              3818 drivers/net/ethernet/agere/et131x.c 	struct tcb *tcb;
tcb              3839 drivers/net/ethernet/agere/et131x.c 	tcb = tx_ring->send_head;
tcb              3842 drivers/net/ethernet/agere/et131x.c 	if (tcb) {
tcb              3843 drivers/net/ethernet/agere/et131x.c 		tcb->count++;
tcb              3845 drivers/net/ethernet/agere/et131x.c 		if (tcb->count > NIC_SEND_HANG_THRESHOLD) {
tcb              3848 drivers/net/ethernet/agere/et131x.c 				 tcb->index);
tcb              2874 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->priority = txq->priority;
tcb              3177 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	txq->tcb->sw_qpt = (void **) swqpt_mem->kva;
tcb              3178 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 	txq->tcb->sw_q = page_mem->kva;
tcb              3184 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->sw_qpt[i] = kva;
tcb              3222 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb = NULL;
tcb              3284 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->i_dbell->doorbell_addr =
tcb              3287 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->q_dbell =
tcb              3293 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		(*txq->tcb->hw_consumer_index) = 0;
tcb              3294 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->producer_index = txq->tcb->consumer_index = 0;
tcb              3442 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb = (struct bna_tcb *)
tcb              3466 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->q_depth = tx_cfg->txq_depth;
tcb              3467 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->unmap_q = (void *)
tcb              3469 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->hw_consumer_index =
tcb              3471 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->i_dbell = &txq->ib.door_bell;
tcb              3472 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->intr_type = txq->ib.intr_type;
tcb              3473 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->intr_vector = txq->ib.intr_vector;
tcb              3474 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->txq = txq;
tcb              3475 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->bnad = bnad;
tcb              3476 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 		txq->tcb->id = i;
tcb              3487 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 			(tx->tcb_setup_cbfn)(bna->bnad, txq->tcb);
tcb              3490 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 			txq->priority = txq->tcb->id;
tcb              3517 drivers/net/ethernet/brocade/bna/bna_tx_rx.c 			(tx->tcb_destroy_cbfn)(tx->bna->bnad, txq->tcb);
tcb               445 drivers/net/ethernet/brocade/bna/bna_types.h 	struct bna_tcb *tcb;
tcb               137 drivers/net/ethernet/brocade/bna/bnad.c bnad_txq_cleanup(struct bnad *bnad, struct bna_tcb *tcb)
tcb               139 drivers/net/ethernet/brocade/bna/bnad.c 	struct bnad_tx_unmap *unmap_q = tcb->unmap_q;
tcb               143 drivers/net/ethernet/brocade/bna/bnad.c 	for (i = 0; i < tcb->q_depth; i++) {
tcb               147 drivers/net/ethernet/brocade/bna/bnad.c 		bnad_tx_buff_unmap(bnad, unmap_q, tcb->q_depth, i);
tcb               159 drivers/net/ethernet/brocade/bna/bnad.c bnad_txcmpl_process(struct bnad *bnad, struct bna_tcb *tcb)
tcb               163 drivers/net/ethernet/brocade/bna/bnad.c 	struct bnad_tx_unmap *unmap_q = tcb->unmap_q;
tcb               168 drivers/net/ethernet/brocade/bna/bnad.c 	if (!test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags))
tcb               171 drivers/net/ethernet/brocade/bna/bnad.c 	hw_cons = *(tcb->hw_consumer_index);
tcb               173 drivers/net/ethernet/brocade/bna/bnad.c 	cons = tcb->consumer_index;
tcb               174 drivers/net/ethernet/brocade/bna/bnad.c 	q_depth = tcb->q_depth;
tcb               177 drivers/net/ethernet/brocade/bna/bnad.c 	BUG_ON(!(wis <= BNA_QE_IN_USE_CNT(tcb, tcb->q_depth)));
tcb               195 drivers/net/ethernet/brocade/bna/bnad.c 	tcb->consumer_index = hw_cons;
tcb               197 drivers/net/ethernet/brocade/bna/bnad.c 	tcb->txq->tx_packets += sent_packets;
tcb               198 drivers/net/ethernet/brocade/bna/bnad.c 	tcb->txq->tx_bytes += sent_bytes;
tcb               204 drivers/net/ethernet/brocade/bna/bnad.c bnad_tx_complete(struct bnad *bnad, struct bna_tcb *tcb)
tcb               209 drivers/net/ethernet/brocade/bna/bnad.c 	if (test_and_set_bit(BNAD_TXQ_FREE_SENT, &tcb->flags))
tcb               212 drivers/net/ethernet/brocade/bna/bnad.c 	sent = bnad_txcmpl_process(bnad, tcb);
tcb               216 drivers/net/ethernet/brocade/bna/bnad.c 		    BNA_QE_FREE_CNT(tcb, tcb->q_depth) >=
tcb               218 drivers/net/ethernet/brocade/bna/bnad.c 			if (test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags)) {
tcb               225 drivers/net/ethernet/brocade/bna/bnad.c 	if (likely(test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags)))
tcb               226 drivers/net/ethernet/brocade/bna/bnad.c 		bna_ib_ack(tcb->i_dbell, sent);
tcb               229 drivers/net/ethernet/brocade/bna/bnad.c 	clear_bit(BNAD_TXQ_FREE_SENT, &tcb->flags);
tcb               238 drivers/net/ethernet/brocade/bna/bnad.c 	struct bna_tcb *tcb = (struct bna_tcb *)data;
tcb               239 drivers/net/ethernet/brocade/bna/bnad.c 	struct bnad *bnad = tcb->bnad;
tcb               241 drivers/net/ethernet/brocade/bna/bnad.c 	bnad_tx_complete(bnad, tcb);
tcb               800 drivers/net/ethernet/brocade/bna/bnad.c 	struct bna_tcb *tcb = NULL;
tcb               827 drivers/net/ethernet/brocade/bna/bnad.c 			tcb = bnad->tx_info[i].tcb[j];
tcb               828 drivers/net/ethernet/brocade/bna/bnad.c 			if (tcb && test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags))
tcb               829 drivers/net/ethernet/brocade/bna/bnad.c 				bnad_tx_complete(bnad, bnad->tx_info[i].tcb[j]);
tcb               953 drivers/net/ethernet/brocade/bna/bnad.c 					struct bna_tcb *tcb =
tcb               954 drivers/net/ethernet/brocade/bna/bnad.c 					bnad->tx_info[tx_id].tcb[tcb_id];
tcb               956 drivers/net/ethernet/brocade/bna/bnad.c 					if (!tcb)
tcb               959 drivers/net/ethernet/brocade/bna/bnad.c 					txq_id = tcb->id;
tcb               962 drivers/net/ethernet/brocade/bna/bnad.c 						     &tcb->flags)) {
tcb               999 drivers/net/ethernet/brocade/bna/bnad.c bnad_cb_tcb_setup(struct bnad *bnad, struct bna_tcb *tcb)
tcb              1002 drivers/net/ethernet/brocade/bna/bnad.c 			(struct bnad_tx_info *)tcb->txq->tx->priv;
tcb              1004 drivers/net/ethernet/brocade/bna/bnad.c 	tcb->priv = tcb;
tcb              1005 drivers/net/ethernet/brocade/bna/bnad.c 	tx_info->tcb[tcb->id] = tcb;
tcb              1009 drivers/net/ethernet/brocade/bna/bnad.c bnad_cb_tcb_destroy(struct bnad *bnad, struct bna_tcb *tcb)
tcb              1012 drivers/net/ethernet/brocade/bna/bnad.c 			(struct bnad_tx_info *)tcb->txq->tx->priv;
tcb              1014 drivers/net/ethernet/brocade/bna/bnad.c 	tx_info->tcb[tcb->id] = NULL;
tcb              1015 drivers/net/ethernet/brocade/bna/bnad.c 	tcb->priv = NULL;
tcb              1042 drivers/net/ethernet/brocade/bna/bnad.c 	struct bna_tcb *tcb;
tcb              1047 drivers/net/ethernet/brocade/bna/bnad.c 		tcb = tx_info->tcb[i];
tcb              1048 drivers/net/ethernet/brocade/bna/bnad.c 		if (!tcb)
tcb              1050 drivers/net/ethernet/brocade/bna/bnad.c 		txq_id = tcb->id;
tcb              1051 drivers/net/ethernet/brocade/bna/bnad.c 		clear_bit(BNAD_TXQ_TX_STARTED, &tcb->flags);
tcb              1060 drivers/net/ethernet/brocade/bna/bnad.c 	struct bna_tcb *tcb;
tcb              1065 drivers/net/ethernet/brocade/bna/bnad.c 		tcb = tx_info->tcb[i];
tcb              1066 drivers/net/ethernet/brocade/bna/bnad.c 		if (!tcb)
tcb              1068 drivers/net/ethernet/brocade/bna/bnad.c 		txq_id = tcb->id;
tcb              1070 drivers/net/ethernet/brocade/bna/bnad.c 		BUG_ON(test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags));
tcb              1071 drivers/net/ethernet/brocade/bna/bnad.c 		set_bit(BNAD_TXQ_TX_STARTED, &tcb->flags);
tcb              1072 drivers/net/ethernet/brocade/bna/bnad.c 		BUG_ON(*(tcb->hw_consumer_index) != 0);
tcb              1100 drivers/net/ethernet/brocade/bna/bnad.c 	struct bna_tcb *tcb;
tcb              1105 drivers/net/ethernet/brocade/bna/bnad.c 		tcb = tx_info->tcb[i];
tcb              1106 drivers/net/ethernet/brocade/bna/bnad.c 		if (!tcb)
tcb              1109 drivers/net/ethernet/brocade/bna/bnad.c 		bnad = tcb->bnad;
tcb              1111 drivers/net/ethernet/brocade/bna/bnad.c 		if (test_and_set_bit(BNAD_TXQ_FREE_SENT, &tcb->flags)) {
tcb              1116 drivers/net/ethernet/brocade/bna/bnad.c 		bnad_txq_cleanup(bnad, tcb);
tcb              1119 drivers/net/ethernet/brocade/bna/bnad.c 		clear_bit(BNAD_TXQ_FREE_SENT, &tcb->flags);
tcb              1137 drivers/net/ethernet/brocade/bna/bnad.c 	struct bna_tcb *tcb;
tcb              1141 drivers/net/ethernet/brocade/bna/bnad.c 		tcb = tx_info->tcb[i];
tcb              1142 drivers/net/ethernet/brocade/bna/bnad.c 		if (!tcb)
tcb              1517 drivers/net/ethernet/brocade/bna/bnad.c 		if (tx_info->tcb[i] == NULL)
tcb              1520 drivers/net/ethernet/brocade/bna/bnad.c 		vector_num = tx_info->tcb[i]->intr_vector;
tcb              1521 drivers/net/ethernet/brocade/bna/bnad.c 		free_irq(bnad->msix_table[vector_num].vector, tx_info->tcb[i]);
tcb              1537 drivers/net/ethernet/brocade/bna/bnad.c 		vector_num = tx_info->tcb[i]->intr_vector;
tcb              1538 drivers/net/ethernet/brocade/bna/bnad.c 		sprintf(tx_info->tcb[i]->name, "%s TXQ %d", bnad->netdev->name,
tcb              1539 drivers/net/ethernet/brocade/bna/bnad.c 				tx_id + tx_info->tcb[i]->id);
tcb              1542 drivers/net/ethernet/brocade/bna/bnad.c 				  tx_info->tcb[i]->name,
tcb              1543 drivers/net/ethernet/brocade/bna/bnad.c 				  tx_info->tcb[i]);
tcb              1926 drivers/net/ethernet/brocade/bna/bnad.c 	if (tx_info->tcb[0]->intr_type == BNA_INTR_T_MSIX)
tcb              2412 drivers/net/ethernet/brocade/bna/bnad.c 			if (bnad->tx_info[i].tcb[j]) {
tcb              2414 drivers/net/ethernet/brocade/bna/bnad.c 				bnad->tx_info[i].tcb[j]->txq->tx_packets;
tcb              2416 drivers/net/ethernet/brocade/bna/bnad.c 					bnad->tx_info[i].tcb[j]->txq->tx_bytes;
tcb              2808 drivers/net/ethernet/brocade/bna/bnad.c bnad_txq_wi_prepare(struct bnad *bnad, struct bna_tcb *tcb,
tcb              2820 drivers/net/ethernet/brocade/bna/bnad.c 		vlan_tag = ((tcb->priority & 0x7) << VLAN_PRIO_SHIFT)
tcb              2923 drivers/net/ethernet/brocade/bna/bnad.c 	struct bna_tcb *tcb = NULL;
tcb              2951 drivers/net/ethernet/brocade/bna/bnad.c 	tcb = bnad->tx_info[0].tcb[txq_id];
tcb              2957 drivers/net/ethernet/brocade/bna/bnad.c 	if (unlikely(!tcb || !test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags))) {
tcb              2963 drivers/net/ethernet/brocade/bna/bnad.c 	q_depth = tcb->q_depth;
tcb              2964 drivers/net/ethernet/brocade/bna/bnad.c 	prod = tcb->producer_index;
tcb              2965 drivers/net/ethernet/brocade/bna/bnad.c 	unmap_q = tcb->unmap_q;
tcb              2977 drivers/net/ethernet/brocade/bna/bnad.c 	if (unlikely(wis > BNA_QE_FREE_CNT(tcb, q_depth))) {
tcb              2978 drivers/net/ethernet/brocade/bna/bnad.c 		if ((*tcb->hw_consumer_index != tcb->consumer_index) &&
tcb              2979 drivers/net/ethernet/brocade/bna/bnad.c 		    !test_and_set_bit(BNAD_TXQ_FREE_SENT, &tcb->flags)) {
tcb              2981 drivers/net/ethernet/brocade/bna/bnad.c 			sent = bnad_txcmpl_process(bnad, tcb);
tcb              2982 drivers/net/ethernet/brocade/bna/bnad.c 			if (likely(test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags)))
tcb              2983 drivers/net/ethernet/brocade/bna/bnad.c 				bna_ib_ack(tcb->i_dbell, sent);
tcb              2985 drivers/net/ethernet/brocade/bna/bnad.c 			clear_bit(BNAD_TXQ_FREE_SENT, &tcb->flags);
tcb              2997 drivers/net/ethernet/brocade/bna/bnad.c 		if (likely(wis > BNA_QE_FREE_CNT(tcb, q_depth))) {
tcb              3006 drivers/net/ethernet/brocade/bna/bnad.c 	txqent = &((struct bna_txq_entry *)tcb->sw_q)[prod];
tcb              3010 drivers/net/ethernet/brocade/bna/bnad.c 	if (bnad_txq_wi_prepare(bnad, tcb, skb, txqent)) {
tcb              3041 drivers/net/ethernet/brocade/bna/bnad.c 				tcb->producer_index);
tcb              3053 drivers/net/ethernet/brocade/bna/bnad.c 			txqent = &((struct bna_txq_entry *)tcb->sw_q)[prod];
tcb              3063 drivers/net/ethernet/brocade/bna/bnad.c 					   tcb->producer_index);
tcb              3079 drivers/net/ethernet/brocade/bna/bnad.c 		bnad_tx_buff_unmap(bnad, unmap_q, q_depth, tcb->producer_index);
tcb              3086 drivers/net/ethernet/brocade/bna/bnad.c 	tcb->producer_index = prod;
tcb              3090 drivers/net/ethernet/brocade/bna/bnad.c 	if (unlikely(!test_bit(BNAD_TXQ_TX_STARTED, &tcb->flags)))
tcb              3095 drivers/net/ethernet/brocade/bna/bnad.c 	bna_txq_prod_indx_doorbell(tcb);
tcb               205 drivers/net/ethernet/brocade/bna/bnad.h 	struct bna_tcb *tcb[BNAD_MAX_TXQ_PER_TX];
tcb               757 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 	struct bna_tcb *tcb = NULL;
tcb               826 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 			if (bnad->tx_info[i].tcb[j] &&
tcb               827 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				bnad->tx_info[i].tcb[j]->txq) {
tcb               828 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				tcb = bnad->tx_info[i].tcb[j];
tcb               829 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				buf[bi++] = tcb->txq->tx_packets;
tcb               830 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				buf[bi++] = tcb->txq->tx_bytes;
tcb               831 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				buf[bi++] = tcb->producer_index;
tcb               832 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				buf[bi++] = tcb->consumer_index;
tcb               833 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 				buf[bi++] = *(tcb->hw_consumer_index);
tcb               576 drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h 	} tcb;
tcb               496 drivers/net/ethernet/intel/e100.c 		} tcb;
tcb              1766 drivers/net/ethernet/intel/e100.c 	cb->u.tcb.tbd_array = cb->dma_addr + offsetof(struct cb, u.tcb.tbd);
tcb              1767 drivers/net/ethernet/intel/e100.c 	cb->u.tcb.tcb_byte_count = 0;
tcb              1768 drivers/net/ethernet/intel/e100.c 	cb->u.tcb.threshold = nic->tx_threshold;
tcb              1769 drivers/net/ethernet/intel/e100.c 	cb->u.tcb.tbd_count = 1;
tcb              1770 drivers/net/ethernet/intel/e100.c 	cb->u.tcb.tbd.buf_addr = cpu_to_le32(dma_addr);
tcb              1771 drivers/net/ethernet/intel/e100.c 	cb->u.tcb.tbd.size = cpu_to_le16(skb->len);
tcb              1835 drivers/net/ethernet/intel/e100.c 				le32_to_cpu(cb->u.tcb.tbd.buf_addr),
tcb              1836 drivers/net/ethernet/intel/e100.c 				le16_to_cpu(cb->u.tcb.tbd.size),
tcb              1862 drivers/net/ethernet/intel/e100.c 					le32_to_cpu(cb->u.tcb.tbd.buf_addr),
tcb              1863 drivers/net/ethernet/intel/e100.c 					le16_to_cpu(cb->u.tcb.tbd.size),
tcb              1114 drivers/scsi/ncr53c8xx.c struct tcb;
tcb              1642 drivers/scsi/ncr53c8xx.c 	struct tcb  target[MAX_TARGET];	/* Target data			*/
tcb              1925 drivers/scsi/ncr53c8xx.c static	void	ncr_negotiate	(struct ncb* np, struct tcb* tp);
tcb              3963 drivers/scsi/ncr53c8xx.c 		struct tcb *tp = &np->target[i];
tcb              4053 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[cp->target];
tcb              4113 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[sdev->id];
tcb              4698 drivers/scsi/ncr53c8xx.c 	struct tcb *tp;
tcb              4810 drivers/scsi/ncr53c8xx.c 	struct tcb *tp;
tcb              5085 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[cp->target];
tcb              5317 drivers/scsi/ncr53c8xx.c 		struct tcb *tp = &np->target[i];
tcb              5359 drivers/scsi/ncr53c8xx.c static void ncr_negotiate (struct ncb* np, struct tcb* tp)
tcb              5489 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[target];
tcb              5524 drivers/scsi/ncr53c8xx.c 	struct tcb *tp;
tcb              5582 drivers/scsi/ncr53c8xx.c 	struct tcb *tp;
tcb              5626 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[tn];
tcb              6535 drivers/scsi/ncr53c8xx.c 	struct tcb *tp	= &np->target[cmd->device->id];
tcb              6691 drivers/scsi/ncr53c8xx.c 	struct tcb *tp     = &np->target[target];
tcb              7139 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[tn];
tcb              7248 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[cp->target];
tcb              7349 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[tn];
tcb              7398 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[tn];
tcb              7464 drivers/scsi/ncr53c8xx.c 		 offsetof(struct tcb    , sval    )) &3) != 3);
tcb              7466 drivers/scsi/ncr53c8xx.c 		 offsetof(struct tcb    , wval    )) &3) != 3);
tcb              7469 drivers/scsi/ncr53c8xx.c 		 offsetof(struct tcb    , sval    )) &3) != 0);
tcb              7471 drivers/scsi/ncr53c8xx.c 		 offsetof(struct tcb    , wval    )) &3) != 0);
tcb              7485 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[tn];
tcb              7576 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[tn];
tcb              7959 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[device->id];
tcb              7969 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[device->id];
tcb              8531 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[starget->id];
tcb              8547 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[starget->id];
tcb              8563 drivers/scsi/ncr53c8xx.c 	struct tcb *tp = &np->target[starget->id];
tcb               817 drivers/staging/isdn/gigaset/common.c 	struct cmdbuf_t *cb, *tcb;
tcb               836 drivers/staging/isdn/gigaset/common.c 		tcb = cb;
tcb               838 drivers/staging/isdn/gigaset/common.c 		kfree(tcb);
tcb               104 drivers/staging/isdn/gigaset/ser-gigaset.c 	struct cmdbuf_t *cb, *tcb;
tcb               132 drivers/staging/isdn/gigaset/ser-gigaset.c 		tcb = cb;
tcb               143 drivers/staging/isdn/gigaset/ser-gigaset.c 		if (tcb->wake_tasklet)
tcb               144 drivers/staging/isdn/gigaset/ser-gigaset.c 			tasklet_schedule(tcb->wake_tasklet);
tcb               145 drivers/staging/isdn/gigaset/ser-gigaset.c 		kfree(tcb);
tcb               464 net/core/sock_map.c 	struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
tcb               468 net/core/sock_map.c 	tcb->bpf.flags = flags;
tcb               469 net/core/sock_map.c 	tcb->bpf.sk_redir = __sock_map_lookup_elem(map, key);
tcb               470 net/core/sock_map.c 	if (!tcb->bpf.sk_redir)
tcb               925 net/core/sock_map.c 	struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
tcb               929 net/core/sock_map.c 	tcb->bpf.flags = flags;
tcb               930 net/core/sock_map.c 	tcb->bpf.sk_redir = __sock_hash_lookup_elem(map, key);
tcb               931 net/core/sock_map.c 	if (!tcb->bpf.sk_redir)
tcb               467 net/ipv4/tcp.c 		struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
tcb               471 net/ipv4/tcp.c 			tcb->txstamp_ack = 1;
tcb               662 net/ipv4/tcp.c 	struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
tcb               665 net/ipv4/tcp.c 	tcb->seq     = tcb->end_seq = tp->write_seq;
tcb               666 net/ipv4/tcp.c 	tcb->tcp_flags = TCPHDR_ACK;
tcb               667 net/ipv4/tcp.c 	tcb->sacked  = 0;
tcb              1023 net/ipv4/tcp_output.c 	struct tcp_skb_cb *tcb;
tcb              1058 net/ipv4/tcp_output.c 	tcb = TCP_SKB_CB(skb);
tcb              1061 net/ipv4/tcp_output.c 	if (unlikely(tcb->tcp_flags & TCPHDR_SYN)) {
tcb              1075 net/ipv4/tcp_output.c 			tcb->tcp_flags |= TCPHDR_PSH;
tcb              1110 net/ipv4/tcp_output.c 	th->seq			= htonl(tcb->seq);
tcb              1113 net/ipv4/tcp_output.c 					tcb->tcp_flags);
tcb              1119 net/ipv4/tcp_output.c 	if (unlikely(tcp_urg_mode(tp) && before(tcb->seq, tp->snd_up))) {
tcb              1120 net/ipv4/tcp_output.c 		if (before(tp->snd_up, tcb->seq + 0x10000)) {
tcb              1121 net/ipv4/tcp_output.c 			th->urg_ptr = htons(tp->snd_up - tcb->seq);
tcb              1123 net/ipv4/tcp_output.c 		} else if (after(tcb->seq + 0xFFFF, tp->snd_nxt)) {
tcb              1131 net/ipv4/tcp_output.c 	if (likely(!(tcb->tcp_flags & TCPHDR_SYN))) {
tcb              1151 net/ipv4/tcp_output.c 	if (likely(tcb->tcp_flags & TCPHDR_ACK))
tcb              1160 net/ipv4/tcp_output.c 	if (after(tcb->end_seq, tp->snd_nxt) || tcb->seq == tcb->end_seq)
tcb              3467 net/ipv4/tcp_output.c 	struct tcp_skb_cb *tcb = TCP_SKB_CB(skb);
tcb              3469 net/ipv4/tcp_output.c 	tcb->end_seq += skb->len;
tcb              3473 net/ipv4/tcp_output.c 	WRITE_ONCE(tp->write_seq, tcb->end_seq);
tcb               255 tools/testing/selftests/bpf/progs/strobemeta.h 	void* tcb;