Searched refs:sectorsize (Results 1 – 3 of 3) sorted by relevance
/arch/um/drivers/ |
D | cow_user.c | 28 __s32 sectorsize; member 47 __s32 sectorsize; member 90 __u32 sectorsize; member 102 __u32 sectorsize; member 124 void cow_sizes(int version, __u64 size, int sectorsize, int align, in cow_sizes() argument 129 *bitmap_len_out = (size + sectorsize - 1) / (8 * sectorsize); in cow_sizes() 132 *data_offset_out = (*data_offset_out + sectorsize - 1) / in cow_sizes() 133 sectorsize; in cow_sizes() 134 *data_offset_out *= sectorsize; in cow_sizes() 137 *bitmap_len_out = DIV_ROUND(size, sectorsize); in cow_sizes() [all …]
|
D | cow.h | 8 int sectorsize, int alignment, int *bitmap_offset_out, 19 int sectorsize, int alignment, 22 extern void cow_sizes(int version, __u64 size, int sectorsize, int align,
|
D | ubd_kern.c | 57 int sectorsize; member 678 int fd, err, sectorsize, asked_switch, mode = 0644; in open_ubd_file() local 709 &size, §orsize, &align, bitmap_offset_out); in open_ubd_file() 727 sectorsize, align, &size); in open_ubd_file() 739 cow_sizes(version, size, sectorsize, align, *bitmap_offset_out, in open_ubd_file() 750 int sectorsize, int alignment, int *bitmap_offset_out, in create_cow_file() argument 764 err = init_cow_file(fd, cow_file, backing_file, sectorsize, alignment, in create_cow_file() 1338 io_req->sectorsize = SECTOR_SIZE; in ubd_queue_one_vec() 1515 nsectors = req->length / req->sectorsize; in do_io() 1526 start * req->sectorsize; in do_io() [all …]
|