| /freebsd-src/lib/libutil/ |
| H A D | 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-src/usr.sbin/quotaon/ |
| H A D | quotaon.c | 143 struct quotafile *qf; in quotaonoff() local 145 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL) in quotaonoff() 148 if (quota_off(qf) != 0) { in quotaonoff() 149 warn("%s", quota_fsname(qf)); in quotaonoff() 153 printf("%s: quotas turned off\n", quota_fsname(qf)); in quotaonoff() 154 quota_close(qf); in quotaonoff() 157 if (quota_on(qf) != 0) { in quotaonoff() 158 warn("using %s on %s", quota_qfname(qf), quota_fsname(qf)); in quotaonoff() 163 quota_fsname(qf), qfextension[type], quota_qfname(qf)); in quotaonoff() 164 quota_close(qf); in quotaonoff()
|
| /freebsd-src/usr.sbin/ctladm/tests/ |
| H A D | 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-src/crypto/openssh/regress/ |
| H A D | 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-src/contrib/sendmail/contrib/ |
| H A D | 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";
|
| /freebsd-src/libexec/rpc.rquotad/ |
| H A D | rquotad.c | 277 struct quotafile *qf; in getfsquota() local 300 qf = quota_open(&fst, type, O_RDONLY); in getfsquota() 304 qf); in getfsquota() 305 if (qf == NULL) in getfsquota() 308 rv = quota_read(qf, dqblk, id) == 0; in getfsquota() 309 quota_close(qf); in getfsquota()
|
| /freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/ |
| H A D | 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*
|
| H A D | projectspace_004_pos.ksh | 65 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
|
| H A D | projectspace_002_pos.ksh | 65 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
|
| H A D | projectquota_006_pos.ksh | 67 log_must user_run $PUSER mkfile 100m $PRJDIR/qf
|
| H A D | projectspace_001_pos.ksh | 72 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
|
| H A D | projectquota_003_pos.ksh | 67 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf
|
| H A D | projectquota_001_pos.ksh | 68 log_must user_run $PUSER mkfile $PQUOTA_LIMIT $PRJDIR/qf
|
| /freebsd-src/usr.sbin/repquota/ |
| H A D | repquota.c | 189 struct quotafile *qf; in repquota() local 194 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL) { in repquota() 213 maxid = quota_maxid(qf); in repquota() 215 if (quota_read(qf, &dqbuf, id) != 0) in repquota() 246 quota_close(qf); in repquota()
|
| /freebsd-src/sbin/quotacheck/ |
| H A D | quotacheck.c | 419 update(const char *fsname, struct quotafile *qf, int type) 431 lastid = quota_maxid(qf); in update() 433 if (quota_read(qf, &dqbuf, id) < 0) in update() 450 (void) quota_write_usage(qf, &dqbuf, id); in update() 472 (void) quota_write_usage(qf, &dqbuf, fup->fu_id); in update() 483 stat(quota_qfname(qf), &sb) == 0 && in update() 485 truncate(quota_qfname(qf), in update() 423 update(const char * fsname,struct quotafile * qf,int type) update() argument
|
| /freebsd-src/usr.sbin/edquota/ |
| H A D | edquota.c | 77 struct quotafile *qf; member 359 struct quotafile *qf; in getprivs() local 372 if ((qf = quota_open(fs, quotatype, O_CREAT|O_RDWR)) == NULL) { in getprivs() 379 qup->qf = qf; in getprivs() 381 if (quota_read(qf, &qup->dqblk, id) == -1) { in getprivs() 409 if (quota_write_limits(qup->qf, &qup->dqblk, id) == -1) in putprivs() 926 quota_close(qup->qf); in freeprivs()
|
| /freebsd-src/sys/contrib/openzfs/config/ |
| H A D | 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`; \
|
| H A D | deb.am | 37 arch=`$(RPM) -qp $${name}-kmod-$${version}.src.rpm --qf %{arch} | tail -1`; \ 47 arch=`$(RPM) -qp $${name}-dkms-$${version}.src.rpm --qf %{arch} | tail -1`; \ 56 arch=`$(RPM) -qp $${name}-$${version}.src.rpm --qf %{arch} | tail -1`; \
|
| /freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/ |
| H A D | tst.ZeroFunctionProbes.d.ksh | 62 -qf read'{printf("I am done"); exit(0);}'
|
| /freebsd-src/contrib/sendmail/src/ |
| H A D | 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-src/usr.bin/quota/ |
| H A D | quota.c | 546 struct quotafile *qf; in getufsquota() local 548 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL) in getufsquota() 550 if (quota_read(qf, &qup->dqblk, id) != 0) in getufsquota() 552 quota_close(qf); in getufsquota()
|
| /freebsd-src/tools/test/stress2/misc/ |
| H A D | poll.sh | 50 while pgrep -qf poll.py; do pkill -f poll.py; done
|
| /freebsd-src/crypto/openssl/test/certs/ |
| H A D | alt1-key.pem | 17 qf+iVoba2Y9NTBdxBht2whSaYweU9kxmeNZvnCu95B8HeRGE69Dxb7IWwpsaxoaf
|
| /freebsd-src/tests/sys/cddl/zfs/tests/userquota/ |
| H A D | userquota.cfg | 38 export QFILE=$TESTDIR/qf.${TESTCASE_ID}
|
| /freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
| H A D | userquota.cfg | 42 export QFILE=$TESTDIR/qf
|