qtype 63 examples/VFS/skel_opaque.c static int skel_get_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq) qtype 65 examples/VFS/skel_opaque.c return vfswrap_get_quota(NULL, qtype, id, dq); qtype 68 examples/VFS/skel_opaque.c static int skel_set_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq) qtype 70 examples/VFS/skel_opaque.c return vfswrap_set_quota(NULL, qtype, id, dq); qtype 57 examples/VFS/skel_transparent.c static int skel_get_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq) qtype 59 examples/VFS/skel_transparent.c return SMB_VFS_NEXT_GET_QUOTA(handle, qtype, id, dq); qtype 62 examples/VFS/skel_transparent.c static int skel_set_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq) qtype 64 examples/VFS/skel_transparent.c return SMB_VFS_NEXT_SET_QUOTA(handle, qtype, id, dq); qtype 70 source3/include/ntquotas.h enum SMB_QUOTA_TYPE qtype; qtype 892 source3/include/proto.h int sys_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 893 source3/include/proto.h int sys_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 897 source3/include/proto.h int sys_get_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 898 source3/include/proto.h int sys_set_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 900 source3/include/proto.h int sys_get_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 901 source3/include/proto.h int sys_set_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 6578 source3/include/proto.h int vfs_get_ntquota(files_struct *fsp, enum SMB_QUOTA_TYPE qtype, DOM_SID *psid, SMB_NTQUOTA_STRUCT *qt); qtype 6579 source3/include/proto.h int vfs_set_ntquota(files_struct *fsp, enum SMB_QUOTA_TYPE qtype, DOM_SID *psid, SMB_NTQUOTA_STRUCT *qt); qtype 60 source3/include/sysquotas.h enum SMB_QUOTA_TYPE qtype; qtype 308 source3/include/vfs.h int (*get_quota)(struct vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *qt); qtype 309 source3/include/vfs.h int (*set_quota)(struct vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *qt); qtype 33 source3/include/vfs_macros.h #define SMB_VFS_GET_QUOTA(conn, qtype, id, qt) ((conn)->vfs.ops.get_quota((conn)->vfs.handles.get_quota, (qtype), (id), (qt))) qtype 34 source3/include/vfs_macros.h #define SMB_VFS_SET_QUOTA(conn, qtype, id, qt) ((conn)->vfs.ops.set_quota((conn)->vfs.handles.set_quota, (qtype), (id), (qt))) qtype 167 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_GET_QUOTA(conn, qtype, id, qt) ((conn)->vfs_opaque.ops.get_quota((conn)->vfs_opaque.handles.get_quota, (qtype), (id), (qt))) qtype 168 source3/include/vfs_macros.h #define SMB_VFS_OPAQUE_SET_QUOTA(conn, qtype, id, qt) ((conn)->vfs_opaque.ops.set_quota((conn)->vfs_opaque.handles.set_quota, (qtype), (id), (qt))) qtype 301 source3/include/vfs_macros.h #define SMB_VFS_NEXT_GET_QUOTA(handle, qtype, id, qt) ((handle)->vfs_next.ops.get_quota((handle)->vfs_next.handles.get_quota, (qtype), (id), (qt))) qtype 302 source3/include/vfs_macros.h #define SMB_VFS_NEXT_SET_QUOTA(handle, qtype, id, qt) ((handle)->vfs_next.ops.set_quota((handle)->vfs_next.handles.set_quota, (qtype), (id), (qt))) qtype 174 source3/lib/sysquotas.c int (*get_quota)(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 175 source3/lib/sysquotas.c int (*set_quota)(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp); qtype 183 source3/lib/sysquotas.c static int command_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 195 source3/lib/sysquotas.c switch(qtype) { qtype 210 source3/lib/sysquotas.c get_quota_command, path, qtype, _id) < 0) { qtype 339 source3/lib/sysquotas.c static int command_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 349 source3/lib/sysquotas.c switch(qtype) { qtype 367 source3/lib/sysquotas.c set_quota_command, path, qtype, _id, dp->qflags, qtype 378 source3/lib/sysquotas.c set_quota_command, path, qtype, _id, dp->qflags, qtype 407 source3/lib/sysquotas.c int sys_get_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 419 source3/lib/sysquotas.c if (command_get_quota(path, qtype, id, dp)==0) { qtype 435 source3/lib/sysquotas.c ret = sys_quota_backends[i].get_quota(mntpath, bdev, qtype, id, dp); qtype 438 source3/lib/sysquotas.c fs,mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid),strerror(errno))); qtype 441 source3/lib/sysquotas.c fs,mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid))); qtype 450 source3/lib/sysquotas.c ret=sys_get_vfs_quota(mntpath, bdev, qtype, id, dp); qtype 453 source3/lib/sysquotas.c "vfs",mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid),strerror(errno))); qtype 456 source3/lib/sysquotas.c "vfs",mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid))); qtype 472 source3/lib/sysquotas.c int sys_set_quota(const char *path, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 486 source3/lib/sysquotas.c if (command_set_quota(path, qtype, id, dp)==0) { qtype 502 source3/lib/sysquotas.c ret = sys_quota_backends[i].set_quota(mntpath, bdev, qtype, id, dp); qtype 505 source3/lib/sysquotas.c fs,mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid),strerror(errno))); qtype 508 source3/lib/sysquotas.c fs,mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid))); qtype 517 source3/lib/sysquotas.c ret=sys_set_vfs_quota(mntpath, bdev, qtype, id, dp); qtype 520 source3/lib/sysquotas.c "vfs",mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid),strerror(errno))); qtype 523 source3/lib/sysquotas.c "vfs",mntpath,bdev,qtype,(qtype==SMB_GROUP_QUOTA_TYPE?id.gid:id.uid))); qtype 87 source3/lib/sysquotas_4A.c int sys_get_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 96 source3/lib/sysquotas_4A.c dp->qtype = qtype; qtype 98 source3/lib/sysquotas_4A.c switch (qtype) { qtype 181 source3/lib/sysquotas_4A.c int sys_set_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 205 source3/lib/sysquotas_4A.c switch (qtype) { qtype 39 source3/lib/sysquotas_linux.c static int sys_get_linux_v1_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 48 source3/lib/sysquotas_linux.c switch (qtype) { qtype 107 source3/lib/sysquotas_linux.c static int sys_set_linux_v1_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 131 source3/lib/sysquotas_linux.c switch (qtype) { qtype 173 source3/lib/sysquotas_linux.c static int sys_get_linux_v2_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 182 source3/lib/sysquotas_linux.c switch (qtype) { qtype 241 source3/lib/sysquotas_linux.c static int sys_set_linux_v2_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 265 source3/lib/sysquotas_linux.c switch (qtype) { qtype 307 source3/lib/sysquotas_linux.c static int sys_get_linux_gen_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 316 source3/lib/sysquotas_linux.c switch (qtype) { qtype 375 source3/lib/sysquotas_linux.c static int sys_set_linux_gen_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 400 source3/lib/sysquotas_linux.c switch (qtype) { qtype 442 source3/lib/sysquotas_linux.c int sys_get_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 450 source3/lib/sysquotas_linux.c dp->qtype = qtype; qtype 452 source3/lib/sysquotas_linux.c switch (qtype) { qtype 455 source3/lib/sysquotas_linux.c if ((ret=sys_get_linux_gen_quota(path, bdev, qtype, id, dp))&&errno != EDQUOT) { qtype 456 source3/lib/sysquotas_linux.c if ((ret=sys_get_linux_v2_quota(path, bdev, qtype, id, dp))&&errno != EDQUOT) { qtype 457 source3/lib/sysquotas_linux.c if ((ret=sys_get_linux_v1_quota(path, bdev, qtype, id, dp))&&errno != EDQUOT) { qtype 474 source3/lib/sysquotas_linux.c if ((ret=sys_get_linux_gen_quota(path, bdev, qtype, id, dp))&&errno != EDQUOT) { qtype 475 source3/lib/sysquotas_linux.c if ((ret=sys_get_linux_v2_quota(path, bdev, qtype, id, dp))&&errno != EDQUOT) { qtype 476 source3/lib/sysquotas_linux.c ret=sys_get_linux_v1_quota(path, bdev, qtype, id, dp); qtype 485 source3/lib/sysquotas_linux.c if ((ret=sys_get_linux_gen_quota(path, bdev, qtype, id, dp))&&errno != EDQUOT) { qtype 486 source3/lib/sysquotas_linux.c if ((ret=sys_get_linux_v2_quota(path, bdev, qtype, id, dp))&&errno != EDQUOT) { qtype 487 source3/lib/sysquotas_linux.c ret=sys_get_linux_v1_quota(path, bdev, qtype, id, dp); qtype 504 source3/lib/sysquotas_linux.c int sys_set_vfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 514 source3/lib/sysquotas_linux.c switch (qtype) { qtype 517 source3/lib/sysquotas_linux.c if ((ret=sys_set_linux_gen_quota(path, bdev, qtype, id, dp))) { qtype 518 source3/lib/sysquotas_linux.c if ((ret=sys_set_linux_v2_quota(path, bdev, qtype, id, dp))) { qtype 519 source3/lib/sysquotas_linux.c if ((ret=sys_set_linux_v1_quota(path, bdev, qtype, id, dp))) { qtype 528 source3/lib/sysquotas_linux.c if ((ret=sys_set_linux_gen_quota(path, bdev, qtype, id, dp))) { qtype 529 source3/lib/sysquotas_linux.c if ((ret=sys_set_linux_v2_quota(path, bdev, qtype, id, dp))) { qtype 530 source3/lib/sysquotas_linux.c ret=sys_set_linux_v1_quota(path, bdev, qtype, id, dp); qtype 543 source3/lib/sysquotas_linux.c if ((ret=sys_set_linux_gen_quota(path, bdev, qtype, id, dp))) { qtype 544 source3/lib/sysquotas_linux.c if ((ret=sys_set_linux_v2_quota(path, bdev, qtype, id, dp))) { qtype 545 source3/lib/sysquotas_linux.c ret=sys_set_linux_v1_quota(path, bdev, qtype, id, dp); qtype 75 source3/lib/sysquotas_xfs.c int sys_get_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 89 source3/lib/sysquotas_xfs.c dp->qtype = qtype; qtype 91 source3/lib/sysquotas_xfs.c switch (qtype) { qtype 162 source3/lib/sysquotas_xfs.c int sys_set_xfs_quota(const char *path, const char *bdev, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dp) qtype 191 source3/lib/sysquotas_xfs.c switch (qtype) { qtype 122 source3/libsmb/cliquota.c qt.qtype = SMB_USER_QUOTA_TYPE; qtype 490 source3/libsmb/cliquota.c qt.qtype = SMB_USER_FS_QUOTA_TYPE; qtype 585 source3/libsmb/cliquota.c switch (qt->qtype) { qtype 624 source3/libsmb/cliquota.c d_printf("dump_ntquota() invalid qtype(%d)\n",qt->qtype); qtype 52 source3/modules/vfs_default.c static int vfswrap_get_quota(struct vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *qt) qtype 58 source3/modules/vfs_default.c result = sys_get_quota(handle->conn->connectpath, qtype, id, qt); qtype 67 source3/modules/vfs_default.c static int vfswrap_set_quota(struct vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *qt) qtype 73 source3/modules/vfs_default.c result = sys_set_quota(handle->conn->connectpath, qtype, id, qt); qtype 94 source3/modules/vfs_default_quota.c static int default_quota_get_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq) qtype 98 source3/modules/vfs_default_quota.c if ((ret=SMB_VFS_NEXT_GET_QUOTA(handle, qtype, id, dq))!=0) { qtype 102 source3/modules/vfs_default_quota.c switch (qtype) { qtype 148 source3/modules/vfs_default_quota.c static int default_quota_set_quota(vfs_handle_struct *handle, enum SMB_QUOTA_TYPE qtype, unid_t id, SMB_DISK_QUOTA *dq) qtype 152 source3/modules/vfs_default_quota.c switch (qtype) { qtype 181 source3/modules/vfs_default_quota.c if ((ret=SMB_VFS_NEXT_SET_QUOTA(handle, qtype, id, dq))!=0) { qtype 185 source3/modules/vfs_default_quota.c switch (qtype) { qtype 82 source3/modules/vfs_full_audit.c enum SMB_QUOTA_TYPE qtype, unid_t id, qtype 85 source3/modules/vfs_full_audit.c enum SMB_QUOTA_TYPE qtype, unid_t id, qtype 1013 source3/modules/vfs_full_audit.c enum SMB_QUOTA_TYPE qtype, unid_t id, qtype 1018 source3/modules/vfs_full_audit.c result = SMB_VFS_NEXT_GET_QUOTA(handle, qtype, id, qt); qtype 1027 source3/modules/vfs_full_audit.c enum SMB_QUOTA_TYPE qtype, unid_t id, qtype 1032 source3/modules/vfs_full_audit.c result = SMB_VFS_NEXT_SET_QUOTA(handle, qtype, id, qt); qtype 74 source3/smbd/ntquotas.c int vfs_get_ntquota(files_struct *fsp, enum SMB_QUOTA_TYPE qtype, DOM_SID *psid, SMB_NTQUOTA_STRUCT *qt) qtype 94 source3/smbd/ntquotas.c ret = SMB_VFS_GET_QUOTA(fsp->conn, qtype, id, &D); qtype 112 source3/smbd/ntquotas.c int vfs_set_ntquota(files_struct *fsp, enum SMB_QUOTA_TYPE qtype, DOM_SID *psid, SMB_NTQUOTA_STRUCT *qt) qtype 138 source3/smbd/ntquotas.c ret = SMB_VFS_SET_QUOTA(fsp->conn, qtype, id, &D); qtype 143 source3/utils/smbcquotas.c enum SMB_QUOTA_TYPE *qtype, qtype 156 source3/utils/smbcquotas.c *qtype = SMB_USER_QUOTA_TYPE; qtype 170 source3/utils/smbcquotas.c *qtype = SMB_USER_FS_QUOTA_TYPE; qtype 176 source3/utils/smbcquotas.c *qtype = SMB_USER_FS_QUOTA_TYPE; qtype 227 source3/utils/smbcquotas.c enum SMB_QUOTA_TYPE qtype, qtype 256 source3/utils/smbcquotas.c switch(qtype) { qtype 431 source3/utils/smbcquotas.c enum SMB_QUOTA_TYPE qtype = SMB_INVALID_QUOTA_TYPE; qtype 578 source3/utils/smbcquotas.c if (parse_quota_set(talloc_tos(), set_str, &username_str, &qtype, &cmd, &qt)) { qtype 607 source3/utils/smbcquotas.c result = do_quota(cli, qtype, cmd, username_str, &qt);