Home
last modified time | relevance | path

Searched refs:v2_disk_dqblk (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/
Dquota_v2.c26 #define GETENTRIES(buf) ((struct v2_disk_dqblk *)(((char *)buf)+sizeof(struct v2_disk_dqdbheader)))
108 static void disk2memdqb(struct mem_dqblk *m, struct v2_disk_dqblk *d) in disk2memdqb()
120 static void mem2diskdqb(struct v2_disk_dqblk *d, struct mem_dqblk *m, qid_t id) in mem2diskdqb()
292 struct v2_disk_dqblk *ddquot; in find_free_dqentry()
293 struct v2_disk_dqblk fakedquot; in find_free_dqentry()
324 memset(&fakedquot, 0, sizeof(struct v2_disk_dqblk)); in find_free_dqentry()
326 for (i = 0; i < V2_DQSTRINBLK && memcmp(&fakedquot, ddquot+i, sizeof(struct v2_disk_dqblk)); i++); in find_free_dqentry()
338 …dq_off = (blk<<V2_DQBLKSIZE_BITS)+sizeof(struct v2_disk_dqdbheader)+i*sizeof(struct v2_disk_dqblk); in find_free_dqentry()
416 struct v2_disk_dqblk ddquot; in v2_write_dquot()
428 ret = filp->f_op->write(filp, (char *)&ddquot, sizeof(struct v2_disk_dqblk), &offset); in v2_write_dquot()
[all …]
/linux-2.4.37.9/include/linux/
Dquotaio_v2.h29 struct v2_disk_dqblk { struct
77 …K ((V2_DQBLKSIZE - sizeof(struct v2_disk_dqdbheader)) / sizeof(struct v2_disk_dqblk)) /* Number of…