Searched refs:qf (Results 1 - 19 of 19) sorted by relevance

/freebsd-current/lib/libutil/
H A Dquotafile.c115 struct quotafile *qf; local
122 if ((qf = calloc(1, sizeof(*qf))) == NULL)
124 qf->fd = -1;
125 qf->quotatype = quotatype;
126 strlcpy(qf->fsname, fs->fs_file, sizeof(qf->fsname));
127 if (stat(qf->fsname, &st) != 0)
129 qf->dev = st.st_dev;
133 * On UFS, hasquota() fills in qf
210 quota_close(struct quotafile *qf) argument
219 quota_on(struct quotafile *qf) argument
228 quota_off(struct quotafile *qf) argument
235 quota_fsname(const struct quotafile *qf) argument
242 quota_qfname(const struct quotafile *qf) argument
249 quota_check_path(const struct quotafile *qf, const char *path) argument
259 quota_maxid(struct quotafile *qf) argument
281 quota_read32(struct quotafile *qf, struct dqblk *dqb, int id) argument
309 quota_read64(struct quotafile *qf, struct dqblk *dqb, int id) argument
337 quota_read(struct quotafile *qf, struct dqblk *dqb, int id) argument
360 quota_write32(struct quotafile *qf, const struct dqblk *dqb, int id) argument
383 quota_write64(struct quotafile *qf, const struct dqblk *dqb, int id) argument
406 quota_write_usage(struct quotafile *qf, struct dqblk *dqb, int id) argument
454 quota_write_limits(struct quotafile *qf, struct dqblk *dqb, int id) argument
515 quota_convert(struct quotafile *qf, int wordsize) argument
[all...]
/freebsd-current/usr.sbin/quotaon/
H A Dquotaon.c143 struct quotafile *qf; local
145 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL)
148 if (quota_off(qf) != 0) {
149 warn("%s", quota_fsname(qf));
153 printf("%s: quotas turned off\n", quota_fsname(qf));
154 quota_close(qf);
157 if (quota_on(qf) != 0) {
158 warn("using %s on %s", quota_qfname(qf), quota_fsname(qf));
163 quota_fsname(qf), qfextensio
[all...]
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dtst.ZeroFunctionProbes.d.ksh62 -qf read'{printf("I am done"); exit(0);}'
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/
H A Dprojectspace_003_pos.ksh71 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 Dprojectspace_004_pos.ksh65 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
H A Dprojectspace_002_pos.ksh65 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
H A Dprojectquota_006_pos.ksh67 log_must user_run $PUSER mkfile 100m $PRJDIR/qf
H A Dprojectquota_003_pos.ksh67 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf
H A Dprojectquota_001_pos.ksh68 log_must user_run $PUSER mkfile $PQUOTA_LIMIT $PRJDIR/qf
H A Dprojectspace_001_pos.ksh72 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
/freebsd-current/crypto/openssh/regress/
H A Dkeygen-knownhosts.sh160 ${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
[all...]
/freebsd-current/usr.sbin/repquota/
H A Drepquota.c189 struct quotafile *qf; local
194 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL) {
213 maxid = quota_maxid(qf);
215 if (quota_read(qf, &dqbuf, id) != 0)
246 quota_close(qf);
/freebsd-current/libexec/rpc.rquotad/
H A Drquotad.c277 struct quotafile *qf; local
300 qf = quota_open(&fst, type, O_RDONLY);
304 qf);
305 if (qf == NULL)
308 rv = quota_read(qf, dqblk, id) == 0;
309 quota_close(qf);
/freebsd-current/tools/test/stress2/misc/
H A Dpoll.sh50 while pgrep -qf poll.py; do pkill -f poll.py; done
/freebsd-current/contrib/sendmail/contrib/
H A Dbounce-resender.pl141 $qf = "qf$ident";
144 open(MSGHDR,">$qf") || die "Can't write to $qf: $!\n";
146 chmod(0600, $qf, $df);
186 # save H-line to write to qf, later
191 # write to qf
220 print "$myname: Header without message! Line $lineno qf $qf\n";
222 # write to qf anywa
[all...]
/freebsd-current/sbin/quotacheck/
H A Dquotacheck.c423 update(const char *fsname, struct quotafile *qf, int type) argument
435 lastid = quota_maxid(qf);
437 if (quota_read(qf, &dqbuf, id) < 0)
454 (void) quota_write_usage(qf, &dqbuf, id);
476 (void) quota_write_usage(qf, &dqbuf, fup->fu_id);
487 stat(quota_qfname(qf), &sb) == 0 &&
489 truncate(quota_qfname(qf),
/freebsd-current/usr.sbin/edquota/
H A Dedquota.c77 struct quotafile *qf; member in struct:quotause
359 struct quotafile *qf; local
372 if ((qf = quota_open(fs, quotatype, O_CREAT|O_RDWR)) == NULL) {
379 qup->qf = qf;
381 if (quota_read(qf, &qup->dqblk, id) == -1) {
409 if (quota_write_limits(qup->qf, &qup->dqblk, id) == -1)
926 quota_close(qup->qf);
/freebsd-current/contrib/sendmail/src/
H A Dqueue.c302 ** Current qf file field assignments:
364 char qf[MAXPATHLEN]; local
393 ** open qf file directly: this will give an error if the file
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);
1496 #define QP_SUBQF 0x0002 /* "qf" subdirector
2569 char qf[MAXPATHLEN]; local
4034 char qf[MAXPATHLEN]; local
5031 char qf[MAXPATHLEN]; local
[all...]
/freebsd-current/usr.bin/quota/
H A Dquota.c546 struct quotafile *qf; local
548 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL)
550 if (quota_read(qf, &qup->dqblk, id) != 0)
552 quota_close(qf);

Completed in 201 milliseconds