Searched refs:seek (Results 1 – 4 of 4) sorted by relevance
16 seek.o
1701 struct nfsd4_seek *seek = &u->seek; in nfsd4_seek() local1707 &seek->seek_stateid, in nfsd4_seek()1714 switch (seek->seek_whence) { in nfsd4_seek()1730 seek->seek_pos = vfs_llseek(nf->nf_file, seek->seek_offset, whence); in nfsd4_seek()1731 if (seek->seek_pos < 0) in nfsd4_seek()1732 status = nfserrno(seek->seek_pos); in nfsd4_seek()1733 else if (seek->seek_pos >= i_size_read(file_inode(nf->nf_file))) in nfsd4_seek()1734 seek->seek_eof = true; in nfsd4_seek()
1867 nfsd4_decode_seek(struct nfsd4_compoundargs *argp, struct nfsd4_seek *seek) in nfsd4_decode_seek() argument1871 status = nfsd4_decode_stateid(argp, &seek->seek_stateid); in nfsd4_decode_seek()1876 p = xdr_decode_hyper(p, &seek->seek_offset); in nfsd4_decode_seek()1877 seek->seek_whence = be32_to_cpup(p); in nfsd4_decode_seek()4800 struct nfsd4_seek *seek) in nfsd4_encode_seek() argument4805 *p++ = cpu_to_be32(seek->seek_eof); in nfsd4_encode_seek()4806 p = xdr_encode_hyper(p, seek->seek_pos); in nfsd4_encode_seek()
677 struct nfsd4_seek seek; member