/freebsd-current/sys/contrib/dpdk_rte_lpm/ |
H A D | rte_shim.h | 4 #define rte_malloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT) 5 #define rte_free(_ptr) free(_ptr, M_TEMP) 6 #define rte_zmalloc(_type, _size, _align) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO) 7 #define rte_zmalloc_socket(_type, _size, _align, _s) malloc(_size, M_TEMP, M_NOWAIT | M_ZERO)
|
/freebsd-current/tools/regression/redzone9/ |
H A D | redzone.c | 56 p = malloc(10, M_TEMP, M_NOWAIT); 62 p = malloc(10, M_TEMP, M_NOWAIT); 68 p = malloc(8192, M_TEMP, M_NOWAIT); 72 p = realloc(p, 10, M_TEMP, M_NOWAIT); 77 p = malloc(8192, M_TEMP, M_NOWAIT); 81 p = realloc(p, 10, M_TEMP, M_NOWAIT); 86 p = malloc(10, M_TEMP, M_NOWAIT); 90 p = realloc(p, 8192, M_TEMP, M_NOWAIT); 95 p = malloc(10, M_TEMP, M_NOWAIT); 99 p = realloc(p, 8192, M_TEMP, M_NOWAI [all...] |
/freebsd-current/stand/efi/include/ |
H A D | efichar.h | 41 #define EFICHAR_MALLOC(sz) malloc((sz), M_TEMP, M_WAITOK | M_ZERO) 42 #define EFICHAR_FREE(sz) free((sz), M_TEMP)
|
/freebsd-current/sys/dev/efidev/ |
H A D | efidev.c | 67 free(buf, M_TEMP); 72 free(buf, M_TEMP); 111 data = malloc(ev->datasize, M_TEMP, M_WAITOK); 112 name = malloc(ev->namesize, M_TEMP, M_WAITOK); 137 free(data, M_TEMP); 138 free(name, M_TEMP); 146 name = malloc(ev->namesize, M_TEMP, M_WAITOK); 160 free(name, M_TEMP); 171 data = malloc(ev->datasize, M_TEMP, M_WAITOK); 172 name = malloc(ev->namesize, M_TEMP, M_WAITO [all...] |
/freebsd-current/sys/dev/drm2/ |
H A D | drm_linux_list_sort.c | 63 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK); 73 free(ar, M_TEMP);
|
/freebsd-current/sys/compat/linux/ |
H A D | linux_getcwd.c | 68 buf = malloc(buflen, M_TEMP, M_WAITOK); 77 free(buf, M_TEMP);
|
H A D | linux_elf.c | 164 psinfo = malloc(sizeof(*psinfo), M_TEMP, M_ZERO | M_WAITOK); 210 free(psinfo, M_TEMP); 229 status = malloc(sizeof(*status), M_TEMP, M_ZERO | M_WAITOK); 244 free(status, M_TEMP); 258 fpregset = malloc(sizeof(*fpregset), M_TEMP, M_ZERO | M_WAITOK); 265 free(fpregset, M_TEMP); 284 buf = malloc(size, M_TEMP, M_ZERO | M_WAITOK); 292 free(buf, M_TEMP); 501 aarray = pos = malloc(LINUX_AT_COUNT * sizeof(*pos), M_TEMP, 538 free(imgp->auxargs, M_TEMP); [all...] |
/freebsd-current/sys/powerpc/powerpc/ |
H A D | elf_common.c | 57 argarray = pos = malloc(AT_OLD_COUNT * sizeof(*pos), M_TEMP, 98 free(imgp->auxargs, M_TEMP); 103 free(argarray, M_TEMP);
|
/freebsd-current/sys/compat/linsysfs/ |
H A D | linsysfs.c | 225 temp = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); 226 path = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); 236 free(temp, M_TEMP); 250 free(path, M_TEMP); 271 devname = malloc(16, M_TEMP, M_WAITOK); 281 device = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); 282 new_path = malloc(MAXPATHLEN, M_TEMP, 286 host = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); 363 free(device, M_TEMP); 364 free(host, M_TEMP); [all...] |
/freebsd-current/sys/dev/ath/ath_dfs/null/ |
H A D | dfs_null.c | 231 indata = malloc(insize, M_TEMP, M_NOWAIT); 248 outdata = malloc(outsize, M_TEMP, M_NOWAIT); 279 free(indata, M_TEMP); 281 free(outdata, M_TEMP);
|
/freebsd-current/sys/dev/ath/ |
H A D | if_ath_spectral.c | 114 M_TEMP, M_WAITOK | M_ZERO); 140 free(sc->sc_spectral, M_TEMP); 201 indata = malloc(insize, M_TEMP, M_NOWAIT); 218 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); 289 free(indata, M_TEMP); 291 free(outdata, M_TEMP);
|
H A D | if_ath_ioctl.c | 181 indata = malloc(insize, M_TEMP, M_NOWAIT); 198 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); 227 free(indata, M_TEMP); 229 free(outdata, M_TEMP);
|
H A D | if_ath_btcoex.c | 441 indata = malloc(insize, M_TEMP, M_NOWAIT); 458 outdata = malloc(outsize, M_TEMP, M_NOWAIT | M_ZERO); 475 free(indata, M_TEMP); 477 free(outdata, M_TEMP);
|
/freebsd-current/sys/isa/ |
H A D | vga_isa.c | 83 sc->state_buf = malloc(nbytes, M_TEMP, M_NOWAIT); 91 free(sc->state_buf, M_TEMP); 99 sc->pal_buf = malloc(256 * 3, M_TEMP, M_NOWAIT); 106 free(sc->pal_buf, M_TEMP); 121 free(sc->state_buf, M_TEMP); 127 free(sc->pal_buf, M_TEMP);
|
/freebsd-current/sys/dev/fdc/ |
H A D | fdc_acpi.c | 111 buf.Pointer = malloc(buf.Length, M_TEMP, M_NOWAIT | M_ZERO); 141 free(buf.Pointer, M_TEMP); 158 ctx = malloc(sizeof(struct fdc_walk_ctx), M_TEMP, M_NOWAIT); 178 free(ctx, M_TEMP); 217 buf.Pointer = malloc(buf.Length, M_TEMP, M_NOWAIT | M_ZERO); 249 free(buf.Pointer, M_TEMP);
|
/freebsd-current/sys/kern/ |
H A D | uipc_accf.c | 171 afap = malloc(sizeof(*afap), M_TEMP, M_WAITOK | M_ZERO); 188 free(afap, M_TEMP); 255 afap = malloc(sizeof(*afap), M_TEMP, M_WAITOK); 260 free(afap, M_TEMP); 265 free(afap, M_TEMP); 309 free(afap, M_TEMP);
|
H A D | subr_counter.c | 98 out = malloc(arg2 * sizeof(uint64_t), M_TEMP, M_WAITOK); 103 free(out, M_TEMP);
|
H A D | kern_cpu.c | 222 free(saved_freq, M_TEMP); 386 curr_freq = malloc(sizeof(*curr_freq), M_TEMP, M_NOWAIT); 403 free(saved_freq, M_TEMP); 500 levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT); 507 free(levels, M_TEMP); 559 free(levels, M_TEMP); 596 sets = malloc(MAX_SETTINGS * sizeof(*sets), M_TEMP, M_NOWAIT); 612 set_arr = malloc(sizeof(*set_arr), M_TEMP, M_NOWAIT); 626 free(sets, M_TEMP); 712 free(lev, M_TEMP); [all...] |
/freebsd-current/sys/fs/p9fs/ |
H A D | p9_protocol.c | 50 free(stbuf->name, M_TEMP); 51 free(stbuf->uid, M_TEMP); 52 free(stbuf->gid, M_TEMP); 53 free(stbuf->muid, M_TEMP); 54 free(stbuf->extension, M_TEMP); 155 sptr = malloc(len + 1, M_TEMP, M_NOWAIT | M_ZERO); 159 free(sptr, M_TEMP); 250 wnames = malloc(sizeof(char *) * nwname, M_TEMP, M_NOWAIT | M_ZERO); 257 free((wnames)[i], M_TEMP); 258 free(wnames, M_TEMP); [all...] |
/freebsd-current/sys/dev/ofw/ |
H A D | openfirmio.c | 100 *cpp = cp = malloc(len + 1, M_TEMP, M_WAITOK); 170 value = malloc(len, M_TEMP, M_WAITOK); 192 value = malloc(of->of_buflen, M_TEMP, M_WAITOK); 265 free(name, M_TEMP); 267 free(value, M_TEMP);
|
/freebsd-current/sys/fs/procfs/ |
H A D | procfs.c | 72 binpath = malloc(MAXPATHLEN, M_TEMP, M_WAITOK); 77 free(binpath, M_TEMP); 78 free(freepath, M_TEMP);
|
/freebsd-current/sys/fs/nfsserver/ |
H A D | nfs_nfsdport.c | 886 free(iv, M_TEMP); 944 *ivp = iv = malloc(i * sizeof (struct iovec), M_TEMP, M_WAITOK); 999 *ivp = iv = malloc(i * sizeof (struct iovec), M_TEMP, M_WAITOK); 1072 free(iv, M_TEMP); 1131 *ivpp = ivp = malloc(cnt * sizeof (struct iovec), M_TEMP, 1199 free(iv, M_TEMP); 1462 pathcp = malloc(len + 1, M_TEMP, M_WAITOK); 1476 free(pathcp, M_TEMP); 1841 tsf = malloc(sizeof(*tsf), M_TEMP, M_WAITOK | M_ZERO); 1844 free(tsf, M_TEMP); 7222 free(NFSD_VNET(nfsv4root_mnt), M_TEMP); local [all...] |
/freebsd-current/sys/net/ |
H A D | if_mib.c | 120 if ((dbuf = malloc(dlen, M_TEMP, M_NOWAIT)) == NULL) { 132 free(dbuf, M_TEMP);
|
/freebsd-current/sys/dev/cfi/ |
H A D | cfi_dev.c | 108 sc->sc_wrbuf = malloc(sc->sc_wrbufsz, M_TEMP, M_WAITOK); 127 sc->sc_wrbufcpy = malloc(sc->sc_wrbufsz, M_TEMP, M_WAITOK); 143 free(sc->sc_wrbuf, M_TEMP); 144 free(sc->sc_wrbufcpy, M_TEMP);
|
/freebsd-current/sys/i386/i386/ |
H A D | ptrace_machdep.c | 116 savefpu = malloc(data, M_TEMP, M_WAITOK); 122 free(savefpu, M_TEMP); 147 savefpu = malloc(data, M_TEMP, M_WAITOK); 153 free(savefpu, M_TEMP);
|