Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ksmbd/
Dsmb2pdu.c5706 loff_t alloc_blks; in set_file_allocation_info() local
5713 alloc_blks = (le64_to_cpu(file_alloc_info->AllocationSize) + 511) >> 9; in set_file_allocation_info()
5716 if (alloc_blks > inode->i_blocks) { in set_file_allocation_info()
5719 alloc_blks * 512); in set_file_allocation_info()
5724 } else if (alloc_blks < inode->i_blocks) { in set_file_allocation_info()
5735 rc = ksmbd_vfs_truncate(work, fp, alloc_blks * 512); in set_file_allocation_info()
5740 if (size < alloc_blks * 512) in set_file_allocation_info()