Searched refs:credits (Results 1 - 25 of 25) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/cxgb3/
H A Dcxgb3_ctl_defs.h142 unsigned int credits; member in struct:rdma_cq_op
152 unsigned int credits; member in struct:rdma_cq_setup
H A Dsge.c179 * @credits: how many new responses to make available
185 const struct sge_rspq *q, unsigned int credits)
188 V_RSPQ(q->cntxt_id) | V_CREDITS(credits));
349 while (q->credits--) {
464 q->credits++;
472 refill_fl(adap, fl, min(16U, fl->size - fl->credits), GFP_ATOMIC);
496 q->credits++;
955 unsigned int ndesc, pidx, credits, gen, compl; local
973 credits = q->size - q->in_use;
976 if (unlikely(credits < ndes
184 refill_rspq(struct adapter *adapter, const struct sge_rspq *q, unsigned int credits) argument
1808 unsigned int credits; local
[all...]
H A Dadapter.h84 unsigned int credits; /* # of available Rx buffers */ member in struct:sge_fl
107 unsigned int credits; /* # of pending response credits */ member in struct:sge_rspq
128 unsigned long empty; /* # of times queue ran out of credits */
H A Dcommon.h728 unsigned int credits, unsigned int credit_thres);
738 unsigned int credits);
H A Dcxgb3_offload.c250 req->credits);
284 req->ovfl_mode, req->credits,
H A Dt3_hw.c1808 unsigned int credits = type == SGE_CNTXT_OFLD ? 0 : FW_WR_NUM; local
1817 V_EC_CREDITS(credits) | V_EC_GTS(gts_enable));
1918 * @credits: completion queue credits
1927 unsigned int credits, unsigned int credit_thres)
1941 t3_write_reg(adapter, A_SG_CONTEXT_DATA3, V_CQ_CREDITS(credits) |
2054 unsigned int credits)
2061 t3_write_reg(adapter, A_SG_CONTEXT_DATA0, credits << 16);
1925 t3_sge_init_cqcntxt(struct adapter *adapter, unsigned int id, u64 base_addr, unsigned int size, int rspq, int ovfl_mode, unsigned int credits, unsigned int credit_thres) argument
2053 t3_sge_cqcntxt_op(struct adapter *adapter, unsigned int id, unsigned int op, unsigned int credits) argument
H A Dt3_cpl.h852 __be16 credits; member in struct:cpl_wr_ack
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/sgi-ip27/
H A Dip27-hubio.c80 * hub_setup_prb(nasid, prbnum, credits, conveyor)
83 * put it into conveyor belt mode with the specified number of credits.
85 static void hub_setup_prb(nasid_t nasid, int prbnum, int credits) argument
111 prb.iprb_xtalkctr = credits;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Djournal.h206 * ocfs2_extend_trans - Extend a handle by nblocks credits. This may
271 * Convenience macros to calculate number of credits needed.
384 int credits = 1 + tree_depth + 1; local
394 credits += 1 + tree_depth;
397 credits += OCFS2_TRUNCATE_LOG_UPDATE;
399 return credits;
H A Ddir.c406 int credits, num_free_extents, drop_alloc_sem = 0; local
449 credits = ocfs2_calc_extend_credits(sb, fe, 1);
452 credits = OCFS2_SIMPLE_DIR_EXTEND_CREDITS;
458 handle = ocfs2_start_trans(osb, credits);
H A Dfile.c594 int credits; local
645 credits = ocfs2_calc_extend_credits(osb->sb, fe, clusters_to_add);
646 handle = ocfs2_start_trans(osb, credits);
656 * run out of credits in the allocation path, we can still
701 credits = ocfs2_calc_extend_credits(osb->sb,
704 status = ocfs2_extend_trans(handle, credits);
H A Daops.c1090 * transaction credits itself.
1176 int ret, credits = OCFS2_INODE_UPDATE_CREDITS; local
1220 credits = ocfs2_calc_extend_credits(inode->i_sb, di, 1);
1229 handle = ocfs2_start_trans(osb, credits);
H A Dalloc.c1537 int credits = (path->p_tree_depth - subtree_depth) * 2 + 1; local
1539 if (handle->h_buffer_credits < credits)
1540 return ocfs2_extend_trans(handle, credits);
1964 int credits = handle->h_buffer_credits; local
1972 credits += left_path->p_tree_depth;
1974 ret = ocfs2_extend_trans(handle, credits);
2545 /* Caller has given us at least enough credits to
2563 * credits up front rather than extending like
3599 int status, i, credits, tl_sem = 0; local
3698 credits
[all...]
H A Dnamei.c1584 int status, l, credits; local
1606 credits = ocfs2_calc_symlink_credits(sb);
1653 handle = ocfs2_start_trans(osb, credits);
H A Dsuballoc.c278 int status, credits; local
303 credits = ocfs2_calc_group_alloc_credits(osb->sb,
305 handle = ocfs2_start_trans(osb, credits);
1324 * because we only calculate enough journal credits for one
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/chelsio/
H A Dsge.c195 unsigned int credits; /* # of available RX buffers */ member in struct:freelQ
209 unsigned int credits; /* credits to be returned to SGE */ member in struct:respQ
436 unsigned int credits)
453 if (credits < MAX_SKB_FRAGS + 1)
513 while (q->credits--) {
606 sge->respQ.credits = 0;
835 while (q->credits < q->size) {
865 q->credits++;
883 if (sge->freelQ[0].credits > (sg
435 sched_skb(struct sge *sge, struct sk_buff *skb, unsigned int credits) argument
1320 unsigned int credits, queued_skb = 0; local
1743 unsigned int credits, pidx, genbit, count, use_sched_skb = 0; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_qp.c48 * Convert the AETH credit code into the number of credits.
668 * Shared receive queues don't generate credits.
674 u32 credits; local
686 credits = head - tail;
687 if ((int)credits < 0)
688 credits += qp->r_rq.size;
697 if (credit_table[x] == credits)
699 if (credit_table[x] > credits)
1050 /* Restart sending if it was blocked due to lack of credits. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/bluetooth/
H A Drfcomm.h129 u8 credits; member in struct:rfcomm_pn
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/rfcomm/
H A Dcore.c80 static int rfcomm_send_credits(struct rfcomm_session *s, u8 addr, u8 credits);
810 pn->credits = RFCOMM_DEFAULT_CREDITS;
813 pn->credits = 0;
994 static int rfcomm_send_credits(struct rfcomm_session *s, u8 addr, u8 credits) argument
999 BT_DBG("%p addr %d credits %d", s, addr, credits);
1006 *ptr = credits; ptr++;
1243 BT_DBG("dlc %p state %ld dlci %d mtu %d fc 0x%x credits %d",
1244 d, d->state, d->dlci, pn->mtu, pn->flow_ctrl, pn->credits);
1249 d->tx_credits = pn->credits;
1550 u8 credits = *(u8 *) skb->data; skb_pull(skb, 1); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/cxgb3/
H A Dcxio_hal.c78 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0;
130 setup.credits = 0;
179 setup.credits = 65535;
194 setup.credits = setup.size;
490 setup.credits = 0;
1265 * T3A: compute credits.
H A Diwch_cm.c772 static int update_rx_credits(struct iwch_ep *ep, u32 credits) argument
777 PDBG("%s ep %p credits %u\n", __FUNCTION__, ep, credits);
787 req->credit_dack = htonl(V_RX_CREDITS(credits) | V_RX_FORCE_ACK(1));
790 return credits;
1047 /* update RX credits */
1062 unsigned int credits = ntohs(hdr->credits); local
1065 PDBG("%s ep %p credits %u\n", __FUNCTION__, ep, credits);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libid3tag-0.15.0b/
H A Dframetype.c486 {"TMCL", FRAME(text), PRESERVE, "Musician credits list"},
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/packages/libid3tag-0.15.0b/
H A Dframetype.c483 {"TMCL", FRAME(text), PRESERVE, "Musician credits list"},
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ext4/
H A Dextents.c1566 * This routine returns max. credits that the extent tree can consume.
1569 * the caller should calculate credits under truncate_mutex and
1597 * we need one credit to modify old root, credits for
1667 int depth = ext_depth(inode), credits; local
1723 credits = 5;
1726 credits += (ext_depth(inode)) + 1;
1729 credits += 2 * EXT4_QUOTA_TRANS_BLOCKS(inode->i_sb);
1732 handle = ext4_ext_journal_restart(handle, credits);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dcassini.c2486 int i, enable_intr, todo, credits; local
2494 /* NAPI rx packets. we spread the credits across all of the
2504 credits = 0;
2508 credits += cas_rx_ringN(cp, j, todo / N_RX_COMP_RINGS);
2509 if (credits >= todo) {
2517 *budget -= credits;
2518 dev->quota -= credits;

Completed in 310 milliseconds