Home
last modified time | relevance | path

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

/fs/jfs/
Dxattr.c432 int blocks_needed, current_blocks; in ea_get() local
503 blocks_needed = (min_size + sb->s_blocksize - 1) >> in ea_get()
506 if (blocks_needed > current_blocks) { in ea_get()
508 rc = dquot_alloc_block(inode, blocks_needed); in ea_get()
512 quota_allocation = blocks_needed; in ea_get()
514 rc = dbAlloc(inode, INOHINT(inode), (s64) blocks_needed, in ea_get()
519 DXDlength(&ea_buf->new_ea, blocks_needed); in ea_get()
527 blocks_needed << sb->s_blocksize_bits, in ea_get()
530 dbFree(inode, blkno, (s64) blocks_needed); in ea_get()
541 dbFree(inode, blkno, (s64) blocks_needed); in ea_get()
/fs/reiserfs/
Dinode.c1020 __u64 blocks_needed; in reiserfs_get_block() local
1038 blocks_needed = in reiserfs_get_block()
1044 if (blocks_needed == 1) { in reiserfs_get_block()
1047 un = kcalloc(min(blocks_needed, max_to_insert), in reiserfs_get_block()
1051 blocks_needed = 1; in reiserfs_get_block()
1055 if (blocks_needed <= max_to_insert) { in reiserfs_get_block()
1060 un[blocks_needed - 1] = in reiserfs_get_block()
1073 blocks_needed = in reiserfs_get_block()
1080 blocks_needed); in reiserfs_get_block()
1082 if (blocks_needed != 1) in reiserfs_get_block()
[all …]