Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/
Dloop.c167 return get_size(lo->lo_offset, lo->lo_sizelimit, file); in get_loop_size()
240 if (lo->lo_sizelimit != sizelimit) in figure_loop_size()
241 lo->lo_sizelimit = sizelimit; in figure_loop_size()
791 return sprintf(buf, "%llu\n", (unsigned long long)lo->lo_sizelimit); in loop_attr_sizelimit_show()
990 lo->lo_sizelimit = 0; in loop_set_fd()
1118 lo->lo_sizelimit = 0; in __loop_clr_fd()
1255 lo->lo_sizelimit != info->lo_sizelimit) { in loop_set_status()
1287 lo->lo_sizelimit != info->lo_sizelimit) { in loop_set_status()
1296 if (figure_loop_size(lo, info->lo_offset, info->lo_sizelimit)) { in loop_set_status()
1366 info->lo_sizelimit = lo->lo_sizelimit; in loop_get_status()
[all …]
Dloop.h33 loff_t lo_sizelimit; member
/Linux-v5.4/include/uapi/linux/
Dloop.h52 __u64 lo_sizelimit;/* bytes, 0 == max available */ member