Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/kern/
H A Duipc_domain.h38 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()
/xnu-12377.41.6/bsd/netinet6/
H A Dip6protosw.h204 struct mem_acct *pr_mem_acct; member
H A Din6_proto.c375 static_assert(offsetof(struct ip6protosw, pr_mem_acct) == offsetof(struct protosw, pr_mem_acct)); in in6_dinit()
/xnu-12377.41.6/bsd/sys/
H A Dprotosw.h302 struct mem_acct *pr_mem_acct; member
/xnu-12377.41.6/bsd/netinet/
H A Dudp_usrreq.c287 pp->pr_mem_acct = udp_memacct; in udp_init()
H A Dtcp_subr.c612 pp->pr_mem_acct = tcp_memacct; in tcp_init()