Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/fs/reiserfs/
Dinode.c1012 __u64 blocks_needed; in reiserfs_get_block() local
1030 blocks_needed = in reiserfs_get_block()
1036 if (blocks_needed == 1) { in reiserfs_get_block()
1039 un = kcalloc(min(blocks_needed, max_to_insert), in reiserfs_get_block()
1043 blocks_needed = 1; in reiserfs_get_block()
1047 if (blocks_needed <= max_to_insert) { in reiserfs_get_block()
1052 un[blocks_needed - 1] = in reiserfs_get_block()
1065 blocks_needed = in reiserfs_get_block()
1072 blocks_needed); in reiserfs_get_block()
1074 if (blocks_needed != 1) in reiserfs_get_block()
[all …]