Searched refs:quota (Results 1 – 5 of 5) sorted by relevance
/net/netfilter/ |
D | xt_quota.c | 16 uint64_t quota; member 33 if (priv->quota >= skb->len) { in quota_mt() 34 priv->quota -= skb->len; in quota_mt() 38 priv->quota = 0; in quota_mt() 57 q->master->quota = q->quota; in quota_mt_check()
|
D | xt_quota2.c | 32 u_int64_t quota; member 133 tmp_size = scnprintf(tmp, sizeof(tmp), "%llu\n", e->quota); in quota_proc_read() 151 e->quota = simple_strtoull(buf, NULL, 0); in quota_proc_write() 174 e->quota = q->quota; in q2_new_counter() 302 e->quota += (q->flags & XT_QUOTA_PACKET) ? 1 : skb->len; in quota_mt2() 306 if (e->quota >= skb->len) { in quota_mt2() 308 e->quota -= (q->flags & XT_QUOTA_PACKET) ? 1 : skb->len; in quota_mt2() 312 if (e->quota) { in quota_mt2() 320 e->quota = 0; in quota_mt2()
|
D | Kconfig | 1093 Conflicts with '"quota, tag, uid" match' 1129 bool '"quota, tag, owner" match and stats support' 1145 tristate '"quota" match support' 1148 This option adds a `quota' match, which allows to match on a 1172 This option allows `quota2' to log ONCE when a quota limit
|
/net/sched/ |
D | sch_generic.c | 191 int quota = weight_p; in __qdisc_run() local 199 if (--quota <= 0 || need_resched()) { in __qdisc_run()
|
/net/core/ |
D | dev.c | 4007 static int process_backlog(struct napi_struct *napi, int quota) in process_backlog() argument 4023 while (work < quota) { in process_backlog() 4032 if (++work >= quota) { in process_backlog() 4044 if (qlen < quota - work) { in process_backlog() 4055 quota = work + qlen; in process_backlog()
|