Lines Matching refs:sfp
646 prmount(struct statfs *sfp) in prmount() argument
654 xo_emit("{:special/%hs}{L: on }{:node/%hs}{L: (}{:fstype}", sfp->f_mntfromname, in prmount()
655 sfp->f_mntonname, sfp->f_fstypename); in prmount()
657 flags = sfp->f_flags & MNT_VISFLAGMASK; in prmount()
667 if ((flags & MNT_USER) != 0 || sfp->f_owner != 0) { in prmount()
669 if ((pw = getpwuid(sfp->f_owner)) != NULL) in prmount()
672 xo_emit("{:mounter/%hs}", sfp->f_owner); in prmount()
675 if (sfp->f_syncwrites != 0 || sfp->f_asyncwrites != 0) { in prmount()
678 (uintmax_t)sfp->f_syncwrites, in prmount()
679 (uintmax_t)sfp->f_asyncwrites); in prmount()
682 if (sfp->f_syncreads != 0 || sfp->f_asyncreads != 0) { in prmount()
685 (uintmax_t)sfp->f_syncreads, in prmount()
686 (uintmax_t)sfp->f_asyncreads); in prmount()
689 if (sfp->f_fsid.val[0] != 0 || sfp->f_fsid.val[1] != 0) { in prmount()
690 fsidbuf = malloc(sizeof(sfp->f_fsid) * 2 + 1); in prmount()
693 for (i = 0; i < sizeof(sfp->f_fsid); i++) in prmount()
695 ((u_char *)&sfp->f_fsid)[i]); in prmount()
700 if (sfp->f_nvnodelistsize != 0) { in prmount()
703 (uintmax_t)sfp->f_nvnodelistsize); in prmount()