Searched refs:xvfsp (Results 1 - 4 of 4) sorted by relevance

/freebsd-9.3-release/lib/libc/gen/
H A Dgetvfsbyname.c52 struct xvfsconf *xvfsp; local
58 xvfsp = malloc(buflen);
59 if (xvfsp == NULL)
61 if (sysctlbyname("vfs.conflist", xvfsp, &buflen, NULL, 0) < 0) {
62 free(xvfsp);
67 if (strcmp(fsname, xvfsp[i].vfc_name) == 0) {
68 memcpy(vfcp, xvfsp + i, sizeof(struct xvfsconf));
69 free(xvfsp);
73 free(xvfsp);
/freebsd-9.3-release/usr.bin/lsvfs/
H A Dlsvfs.c45 struct xvfsconf vfc, *xvfsp; local
65 xvfsp = malloc(buflen);
66 if (xvfsp == NULL)
68 if (sysctlbyname("vfs.conflist", xvfsp, &buflen, NULL, 0) < 0)
73 printf(FMT, xvfsp[i].vfc_name, xvfsp[i].vfc_typenum,
74 xvfsp[i].vfc_refcount, fmt_flags(xvfsp[i].vfc_flags));
76 free(xvfsp);
/freebsd-9.3-release/bin/df/
H A Ddf.c577 struct xvfsconf *xvfsp, *keep_xvfsp; local
585 xvfsp = malloc(buflen);
586 if (xvfsp == NULL) {
590 keep_xvfsp = xvfsp;
591 if (sysctlbyname("vfs.conflist", xvfsp, &buflen, NULL, 0) < 0) {
605 if (xvfsp->vfc_flags & VFCF_NETWORK) {
606 listptr[cnt++] = strdup(xvfsp->vfc_name);
614 xvfsp++;
/freebsd-9.3-release/sys/kern/
H A Dvfs_subr.c3269 struct xvfsconf xvfsp; local
3271 bzero(&xvfsp, sizeof(xvfsp));
3272 strcpy(xvfsp.vfc_name, vfsp->vfc_name);
3273 xvfsp.vfc_typenum = vfsp->vfc_typenum;
3274 xvfsp.vfc_refcount = vfsp->vfc_refcount;
3275 xvfsp.vfc_flags = vfsp->vfc_flags;
3280 xvfsp.vfc_vfsops = NULL;
3281 xvfsp.vfc_next = NULL;
3282 return (SYSCTL_OUT(req, &xvfsp, sizeo
3298 struct xvfsconf32 xvfsp; local
[all...]

Completed in 114 milliseconds