Home | History | Annotate | Download | only in genext2fs

Lines Matching full:rndup

807 rndup(uint32 qty, uint32 siz)
1266 reclen = sizeof(directory) + rndup(nlen, 4);
1287 if(d->d_rec_len >= (sizeof(directory) + rndup(d->d_name_len, 4) + reclen))
1290 d->d_rec_len = sizeof(directory) + rndup(d->d_name_len, 4);
1431 extend_blk(fs, nod, b, rndup(size, BLOCKSIZE) / BLOCKSIZE);
1444 if(!(b = (uint8*)calloc(rndup(size, BLOCKSIZE), 1)))
1448 extend_blk(fs, nod, b, rndup(size, BLOCKSIZE) / BLOCKSIZE);
1991 nbblocks_per_group = rndup((nbblocks - first_block + nbgroups - 1)/nbgroups, 8);
1992 nbinodes_per_group = rndup((nbinodes + nbgroups - 1)/nbgroups,
1997 gdsz = rndup(nbgroups*sizeof(groupdescriptor),BLOCKSIZE)/BLOCKSIZE;