/* * This file is only for sharing some helpers from read_write.c with compat.c. * Don't use anywhere else. */typedefssize_t(*io_fn_t)(structfile*,char__user*,size_t,loff_t*);typedefssize_t(*iov_fn_t)(structkiocb*,conststructiovec*,unsignedlong,loff_t);ssize_tdo_sync_readv_writev(structfile*filp,conststructiovec*iov,unsignedlongnr_segs,size_tlen,loff_t*ppos,iov_fn_tfn);ssize_tdo_loop_readv_writev(structfile*filp,structiovec*iov,unsignedlongnr_segs,loff_t*ppos,io_fn_tfn);