Searched refs:vec_len (Results 1 – 2 of 2) sorted by relevance
1222 size_t vec_len; in io_sqe_buffer_register() local1224 vec_len = min_t(size_t, size, PAGE_SIZE - off); in io_sqe_buffer_register()1226 imu->bvec[i].bv_len = vec_len; in io_sqe_buffer_register()1229 size -= vec_len; in io_sqe_buffer_register()
507 unsigned int vec_len, vec_start; in o2hb_setup_one_bio() local535 vec_len = min(PAGE_SIZE - vec_start, in o2hb_setup_one_bio()539 current_page, vec_len, vec_start); in o2hb_setup_one_bio()541 len = bio_add_page(bio, page, vec_len, vec_start); in o2hb_setup_one_bio()542 if (len != vec_len) break; in o2hb_setup_one_bio()544 cs += vec_len / (PAGE_SIZE/spp); in o2hb_setup_one_bio()