| /freebsd-13-stable/lib/libutil/ |
| HD | quotafile.c | 115 struct quotafile *qf; in quota_open() local 122 if ((qf = calloc(1, sizeof(*qf))) == NULL) in quota_open() 124 qf->fd = -1; in quota_open() 125 qf->quotatype = quotatype; in quota_open() 126 strlcpy(qf->fsname, fs->fs_file, sizeof(qf->fsname)); in quota_open() 127 if (stat(qf->fsname, &st) != 0) in quota_open() 129 qf->dev = st.st_dev; in quota_open() 137 serrno = hasquota(fs, quotatype, qf->qfname, in quota_open() 138 sizeof(qf->qfname)); in quota_open() 140 if (quotactl(qf->fsname, qcmd, 0, &qf->wordsize) == 0) in quota_open() [all …]
|
| /freebsd-13-stable/usr.sbin/quotaon/ |
| HD | quotaon.c | 155 struct quotafile *qf; in quotaonoff() local 157 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL) in quotaonoff() 160 if (quota_off(qf) != 0) { in quotaonoff() 161 warn("%s", quota_fsname(qf)); in quotaonoff() 165 printf("%s: quotas turned off\n", quota_fsname(qf)); in quotaonoff() 166 quota_close(qf); in quotaonoff() 169 if (quota_on(qf) != 0) { in quotaonoff() 170 warn("using %s on %s", quota_qfname(qf), quota_fsname(qf)); in quotaonoff() 175 quota_fsname(qf), qfextension[type], quota_qfname(qf)); in quotaonoff() 176 quota_close(qf); in quotaonoff()
|
| /freebsd-13-stable/usr.sbin/ctladm/tests/ |
| HD | port.sh | 86 atf_check -o save:portlist.txt ctladm portlist -qf ioctl 130 atf_check -o save:portlist.txt ctladm portlist -qf iscsi 197 atf_check -o save:portlist.txt ctladm portlist -qf ioctl 221 atf_check -o save:portlist.txt ctladm portlist -qf ioctl 223 atf_check -o match:"^$portnum *NO" ctladm portlist -qf ioctl 242 atf_check -o save:portlist.txt ctladm portlist -qf ioctl 245 atf_check -o match:"^$portnum *YES" ctladm portlist -qf ioctl 266 atf_check -o save:portlist.txt ctladm portlist -qf ioctl 270 if ctladm portlist -qf ioctl | egrep -q "^${portnum} .*10001 *10002"; then 271 ctladm portlist -qf ioctl [all …]
|
| /freebsd-13-stable/crypto/openssh/regress/ |
| HD | keygen-knownhosts.sh | 160 ${SSHKEYGEN} -qf $OBJ/kh.invalid -R host-a 2>/dev/null 165 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-a 2>/dev/null 171 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-c 2>/dev/null 177 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-d 2>/dev/null 183 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-e.blahblah 2>/dev/null 189 ${SSHKEYGEN} -qf $OBJ/kh.hosts -R host-h 2>/dev/null 195 ${SSHKEYGEN} -qf $OBJ/kh.invalid -H 2>/dev/null && fail "hash invalid succeeded" 200 ${SSHKEYGEN} -qf $OBJ/kh.hosts -H 2>/dev/null || fail "hash failed" 219 ${SSHKEYGEN} -qf $OBJ/kh.hashed -R host-a 2>/dev/null 220 ${SSHKEYGEN} -qf $OBJ/kh.hashed -F host-a && fail "found key after hashed remove"
|
| /freebsd-13-stable/contrib/sendmail/contrib/ |
| HD | bounce-resender.pl | 141 $qf = "qf$ident"; 144 open(MSGHDR,">$qf") || die "Can't write to $qf: $!\n"; 146 chmod(0600, $qf, $df); 220 print "$myname: Header without message! Line $lineno qf $qf\n";
|
| HD | mailprio | 81 # mailprio -q /var/spool/mqueue/qf* 381 X mailprio -q /var/spool/mqueue/qf* [not recommended]
|
| /freebsd-13-stable/libexec/rpc.rquotad/ |
| HD | rquotad.c | 278 struct quotafile *qf; in getfsquota() local 301 qf = quota_open(&fst, type, O_RDONLY); in getfsquota() 305 qf); in getfsquota() 306 if (qf == NULL) in getfsquota() 309 rv = quota_read(qf, dqblk, id) == 0; in getfsquota() 310 quota_close(qf); in getfsquota()
|
| /freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/ |
| HD | projectspace_003_pos.ksh | 71 log_must user_run $PUSER mkfiles $PRJDIR1/qf $((prj_cnt1 - 1)) 72 log_must user_run $PUSER mkfiles $PRJDIR2/qf $((prj_cnt2 - 1)) 93 log_must chattr -p $PRJID2 $PRJDIR1/qf*
|
| HD | projectspace_004_pos.ksh | 65 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
|
| HD | projectspace_002_pos.ksh | 65 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
|
| HD | projectquota_006_pos.ksh | 67 log_must user_run $PUSER mkfile 100m $PRJDIR/qf
|
| HD | projectspace_001_pos.ksh | 72 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
|
| HD | projectquota_003_pos.ksh | 67 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf
|
| HD | projectquota_001_pos.ksh | 68 log_must user_run $PUSER mkfile $PQUOTA_LIMIT $PRJDIR/qf
|
| /freebsd-13-stable/usr.sbin/repquota/ |
| HD | repquota.c | 201 struct quotafile *qf; in repquota() local 206 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL) { in repquota() 225 maxid = quota_maxid(qf); in repquota() 227 if (quota_read(qf, &dqbuf, id) != 0) in repquota() 258 quota_close(qf); in repquota()
|
| /freebsd-13-stable/sbin/quotacheck/ |
| HD | quotacheck.c | 431 update(const char *fsname, struct quotafile *qf, int type) in update() argument 443 lastid = quota_maxid(qf); in update() 445 if (quota_read(qf, &dqbuf, id) < 0) in update() 462 (void) quota_write_usage(qf, &dqbuf, id); in update() 484 (void) quota_write_usage(qf, &dqbuf, fup->fu_id); in update() 495 stat(quota_qfname(qf), &sb) == 0 && in update() 497 truncate(quota_qfname(qf), in update()
|
| /freebsd-13-stable/usr.sbin/edquota/ |
| HD | edquota.c | 90 struct quotafile *qf; member 372 struct quotafile *qf; in getprivs() local 385 if ((qf = quota_open(fs, quotatype, O_CREAT|O_RDWR)) == NULL) { in getprivs() 392 qup->qf = qf; in getprivs() 394 if (quota_read(qf, &qup->dqblk, id) == -1) { in getprivs() 422 if (quota_write_limits(qup->qf, &qup->dqblk, id) == -1) in putprivs() 939 quota_close(qup->qf); in freeprivs()
|
| /freebsd-13-stable/sys/contrib/openzfs/config/ |
| HD | tgz.am | 15 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ 23 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
|
| HD | deb.am | 34 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ 44 arch=`$(RPM) -qp $${name}-dkms-$${version}.src.rpm --qf %{arch} | tail -1`; \ 53 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
|
| /freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/ |
| HD | tst.ZeroFunctionProbes.d.ksh | 62 -qf read'{printf("I am done"); exit(0);}'
|
| /freebsd-13-stable/contrib/sendmail/src/ |
| HD | queue.c | 364 char qf[MAXPATHLEN]; local 915 (void) sm_strlcpy(qf, queuename(e, ANYQFL_LETTER), 916 sizeof(qf)); 917 if (rename(tf, qf) < 0) 919 tf, qf, (long) geteuid()); 964 SYNC_DIR(qf, true); 974 sm_syslog(LOG_DEBUG, e->e_id, "queueup %s", qf); 2569 char qf[MAXPATHLEN]; local 2717 (void) sm_strlcpyn(qf, sizeof(qf), 3, qd, "/", d->d_name); 2718 if (stat(qf, &sbuf) < 0) [all …]
|
| /freebsd-13-stable/usr.bin/quota/ |
| HD | quota.c | 556 struct quotafile *qf; in getufsquota() local 558 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL) in getufsquota() 560 if (quota_read(qf, &qup->dqblk, id) != 0) in getufsquota() 562 quota_close(qf); in getufsquota()
|
| /freebsd-13-stable/contrib/file/magic/Magdir/ |
| HD | xenix | 15 # URL: http://www.polarhome.com/service/man/?qf=86rel&tf=2&of=Xenix 56 # URL: http://www.polarhome.com/service/man/?qf=a.out&tf=2&of=Xenix 144 # URL: http://www.polarhome.com/service/man/?qf=a.out&tf=2&of=Xenix 155 # URL: http://www.polarhome.com/service/man/?qf=a.out&tf=2&of=Xenix
|
| /freebsd-13-stable/tests/sys/cddl/zfs/tests/userquota/ |
| HD | userquota.cfg | 41 export QFILE=$TESTDIR/qf.${TESTCASE_ID}
|
| /freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
| HD | userquota.cfg | 42 export QFILE=$TESTDIR/qf
|