Lines Matching refs:v1_disk_dqblk
31 static void v1_disk2mem_dqblk(struct mem_dqblk *m, struct v1_disk_dqblk *d) in v1_disk2mem_dqblk()
43 static void v1_mem2disk_dqblk(struct v1_disk_dqblk *d, struct mem_dqblk *m) in v1_mem2disk_dqblk()
58 struct v1_disk_dqblk dqblk; in v1_read_dqblk()
64 memset(&dqblk, 0, sizeof(struct v1_disk_dqblk)); in v1_read_dqblk()
66 sizeof(struct v1_disk_dqblk), in v1_read_dqblk()
84 struct v1_disk_dqblk dqblk; in v1_commit_dqblk()
97 (char *)&dqblk, sizeof(struct v1_disk_dqblk), in v1_commit_dqblk()
99 if (ret != sizeof(struct v1_disk_dqblk)) { in v1_commit_dqblk()
140 if ((blocks % sizeof(struct v1_disk_dqblk) * BLOCK_SIZE + off) % in v1_check_quota_file()
141 sizeof(struct v1_disk_dqblk)) in v1_check_quota_file()
160 struct v1_disk_dqblk dqblk; in v1_read_file_info()
164 sizeof(struct v1_disk_dqblk), v1_dqoff(0)); in v1_read_file_info()
165 if (ret != sizeof(struct v1_disk_dqblk)) { in v1_read_file_info()
185 struct v1_disk_dqblk dqblk; in v1_write_file_info()
190 sizeof(struct v1_disk_dqblk), v1_dqoff(0)); in v1_write_file_info()
191 if (ret != sizeof(struct v1_disk_dqblk)) { in v1_write_file_info()
199 sizeof(struct v1_disk_dqblk), v1_dqoff(0)); in v1_write_file_info()
200 if (ret == sizeof(struct v1_disk_dqblk)) in v1_write_file_info()