Searched refs:MALLOC_ZONE (Results 1 - 25 of 41) sorted by relevance

12

/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dimageboot.c83 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
213 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
269 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dtty_subr.c106 MALLOC_ZONE(clp->c_cs, u_char *, size, M_TTYS, M_WAITOK);
112 MALLOC_ZONE(clp->c_cq, u_char *, QMEM(size), M_TTYS, M_WAITOK);
H A Dkern_fork.c1126 MALLOC_ZONE(child_proc, proc_t , sizeof *child_proc, M_PROC, M_WAITOK);
1134 MALLOC_ZONE(child_proc->p_stats, struct pstats *,
1142 MALLOC_ZONE(child_proc->p_sigacts, struct sigacts *,
H A Dposix_sem.c390 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
680 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dposix_shm.c399 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
1026 MALLOC_ZONE(pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dnetboot.c336 MALLOC_ZONE(root_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dkern_descrip.c3198 MALLOC_ZONE(newofiles, struct fileproc **,
4438 MALLOC_ZONE(fg, struct fileglob *, sizeof(struct fileglob), M_FILEGLOB, M_WAITOK);
4637 MALLOC_ZONE(newfdp, struct filedesc *,
4732 MALLOC_ZONE(newfdp->fd_ofiles, struct fileproc **,
5756 MALLOC_ZONE(fp, struct fileproc *, sizeof (*fp), M_FILEPROC, M_WAITOK);
H A Dkern_proc.c271 MALLOC_ZONE(newuip, struct uidinfo *, sizeof(*uip), M_PROC, M_WAITOK);
1176 MALLOC_ZONE(pgrp, struct pgrp *, sizeof(struct pgrp), M_PGRP,
1197 MALLOC_ZONE(sess, struct session *,
H A Dkern_exit.c424 MALLOC_ZONE(rup, struct rusage_superset *,
1840 MALLOC_ZONE(rup, struct rusage_superset *,
H A Dkern_mman.c1168 MALLOC_ZONE(vpath, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dmach_loader.c1708 MALLOC_ZONE(vpath, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dkern_resource.c1414 MALLOC_ZONE(copy, struct plimit *,
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/
H A Dnfs_boot.c207 MALLOC_ZONE(nd->nd_root.ndm_path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
213 MALLOC_ZONE(nd->nd_root.ndm_mntfrom, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
267 MALLOC_ZONE(nd->nd_private.ndm_path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
273 MALLOC_ZONE(nd->nd_private.ndm_mntfrom, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
286 MALLOC_ZONE(check_path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dnfs_node.c382 MALLOC_ZONE(np, nfsnode_t, sizeof *np, M_NFSNODE, M_WAITOK);
420 MALLOC_ZONE(np->n_fhp, u_char *,
H A Dnfs_vfsops.c1482 MALLOC_ZONE(mntfrom, char*, MAXPATHLEN, M_NAMEI, M_WAITOK);
1982 MALLOC_ZONE(link, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
2667 MALLOC_ZONE(nmp, struct nfsmount *,
3336 MALLOC_ZONE(mntfromname, char *, pathbuflen, M_NAMEI, M_WAITOK);
3341 MALLOC_ZONE(path, char *, pathbuflen, M_NAMEI, M_WAITOK);
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dmalloc.h271 #define MALLOC_ZONE(space, cast, size, type, flags) \ macro
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_chash.c404 MALLOC_ZONE(ncp, struct cnode *, sizeof(struct cnode), M_HFSNODE, M_WAITOK);
H A Dhfs_vnops.c304 MALLOC_ZONE(dp, decmpfs_cnode *, sizeof(decmpfs_cnode), M_DECMPFS_CNODE, M_WAITOK);
4077 MALLOC_ZONE (temp_rsrc_fork, struct filefork *, sizeof (struct filefork), M_HFSFORK, M_WAITOK);
5196 MALLOC_ZONE (rsrc_path, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
6770 MALLOC_ZONE(cn.cn_pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dhfs_cnode.c1265 MALLOC_ZONE(fp, struct filefork *, sizeof(struct filefork),
/macosx-10.10.1/xnu-2782.1.97/bsd/vfs/
H A Dvfs_lookup.c253 MALLOC_ZONE(cnp->cn_pnbuf, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
294 MALLOC_ZONE(realpath, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
1433 MALLOC_ZONE(cp, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dvfs_init.c476 MALLOC_ZONE(mp, struct mount *, sizeof(struct mount),
H A Dvfs_fsevents.c2364 MALLOC_ZONE(path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
2488 MALLOC_ZONE(path, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dvfs_cache.c393 MALLOC_ZONE(va.va_name, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
H A Dvfs_journal.c1698 MALLOC_ZONE(jnl, struct journal *, sizeof(struct journal), M_JNL_JNL, M_WAITOK);
1876 MALLOC_ZONE(jnl, struct journal *, sizeof(struct journal), M_JNL_JNL, M_WAITOK);
2494 MALLOC_ZONE(tr, transaction *, sizeof(transaction), M_JNL_TR, M_WAITOK);
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dnecp.c1698 MALLOC_ZONE(new_policy, struct necp_session_policy *, sizeof(*new_policy), M_NECP_SESSION_POLICY, M_WAITOK);
2425 MALLOC_ZONE(new_kernel_policy, struct necp_kernel_socket_policy *, sizeof(*new_kernel_policy), M_NECP_SOCKET_POLICY, M_WAITOK);
3252 MALLOC_ZONE(new_kernel_policy, struct necp_kernel_ip_output_policy *, sizeof(*new_kernel_policy), M_NECP_IP_POLICY, M_WAITOK);

Completed in 345 milliseconds

12