Home
last modified time | relevance | path

Searched refs:qfile (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c301 char qfile[MAXPATHLEN]; in quotactl() local
307 if ((strlcpy(qfile, mountpt, sizeof (qfile)) >= sizeof (qfile)) || in quotactl()
308 (strlcat(qfile, "/" QFNAME, sizeof (qfile)) >= sizeof (qfile))) { in quotactl()
312 if ((fd = open64(qfile, O_RDWR)) < 0) { in quotactl()
313 fprintf(stderr, "quotactl: %s ", qfile); in quotactl()
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c705 char qfile[MAXPATHLEN]; in quotactl() local
726 if ((strlcpy(qfile, mntp.mnt_mountp, in quotactl()
727 sizeof (qfile)) >= sizeof (qfile)) || in quotactl()
728 (strlcat(qfile, "/" QFNAME, sizeof (qfile)) >= in quotactl()
729 sizeof (qfile))) { in quotactl()
732 if ((fd = open64(qfile, O_RDWR)) == -1) in quotactl()
745 if ((strlcpy(qfile, mountp, sizeof (qfile)) >= in quotactl()
746 sizeof (qfile)) || in quotactl()
747 (strlcat(qfile, "/" QFNAME, sizeof (qfile)) >= in quotactl()
748 sizeof (qfile))) { in quotactl()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c669 char qfile[MAXPATHLEN]; in quotactl() local
691 if ((strlcpy(qfile, mnt.mnt_mountp, in quotactl()
692 sizeof (qfile)) >= sizeof (qfile)) || in quotactl()
693 (strlcat(qfile, "/" QFNAME, sizeof (qfile)) >= in quotactl()
694 sizeof (qfile))) { in quotactl()
698 fd = open64(qfile, O_RDONLY); in quotactl()
713 if ((strlcpy(qfile, mountp, sizeof (qfile)) >= sizeof in quotactl()
714 (qfile)) || in quotactl()
715 (strlcat(qfile, "/" QFNAME, sizeof (qfile)) >= sizeof in quotactl()
716 (qfile))) { in quotactl()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/edquota/
H A Dedquota.c817 char qfile[MAXPATHLEN]; in quotactl() local
842 qfile[0] = '\0'; in quotactl()
856 if (strlcpy(qfile, mntp.mnt_mountp, in quotactl()
857 sizeof (qfile)) >= sizeof (qfile)) { in quotactl()
864 if (strlcpy(qfile, mntp.mnt_mountp, in quotactl()
865 sizeof (qfile)) >= sizeof (qfile)) { in quotactl()
872 if (qfile[0] == '\0') { in quotactl()
882 if (strlcat(qfile, "/" QFNAME, sizeof (qfile)) >= in quotactl()
883 sizeof (qfile)) { in quotactl()
890 if ((fd = open64(qfile, open_flags)) < 0) { in quotactl()
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c436 char qfile[MAXPATHLEN]; in quotactl() local
459 if ((strlcpy(qfile, mntp.mnt_mountp, in quotactl()
460 sizeof (qfile)) >= sizeof (qfile)) || in quotactl()
461 (strlcat(qfile, "/" QFNAME, sizeof (qfile)) >= in quotactl()
462 sizeof (qfile))) { in quotactl()
467 if ((fd = open64(qfile, O_RDONLY)) >= 0) in quotactl()