Home
last modified time | relevance | path

Searched refs:seg (Results 1 – 6 of 6) sorted by relevance

/fs/
Dbinfmt_elf_fdpic.c737 struct elf32_fdpic_loadseg *seg; in elf_fdpic_map_file() local
753 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 …]
Ddirect-io.c941 int seg; in direct_io_worker() local
970 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() local
1143 for (seg = 0; seg < nr_segs; seg++) { in __blockdev_direct_IO()
[all …]
Dread_write.c470 unsigned long seg = 0; in iov_shorten() local
473 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() local
591 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()
Dcompat.c1071 int seg; in compat_do_readv_writev() local
1113 for (seg = 0 ; seg < nr_segs; seg++) { in compat_do_readv_writev()
/fs/nfs/
Ddirect.c385 unsigned long seg; in nfs_direct_read_schedule_iovec() local
389 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() local
807 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()
/fs/xfs/linux-2.6/
Dxfs_lrw.c183 unsigned long seg; in xfs_read() local
189 for (seg = 0; seg < segs; seg++) { in xfs_read()
190 const struct iovec *iv = &iovp[seg]; in xfs_read()