Lines Matching refs:v1_disk_dqblk
32 static void v1_disk2mem_dqblk(struct mem_dqblk *m, struct v1_disk_dqblk *d) in v1_disk2mem_dqblk()
44 static void v1_mem2disk_dqblk(struct v1_disk_dqblk *d, struct mem_dqblk *m) in v1_mem2disk_dqblk()
59 struct v1_disk_dqblk dqblk; in v1_read_dqblk()
66 memset(&dqblk, 0, sizeof(struct v1_disk_dqblk)); in v1_read_dqblk()
68 sizeof(struct v1_disk_dqblk), in v1_read_dqblk()
86 struct v1_disk_dqblk dqblk; in v1_commit_dqblk()
99 (char *)&dqblk, sizeof(struct v1_disk_dqblk), in v1_commit_dqblk()
101 if (ret != sizeof(struct v1_disk_dqblk)) { in v1_commit_dqblk()
142 if ((blocks % sizeof(struct v1_disk_dqblk) * BLOCK_SIZE + off) % in v1_check_quota_file()
143 sizeof(struct v1_disk_dqblk)) in v1_check_quota_file()
162 struct v1_disk_dqblk dqblk; in v1_read_file_info()
167 sizeof(struct v1_disk_dqblk), v1_dqoff(0)); in v1_read_file_info()
168 if (ret != sizeof(struct v1_disk_dqblk)) { in v1_read_file_info()
189 struct v1_disk_dqblk dqblk; in v1_write_file_info()
194 sizeof(struct v1_disk_dqblk), v1_dqoff(0)); in v1_write_file_info()
195 if (ret != sizeof(struct v1_disk_dqblk)) { in v1_write_file_info()
206 sizeof(struct v1_disk_dqblk), v1_dqoff(0)); in v1_write_file_info()
207 if (ret == sizeof(struct v1_disk_dqblk)) in v1_write_file_info()