Searched refs:M_TEMP (Results 1 - 25 of 297) sorted by relevance

1234567891011>>

/freebsd-current/sys/contrib/dpdk_rte_lpm/
H A Drte_shim.h4 #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 Dredzone.c56 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 Defichar.h41 #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 Defidev.c67 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 Ddrm_linux_list_sort.c63 ar = malloc(sizeof(struct list_head *) * count, M_TEMP, M_WAITOK);
73 free(ar, M_TEMP);
/freebsd-current/sys/compat/linux/
H A Dlinux_getcwd.c68 buf = malloc(buflen, M_TEMP, M_WAITOK);
77 free(buf, M_TEMP);
H A Dlinux_elf.c164 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 Delf_common.c57 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 Dlinsysfs.c225 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 Ddfs_null.c231 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 Dif_ath_spectral.c114 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 Dif_ath_ioctl.c181 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 Dif_ath_btcoex.c441 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 Dvga_isa.c83 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 Dfdc_acpi.c111 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 Duipc_accf.c171 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 Dsubr_counter.c98 out = malloc(arg2 * sizeof(uint64_t), M_TEMP, M_WAITOK);
103 free(out, M_TEMP);
H A Dkern_cpu.c222 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 Dp9_protocol.c50 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 Dopenfirmio.c100 *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 Dprocfs.c72 binpath = malloc(MAXPATHLEN, M_TEMP, M_WAITOK);
77 free(binpath, M_TEMP);
78 free(freepath, M_TEMP);
/freebsd-current/sys/fs/nfsserver/
H A Dnfs_nfsdport.c886 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 Dif_mib.c120 if ((dbuf = malloc(dlen, M_TEMP, M_NOWAIT)) == NULL) {
132 free(dbuf, M_TEMP);
/freebsd-current/sys/dev/cfi/
H A Dcfi_dev.c108 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 Dptrace_machdep.c116 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);

Completed in 306 milliseconds

1234567891011>>