Lines Matching refs:ddquot
273 struct v2_disk_dqblk *ddquot;
283 ddquot = GETENTRIES(buf);
309 for (i = 0; i < V2_DQSTRINBLK && memcmp(&fakedquot, ddquot+i, sizeof(struct v2_disk_dqblk)); i++);
395 struct v2_disk_dqblk ddquot, empty;
404 mem2diskdqb(&ddquot, &dquot->dq_dqb, dquot->dq_id);
409 if (!memcmp(&empty, &ddquot, sizeof(struct v2_disk_dqblk)))
410 ddquot.dqb_itime = cpu_to_le64(1);
413 (char *)&ddquot, sizeof(struct v2_disk_dqblk), dquot->dq_off);
538 struct v2_disk_dqblk *ddquot = GETENTRIES(buf);
548 le32_to_cpu(ddquot[i].dqb_id) != dquot->dq_id; i++);
554 if (!le32_to_cpu(ddquot[i].dqb_id) &&
555 memcmp(&fakedquot, ddquot+i, sizeof(struct v2_disk_dqblk)))
608 struct v2_disk_dqblk ddquot, empty;
631 (char *)&ddquot, sizeof(struct v2_disk_dqblk), offset))
637 memset(&ddquot, 0, sizeof(struct v2_disk_dqblk));
644 if (!memcmp(&empty, &ddquot, sizeof(struct v2_disk_dqblk)))
645 ddquot.dqb_itime = 0;
647 disk2memdqb(&dquot->dq_dqb, &ddquot);