Searched refs:dqblk (Results 1 - 15 of 15) sorted by relevance

/macosx-10.9.5/diskdev_cmds-572.1.1/edquota.tproj/
H A Dedquota.c111 struct dqblk dqblk; member in struct:quotause
132 int qflookup(int, uid_t, int, struct dqblk *);
133 int qfupdate(int, uid_t, int, struct dqblk *);
188 qup->dqblk.dqb_btime = 0;
189 qup->dqblk.dqb_itime = 0;
199 qup->dqblk.dqb_id = id;
357 if (quotactl(fst[i].f_mntonname, qcmd, id, (char *)&qup->dqblk) != 0) {
384 if (qflookup(fd, id, quotatype, &qup->dqblk) != 0) {
431 if (quotactl(fs->fs_file, qcmd, id, &qup->dqblk) !
835 struct dqblk dqblk; local
[all...]
/macosx-10.9.5/diskdev_cmds-572.1.1/quota.tproj/
H A Dquota.c94 struct dqblk dqblk; member in struct:quotause
113 int qflookup(int, u_long, int, struct dqblk *);
330 qup->dqblk.dqb_isoftlimit == 0 &&
331 qup->dqblk.dqb_ihardlimit == 0 &&
332 qup->dqblk.dqb_bsoftlimit == 0 &&
333 qup->dqblk.dqb_bhardlimit == 0)
336 if (qup->dqblk.dqb_ihardlimit &&
337 qup->dqblk.dqb_curinodes >= qup->dqblk
[all...]
/macosx-10.9.5/NFS-81/rpc.rquotad/
H A Drquotad.c72 int getfsquota(int type, int id, char *path, struct dqblk *dqblk);
476 struct dqblk dqblk; local
514 ext_getq_args.gqa_pathp, &dqblk)) {
523 (((dqblk.dqb_bhardlimit / bsize) > UINT32_MAX) ||
524 ((dqblk.dqb_bsoftlimit / bsize) > UINT32_MAX) ||
525 ((dqblk.dqb_curbytes / bsize) > UINT32_MAX)))
533 CLAMP_MAX_32(dqblk.dqb_bhardlimit / bsize);
535 CLAMP_MAX_32(dqblk
562 getfsquota(int type, int id, char *path, struct dqblk *dqblk) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/sys/
H A Dquota.h134 * header followed by a hash table of dqblk entries. To find
161 struct dqblk { struct
176 /* LP64 version of struct dqblk. time_t is a long and must grow when
178 * WARNING - keep in sync with struct dqblk
227 (sizeof (struct dqfilehdr) + ((index) * sizeof (struct dqblk)))
299 struct dqblk dq_dqb; /* actual usage & quotas */
346 * on-disk dqblk data structures.
368 __private_extern__ void munge_dqblk(struct dqblk *dqblkp, struct user_dqblk *user_dqblkp, boolean_t to64);
/macosx-10.9.5/diskdev_cmds-572.1.1/quotacheck.tproj/
H A Dquotacheck.c122 int qfinsert(FILE *, struct dqblk *, int, int);
125 void dqbuftohost(struct dqblk *dqbp);
373 struct dqblk dqbuf;
378 static struct dqblk zerodqbuf;
439 ftruncate(fileno(qfo), (off_t)((m + 1) * sizeof(struct dqblk)));
453 if (fread((char *)&dqbuf, sizeof(struct dqblk), 1, qfi) == 0) {
500 /* Write dqblk in big endian. */
502 fwrite((char *)&dqbuf, sizeof(struct dqblk), 1, qfo);
555 /* Convert a dqblk to host native byte order. */
557 dqbuftohost(struct dqblk *dqb
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/vfs/
H A Dvfs_quota.c123 static int dqlookup(struct quotafile *, u_int32_t, struct dqblk *, u_int32_t *);
443 (OSSwapBigToHostInt32(header.dqh_maxentries) > (file_size / sizeof(struct dqblk)))) {
782 * Lookup a dqblk structure for the specified identifier and
787 dqlookup(struct quotafile *qfp, u_int32_t id, struct dqblk *dqb, uint32_t *index)
814 uio_addiov(auio, CAST_USER_ADDR_T(dqb), sizeof (struct dqblk));
830 bzero(dqb, sizeof(struct dqblk));
836 uio_addiov(auio, CAST_USER_ADDR_T(dqb), sizeof (struct dqblk));
1004 struct dqblk dqb, *dqblkp;
1020 uio_addiov(auio, CAST_USER_ADDR_T(&dqb), sizeof (struct dqblk));
1082 * LP64 support for munging dqblk structur
[all...]
H A Dvfs_syscalls.c2138 struct dqblk my_dqblk;
2162 /* uap->arg is a pointer to a dqblk structure. */
2167 /* uap->arg is a pointer to a dqblk structure. */
2199 /* uap->arg is a pointer to a dqblk structure we need to copy out to */
2207 error = copyout(datap, uap->arg, sizeof (struct dqblk));
/macosx-10.9.5/diskdev_cmds-572.1.1/repquota.tproj/
H A Drepquota.c103 struct dqblk fu_dqblk;
257 struct dqblk dqbuf;
318 if (fread(&dqbuf, sizeof(struct dqblk), 1, qf) == 0 && feof(qf))
382 struct dqblk dqbuf;
384 static struct dqblk zerodqblk;
405 fread(&dqbuf, sizeof(struct dqblk), 1, qf);
/macosx-10.9.5/xnu-2422.115.4/bsd/hfs/
H A Dhfs_quota.c780 * Q_GETQUOTA - return current values in a dqblk structure.
806 * Q_SETQUOTA - assign an entire dqblk structure.
817 struct dqblk * newlimp = (struct dqblk *) datap;
881 struct dqblk *quotablkp = (struct dqblk *) datap;
H A Dhfs_vfsutils.c2866 filesize += (items + 1) * sizeof(struct dqblk);
2884 filesize += (items + 1) * sizeof(struct dqblk);
/macosx-10.9.5/xnu-2422.115.4/bsd/nfs/
H A Dnfsmount.h216 int (*nf_getquota)(struct nfsmount *, vfs_context_t, uid_t, int, struct dqblk *);
H A Dnfs.h788 struct vnode_attr; struct nameidata; struct dqblk; struct sockaddr_in; /* XXX */
1222 int nfs4_parsefattr(struct nfsm_chain *, struct nfs_fsattr *, struct nfs_vattr *, fhandle_t *, struct dqblk *, struct nfs_fs_locations *);
H A Dnfs_vfsops.c239 int nfs3_getquota(struct nfsmount *, vfs_context_t, uid_t, int, struct dqblk *);
240 int nfs4_getquota(struct nfsmount *, vfs_context_t, uid_t, int, struct dqblk *);
4462 nfs3_getquota(struct nfsmount *nmp, vfs_context_t ctx, uid_t id, int type, struct dqblk *dqb)
4574 nfs4_getquota(struct nfsmount *nmp, vfs_context_t ctx, uid_t id, int type, struct dqblk *dqb)
4666 struct dqblk *dqb = (struct dqblk*)datap;
H A Dnfs4_subs.c1527 struct dqblk *dqbp,
1537 struct dqblk dqb_dummy;
/macosx-10.9.5/xnu-2422.115.4/tools/tests/xnu_quick_test/
H A Dtests.c4047 struct dqblk my_quota_blk;

Completed in 314 milliseconds