| /freebsd-14.2/lib/libutil/ |
| H A D | quotafile.c | 122 if ((qf = calloc(1, sizeof(*qf))) == NULL) in quota_open() 124 qf->fd = -1; in quota_open() 126 strlcpy(qf->fsname, fs->fs_file, sizeof(qf->fsname)); in quota_open() 140 if (quotactl(qf->fsname, qcmd, 0, &qf->wordsize) == 0) in quota_open() 141 return (qf); in quota_open() 150 if ((qf->fd = open(qf->qfname, qf->accmode|O_CLOEXEC)) < 0 && in quota_open() 198 return (qf); in quota_open() 204 free(qf); in quota_open() 215 free(qf); in quota_close() 224 return (quotactl(qf->fsname, qcmd, 0, qf->qfname)); in quota_on() [all …]
|
| /freebsd-14.2/usr.sbin/quotaon/ |
| H A D | 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-14.2/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 271 ctladm portlist -qf ioctl 290 atf_check -o save:portlist.txt ctladm portlist -qf iscsi [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/libexec/rpc.rquotad/ |
| H A D | 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-14.2/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_001_pos.ksh | 68 log_must user_run $PUSER mkfile $PQUOTA_LIMIT $PRJDIR/qf
|
| H A D | projectquota_003_pos.ksh | 67 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf
|
| /freebsd-14.2/usr.sbin/repquota/ |
| H A D | 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-14.2/sbin/quotacheck/ |
| H A D | quotacheck.c | 435 update(const char *fsname, struct quotafile *qf, int type) in update() argument 447 lastid = quota_maxid(qf); in update() 449 if (quota_read(qf, &dqbuf, id) < 0) in update() 466 (void) quota_write_usage(qf, &dqbuf, id); in update() 488 (void) quota_write_usage(qf, &dqbuf, fup->fu_id); in update() 499 stat(quota_qfname(qf), &sb) == 0 && in update() 501 truncate(quota_qfname(qf), in update()
|
| /freebsd-14.2/usr.sbin/edquota/ |
| H A D | 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-14.2/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-14.2/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-14.2/contrib/sendmail/src/ |
| H A D | queue.c | 364 char qf[MAXPATHLEN]; local 916 sizeof(qf)); 917 if (rename(tf, qf) < 0) 964 SYNC_DIR(qf, true); 2569 char qf[MAXPATHLEN]; local 2717 (void) sm_strlcpyn(qf, sizeof(qf), 3, qd, "/", d->d_name); 4034 char qf[MAXPATHLEN]; local 4044 (void) sm_strlcpy(qf, queuename(e, ANYQFL_LETTER), sizeof(qf)); 5031 char qf[MAXPATHLEN]; local 5041 (void) sm_strlcpyn(qf, sizeof(qf), 3, qd, "/", w->w_name); [all …]
|
| /freebsd-14.2/usr.bin/quota/ |
| H A D | 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-14.2/tools/test/stress2/misc/ |
| H A D | poll.sh | 50 while pgrep -qf poll.py; do pkill -f poll.py; done
|
| /freebsd-14.2/crypto/openssl/test/certs/ |
| H A D | alt1-key.pem | 17 qf+iVoba2Y9NTBdxBht2whSaYweU9kxmeNZvnCu95B8HeRGE69Dxb7IWwpsaxoaf
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/userquota/ |
| H A D | userquota.cfg | 41 export QFILE=$TESTDIR/qf.${TESTCASE_ID}
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/userquota/ |
| H A D | userquota.cfg | 42 export QFILE=$TESTDIR/qf
|