Searched refs:fd_block_size (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/target/
H A Dtarget_core_file.h40 u32 fd_block_size; member in struct:fd_dev
H A Dtarget_core_file.c156 fd_dev->fd_block_size = bdev_logical_block_size(inode->i_bdev); fd_configure_device()
162 fd_dev->fd_block_size); fd_configure_device()
166 dev_size, div_u64(dev_size, fd_dev->fd_block_size), fd_configure_device()
167 fd_dev->fd_block_size); fd_configure_device()
203 fd_dev->fd_block_size = FD_BLOCKSIZE; fd_configure_device()
222 dev->dev_attrib.hw_block_size = fd_dev->fd_block_size; fd_configure_device()
224 dev->dev_attrib.hw_max_sectors = FD_MAX_BYTES / fd_dev->fd_block_size; fd_configure_device()

Completed in 47 milliseconds