Home
last modified time | relevance | path

Searched refs:eof (Results 1 – 25 of 38) sorted by relevance

12

/fs/nfsd/
Dvfs.h111 u32 *eof);
116 u32 *eof);
119 u32 *eof);
Dvfs.c920 unsigned long *count, u32 *eof, ssize_t host_err) in nfsd_finish_read() argument
924 *eof = nfsd_eof_on_read(file, offset, host_err, *count); in nfsd_finish_read()
937 u32 *eof) in nfsd_splice_read() argument
950 return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err); in nfsd_splice_read()
956 u32 *eof) in nfsd_readv() argument
965 return nfsd_finish_read(rqstp, fhp, file, offset, count, eof, host_err); in nfsd_readv()
1100 u32 *eof) in nfsd_read() argument
1113 err = nfsd_splice_read(rqstp, fhp, file, offset, count, eof); in nfsd_read()
1115 err = nfsd_readv(rqstp, fhp, file, offset, vec, vlen, count, eof); in nfsd_read()
Dnfs4xdr.c4781 unsigned long *maxcount, u32 *eof, in nfsd4_encode_read_plus_data() argument
4807 resp->rqstp->rq_vec, read->rd_vlen, maxcount, eof); in nfsd4_encode_read_plus_data()
4828 unsigned long *maxcount, u32 *eof) in nfsd4_encode_read_plus_hole() argument
4839 return nfsd4_encode_read_plus_data(resp, read, maxcount, eof, &f_size); in nfsd4_encode_read_plus_hole()
4851 *eof = (read->rd_offset + count) >= f_size; in nfsd4_encode_read_plus_hole()
4869 u32 eof; in nfsd4_encode_read_plus() local
4885 eof = read->rd_offset >= i_size_read(file_inode(file)); in nfsd4_encode_read_plus()
4886 if (eof) in nfsd4_encode_read_plus()
4892 while (count > 0 && !eof) { in nfsd4_encode_read_plus()
4895 nfserr = nfsd4_encode_read_plus_data(resp, read, &maxcount, &eof, in nfsd4_encode_read_plus()
[all …]
Dxdr3.h147 __u32 eof; member
Dnfsproc.c180 u32 eof; in nfsd_proc_read() local
210 rqstp->rq_vec, v, &resp->count, &eof); in nfsd_proc_read()
/fs/xfs/libxfs/
Dxfs_dir2.c616 xfs_fileoff_t eof; in xfs_dir2_isblock() local
619 error = xfs_bmap_last_offset(args->dp, &eof, XFS_DATA_FORK); in xfs_dir2_isblock()
624 if (XFS_FSB_TO_B(mp, eof) != args->geo->blksize) in xfs_dir2_isblock()
641 xfs_fileoff_t eof; in xfs_dir2_isleaf() local
644 error = xfs_bmap_last_offset(args->dp, &eof, XFS_DATA_FORK); in xfs_dir2_isleaf()
649 if (eof != args->geo->leafblk + args->geo->fsbcount) in xfs_dir2_isleaf()
Dxfs_bmap.h37 bool eof; /* set if allocating past last extent */ member
216 int eof);
Dxfs_bmap.c2854 int eof, /* is extent at end-of-file? */ in xfs_bmap_extsize_align() argument
2880 if (!delay && !eof && in xfs_bmap_extsize_align()
2937 if (!eof && gotp->br_startoff != NULLFILEOFF) { in xfs_bmap_extsize_align()
2945 if (!eof && in xfs_bmap_extsize_align()
3010 if (!eof && gotp->br_startoff != NULLFILEOFF) in xfs_bmap_extsize_align()
3050 if (ap->eof && ap->prev.br_startoff != NULLFILEOFF && in xfs_bmap_adjacent()
3069 else if (!ap->eof) { in xfs_bmap_adjacent()
3384 ap->eof, 0, ap->conv, &ap->offset, in xfs_bmap_compute_alignments()
3875 bool eof = false; in xfs_bmapi_read() local
3899 eof = true; in xfs_bmapi_read()
[all …]
Dxfs_dir2_sf.c518 int eof; /* reached end of old dir */ in xfs_dir2_sf_addname_hard() local
544 eof = (char *)oldsfep == &buf[old_isize]; in xfs_dir2_sf_addname_hard()
545 !eof; in xfs_dir2_sf_addname_hard()
548 eof = (char *)oldsfep == &buf[old_isize]) { in xfs_dir2_sf_addname_hard()
584 if (!eof) { in xfs_dir2_sf_addname_hard()
/fs/nfs/
Ddir.c176 bool eof; member
344 if (entry->eof != 0) in nfs_readdir_page_array_append()
520 desc->eof = true; in nfs_readdir_search_for_pos()
560 desc->eof = true; in nfs_readdir_search_for_cookie()
870 } while (!status && !entry->eof); in nfs_readdir_page_filler()
874 if (!entry->eof) in nfs_readdir_page_filler()
1111 desc->eof = !desc->eob; in nfs_do_filldir()
1171 if (!desc->eof) { in uncached_readdir()
1245 desc->eof = dir_ctx->eof; in nfs_readdir()
1253 if (desc->eof) { in nfs_readdir()
[all …]
Dnfstrace.h1139 __field(bool, eof)
1153 __entry->eof = hdr->res.eof;
1166 __entry->res_count, __entry->eof ? " eof" : ""
1185 __field(bool, eof)
1199 __entry->eof = hdr->res.eof;
1212 __entry->res_count, __entry->eof ? " eof" : ""
Dread.c275 resp->eof = 0; in nfs_readpage_retry()
282 if (hdr->res.eof) { in nfs_readpage_result()
Dnfs3xdr.c1608 u32 eof, count, ocount, recvd; in decode_read3resok() local
1615 eof = be32_to_cpup(p++); in decode_read3resok()
1623 result->eof = eof; in decode_read3resok()
1634 eof = 0; in decode_read3resok()
1984 entry->eof = 1; in nfs3_decode_dirent()
Dnfs42xdr.c584 res->eof = true; in decode_listxattrs()
650 res->eof = be32_to_cpup(p); in decode_listxattrs()
1106 res->eof = 0; in process_read_plus_segment()
1113 res->eof = 0; in process_read_plus_segment()
1142 res->eof = be32_to_cpup(p++); in decode_read_plus()
Dnfs2xdr.c110 result->eof = 0; /* NFSv2 does not pass EOF flag on the wire. */ in decode_nfsdata()
941 entry->eof = 1; in nfs2_decode_dirent()
Dnfs4trace.h2131 __field(u32, eof)
2150 __entry->eof = 0;
2154 __entry->eof = res->sr_eof;
2171 __entry->eof
Dnfs42proc.c1291 .eof = false, in _nfs42_proc_listxattrs()
1333 *eofp = res.eof; in _nfs42_proc_listxattrs()
Dproc.c609 hdr->res.eof = 1; in nfs_read_done()
/fs/xfs/
Dxfs_iomap.c914 bool eof = false, cow_eof = false, shared = false; in xfs_buffered_write_iomap_begin() local
951 eof = !xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap); in xfs_buffered_write_iomap_begin()
952 if (eof) in xfs_buffered_write_iomap_begin()
1036 if (eof && offset + count > XFS_ISIZE(ip)) { in xfs_buffered_write_iomap_begin()
1071 allocfork == XFS_DATA_FORK ? eof : cow_eof); in xfs_buffered_write_iomap_begin()
Dxfs_bmap_util.h48 int rt, int eof, int delay, int convert,
Dxfs_bmap_util.c94 align, 1, ap->eof, 0, in xfs_bmap_rtalloc()
146 if (ap->eof && ap->offset == 0) { in xfs_bmap_rtalloc()
/fs/
Dread_write.c87 loff_t maxsize, loff_t eof) in generic_file_llseek_size() argument
91 offset += eof; in generic_file_llseek_size()
116 if ((unsigned long long)offset >= eof) in generic_file_llseek_size()
124 if ((unsigned long long)offset >= eof) in generic_file_llseek_size()
126 offset = eof; in generic_file_llseek_size()
/fs/smb/client/
Dsmb2ops.c1941 __le64 eof = cpu_to_le64(size); in smb2_set_file_size() local
1958 cfile->fid.volatile_fid, cfile->pid, &eof); in smb2_set_file_size()
3452 __le64 eof; in smb3_zero_range() local
3482 eof = cpu_to_le64(new_size); in smb3_zero_range()
3484 cfile->fid.volatile_fid, cfile->pid, &eof); in smb3_zero_range()
3677 __le64 eof; in smb3_simple_falloc() local
3706 eof = cpu_to_le64(off + len); in smb3_simple_falloc()
3708 cfile->fid.volatile_fid, cfile->pid, &eof); in smb3_simple_falloc()
3804 __le64 eof; in smb3_collapse_range() local
3830 eof = cpu_to_le64(old_eof - len); in smb3_collapse_range()
[all …]
Dsmb2inode.c760 __le64 eof = cpu_to_le64(size); in smb2_set_path_size() local
766 &eof, SMB2_OP_SET_EOF, cfile, NULL, NULL); in smb2_set_path_size()
Dsmb2proto.h206 __le64 *eof);

12