Searched refs:seek (Results 1 – 4 of 4) sorted by relevance
13 seek.o
1403 struct nfsd4_seek *seek = &u->seek; in nfsd4_seek() local1409 &seek->seek_stateid, in nfsd4_seek()1416 switch (seek->seek_whence) { in nfsd4_seek()1432 seek->seek_pos = vfs_llseek(nf->nf_file, seek->seek_offset, whence); in nfsd4_seek()1433 if (seek->seek_pos < 0) in nfsd4_seek()1434 status = nfserrno(seek->seek_pos); in nfsd4_seek()1435 else if (seek->seek_pos >= i_size_read(file_inode(nf->nf_file))) in nfsd4_seek()1436 seek->seek_eof = true; in nfsd4_seek()
1778 nfsd4_decode_seek(struct nfsd4_compoundargs *argp, struct nfsd4_seek *seek) in nfsd4_decode_seek() argument1782 status = nfsd4_decode_stateid(argp, &seek->seek_stateid); in nfsd4_decode_seek()1787 p = xdr_decode_hyper(p, &seek->seek_offset); in nfsd4_decode_seek()1788 seek->seek_whence = be32_to_cpup(p); in nfsd4_decode_seek()4292 struct nfsd4_seek *seek) in nfsd4_encode_seek() argument4297 *p++ = cpu_to_be32(seek->seek_eof); in nfsd4_encode_seek()4298 p = xdr_encode_hyper(p, seek->seek_pos); in nfsd4_encode_seek()
630 struct nfsd4_seek seek; member