116{
119
120 switch (
args->query) {
122 args->len =
sizeof(
args->info.size);
125
127 "FileFsSizeInformation",
128 &
args->info.size.TotalAllocationUnits.QuadPart,
129 &
args->info.size.AvailableAllocationUnits.QuadPart,
131 break;
132
134 args->len =
sizeof(
args->info.fullsize);
137
139 "FileFsFullSizeInformation",
140 &
args->info.fullsize.TotalAllocationUnits.QuadPart,
141 &
args->info.fullsize.CallerAvailableAllocationUnits.QuadPart,
142 &
args->info.fullsize.ActualAvailableAllocationUnits.QuadPart);
143 break;
144
146 args->len =
sizeof(
args->info.attribute);
148 &
args->info.attribute);
149 break;
150
151 default:
152 eprintf(
"unhandled fs query class %d\n",
args->query);
154 break;
155 }
157}
static int get_volume_size_info(IN nfs41_open_state *state, IN const char *query, OUT OPTIONAL PLONGLONG total_out, OUT OPTIONAL PLONGLONG user_out, OUT OPTIONAL PLONGLONG avail_out)
#define ERROR_INVALID_PARAMETER
@ FileFsAttributeInformation
void nfs41_superblock_fs_attributes(IN const nfs41_superblock *superblock, OUT struct _FILE_FS_ATTRIBUTE_INFORMATION *FsAttrs)
nfs41_updowncall_list upcall
#define FileFsFullSizeInformation