Lines Matching refs:qf
425 FILE *qf; in chkquota() local
452 qf = fopen64(qffile, "r+"); in chkquota()
453 if (qf == NULL) { in chkquota()
458 if (fstat64(fileno(qf), &statb) < 0) { in chkquota()
460 fclose(qf); in chkquota()
467 fclose(qf); in chkquota()
474 fclose(qf); in chkquota()
486 if (ioctl(fileno(qf), _FIOFFS, NULL) == -1) { in chkquota()
490 (void) fclose(qf); in chkquota()
500 fclose(qf); in chkquota()
511 (void) fread(&dqbuf, sizeof (struct dqblk), 1, qf); in chkquota()
512 if (feof(qf)) in chkquota()
576 (void) fseeko64(qf, (offset_t)dqoff(uid), 0); in chkquota()
577 (void) fwrite(&dqbuf, sizeof (struct dqblk), 1, qf); in chkquota()
578 (void) fflush(qf); in chkquota()
583 (void) fflush(qf); in chkquota()
584 (void) fsync(fileno(qf)); in chkquota()
585 fclose(qf); in chkquota()