Searched refs:bytesize (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.1/drivers/block/ |
D | nbd.c | 103 loff_t bytesize; member 319 static int nbd_set_size(struct nbd_device *nbd, loff_t bytesize, in nbd_set_size() argument 328 nbd->config->bytesize = bytesize; in nbd_set_size() 343 if (!set_capacity_and_notify(nbd->disk, bytesize >> 9)) in nbd_set_size() 1305 if (nbd->config->bytesize) in nbd_config_put() 1397 return nbd_set_size(nbd, config->bytesize, nbd_blksize(config)); in nbd_start_device() 1455 loff_t bytesize; in __nbd_ioctl() local 1466 return nbd_set_size(nbd, config->bytesize, arg); in __nbd_ioctl() 1470 if (check_shl_overflow(arg, config->blksize_bits, &bytesize)) in __nbd_ioctl() 1472 return nbd_set_size(nbd, bytesize, nbd_blksize(config)); in __nbd_ioctl() [all …]
|