/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/ |
H A D | ip_id.c | 159 M_TEMP, M_WAITOK | M_ZERO); 161 M_WAITOK | M_ZERO);
|
/macosx-10.10.1/smb-759.0/kernel/netsmb/ |
H A D | smb_usr_2.c | 104 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 D | smb_usr.c | 297 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 D | audit_bsd.h | 101 #ifdef M_ZERO 102 #undef M_ZERO macro 104 #define M_ZERO 0x0004 /* bzero the allocation */ macro
|
H A D | audit_session.c | 854 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 D | smbfs_smb_2.c | 161 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 D | smbfs_security.c | 79 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 D | smbfs_subr.c | 409 SMB_MALLOC(dst, char *, length+1, M_TEMP, M_WAITOK | M_ZERO);
|
H A D | smbfs_notify_change.c | 915 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 D | mockfs_vfsops.c | 84 MALLOC(mockfs_mount_data, mockfs_mount_t, sizeof(*mockfs_mount_data), M_TEMP, M_WAITOK | M_ZERO);
|
H A D | mockfs_fsnode.c | 87 MALLOC(*fsnpp, typeof(*fsnpp), sizeof(**fsnpp), M_TEMP, M_WAITOK | M_ZERO);
|
/macosx-10.10.1/xnu-2782.1.97/bsd/net/ |
H A D | if_mib.c | 182 M_NOWAIT | M_ZERO)) == NULL) {
|
H A D | if_pflog.c | 150 M_DEVBUF, M_WAITOK|M_ZERO)) == NULL) {
|
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/ |
H A D | malloc.h | 83 #define M_ZERO 0x0004 /* bzero the allocation */ macro
|
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/ |
H A D | tty_ptmx.c | 305 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 D | bsd_stubs.c | 349 MALLOC(newlock, devsw_lock_t, sizeof(struct devsw_lock), M_TEMP, M_WAITOK | M_ZERO);
|
H A D | proc_uuid_policy.c | 130 MALLOC(entry, struct proc_uuid_policy_entry *, sizeof(*entry), M_PROC_UUID_POLICY, M_WAITOK|M_ZERO);
|
H A D | posix_sem.c | 444 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 D | posix_shm.c | 460 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 D | uipc_domain.c | 269 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 D | mac_socket.c | 408 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 D | dtrace_ptss.c | 157 struct dtrace_ptss_page* ptss_page = _MALLOC(sizeof(struct dtrace_ptss_page), M_TEMP, M_ZERO | M_WAITOK);
|
H A D | dtrace_glue.c | 417 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 D | nfs_upcall.c | 369 MALLOC(arg, struct nfsrv_uc_arg *, sizeof (struct nfsrv_uc_arg), M_NFSSVC, M_WAITOK | M_ZERO);
|
H A D | nfs_vfsops.c | 2042 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...] |