Home
last modified time | relevance | path

Searched refs:mem_acct (Results 1 – 11 of 11) sorted by relevance

/xnu-12377.61.12/bsd/kern/
H A Dmem_acct.h31 struct mem_acct;
35 __private_extern__ void _mem_acct_add(struct mem_acct *macct, int size);
36 __private_extern__ struct mem_acct *mem_acct_register(
54 extern int mem_acct_limited(const struct mem_acct *macct);
57 mem_acct_add(struct mem_acct *macct, unsigned int size) in mem_acct_add()
63 mem_acct_sub(struct mem_acct *macct, unsigned int size) in mem_acct_sub()
H A Dmem_acct.c40 struct mem_acct { struct
51 static struct mem_acct *memacct[MEM_ACCT_MAX]; argument
66 mem_acct_limited(const struct mem_acct *macct) in mem_acct_limited()
97 _mem_acct_add(struct mem_acct *macct, int size) in _mem_acct_add()
151 struct mem_acct *
155 struct mem_acct *acct = NULL; in mem_acct_register()
188 memacct[index] = kalloc_type(struct mem_acct, Z_WAITOK_ZERO_NOFAIL); in mem_acct_register()
199 kfree_type(struct mem_acct, acct); in mem_acct_register()
237 static void memacct_copy_stats(struct memacct_statistics *s, struct mem_acct *a);
293 struct mem_acct *acct = memacct[w->w_sub]; in sysctl_subsystem_peak()
[all …]
H A Duipc_socket.h33 extern struct mem_acct *socket_memacct;
H A Duipc_socket.c154 struct mem_acct *socket_memacct;
/xnu-12377.61.12/bsd/netinet6/
H A Dip6protosw.h204 struct mem_acct *pr_mem_acct;
/xnu-12377.61.12/bsd/netinet/
H A Dudp_var.h169 extern struct mem_acct *udp_memacct;
H A Dtcp_var.h2024 extern struct mem_acct *tcp_memacct;
H A Dudp_usrreq.c240 struct mem_acct *udp_memacct;
H A Dtcp_subr.c156 struct mem_acct *tcp_memacct;
/xnu-12377.61.12/bsd/sys/
H A Dprotosw.h302 struct mem_acct *pr_mem_acct;
/xnu-12377.61.12/bsd/conf/
H A Dfiles445 bsd/kern/mem_acct.c optional sockets bound-checks