/linux-3.4.99/net/netfilter/ |
D | xt_limit.c | 21 uint32_t credit; member 75 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; in limit_mt() 76 if (priv->credit > r->credit_cap) in limit_mt() 77 priv->credit = r->credit_cap; in limit_mt() 79 if (priv->credit >= r->cost) { in limit_mt() 81 priv->credit -= r->cost; in limit_mt() 123 priv->credit = user2credits(r->avg * r->burst); /* Credits full. */ in limit_mt_check() 125 r->credit_cap = priv->credit; /* Credits full. */ in limit_mt_check() 144 u_int32_t credit; member 159 .credit = cm->credit, in limit_mt_compat_from_user() [all …]
|
D | xt_hashlimit.c | 88 u_int32_t credit; member 404 dh->rateinfo.credit += (now - dh->rateinfo.prev) * CREDITS_PER_JIFFY; in rateinfo_recalc() 405 if (dh->rateinfo.credit > dh->rateinfo.credit_cap) in rateinfo_recalc() 406 dh->rateinfo.credit = dh->rateinfo.credit_cap; in rateinfo_recalc() 535 dh->rateinfo.credit = user2credits(hinfo->cfg.avg * in hashlimit_mt() 537 dh->rateinfo.credit_cap = dh->rateinfo.credit; in hashlimit_mt() 545 if (dh->rateinfo.credit >= dh->rateinfo.cost) { in hashlimit_mt() 547 dh->rateinfo.credit -= dh->rateinfo.cost; in hashlimit_mt() 694 ent->rateinfo.credit, ent->rateinfo.credit_cap, in dl_seq_real_show() 705 ent->rateinfo.credit, ent->rateinfo.credit_cap, in dl_seq_real_show()
|
/linux-3.4.99/net/bridge/netfilter/ |
D | ebt_limit.c | 41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; in ebt_limit_mt() 42 if (info->credit > info->credit_cap) in ebt_limit_mt() 43 info->credit = info->credit_cap; in ebt_limit_mt() 45 if (info->credit >= info->cost) { in ebt_limit_mt() 47 info->credit -= info->cost; in ebt_limit_mt() 82 info->credit = user2credits(info->avg * info->burst); in ebt_limit_mt_check() 97 compat_uint_t credit, credit_cap, cost; member
|
/linux-3.4.99/drivers/xen/ |
D | balloon.c | 233 static enum bp_state reserve_additional_memory(long credit) in reserve_additional_memory() argument 237 unsigned long balloon_hotplug = credit; in reserve_additional_memory() 250 balloon_hotplug -= credit; in reserve_additional_memory() 252 balloon_stats.hotplug_pages += credit; in reserve_additional_memory() 307 static enum bp_state reserve_additional_memory(long credit) in reserve_additional_memory() argument 459 long credit; in balloon_process() local 464 credit = current_credit(); in balloon_process() 466 if (credit > 0) { in balloon_process() 468 state = increase_reservation(credit); in balloon_process() 470 state = reserve_additional_memory(credit); in balloon_process() [all …]
|
/linux-3.4.99/drivers/infiniband/hw/cxgb3/ |
D | iwch_cq.c | 50 u32 credit = 0; in iwch_poll_cq_one() local 68 &credit); in iwch_poll_cq_one() 69 if (t3a_device(chp->rhp) && credit) { in iwch_poll_cq_one() 71 credit, chp->cq.cqid); in iwch_poll_cq_one() 72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit); in iwch_poll_cq_one()
|
D | cxio_hal.h | 159 enum t3_cq_opcode op, u32 credit); 196 u8 *cqe_flushed, u64 *cookie, u32 *credit);
|
D | cxio_hal.c | 72 enum t3_cq_opcode op, u32 credit) in cxio_hal_cq_op() argument 80 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0; in cxio_hal_cq_op() 1150 u8 *cqe_flushed, u64 *cookie, u32 *credit) in cxio_poll_cq() argument 1156 *credit = 0; in cxio_poll_cq() 1340 *credit = cq->rptr - cq->wptr; in cxio_poll_cq()
|
/linux-3.4.99/drivers/net/wireless/iwmc3200wifi/ |
D | debugfs.c | 192 struct iwm_tx_credit *credit = &iwm->tx_credit; in iwm_debugfs_tx_credit_read() local 208 "NR pools: %d\n", credit->pool_nr); in iwm_debugfs_tx_credit_read() 210 "pools map: 0x%lx\n", credit->full_pools_map); in iwm_debugfs_tx_credit_read() 218 credit->pools[i].id); in iwm_debugfs_tx_credit_read() 221 credit->pools[i].sid); in iwm_debugfs_tx_credit_read() 224 credit->pools[i].min_pages); in iwm_debugfs_tx_credit_read() 227 credit->pools[i].max_pages); in iwm_debugfs_tx_credit_read() 230 credit->pools[i].alloc_pages); in iwm_debugfs_tx_credit_read() 233 credit->pools[i].total_freed_pages); in iwm_debugfs_tx_credit_read() 242 credit->spools[i].id); in iwm_debugfs_tx_credit_read() [all …]
|
/linux-3.4.99/drivers/staging/ozwpan/ |
D | ozhcd.c | 74 int credit; member 317 ep->credit = -1; in oz_ep_alloc() 457 if (!in_dir && ep_addr && (ep->credit < 0)) { in oz_enqueue_ep_urb() 459 ep->credit = 0; in oz_enqueue_ep_urb() 461 0, 0, ep->credit); in oz_enqueue_ep_urb() 1001 if (ep->credit < 0) in oz_hcd_heartbeat() 1003 ep->credit += (now - ep->last_jiffies); in oz_hcd_heartbeat() 1004 if (ep->credit > ep->credit_ceiling) in oz_hcd_heartbeat() 1005 ep->credit = ep->credit_ceiling; in oz_hcd_heartbeat() 1006 oz_event_log(OZ_EVT_EP_CREDIT, ep->ep_num, 0, 0, ep->credit); in oz_hcd_heartbeat() [all …]
|
/linux-3.4.99/include/linux/netfilter_bridge/ |
D | ebt_limit.h | 20 __u32 credit; member
|
/linux-3.4.99/include/linux/netfilter/ |
D | xt_limit.h | 19 __u32 credit; /* moved to xt_limit_priv */ member
|
/linux-3.4.99/drivers/infiniband/hw/ipath/ |
D | ipath_qp.c | 1057 u32 credit = (aeth >> IPATH_AETH_CREDIT_SHIFT) & IPATH_AETH_CREDIT_MASK; in ipath_get_credit() local 1064 if (credit == IPATH_AETH_CREDIT_INVAL) in ipath_get_credit() 1068 credit = (aeth + credit_table[credit]) & IPATH_MSN_MASK; in ipath_get_credit() 1069 if (ipath_cmp24(credit, qp->s_lsn) > 0) in ipath_get_credit() 1070 qp->s_lsn = credit; in ipath_get_credit()
|
/linux-3.4.99/drivers/infiniband/hw/qib/ |
D | qib_qp.c | 1255 u32 credit = (aeth >> QIB_AETH_CREDIT_SHIFT) & QIB_AETH_CREDIT_MASK; in qib_get_credit() local 1262 if (credit == QIB_AETH_CREDIT_INVAL) { in qib_get_credit() 1272 credit = (aeth + credit_table[credit]) & QIB_MSN_MASK; in qib_get_credit() 1273 if (qib_cmp24(credit, qp->s_lsn) > 0) { in qib_get_credit() 1274 qp->s_lsn = credit; in qib_get_credit()
|
/linux-3.4.99/include/net/irda/ |
D | irttp.h | 155 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify);
|
/linux-3.4.99/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 403 u8 *cqe_flushed, u64 *cookie, u32 *credit) in poll_cq() argument 409 *credit = 0; in poll_cq() 570 u32 credit = 0; in c4iw_poll_cq_one() local 587 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit); in c4iw_poll_cq_one()
|
/linux-3.4.99/drivers/net/ethernet/broadcom/ |
D | cnic_if.h | 137 struct drv_ctl_spq_credit credit; member
|
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sp.c | 3794 rc = __atomic_dec_ifmoe(&o->credit, cnt, 0); in bnx2x_credit_pool_get() 3807 rc = __atomic_add_ifless(&o->credit, cnt, o->pool_sz + 1); in bnx2x_credit_pool_put() 3819 cur_credit = atomic_read(&o->credit); in bnx2x_credit_pool_check() 3905 int base, int credit) in bnx2x_init_credit_pool() argument 3914 atomic_set(&p->credit, credit); in bnx2x_init_credit_pool() 3917 p->pool_sz = credit; in bnx2x_init_credit_pool() 3927 if (credit >= 0) { in bnx2x_init_credit_pool() 4021 int credit = MAX_VLAN_CREDIT_E2 / func_num; in bnx2x_init_vlan_credit_pool() local 4022 bnx2x_init_credit_pool(p, func_id * credit, credit); in bnx2x_init_vlan_credit_pool()
|
D | bnx2x_sp.h | 628 atomic_t credit; member
|
/linux-3.4.99/fs/reiserfs/ |
D | README | 37 fail to fairly credit me, or to remove my credits, without my 125 Jeremy Fitzhardinge wrote the teahash.c code, and he gives credit to a
|
/linux-3.4.99/net/irda/ |
D | irttp.c | 392 struct tsap_cb *irttp_open_tsap(__u8 stsap_sel, int credit, notify_t *notify) in irttp_open_tsap() argument 460 if (credit > TTP_RX_MAX_CREDIT) in irttp_open_tsap() 463 self->initial_credit = credit; in irttp_open_tsap()
|
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/ |
D | cpl5_cmd.h | 417 u32 credit; member
|
/linux-3.4.99/fs/ext4/ |
D | resize.c | 1256 int err = 0, err2 = 0, credit; in ext4_flex_group_add() local 1275 credit = flex_gd->count * 4 + reserved_gdb; in ext4_flex_group_add() 1276 handle = ext4_journal_start_sb(sb, credit); in ext4_flex_group_add()
|
/linux-3.4.99/Documentation/ |
D | SubmittingPatches | 363 want at the same time to credit the author, track changes, merge the fix, 426 Reported-by: tag to credit the reporter for their contribution. Please 429 if we diligently credit our bug reporters, they will, hopefully, be 435 future patches, and ensures credit for the testers. 465 offer a Reviewed-by tag for a patch. This tag serves to give credit to
|
/linux-3.4.99/arch/xtensa/ |
D | Kconfig | 181 One well known example of this is PCMCIA- or PC-cards, credit-card
|
/linux-3.4.99/drivers/pcmcia/ |
D | Kconfig | 10 computer. These are credit-card size devices such as network cards,
|