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

/freebsd-13-stable/lib/libutil/
H A Dquotafile.c117 struct quotafile *qf; local
124 if ((qf = calloc(1, sizeof(*qf))) == NULL)
126 qf->fd = -1;
127 qf->quotatype = quotatype;
128 strlcpy(qf->fsname, fs->fs_file, sizeof(qf->fsname));
129 if (stat(qf->fsname, &st) != 0)
131 qf->dev = st.st_dev;
135 * On UFS, hasquota() fills in qf
212 quota_close(struct quotafile *qf) argument
221 quota_on(struct quotafile *qf) argument
230 quota_off(struct quotafile *qf) argument
237 quota_fsname(const struct quotafile *qf) argument
244 quota_qfname(const struct quotafile *qf) argument
251 quota_check_path(const struct quotafile *qf, const char *path) argument
261 quota_maxid(struct quotafile *qf) argument
283 quota_read32(struct quotafile *qf, struct dqblk *dqb, int id) argument
311 quota_read64(struct quotafile *qf, struct dqblk *dqb, int id) argument
339 quota_read(struct quotafile *qf, struct dqblk *dqb, int id) argument
362 quota_write32(struct quotafile *qf, const struct dqblk *dqb, int id) argument
385 quota_write64(struct quotafile *qf, const struct dqblk *dqb, int id) argument
408 quota_write_usage(struct quotafile *qf, struct dqblk *dqb, int id) argument
456 quota_write_limits(struct quotafile *qf, struct dqblk *dqb, int id) argument
517 quota_convert(struct quotafile *qf, int wordsize) argument
[all...]
/freebsd-13-stable/usr.sbin/quotaon/
H A Dquotaon.c157 struct quotafile *qf; local
159 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL)
162 if (quota_off(qf) != 0) {
163 warn("%s", quota_fsname(qf));
167 printf("%s: quotas turned off\n", quota_fsname(qf));
168 quota_close(qf);
171 if (quota_on(qf) != 0) {
172 warn("using %s on %s", quota_qfname(qf), quota_fsname(qf));
177 quota_fsname(qf), qfextensio
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dtst.ZeroFunctionProbes.d.ksh62 -qf read'{printf("I am done"); exit(0);}'
/freebsd-13-stable/sys/contrib/openzfs/tests/zfs-tests/tests/functional/projectquota/
H A Dprojectspace_003_pos.ksh73 log_must user_run $PUSER mkfiles $PRJDIR1/qf $((prj_cnt1 - 1))
74 log_must user_run $PUSER mkfiles $PRJDIR2/qf $((prj_cnt2 - 1))
95 log_must chattr -p $PRJID2 $PRJDIR1/qf*
H A Dprojectquota_006_pos.ksh67 log_must user_run $PUSER mkfile 100m $PRJDIR/qf
H A Dprojectspace_002_pos.ksh67 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
H A Dprojectspace_004_pos.ksh67 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
H A Dprojectquota_001_pos.ksh68 log_must user_run $PUSER mkfile $PQUOTA_LIMIT $PRJDIR/qf
H A Dprojectquota_003_pos.ksh67 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf
H A Dprojectspace_001_pos.ksh74 log_must user_run $PUSER mkfile 50m $PRJDIR/qf
/freebsd-13-stable/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-13-stable/libexec/rpc.rquotad/
H A Drquotad.c280 struct quotafile *qf; local
303 qf = quota_open(&fst, type, O_RDONLY);
307 qf);
308 if (qf == NULL)
311 rv = quota_read(qf, dqblk, id) == 0;
312 quota_close(qf);
/freebsd-13-stable/usr.sbin/repquota/
H A Drepquota.c203 struct quotafile *qf; local
208 if ((qf = quota_open(fs, type, O_RDONLY)) == NULL) {
227 maxid = quota_maxid(qf);
229 if (quota_read(qf, &dqbuf, id) != 0)
260 quota_close(qf);
/freebsd-13-stable/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-13-stable/sbin/quotacheck/
H A Dquotacheck.c437 update(const char *fsname, struct quotafile *qf, int type) argument
449 lastid = quota_maxid(qf);
451 if (quota_read(qf, &dqbuf, id) < 0)
468 (void) quota_write_usage(qf, &dqbuf, id);
490 (void) quota_write_usage(qf, &dqbuf, fup->fu_id);
501 stat(quota_qfname(qf), &sb) == 0 &&
503 truncate(quota_qfname(qf),
/freebsd-13-stable/usr.sbin/edquota/
H A Dedquota.c92 struct quotafile *qf; member in struct:quotause
374 struct quotafile *qf; local
387 if ((qf = quota_open(fs, quotatype, O_CREAT|O_RDWR)) == NULL) {
394 qup->qf = qf;
396 if (quota_read(qf, &qup->dqblk, id) == -1) {
424 if (quota_write_limits(qup->qf, &qup->dqblk, id) == -1)
941 quota_close(qup->qf);
/freebsd-13-stable/contrib/sendmail/src/
H A Dqueue.c301 ** Current qf file field assignments:
362 char qf[MAXPATHLEN]; local
389 ** open qf file directly: this will give an error if the file
908 (void) sm_strlcpy(qf, queuename(e, ANYQFL_LETTER),
909 sizeof(qf));
910 if (rename(tf, qf) < 0)
912 tf, qf, (long) geteuid());
957 SYNC_DIR(qf, true);
967 sm_syslog(LOG_DEBUG, e->e_id, "queueup %s", qf);
1461 #define QP_SUBQF 0x0002 /* "qf" subdirector
2533 char qf[MAXPATHLEN]; local
3976 char qf[MAXPATHLEN]; local
4966 char qf[MAXPATHLEN]; local
[all...]
/freebsd-13-stable/usr.bin/quota/
H A Dquota.c558 struct quotafile *qf; local
560 if ((qf = quota_open(fs, quotatype, O_RDONLY)) == NULL)
562 if (quota_read(qf, &qup->dqblk, id) != 0)
564 quota_close(qf);

Completed in 138 milliseconds