Home
last modified time | relevance | path

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

/arch/um/drivers/
Dcow_user.c29 __s32 sectorsize; member
48 __s32 sectorsize; member
91 __u32 sectorsize; member
103 __u32 sectorsize; member
125 void cow_sizes(int version, __u64 size, int sectorsize, int align, in cow_sizes() argument
130 *bitmap_len_out = (size + sectorsize - 1) / (8 * sectorsize); in cow_sizes()
133 *data_offset_out = (*data_offset_out + sectorsize - 1) / in cow_sizes()
134 sectorsize; in cow_sizes()
135 *data_offset_out *= sectorsize; in cow_sizes()
138 *bitmap_len_out = DIV_ROUND(size, sectorsize); in cow_sizes()
[all …]
Dcow.h8 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,
Dubd_kern.c64 int sectorsize; member
634 int fd, err, sectorsize, asked_switch, mode = 0644; in open_ubd_file() local
665 &size, &sectorsize, &align, bitmap_offset_out); in open_ubd_file()
683 sectorsize, align, &size); in open_ubd_file()
695 cow_sizes(version, size, sectorsize, align, *bitmap_offset_out, in open_ubd_file()
706 int sectorsize, int alignment, int *bitmap_offset_out, in create_cow_file() argument
720 err = init_cow_file(fd, cow_file, backing_file, sectorsize, alignment, in create_cow_file()
1307 io_req->sectorsize = SECTOR_SIZE; in ubd_alloc_req()
1487 nsectors = desc->length / req->sectorsize; in do_io()
1497 start * req->sectorsize; in do_io()
[all …]