| /mirbsd/src/sys/compat/linux/ |
| D | linux_ptrace.c | 192 MALLOC(regs, struct reg*, sizeof(struct reg), M_TEMP, M_WAITOK); 194 M_TEMP, M_WAITOK); 221 MALLOC(regs, struct reg*, sizeof(struct reg), M_TEMP, M_WAITOK); 223 M_TEMP, M_WAITOK); 250 M_TEMP, M_WAITOK); 252 sizeof(struct linux_fpctx), M_TEMP, M_WAITOK); 270 M_TEMP, M_WAITOK); 272 sizeof(struct linux_fpctx), M_TEMP, M_WAITOK); 368 FREE(regs, M_TEMP); 370 FREE(fpregs, M_TEMP); [all …]
|
| D | linux_getcwd.c | 193 dirbuf = (char *)malloc(dirbuflen, M_TEMP, M_WAITOK); 276 free(dirbuf, M_TEMP); 567 path = (char *)malloc(len, M_TEMP, M_WAITOK); 589 free(path, M_TEMP);
|
| /mirbsd/src/sys/kern/ |
| D | exec_elf.c | 390 ph = (Elf_Phdr *)malloc(phsize, M_TEMP, M_WAITOK); in ELFNAME() 511 free((char *)ph, M_TEMP); in ELFNAME() 562 ph = (Elf_Phdr *)malloc(phsize, M_TEMP, M_WAITOK); in ELFNAME2() 725 ip = (char *)malloc(MAXPATHLEN, M_TEMP, M_WAITOK); in ELFNAME2() 727 malloc(sizeof(struct elf_args), M_TEMP, M_WAITOK); in ELFNAME2() 746 free((char *)ph, M_TEMP); in ELFNAME2() 751 free((char *)ph, M_TEMP); in ELFNAME2() 777 free((char *)ap, M_TEMP); in ELFNAME2() 778 free((char *)interp, M_TEMP); in ELFNAME2() 828 free((char *)ap, M_TEMP); in ELFNAME2() [all …]
|
| D | kern_kthread.c | 142 kq = malloc(sizeof *kq, M_TEMP, M_NOWAIT); in kthread_create_deferred() 161 free(kq, M_TEMP); in kthread_run_deferred_queue()
|
| D | sys_generic.c | 253 ktriov = malloc(iovlen, M_TEMP, M_WAITOK); 269 free(ktriov, M_TEMP); 467 ktriov = malloc(iovlen, M_TEMP, M_WAITOK); 486 free(ktriov, M_TEMP); 669 mbits = malloc(ni * 6, M_TEMP, M_WAITOK); in sys_select() 754 free(pibits[0], M_TEMP); in sys_select() 928 pl = (struct pollfd *) malloc(sz, M_TEMP, M_WAITOK); in sys_poll() 992 free(pl, M_TEMP); in sys_poll()
|
| D | kern_ktrace.c | 110 ktp = malloc(len, M_TEMP, M_WAITOK); 119 free(ktp, M_TEMP); 200 ktp = malloc(buflen, M_TEMP, M_WAITOK); 237 free(ktp, M_TEMP);
|
| /mirbsd/src/sys/compat/common/ |
| D | compat_dir.c | 77 buf = malloc(buflen, M_TEMP, M_WAITOK); 94 free(cookies, M_TEMP); 167 free(cookies, M_TEMP); 170 free(buf, M_TEMP);
|
| D | compat_util.c | 74 buf = (char *) malloc(MAXPATHLEN, M_TEMP, M_WAITOK); 164 free(buf, M_TEMP); 177 free(buf, M_TEMP);
|
| /mirbsd/src/sys/miscfs/procfs/ |
| D | procfs_cmdline.c | 77 arg = malloc(PAGE_SIZE, M_TEMP, M_WAITOK); 91 free(arg, M_TEMP); 106 free(arg, M_TEMP); 188 free(arg, M_TEMP);
|
| D | procfs_status.c | 170 ps = malloc(len, M_TEMP, M_WAITOK); 181 free(ps, M_TEMP);
|
| D | procfs_subr.c | 128 MALLOC(pfs, void *, sizeof(struct pfsnode), M_TEMP, M_WAITOK); 202 FREE(vp->v_data, M_TEMP);
|
| /mirbsd/src/sys/scsi/ |
| D | cd.c | 939 MALLOC(toc, struct cd_toc *, sizeof(struct cd_toc), M_TEMP, 947 FREE(toc, M_TEMP); 954 FREE(toc, M_TEMP); 979 FREE(toc, M_TEMP); 992 MALLOC(toc, struct cd_toc *, sizeof(struct cd_toc), M_TEMP, 1001 FREE(toc, M_TEMP); 1020 FREE(toc, M_TEMP); 1171 MALLOC(toc, struct cd_toc *, sizeof(struct cd_toc), M_TEMP, M_WAITOK); 1221 free(toc, M_TEMP); 1292 data = malloc(sizeof(*data), M_TEMP, M_NOWAIT); [all …]
|
| /mirbsd/src/sys/arch/sparc/sparc/ |
| D | openprom.c | 118 *cpp = cp = malloc(len + 1, M_TEMP, M_WAITOK); 180 value = malloc(len, M_TEMP, M_WAITOK); 249 free(name, M_TEMP); 251 free(value, M_TEMP);
|
| /mirbsd/src/sys/arch/i386/i386/ |
| D | sys_machdep.c | 120 cp = malloc(ua.num * sizeof(union descriptor), M_TEMP, M_WAITOK); 136 free(cp, M_TEMP); 157 free(cp, M_TEMP); 185 descv = malloc(sizeof (*descv) * ua.num, M_TEMP, M_NOWAIT); 328 free(descv, M_TEMP);
|
| /mirbsd/src/sys/dev/cardbus/ |
| D | cardslot.c | 251 …if (NULL == (ce = (struct cardslot_event *)malloc(sizeof (struct cardslot_event), M_TEMP, M_NOWAIT… 315 free(ce1, M_TEMP); 317 free(ce2, M_TEMP); 408 free(ce, M_TEMP);
|
| /mirbsd/src/sys/dev/usb/ |
| D | hid.c | 101 s = malloc(sizeof *s, M_TEMP, M_WAITOK); in hid_start_parse() 118 free(s->cur.next, M_TEMP); in hid_end_parse() 121 free(s, M_TEMP); in hid_end_parse() 304 hi = malloc(sizeof *hi, M_TEMP, M_WAITOK); in hid_get_item() 313 free(hi, M_TEMP); in hid_get_item()
|
| D | ugen.c | 1005 cdesc = malloc(len, M_TEMP, M_WAITOK); in ugen_get_cdesc() 1016 cdesc = malloc(len, M_TEMP, M_WAITOK); in ugen_get_cdesc() 1020 free(cdesc, M_TEMP); in ugen_get_cdesc() 1149 free(cdesc, M_TEMP); in ugen_do_ioctl() 1154 free(cdesc, M_TEMP); in ugen_do_ioctl() 1166 free(cdesc, M_TEMP); in ugen_do_ioctl() 1180 free(cdesc, M_TEMP); in ugen_do_ioctl() 1184 free(cdesc, M_TEMP); in ugen_do_ioctl() 1199 free(cdesc, M_TEMP); in ugen_do_ioctl() 1203 free(cdesc, M_TEMP); in ugen_do_ioctl() [all …]
|
| /mirbsd/src/sys/uvm/ |
| D | uvm_device.c | 219 MALLOC(udv, struct uvm_device *, sizeof(*udv), M_TEMP, 240 FREE(udv, M_TEMP); 336 FREE(udv, M_TEMP);
|
| /mirbsd/src/sys/ntfs/ |
| D | ntfs_subr.c | 225 alpool = (caddr_t) malloc(len, M_TEMP, M_WAITOK); in ntfs_ntvattrget() 281 free(alpool, M_TEMP); in ntfs_ntvattrget() 304 M_TEMP, M_WAITOK); in ntfs_loadntnode() 376 free(mfrp, M_TEMP); in ntfs_loadntnode() 853 FREE(fp->f_attrname, M_TEMP); in ntfs_frele() 906 *attrname = (char *) malloc(namelen, M_TEMP, M_WAITOK); in ntfs_ntlookupattr() 981 rdbuf = (caddr_t) malloc(blsize, M_TEMP, M_WAITOK); in ntfs_ntlookupfile() 1029 M_TEMP, M_WAITOK); in ntfs_ntlookupfile() 1063 FREE(attrname, M_TEMP); in ntfs_ntlookupfile() 1156 FREE(tctx, M_TEMP); in ntfs_ntlookupfile() [all …]
|
| /mirbsd/src/sys/isofs/cd9660/ |
| D | cd9660_vnops.c | 266 MALLOC(cp, char *, MAXPATHLEN, M_TEMP, M_WAITOK); 281 FREE(cp, M_TEMP); 575 MALLOC(idp, struct isoreaddir *, sizeof(*idp), M_TEMP, M_WAITOK); 591 MALLOC(cookies, u_long *, ncookies * sizeof(u_long), M_TEMP, 602 FREE(idp, M_TEMP); 710 free(cookies, M_TEMP); 726 FREE(idp, M_TEMP);
|
| /mirbsd/src/sys/nfs/ |
| D | nfs.h | 97 #define M_NFSRVDESC M_TEMP 100 #define M_NFSDIROFF M_TEMP 103 #define M_NFSBIGFH M_TEMP
|
| D | nfs_serv.c | 616 M_TEMP, M_WAITOK); 642 FREE((caddr_t)iv2, M_TEMP); 789 MALLOC(ivp, struct iovec *, cnt * sizeof (struct iovec), M_TEMP, 823 FREE((caddr_t)iv, M_TEMP); 1067 M_TEMP, M_WAITOK); 1082 FREE((caddr_t)iov, M_TEMP); 2021 MALLOC(pathcp, caddr_t, len2 + 1, M_TEMP, M_WAITOK); 2075 FREE(pathcp, M_TEMP); 2104 FREE(pathcp, M_TEMP); 2431 MALLOC(rbuf, caddr_t, siz, M_TEMP, M_WAITOK); [all …]
|
| /mirbsd/src/sys/net/ |
| D | if.c | 387 M_TEMP, M_NOWAIT); in if_attachhead() 392 M_TEMP, M_NOWAIT); in if_attachhead() 412 M_TEMP, M_NOWAIT); in if_attach() 417 M_TEMP, M_NOWAIT); in if_attach() 600 free(ifp->if_addrhooks, M_TEMP); in if_detach() 601 free(ifp->if_linkstatehooks, M_TEMP); in if_detach() 815 ifq->ifq_congestion = malloc(sizeof(struct timeout), M_TEMP, M_NOWAIT); in if_congestion() 832 free(to, M_TEMP); in if_congestion_clear()
|
| /mirbsd/src/sys/miscfs/portal/ |
| D | portal_vnops.c | 209 MALLOC(fvp->v_data, void *, sizeof(struct portalnode), M_TEMP, 222 pt->pt_arg = malloc(size+1, M_TEMP, M_WAITOK); 628 free(pt->pt_arg, M_TEMP); 631 FREE(ap->a_vp->v_data, M_TEMP);
|
| /mirbsd/src/sys/dev/ |
| D | rnd.c | 853 MALLOC(buf, uint16_t *, POOLBYTES, M_TEMP, M_WAITOK); in randomread() 921 FREE(buf, M_TEMP); in randomread() 1027 MALLOC(buf, uint8_t *, POOLBYTES, M_TEMP, M_WAITOK); in randomwrite() 1059 FREE(buf, M_TEMP); in randomwrite()
|