Home
last modified time | relevance | path

Searched refs:quota (Results 1 – 6 of 6) sorted by relevance

/net/netfilter/
Dxt_quota.c16 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()
Dxt_quota2.c51 u_int64_t quota; member
149 tmp_size = scnprintf(tmp, sizeof(tmp), "%llu\n", e->quota); in quota_proc_read()
167 e->quota = simple_strtoull(buf, NULL, 0); in quota_proc_write()
190 e->quota = q->quota; in q2_new_counter()
318 e->quota += (q->flags & XT_QUOTA_PACKET) ? 1 : skb->len; in quota_mt2()
322 if (e->quota >= skb->len) { in quota_mt2()
324 e->quota -= (q->flags & XT_QUOTA_PACKET) ? 1 : skb->len; in quota_mt2()
328 if (e->quota) { in quota_mt2()
336 e->quota = 0; in quota_mt2()
Dnfnetlink_acct.c110 u64 *quota = (u64 *)nfacct->data; in nfnl_acct_new() local
112 *quota = be64_to_cpu(nla_get_be64(tb[NFACCT_QUOTA])); in nfnl_acct_new()
170 u64 *quota = (u64 *)acct->data; in nfnl_acct_fill_info() local
173 nla_put_be64(skb, NFACCT_QUOTA, cpu_to_be64(*quota))) in nfnl_acct_fill_info()
459 u64 *quota; in nfnl_acct_overquota() local
466 quota = (u64 *)nfacct->data; in nfnl_acct_overquota()
470 ret = now > *quota; in nfnl_acct_overquota()
472 if (now >= *quota && in nfnl_acct_overquota()
DKconfig1258 Conflicts with '"quota, tag, uid" match'
1294 bool '"quota, tag, owner" match and stats support'
1310 tristate '"quota" match support'
1313 This option adds a `quota' match, which allows to match on a
1336 This option allows `quota2' to log ONCE when a quota limit
/net/sched/
Dsch_generic.c236 int quota = weight_p; in __qdisc_run() local
245 quota -= packets; in __qdisc_run()
246 if (quota <= 0 || need_resched()) { in __qdisc_run()
/net/core/
Ddev.c4346 static int process_backlog(struct napi_struct *napi, int quota) in process_backlog() argument
4372 if (++work >= quota) { in process_backlog()