v2_disk_dqblk 27 fs/quota_v2.c #define GETENTRIES(buf) ((struct v2_disk_dqblk *)(((char *)buf)+sizeof(struct v2_disk_dqdbheader))) v2_disk_dqblk 277 fs/quota_v2.c struct v2_disk_dqblk *ddquot; v2_disk_dqblk 278 fs/quota_v2.c struct v2_disk_dqblk fakedquot; v2_disk_dqblk 311 fs/quota_v2.c memset(&fakedquot, 0, sizeof(struct v2_disk_dqblk)); v2_disk_dqblk 313 fs/quota_v2.c for (i = 0; i < V2_DQSTRINBLK && memcmp(&fakedquot, ddquot+i, sizeof(struct v2_disk_dqblk)); i++); v2_disk_dqblk 325 fs/quota_v2.c dquot->dq_off = (blk<<V2_DQBLKSIZE_BITS)+sizeof(struct v2_disk_dqdbheader)+i*sizeof(struct v2_disk_dqblk); v2_disk_dqblk 399 fs/quota_v2.c struct v2_disk_dqblk ddquot, empty; v2_disk_dqblk 412 fs/quota_v2.c memset(&empty, 0, sizeof(struct v2_disk_dqblk)); v2_disk_dqblk 413 fs/quota_v2.c if (!memcmp(&empty, &ddquot, sizeof(struct v2_disk_dqblk))) v2_disk_dqblk 417 fs/quota_v2.c (char *)&ddquot, sizeof(struct v2_disk_dqblk), dquot->dq_off); v2_disk_dqblk 418 fs/quota_v2.c if (ret != sizeof(struct v2_disk_dqblk)) { v2_disk_dqblk 463 fs/quota_v2.c sizeof(struct v2_disk_dqblk)); v2_disk_dqblk 542 fs/quota_v2.c struct v2_disk_dqblk *ddquot = GETENTRIES(buf); v2_disk_dqblk 554 fs/quota_v2.c struct v2_disk_dqblk fakedquot; v2_disk_dqblk 556 fs/quota_v2.c memset(&fakedquot, 0, sizeof(struct v2_disk_dqblk)); v2_disk_dqblk 559 fs/quota_v2.c memcmp(&fakedquot, ddquot+i, sizeof(struct v2_disk_dqblk))) v2_disk_dqblk 570 fs/quota_v2.c v2_disk_dqdbheader) + i * sizeof(struct v2_disk_dqblk); v2_disk_dqblk 612 fs/quota_v2.c struct v2_disk_dqblk ddquot, empty; v2_disk_dqblk 635 fs/quota_v2.c (char *)&ddquot, sizeof(struct v2_disk_dqblk), offset)) v2_disk_dqblk 636 fs/quota_v2.c != sizeof(struct v2_disk_dqblk)) { v2_disk_dqblk 641 fs/quota_v2.c memset(&ddquot, 0, sizeof(struct v2_disk_dqblk)); v2_disk_dqblk 646 fs/quota_v2.c memset(&empty, 0, sizeof(struct v2_disk_dqblk)); v2_disk_dqblk 648 fs/quota_v2.c if (!memcmp(&empty, &ddquot, sizeof(struct v2_disk_dqblk))) v2_disk_dqblk 77 include/linux/quotaio_v2.h #define V2_DQSTRINBLK ((V2_DQBLKSIZE - sizeof(struct v2_disk_dqdbheader)) / sizeof(struct v2_disk_dqblk)) /* Number of entries in one blocks */