Searched refs:seg (Results 1 – 6 of 6) sorted by relevance
737 struct elf32_fdpic_loadseg *seg; in elf_fdpic_map_file() local753 size = sizeof(*loadmap) + nloads * sizeof(*seg); in elf_fdpic_map_file()764 seg = loadmap->segs; in elf_fdpic_map_file()785 seg = loadmap->segs; in elf_fdpic_map_file()786 for (loop = loadmap->nsegs; loop > 0; loop--, seg++) { in elf_fdpic_map_file()787 if (params->hdr.e_entry >= seg->p_vaddr && in elf_fdpic_map_file()788 params->hdr.e_entry < seg->p_vaddr + seg->p_memsz) { in elf_fdpic_map_file()790 (params->hdr.e_entry - seg->p_vaddr) + in elf_fdpic_map_file()791 seg->addr; in elf_fdpic_map_file()810 seg = loadmap->segs; in elf_fdpic_map_file()[all …]
941 int seg; in direct_io_worker() local970 for (seg = 0; seg < nr_segs; seg++) { in direct_io_worker()971 user_addr = (unsigned long)iov[seg].iov_base; in direct_io_worker()973 ((user_addr+iov[seg].iov_len +PAGE_SIZE-1)/PAGE_SIZE in direct_io_worker()977 for (seg = 0; seg < nr_segs; seg++) { in direct_io_worker()978 user_addr = (unsigned long)iov[seg].iov_base; in direct_io_worker()979 dio->size += bytes = iov[seg].iov_len; in direct_io_worker()1000 dio->result += iov[seg].iov_len - in direct_io_worker()1116 int seg; in __blockdev_direct_IO() local1143 for (seg = 0; seg < nr_segs; seg++) { in __blockdev_direct_IO()[all …]
470 unsigned long seg = 0; in iov_shorten() local473 while (seg < nr_segs) { in iov_shorten()474 seg++; in iov_shorten()482 return seg; in iov_shorten()550 unsigned long seg; in rw_copy_check_uvector() local591 for (seg = 0; seg < nr_segs; seg++) { in rw_copy_check_uvector()592 void __user *buf = iov[seg].iov_base; in rw_copy_check_uvector()593 ssize_t len = (ssize_t)iov[seg].iov_len; in rw_copy_check_uvector()
1071 int seg; in compat_do_readv_writev() local1113 for (seg = 0 ; seg < nr_segs; seg++) { in compat_do_readv_writev()
385 unsigned long seg; in nfs_direct_read_schedule_iovec() local389 for (seg = 0; seg < nr_segs; seg++) { in nfs_direct_read_schedule_iovec()390 const struct iovec *vec = &iov[seg]; in nfs_direct_read_schedule_iovec()803 unsigned long seg; in nfs_direct_write_schedule_iovec() local807 for (seg = 0; seg < nr_segs; seg++) { in nfs_direct_write_schedule_iovec()808 const struct iovec *vec = &iov[seg]; in nfs_direct_write_schedule_iovec()
183 unsigned long seg; in xfs_read() local189 for (seg = 0; seg < segs; seg++) { in xfs_read()190 const struct iovec *iv = &iovp[seg]; in xfs_read()