Home
last modified time | relevance | path

Searched refs:ddqinfo (Results 1 – 3 of 3) sorted by relevance

/external/f2fs-tools/fsck/
Dquotaio_v2.c175 struct v2_disk_dqinfo ddqinfo; in v2_init_io() local
182 if (h->read(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_init_io()
183 sizeof(ddqinfo)) != sizeof(ddqinfo)) in v2_init_io()
185 v2_disk2memdqinfo(&h->qh_info, &ddqinfo); in v2_init_io()
196 struct v2_disk_dqinfo ddqinfo; in v2_new_io() local
218 v2_mem2diskdqinfo(&ddqinfo, &h->qh_info); in v2_new_io()
219 if (h->write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_new_io()
220 sizeof(ddqinfo)) != in v2_new_io()
221 sizeof(ddqinfo)) in v2_new_io()
232 struct v2_disk_dqinfo ddqinfo; in v2_write_info() local
[all …]
/external/e2fsprogs/lib/support/
Dquotaio_v2.c177 struct v2_disk_dqinfo ddqinfo; in v2_init_io() local
186 if (h->e2fs_read(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_init_io()
187 sizeof(ddqinfo)) != sizeof(ddqinfo)) in v2_init_io()
189 v2_disk2memdqinfo(&h->qh_info, &ddqinfo); in v2_init_io()
226 struct v2_disk_dqinfo ddqinfo; in v2_new_io() local
248 v2_mem2diskdqinfo(&ddqinfo, &h->qh_info); in v2_new_io()
249 if (h->e2fs_write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_new_io()
250 sizeof(ddqinfo)) != in v2_new_io()
251 sizeof(ddqinfo)) in v2_new_io()
262 struct v2_disk_dqinfo ddqinfo; in v2_write_info() local
[all …]
/external/f2fs-tools/mkfs/
Df2fs_format.c1187 struct v2_disk_dqinfo ddqinfo; in f2fs_write_default_quota() local
1203 ddqinfo.dqi_bgrace = cpu_to_le32(MAX_DQ_TIME); in f2fs_write_default_quota()
1204 ddqinfo.dqi_igrace = cpu_to_le32(MAX_IQ_TIME); in f2fs_write_default_quota()
1205 ddqinfo.dqi_flags = cpu_to_le32(0); in f2fs_write_default_quota()
1206 ddqinfo.dqi_blocks = cpu_to_le32(QT_TREEOFF + 5); in f2fs_write_default_quota()
1207 ddqinfo.dqi_free_blk = cpu_to_le32(0); in f2fs_write_default_quota()
1208 ddqinfo.dqi_free_entry = cpu_to_le32(5); in f2fs_write_default_quota()
1210 memcpy(filebuf + V2_DQINFOOFF, &ddqinfo, sizeof(ddqinfo)); in f2fs_write_default_quota()