Searched refs:blocks_needed (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/fs/jfs/ |
D | xattr.c | 447 int blocks_needed, current_blocks; in ea_get() local 516 blocks_needed = (min_size + sb->s_blocksize - 1) >> in ea_get() 519 if (blocks_needed > current_blocks) { in ea_get() 521 rc = dquot_alloc_block(inode, blocks_needed); in ea_get() 525 quota_allocation = blocks_needed; in ea_get() 527 rc = dbAlloc(inode, INOHINT(inode), (s64) blocks_needed, in ea_get() 532 DXDlength(&ea_buf->new_ea, blocks_needed); in ea_get() 540 blocks_needed << sb->s_blocksize_bits, in ea_get() 543 dbFree(inode, blkno, (s64) blocks_needed); in ea_get() 554 dbFree(inode, blkno, (s64) blocks_needed); in ea_get()
|
/linux-3.4.99/fs/reiserfs/ |
D | inode.c | 922 __u64 blocks_needed; in reiserfs_get_block() local 937 blocks_needed = in reiserfs_get_block() 943 if (blocks_needed == 1) { in reiserfs_get_block() 946 un = kzalloc(min(blocks_needed, max_to_insert) * UNFM_P_SIZE, GFP_NOFS); in reiserfs_get_block() 949 blocks_needed = 1; in reiserfs_get_block() 953 if (blocks_needed <= max_to_insert) { in reiserfs_get_block() 956 un[blocks_needed - 1] = in reiserfs_get_block() 966 blocks_needed = in reiserfs_get_block() 973 blocks_needed); in reiserfs_get_block() 975 if (blocks_needed != 1) in reiserfs_get_block() [all …]
|