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
186 if (h->read(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()
241 struct v2_disk_dqinfo ddqinfo; in v2_new_io() local
263 v2_mem2diskdqinfo(&ddqinfo, &h->qh_info); in v2_new_io()
264 if (h->write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_new_io()
265 sizeof(ddqinfo)) != in v2_new_io()
266 sizeof(ddqinfo)) in v2_new_io()
277 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.c1283 struct v2_disk_dqinfo ddqinfo; in f2fs_write_default_quota() local
1299 ddqinfo.dqi_bgrace = cpu_to_le32(MAX_DQ_TIME); in f2fs_write_default_quota()
1300 ddqinfo.dqi_igrace = cpu_to_le32(MAX_IQ_TIME); in f2fs_write_default_quota()
1301 ddqinfo.dqi_flags = cpu_to_le32(0); in f2fs_write_default_quota()
1302 ddqinfo.dqi_blocks = cpu_to_le32(QT_TREEOFF + 5); in f2fs_write_default_quota()
1303 ddqinfo.dqi_free_blk = cpu_to_le32(0); in f2fs_write_default_quota()
1304 ddqinfo.dqi_free_entry = cpu_to_le32(5); in f2fs_write_default_quota()
1306 memcpy(filebuf + V2_DQINFOOFF, &ddqinfo, sizeof(ddqinfo)); in f2fs_write_default_quota()