/freebsd-9.3-release/sys/mips/nlm/ |
H A D | msgring.h | 42 void nlm_cms_credit_setup(int credit);
|
H A D | cms.c | 147 nlm_cms_credit_setup(int credit) argument 156 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 165 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 171 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 176 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 180 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 185 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 190 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 195 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); 200 nlm_cms_setup_credits(xlp_cms_base, qid, src, credit); [all...] |
/freebsd-9.3-release/sys/netpfil/ipfw/ |
H A D | dn_sched_rr.c | 55 int credit; /* Number of bytes to transmit */ member in struct:rr_queue 79 q->credit = q->quantum; /* initialize credit */ 187 if (len > rrq->credit) { 189 rrq->credit += rrq->quantum; 193 rrq->credit -= len; 256 q->credit = q->quantum;
|
H A D | ip_dn_io.c | 504 si->credit += (now - si->sched_time) * bw; 506 si->credit = 0; 509 while (si->credit >= 0 && (m = s->fp->dequeue(si)) != NULL) { 515 si->credit -= len_scaled; 522 * If credit >= 0 the instance is idle, mark time. 526 if (si->credit >= 0) { 530 KASSERT (bw > 0, ("bw=0 and credit<0 ?")); 531 t = div64(bw - 1 - si->credit, bw); 806 si->credit = dn_cfg.io_fast ? p->bandwidth : 0; 811 si->credit [all...] |
H A D | ip_dn_private.h | 303 int64_t credit; /* bits I can transmit (more or less). */ member in struct:dn_sch_inst
|
H A D | ip_dummynet.c | 528 /* callback to flush credit for the scheduler instance */ 535 si->credit = p->burst + (dn_cfg.io_fast ? p->bandwidth : 0);
|
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/ |
H A D | iw_cxgb_cq.c | 94 u32 credit = 0; local 112 &credit); 113 if (t3a_device(chp->rhp) && credit) { 115 credit, chp->cq.cqid); 116 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit);
|
H A D | iw_cxgb_hal.h | 139 enum t3_cq_opcode op, u32 credit); 174 u8 *cqe_flushed, u64 *cookie, u32 *credit);
|
H A D | iw_cxgb_hal.c | 110 enum t3_cq_opcode op, u32 credit) 118 credit = 0; 121 ret = t3_sge_cqcntxt_op(sc, cq->cqid, op, credit); 677 * Force a CQE to return the credit to the workq in case 1145 * credit: cq credit to return to sge. 1155 u8 *cqe_flushed, u64 *cookie, u32 *credit) 1161 *credit = 0; 1333 *credit = cq->rptr - cq->wptr; 109 cxio_hal_cq_op(struct cxio_rdev *rdev_p, struct t3_cq *cq, enum t3_cq_opcode op, u32 credit) argument 1154 cxio_poll_cq(struct t3_wq *wq, struct t3_cq *cq, struct t3_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit) argument
|
/freebsd-9.3-release/sys/dev/xen/balloon/ |
H A D | balloon.c | 370 long credit; local 377 credit = current_target() - bs.current_pages; 378 if (credit > 0) 379 need_sleep = (increase_reservation(credit) != 0); 380 if (credit < 0) 381 need_sleep = (decrease_reservation(-credit) != 0); 383 } while ((credit != 0) && !need_sleep);
|
/freebsd-9.3-release/sys/contrib/ngatm/netnatm/saal/ |
H A D | sscoppriv.h | 260 int credit; /* send window not closed */ member in struct:sscop
|
H A D | saal_sscop.c | 1134 sscop->credit = 1; 4284 if(sscop->credit) { 4285 sscop->credit = 0; 4288 } else if(!sscop->credit) { 4293 sscop->credit = 1;
|
/freebsd-9.3-release/sys/mips/nlm/hal/ |
H A D | fmn.h | 246 extern void nlm_cms_setup_credits (uint64_t base, int destid, int srcid, int credit);
|
H A D | fmn.c | 140 void nlm_cms_setup_credits(uint64_t base, int destid, int srcid, int credit) argument 144 val = ((credit << 24) | (destid << 12) | (srcid << 0));
|
/freebsd-9.3-release/sys/xen/interface/ |
H A D | domctl.h | 314 } credit; member in union:xen_domctl_scheduler_op::__anon10564
|
/freebsd-9.3-release/sys/dev/bxe/ |
H A D | ecore_sp.c | 337 /* credit handling callbacks */ 1387 * requested, consume CAM credit. 1419 /* Consume the credit if not requested not to */ 1436 * requested, returns a CAM credit. 1476 /* Return the credit to the credit pool if not requested not to */ 1480 ECORE_ERR("Failed to return a credit\n"); 1495 * requested, returns a CAM credit. 1544 /* Consume the credit if not requested not to */ 1553 /* return the credit take 4175 ecore_init_credit_pool(struct ecore_credit_pool_obj *p, int base, int credit) argument 4301 int credit = MAX_VLAN_CREDIT_E2 / func_num; local [all...] |
H A D | ecore_sp.h | 729 /* MACs credit pool */ 732 /* VLANs credit pool */ 784 * Update the relevant credit object(s) (consume/return 1073 /* Current amount of credit in the pool */ 1074 ecore_atomic_t credit; member in struct:ecore_credit_pool_obj 1076 /* Maximum allowed credit. put() will check against it. */ 1107 * Get the requested amount of credit from the pool. 1109 * @param cnt Amount of requested credit 1115 * Returns the credit to the pool. 1117 * @param cnt Amount of credit t [all...] |