• Home
  • Raw
  • Download

Lines Matching refs:iov

657 			     struct sg_iovec *iov, int iov_count,  in bio_set_map_data()  argument
661 memcpy(bmd->sgvecs, iov, sizeof(struct sg_iovec) * iov_count); in bio_set_map_data()
698 struct sg_iovec *iov, int iov_count, int uncopy, in __bio_copy_iov() argument
716 iov[iov_idx].iov_len - iov_off, bv_len); in __bio_copy_iov()
717 iov_addr = iov[iov_idx].iov_base + iov_off; in __bio_copy_iov()
736 if (iov[iov_idx].iov_len == iov_off) { in __bio_copy_iov()
784 struct sg_iovec *iov, int iov_count, in bio_copy_user_iov() argument
801 uaddr = (unsigned long)iov[i].iov_base; in bio_copy_user_iov()
802 end = (uaddr + iov[i].iov_len + PAGE_SIZE - 1) >> PAGE_SHIFT; in bio_copy_user_iov()
806 len += iov[i].iov_len; in bio_copy_user_iov()
866 ret = __bio_copy_iov(bio, bio->bi_io_vec, iov, iov_count, 0, 0); in bio_copy_user_iov()
871 bio_set_map_data(bmd, bio, iov, iov_count, map_data ? 0 : 1); in bio_copy_user_iov()
901 struct sg_iovec iov; in bio_copy_user() local
903 iov.iov_base = (void __user *)uaddr; in bio_copy_user()
904 iov.iov_len = len; in bio_copy_user()
906 return bio_copy_user_iov(q, map_data, &iov, 1, write_to_vm, gfp_mask); in bio_copy_user()
911 struct sg_iovec *iov, int iov_count, in __bio_map_user_iov() argument
922 unsigned long uaddr = (unsigned long)iov[i].iov_base; in __bio_map_user_iov()
923 unsigned long len = iov[i].iov_len; in __bio_map_user_iov()
948 unsigned long uaddr = (unsigned long)iov[i].iov_base; in __bio_map_user_iov()
949 unsigned long len = iov[i].iov_len; in __bio_map_user_iov()
1031 struct sg_iovec iov; in bio_map_user() local
1033 iov.iov_base = (void __user *)uaddr; in bio_map_user()
1034 iov.iov_len = len; in bio_map_user()
1036 return bio_map_user_iov(q, bdev, &iov, 1, write_to_vm, gfp_mask); in bio_map_user()
1052 struct sg_iovec *iov, int iov_count, in bio_map_user_iov() argument
1057 bio = __bio_map_user_iov(q, bdev, iov, iov_count, write_to_vm, in bio_map_user_iov()