Searched refs:pr_mem_acct (Results 1 – 6 of 6) sorted by relevance
38 if (proto->pr_mem_acct) { in proto_memacct_add()39 mem_acct_add(proto->pr_mem_acct, size); in proto_memacct_add()48 if (proto->pr_mem_acct) { in proto_memacct_sub()49 mem_acct_sub(proto->pr_mem_acct, size); in proto_memacct_sub()58 if (proto->pr_mem_acct) { in proto_memacct_hardlimit()59 return mem_acct_limited(proto->pr_mem_acct) == MEMACCT_HARDLIMIT; in proto_memacct_hardlimit()68 if (proto->pr_mem_acct) { in proto_memacct_limited()69 return mem_acct_limited(proto->pr_mem_acct) != 0; in proto_memacct_limited()
204 struct mem_acct *pr_mem_acct; member
375 static_assert(offsetof(struct ip6protosw, pr_mem_acct) == offsetof(struct protosw, pr_mem_acct)); in in6_dinit()
302 struct mem_acct *pr_mem_acct; member
287 pp->pr_mem_acct = udp_memacct; in udp_init()
612 pp->pr_mem_acct = tcp_memacct; in tcp_init()