Searched refs:ddqinfo (Results 1 – 3 of 3) sorted by relevance
/external/f2fs-tools/fsck/ |
D | quotaio_v2.c | 175 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/ |
D | quotaio_v2.c | 177 struct v2_disk_dqinfo ddqinfo; in v2_init_io() local 184 if (h->e2fs_read(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_init_io() 185 sizeof(ddqinfo)) != sizeof(ddqinfo)) in v2_init_io() 187 v2_disk2memdqinfo(&h->qh_info, &ddqinfo); in v2_init_io() 198 struct v2_disk_dqinfo ddqinfo; in v2_new_io() local 220 v2_mem2diskdqinfo(&ddqinfo, &h->qh_info); in v2_new_io() 221 if (h->e2fs_write(&h->qh_qf, V2_DQINFOOFF, &ddqinfo, in v2_new_io() 222 sizeof(ddqinfo)) != in v2_new_io() 223 sizeof(ddqinfo)) in v2_new_io() 234 struct v2_disk_dqinfo ddqinfo; in v2_write_info() local [all …]
|
/external/f2fs-tools/mkfs/ |
D | f2fs_format.c | 1164 struct v2_disk_dqinfo ddqinfo; in f2fs_write_default_quota() local 1180 ddqinfo.dqi_bgrace = cpu_to_le32(MAX_DQ_TIME); in f2fs_write_default_quota() 1181 ddqinfo.dqi_igrace = cpu_to_le32(MAX_IQ_TIME); in f2fs_write_default_quota() 1182 ddqinfo.dqi_flags = cpu_to_le32(0); in f2fs_write_default_quota() 1183 ddqinfo.dqi_blocks = cpu_to_le32(QT_TREEOFF + 5); in f2fs_write_default_quota() 1184 ddqinfo.dqi_free_blk = cpu_to_le32(0); in f2fs_write_default_quota() 1185 ddqinfo.dqi_free_entry = cpu_to_le32(5); in f2fs_write_default_quota() 1187 memcpy(filebuf + V2_DQINFOOFF, &ddqinfo, sizeof(ddqinfo)); in f2fs_write_default_quota()
|