Home
last modified time | relevance | path

Searched refs:freebuf (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/contrib/ntp/libntp/lib/isc/win32/
H A Dstrerror.c64 BOOL freebuf; in isc__strerror() local
73 freebuf = FALSE; in isc__strerror()
74 msg = NTstrerror(num, &freebuf); in isc__strerror()
79 if(freebuf && msg != NULL) { in isc__strerror()
/freebsd-14.2/sys/security/mac_do/
H A Dmac_do.c451 char *freebuf = NULL; in check_setgroups() local
460 if (vn_fullpath(curproc->p_textvp, &fullpath, &freebuf) != 0) in check_setgroups()
463 free(freebuf, M_TEMP); in check_setgroups()
466 free(freebuf, M_TEMP); in check_setgroups()
486 char *freebuf = NULL; in check_setuid() local
495 if (vn_fullpath(curproc->p_textvp, &fullpath, &freebuf) != 0) in check_setuid()
498 free(freebuf, M_TEMP); in check_setuid()
501 free(freebuf, M_TEMP); in check_setuid()
/freebsd-14.2/lib/libprocstat/
H A Dcore.c176 void *freebuf; in procstat_core_get() local
227 freebuf = NULL; in procstat_core_get()
229 freebuf = buf = malloc(len); in procstat_core_get()
236 free(freebuf); in procstat_core_get()
241 free(freebuf); in procstat_core_get()
245 if (freebuf == NULL) in procstat_core_get()
249 free(freebuf); in procstat_core_get()
/freebsd-14.2/sys/kern/
H A Dkern_proc.c2275 char **freebuf) in proc_get_binpath() argument
2289 *freebuf = NULL; in proc_get_binpath()
2301 *freebuf = NULL; in proc_get_binpath()
2305 retbuf, freebuf, &freepath_size) == 0) { in proc_get_binpath()
2322 free(*freebuf, M_TEMP); in proc_get_binpath()
2323 *freebuf = NULL; in proc_get_binpath()
2324 error = vn_fullpath(vp, retbuf, freebuf); in proc_get_binpath()
2342 char *retbuf, *freebuf, *binname; in sysctl_kern_proc_pathname() local
2358 error = proc_get_binpath(p, binname, &retbuf, &freebuf); in sysctl_kern_proc_pathname()
2363 free(freebuf, M_TEMP); in sysctl_kern_proc_pathname()
H A Dvfs_cache.c3169 char *retbuf, *freebuf; in kern___realpathat() local
3197 error = vn_fullpath(covered_vp, &retbuf, &freebuf); in kern___realpathat()
3201 nd.ni_cnd.cn_namelen, &retbuf, &freebuf, &size); in kern___realpathat()
3205 free(freebuf, M_TEMP); in kern___realpathat()
3227 vn_fullpath(struct vnode *vp, char **retbuf, char **freebuf) in vn_fullpath() argument
3249 *freebuf = buf; in vn_fullpath()
3262 vn_fullpath_global(struct vnode *vp, char **retbuf, char **freebuf) in vn_fullpath_global() argument
3279 *freebuf = buf; in vn_fullpath_global()
3672 char **retbuf, char **freebuf, size_t *buflen) in vn_fullpath_hardlink() argument
3735 *freebuf = buf; in vn_fullpath_hardlink()
/freebsd-14.2/sys/sys/
H A Dvnode.h710 int vn_fullpath(struct vnode *vp, char **retbuf, char **freebuf);
711 int vn_fullpath_global(struct vnode *vp, char **retbuf, char **freebuf);
714 char **freebuf, size_t *buflen);
/freebsd-14.2/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c1758 char freebuf[32]; in dump_metaslab() local
1760 zdb_nicenum(msp->ms_size - space_map_allocated(sm), freebuf, in dump_metaslab()
1761 sizeof (freebuf)); in dump_metaslab()
1766 (u_longlong_t)space_map_object(sm), freebuf); in dump_metaslab()