Searched refs:M_ZERO (Results 51 - 75 of 79) sorted by relevance

1234

/xnu-2782.1.97/bsd/net/
H A Dpf_ioctl.c304 s##_un = _MALLOC(sizeof (*s##_un), M_TEMP, M_WAITOK|M_ZERO); \
335 (v) = _MALLOC(sizeof (*(v)), M_TEMP, M_WAITOK|M_ZERO); \
377 M_WAITOK|M_ZERO);
836 tag = _MALLOC(sizeof (*tag), M_TEMP, M_WAITOK|M_ZERO);
2716 tokens = _MALLOC(size, M_TEMP, M_WAITOK|M_ZERO);
H A Dkpi_interface.c2433 M_WAITOK | M_ZERO);
H A Dcontent_filter.c920 M_WAITOK | M_ZERO);
H A Dif.c627 ifc->ifc_units = _MALLOC(len, M_CLONE, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/kern/
H A Dsys_generic.c1013 MALLOC(sel->ibits, u_int32_t *, nbytes, M_TEMP, M_WAITOK | M_ZERO);
1016 MALLOC(sel->obits, u_int32_t *, nbytes, M_TEMP, M_WAITOK | M_ZERO);
H A Dkern_newsysctl.c156 MALLOC(oidp, struct sysctl_oid *, sizeof(*oidp), M_TEMP, M_WAITOK | M_ZERO);
H A Dmcache.c305 malloc_wait | M_ZERO);
H A Dkern_credential.c1136 MALLOC(kip, struct kauth_identity *, sizeof(*kip), M_KAUTH, M_WAITOK | M_ZERO);
3351 M_KAUTH, M_WAITOK | M_ZERO);
H A Dkern_event.c3393 buf = _MALLOC(item_size, M_TEMP, M_WAITOK | M_ZERO);
H A Dkern_proc.c1703 MALLOC(l, struct lctx *, sizeof(struct lctx), M_LCTX, M_WAITOK|M_ZERO);
H A Dkern_sysctl.c414 MALLOC(buf, struct _processor_statistics_np*, size, M_TEMP, M_ZERO | M_WAITOK);
H A Dtty.c3074 MALLOC(tp, struct tty *, sizeof(struct tty), M_TTYS, M_WAITOK|M_ZERO);
/xnu-2782.1.97/bsd/net/pktsched/
H A Dpktsched_fairq.c442 cl->cl_nbuckets, M_DEVBUF, M_WAITOK|M_ZERO);
H A Dpktsched_hfsc.c218 hif->hif_maxclasses, M_DEVBUF, M_WAITOK|M_ZERO)) == NULL) {
/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsm_token.c61 t->t_data = malloc(length, M_AUDITBSM, M_WAITOK | M_ZERO); \
H A Daudit_bsm.c146 rec->data = malloc(tot_rec_size, M_AUDITBSM, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/vfs/
H A Dvfs_attrlist.c1082 MALLOC(ab.base, char *, ab.allocated, M_TEMP, M_ZERO | M_WAITOK);
2321 M_ZERO | M_WAITOK);
3504 MALLOC(va_name, char *, MAXPATHLEN, M_TEMP, M_WAITOK|M_ZERO);
/xnu-2782.1.97/bsd/miscfs/specfs/
H A Dspec_vnops.c1364 MALLOC(info, struct _throttle_io_info_t *, sizeof(*info), M_TEMP, M_ZERO | M_WAITOK);
/xnu-2782.1.97/bsd/nfs/
H A Dnfs_socket.c488 MALLOC(nso, struct nfs_socket *, sizeof(struct nfs_socket), M_TEMP, M_WAITOK|M_ZERO);
490 MALLOC(nso->nso_saddr, struct sockaddr *, sa->sa_len, M_SONAME, M_WAITOK|M_ZERO);
1310 MALLOC(nsonfs->nso_saddr2, struct sockaddr *, ss.ss_len, M_SONAME, M_WAITOK|M_ZERO);
1363 MALLOC(fh, fhandle_t *, sizeof(fhandle_t), M_TEMP, M_WAITOK|M_ZERO);
H A Dnfs_subs.c3529 M_TEMP, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/netinet/
H A Dflow_divert.c2258 MALLOC(signing_id, char *, sid_size + 1, M_TEMP, M_WAITOK | M_ZERO);
2990 M_WAITOK | M_ZERO);
H A Dip_fw2.c1604 M_IPFW, M_NOWAIT | M_ZERO);
1638 r = _MALLOC(sizeof *r, M_IPFW, M_NOWAIT | M_ZERO);
H A Dip_input.c516 M_IFADDR, M_WAITOK | M_ZERO);
H A Dtcp_usrreq.c2033 M_TEMP, M_WAITOK | M_ZERO);
/xnu-2782.1.97/bsd/netinet6/
H A Dnd6_rtr.c575 M_TEMP, M_WAITOK | M_ZERO);

Completed in 432 milliseconds

1234