Lines Matching defs:mount
61 #include <sys/mount.h>
164 static char *getmnton(struct mount *);
299 "USER CMD PID FD MOUNT INUM MODE %s R/W",
865 dprintf("can't read mount struct at %p for pid %d", de.de_pmp,
882 struct mount mount;
891 if (!KVM_READ(vp->v_mount, &mount, sizeof(struct mount))) {
892 dprintf("can't read mount struct at %p for pid %d",
902 fsp->fsid = mount.mnt_stat.f_fsidx.__fsid_val[0];
907 getmnton(struct mount *m)
909 static struct mount mount;
912 struct mount *m;
920 if (!KVM_READ(m, &mount, sizeof(struct mount))) {
921 warnx("can't read mount table at %p", m);
928 (void)memmove(&mt->mntonname[0], &mount.mnt_stat.f_mntonname[0],