Searched refs:ddqheader (Results 1 – 3 of 3) sorted by relevance
240 struct v2_disk_dqheader ddqheader; in v2_new_io() local247 ddqheader.dqh_magic = cpu_to_le32(file_magics[h->qh_type]); in v2_new_io()248 ddqheader.dqh_version = cpu_to_le32(V2_VERSION); in v2_new_io()249 if (h->write(&h->qh_qf, 0, &ddqheader, sizeof(ddqheader)) != in v2_new_io()250 sizeof(ddqheader)) in v2_new_io()
225 struct v2_disk_dqheader ddqheader; in v2_new_io() local232 ddqheader.dqh_magic = ext2fs_cpu_to_le32(file_magics[h->qh_type]); in v2_new_io()233 ddqheader.dqh_version = ext2fs_cpu_to_le32(V2_VERSION); in v2_new_io()234 if (h->e2fs_write(&h->qh_qf, 0, &ddqheader, sizeof(ddqheader)) != in v2_new_io()235 sizeof(ddqheader)) in v2_new_io()
1282 struct v2_disk_dqheader ddqheader; in f2fs_write_default_quota() local1292 ddqheader.dqh_magic = cpu_to_le32(file_magics[qtype]); in f2fs_write_default_quota()1294 ddqheader.dqh_version = cpu_to_le32(1); in f2fs_write_default_quota()1296 memcpy(filebuf, &ddqheader, sizeof(ddqheader)); in f2fs_write_default_quota()