Searched refs:M_ZERO (Results 1 - 25 of 95) sorted by relevance

1234

/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dip_id.c159 M_TEMP, M_WAITOK | M_ZERO);
161 M_WAITOK | M_ZERO);
/macosx-10.10.1/smb-759.0/kernel/netsmb/
H A Dsmb_usr_2.c104 SMB_MALLOC(network_pathp, char *, network_path_len, M_TEMP, M_WAITOK | M_ZERO);
126 M_WAITOK | M_ZERO);
181 M_WAITOK | M_ZERO);
234 M_WAITOK | M_ZERO);
317 M_WAITOK | M_ZERO);
355 SMB_MALLOC(network_pathp, char *, network_path_len, M_TEMP, M_WAITOK | M_ZERO);
496 M_WAITOK | M_ZERO);
692 M_WAITOK | M_ZERO);
810 M_WAITOK | M_ZERO);
H A Dsmb_usr.c297 SMB_MALLOC(network, char *, ntwrk_len, M_SMBSTR, M_WAITOK | M_ZERO);
345 SMB_MALLOC(utf8str, char *, utf8str_len, M_SMBSTR, M_WAITOK | M_ZERO);
/macosx-10.10.1/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsd.h101 #ifdef M_ZERO
102 #undef M_ZERO macro
104 #define M_ZERO 0x0004 /* bzero the allocation */ macro
H A Daudit_session.c854 se = malloc(sizeof(au_sentry_t), M_AU_SESSION, M_WAITOK | M_ZERO);
1055 HASH_TABLE_SIZE, M_AU_SESSION, M_WAITOK | M_ZERO);
1063 M_AU_SESSION, M_WAITOK|M_ZERO);
1529 ase = malloc(sizeof (*ase), M_AUDIT_SDEV_ENTRY, M_NOWAIT | M_ZERO);
1606 asdev = malloc(sizeof (*asdev), M_AUDIT_SDEV, M_WAITOK | M_ZERO);
/macosx-10.10.1/smb-759.0/kernel/smbfs/
H A Dsmbfs_smb_2.c161 M_WAITOK | M_ZERO);
497 M_WAITOK | M_ZERO);
873 M_WAITOK | M_ZERO);
884 M_WAITOK | M_ZERO);
1330 M_WAITOK | M_ZERO);
1342 M_WAITOK | M_ZERO);
1797 M_WAITOK | M_ZERO);
1808 M_WAITOK | M_ZERO);
2436 M_WAITOK | M_ZERO);
2454 M_WAITOK | M_ZERO);
[all...]
H A Dsmbfs_security.c79 SMB_MALLOC(user, char *, MAXPATHLEN, M_TEMP, M_WAITOK | M_ZERO);
85 SMB_MALLOC(group, char *, MAXPATHLEN, M_TEMP, M_WAITOK | M_ZERO);
127 SMB_MALLOC(buffer, char *, buf_len, M_TEMP, M_WAITOK | M_ZERO);
1429 M_WAITOK | M_ZERO);
1485 SMB_MALLOC(ntwrk_sids, void *, sidarraysize, M_TEMP, M_WAITOK | M_ZERO);
1640 M_WAITOK | M_ZERO);
1875 SMB_MALLOC(w_dacl, struct ntacl *, needed, M_TEMP, M_WAITOK | M_ZERO);
H A Dsmbfs_subr.c409 SMB_MALLOC(dst, char *, length+1, M_TEMP, M_WAITOK | M_ZERO);
H A Dsmbfs_notify_change.c915 M_WAITOK | M_ZERO);
984 SMB_MALLOC(watchItem, struct watch_item *, sizeof(*watchItem), M_TEMP, M_WAITOK | M_ZERO);
1028 SMB_MALLOC(watchItem, struct watch_item *, sizeof(*watchItem), M_TEMP, M_WAITOK | M_ZERO);
/macosx-10.10.1/xnu-2782.1.97/bsd/miscfs/mockfs/
H A Dmockfs_vfsops.c84 MALLOC(mockfs_mount_data, mockfs_mount_t, sizeof(*mockfs_mount_data), M_TEMP, M_WAITOK | M_ZERO);
H A Dmockfs_fsnode.c87 MALLOC(*fsnpp, typeof(*fsnpp), sizeof(**fsnpp), M_TEMP, M_WAITOK | M_ZERO);
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Dif_mib.c182 M_NOWAIT | M_ZERO)) == NULL) {
H A Dif_pflog.c150 M_DEVBUF, M_WAITOK|M_ZERO)) == NULL) {
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dmalloc.h83 #define M_ZERO 0x0004 /* bzero the allocation */ macro
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dtty_ptmx.c305 MALLOC(new_ptmx_ioctl, struct ptmx_ioctl *, sizeof(struct ptmx_ioctl), M_TTYS, M_WAITOK|M_ZERO);
328 MALLOC(new_pis_ioctl_list, struct ptmx_ioctl **, sizeof(struct ptmx_ioctl *) * (_state.pis_total + PTMX_GROW_VECTOR), M_TTYS, M_WAITOK|M_ZERO);
H A Dbsd_stubs.c349 MALLOC(newlock, devsw_lock_t, sizeof(struct devsw_lock), M_TEMP, M_WAITOK | M_ZERO);
H A Dproc_uuid_policy.c130 MALLOC(entry, struct proc_uuid_policy_entry *, sizeof(*entry), M_PROC_UUID_POLICY, M_WAITOK|M_ZERO);
H A Dposix_sem.c444 MALLOC(pcp, struct psemcache *, sizeof(struct psemcache), M_SHM, M_WAITOK|M_ZERO);
450 MALLOC(new_pinfo, struct pseminfo *, sizeof(struct pseminfo), M_SHM, M_WAITOK|M_ZERO);
492 MALLOC(new_pnode, struct psemnode *, sizeof(struct psemnode), M_SHM, M_WAITOK|M_ZERO);
H A Dposix_shm.c460 MALLOC(pcp, struct pshmcache *, sizeof(struct pshmcache), M_SHM, M_WAITOK|M_ZERO);
466 MALLOC(new_pinfo, struct pshminfo *, sizeof(struct pshminfo), M_SHM, M_WAITOK|M_ZERO);
475 MALLOC(new_pnode, struct pshmnode *, sizeof(struct pshmnode), M_SHM, M_WAITOK|M_ZERO);
H A Duipc_domain.c269 dp = _MALLOC(sizeof (*dp), M_TEMP, M_WAITOK | M_ZERO);
456 pru = _MALLOC(sizeof (*pru), M_TEMP, M_WAITOK | M_ZERO);
484 pp = _MALLOC(sizeof (*pp), M_TEMP, M_WAITOK | M_ZERO);
/macosx-10.10.1/xnu-2782.1.97/security/
H A Dmac_socket.c408 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
445 MALLOC(buffer, char *, mac->m_buflen, M_MACTEMP, M_WAITOK | M_ZERO);
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/dtrace/
H A Ddtrace_ptss.c157 struct dtrace_ptss_page* ptss_page = _MALLOC(sizeof(struct dtrace_ptss_page), M_TEMP, M_ZERO | M_WAITOK);
H A Ddtrace_glue.c417 wrap_timer_call_t *wrapTC = _MALLOC(sizeof(wrap_timer_call_t), M_TEMP, M_ZERO | M_WAITOK);
464 sizeof(cyc_omni_handler_t), M_TEMP, M_ZERO | M_WAITOK);
538 wrap_thread_call_t *wrapTC = _MALLOC(sizeof(wrap_thread_call_t), M_TEMP, M_ZERO | M_WAITOK);
633 for (i = 0; i < NSOFT_STATES; ++i) soft[i] = _MALLOC(size, M_TEMP, M_ZERO | M_WAITOK);
/macosx-10.10.1/xnu-2782.1.97/bsd/nfs/
H A Dnfs_upcall.c369 MALLOC(arg, struct nfsrv_uc_arg *, sizeof (struct nfsrv_uc_arg), M_NFSSVC, M_WAITOK | M_ZERO);
H A Dnfs_vfsops.c2042 MALLOC(nfsp2.np_components, char **, nfsp2.np_compcount*sizeof(char*), M_TEMP, M_WAITOK|M_ZERO);
2057 MALLOC(nfsp2.np_components[newcomp], char *, q-p+1, M_TEMP, M_WAITOK|M_ZERO);
2148 MALLOC(fspath.np_components, char **, fspath.np_compcount*sizeof(char*), M_TEMP, M_WAITOK|M_ZERO);
2155 MALLOC(fspath.np_components[comp], char *, slen+1, M_TEMP, M_WAITOK|M_ZERO);
2320 MALLOC(fspath2.np_components, char **, fspath2.np_compcount*sizeof(char*), M_TEMP, M_WAITOK|M_ZERO);
2327 MALLOC(fspath2.np_components[comp2], char *, slen+1, M_TEMP, M_WAITOK|M_ZERO);
2925 MALLOC(nmp->nm_fh, fhandle_t *, sizeof(fhandle_t), M_TEMP, M_WAITOK|M_ZERO);
2944 MALLOC(nmp->nm_locations.nl_locations, struct nfs_fs_location **, nmp->nm_locations.nl_numlocs * sizeof(struct nfs_fs_location*), M_TEMP, M_WAITOK|M_ZERO);
2949 MALLOC(fsl, struct nfs_fs_location *, sizeof(struct nfs_fs_location), M_TEMP, M_WAITOK|M_ZERO);
2958 MALLOC(fsl->nl_servers, struct nfs_fs_server **, fsl->nl_servcount * sizeof(struct nfs_fs_server*), M_TEMP, M_WAITOK|M_ZERO);
[all...]

Completed in 300 milliseconds

1234