Home
last modified time | relevance | path

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

12

/fs/nfs/objlayout/
Dobjlayout.c255 status, hdr->res.eof, sync); in objlayout_read_done()
275 loff_t eof; in objlayout_read_pagelist() local
277 eof = i_size_read(inode); in objlayout_read_pagelist()
278 if (unlikely(offset + count > eof)) { in objlayout_read_pagelist()
279 if (offset >= eof) { in objlayout_read_pagelist()
282 hdr->res.eof = 1; in objlayout_read_pagelist()
286 count = eof - offset; in objlayout_read_pagelist()
289 hdr->res.eof = (offset + count) >= eof; in objlayout_read_pagelist()
295 __func__, inode->i_ino, offset, count, hdr->res.eof); in objlayout_read_pagelist()
/fs/cachefiles/
Drdwr.c879 loff_t pos, eof; in cachefiles_write_page() local
907 eof = object->fscache.store_limit_l; in cachefiles_write_page()
908 if (pos >= eof) in cachefiles_write_page()
922 if (eof & ~PAGE_MASK) { in cachefiles_write_page()
923 if (eof - pos < PAGE_SIZE) { in cachefiles_write_page()
925 pos, eof); in cachefiles_write_page()
926 len = eof - pos; in cachefiles_write_page()
927 ASSERTCMP(pos + len, ==, eof); in cachefiles_write_page()
/fs/xfs/
Dxfs_bmap_util.h46 int whichfork, int *eof);
58 int rt, int eof, int delay, int convert,
Dxfs_iomap.c124 int eof, error; in xfs_iomap_eof_align_last_fsb() local
126 error = xfs_bmap_eof(ip, new_last_fsb, XFS_DATA_FORK, &eof); in xfs_iomap_eof_align_last_fsb()
129 if (eof) in xfs_iomap_eof_align_last_fsb()
540 int error = 0, eof = 0; in xfs_file_iomap_begin_delay() local
567 eof = !xfs_iext_lookup_extent(ip, ifp, offset_fsb, &idx, &got); in xfs_file_iomap_begin_delay()
568 if (!eof && got.br_startoff <= offset_fsb) { in xfs_file_iomap_begin_delay()
600 if (eof) { in xfs_file_iomap_begin_delay()
623 end_fsb - offset_fsb, prealloc_blocks, &got, &idx, eof); in xfs_file_iomap_begin_delay()
Dxfs_reflink.c278 bool eof = false, trimmed; in xfs_reflink_reserve_cow() local
291 eof = true; in xfs_reflink_reserve_cow()
292 if (!eof && got.br_startoff <= imap->br_startoff) { in xfs_reflink_reserve_cow()
318 imap->br_blockcount, 0, &got, &idx, eof); in xfs_reflink_reserve_cow()
594 int error = 0, eof = 0; in xfs_reflink_cancel_cow_blocks() local
599 xfs_bmap_search_extents(ip, offset_fsb, XFS_COW_FORK, &eof, &idx, in xfs_reflink_cancel_cow_blocks()
601 if (eof) in xfs_reflink_cancel_cow_blocks()
727 int error, eof = 0; in xfs_reflink_end_cow() local
765 xfs_bmap_search_extents(ip, end_fsb - 1, XFS_COW_FORK, &eof, &idx, in xfs_reflink_end_cow()
769 if (eof || got.br_startoff > end_fsb) { in xfs_reflink_end_cow()
Dxfs_dquot.c701 loff_t eof) in xfs_dq_get_next_id() argument
730 eof, SEEK_DATA); in xfs_dq_get_next_id()
765 loff_t eof = 0; in xfs_qm_dqget() local
805 eof = XFS_FSB_TO_B(mp, last); in xfs_qm_dqget()
826 error = xfs_dq_get_next_id(mp, type, &id, eof); in xfs_qm_dqget()
861 error = xfs_dq_get_next_id(mp, type, &id, eof); in xfs_qm_dqget()
920 error = xfs_dq_get_next_id(mp, type, &id, eof); in xfs_qm_dqget()
Dxfs_bmap_util.c104 align, 1, ap->eof, 0, in xfs_bmap_rtalloc()
143 if (ap->eof && ap->offset == 0) { in xfs_bmap_rtalloc()
211 int *eof) in xfs_bmap_eof() argument
216 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, eof); in xfs_bmap_eof()
217 if (error || *eof) in xfs_bmap_eof()
220 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof()
Dxfs_inode.h452 loff_t eof, int whence);
/fs/cifs/
Dcache.c226 u64 eof; member
261 auxdata.eof = cifsi->server_eof; in cifs_fscache_inode_get_aux()
285 auxdata.eof = cifsi->server_eof; in cifs_fscache_inode_check_aux()
Dsmb2inode.c255 __le64 eof = cpu_to_le64(size); in smb2_set_path_size() local
257 FILE_WRITE_DATA, FILE_OPEN, 0, &eof, in smb2_set_path_size()
Dsmb2proto.h156 __le64 *eof, bool is_fallocate);
Dfile.c3362 u64 eof; in cifs_readpages_read_into_pages() local
3367 eof = CIFS_I(rdata->mapping->host)->server_eof; in cifs_readpages_read_into_pages()
3368 eof_index = eof ? (eof - 1) >> PAGE_SHIFT : 0; in cifs_readpages_read_into_pages()
3369 cifs_dbg(FYI, "eof=%llu eof_index=%lu\n", eof, eof_index); in cifs_readpages_read_into_pages()
/fs/xfs/libxfs/
Dxfs_bmap.h53 bool eof; /* set if allocating past last extent */ member
251 struct xfs_bmbt_irec *got, xfs_extnum_t *lastx, int eof);
Dxfs_bmap.c1551 int eof; /* hit end of file */ in xfs_bmap_last_before() local
1572 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got, in xfs_bmap_last_before()
1574 if (eof || xfs_bmbt_get_startoff(ep) > bno) { in xfs_bmap_last_before()
3244 int eof, /* is extent at end-of-file? */ in xfs_bmap_extsize_align() argument
3270 if (!delay && !eof && in xfs_bmap_extsize_align()
3327 if (!eof && gotp->br_startoff != NULLFILEOFF) { in xfs_bmap_extsize_align()
3335 if (!eof && in xfs_bmap_extsize_align()
3400 if (!eof && gotp->br_startoff != NULLFILEOFF) in xfs_bmap_extsize_align()
3439 if (ap->eof && ap->prev.br_startoff != NULLFILEOFF && in xfs_bmap_adjacent()
3458 else if (!ap->eof) { in xfs_bmap_adjacent()
[all …]
Dxfs_dir2_sf.c439 int eof; /* reached end of old dir */ in xfs_dir2_sf_addname_hard() local
467 eof = (char *)oldsfep == &buf[old_isize]; in xfs_dir2_sf_addname_hard()
468 !eof; in xfs_dir2_sf_addname_hard()
471 eof = (char *)oldsfep == &buf[old_isize]) { in xfs_dir2_sf_addname_hard()
507 if (!eof) { in xfs_dir2_sf_addname_hard()
/fs/nfs/
Ddir.c170 unsigned int eof:1; member
264 if (entry->eof != 0) in nfs_readdir_add_to_array()
290 desc->eof = 1; in nfs_readdir_search_for_pos()
344 desc->eof = 1; in nfs_readdir_search_for_cookie()
599 } while (!entry->eof); in nfs_readdir_page_filler()
602 if (count == 0 || (status == -EBADCOOKIE && entry->eof != 0)) { in nfs_readdir_page_filler()
658 entry.eof = 0; in nfs_readdir_xdr_to_array()
818 desc->eof = 1; in nfs_do_filldir()
830 desc->eof = 1; in nfs_do_filldir()
931 if (*desc->dir_cookie && desc->eof == 0) { in nfs_readdir()
[all …]
Dnfs3xdr.c1595 u32 eof, count, ocount, recvd; in decode_read3resok() local
1602 eof = be32_to_cpup(p++); in decode_read3resok()
1610 result->eof = eof; in decode_read3resok()
1621 eof = 0; in decode_read3resok()
1964 entry->eof = 1; in nfs3_decode_dirent()
Dnfs2xdr.c119 result->eof = 0; /* NFSv2 does not pass EOF flag on the wire. */ in decode_nfsdata()
930 entry->eof = 1; in nfs2_decode_dirent()
Dread.c270 if (hdr->res.eof) { in nfs_readpage_result()
Dpnfs.h220 unsigned int eof; member
/fs/
Dread_write.c85 loff_t maxsize, loff_t eof) in generic_file_llseek_size() argument
89 offset += eof; in generic_file_llseek_size()
114 if ((unsigned long long)offset >= eof) in generic_file_llseek_size()
122 if ((unsigned long long)offset >= eof) in generic_file_llseek_size()
124 offset = eof; in generic_file_llseek_size()
/fs/ncpfs/
Dncplib_kernel.h191 int eof; member
Ddir.c449 if (!PageUptodate(page) || !ctl.head.eof) in ncp_readdir()
534 ctl.head.eof = 0; in ncp_readdir()
550 ctl.head.eof = ctl.valid; in ncp_readdir()
/fs/nfsd/
Dxdr3.h152 int eof; member
Dnfs4xdr.c3392 u32 eof; in nfsd4_encode_splice_read() local
3415 eof = nfsd_eof_on_read(len, maxcount, read->rd_offset, in nfsd4_encode_splice_read()
3418 *(p++) = htonl(eof); in nfsd4_encode_splice_read()
3453 u32 eof; in nfsd4_encode_readv() local
3493 eof = nfsd_eof_on_read(len, maxcount, read->rd_offset, in nfsd4_encode_readv()
3496 tmp = htonl(eof); in nfsd4_encode_readv()

12