Home
last modified time | relevance | path

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

12

/fs/nfs/objlayout/
Dobjlayout.c255 status, rdata->res.eof, sync); in objlayout_read_done()
276 loff_t eof; in objlayout_read_pagelist() local
278 eof = i_size_read(inode); in objlayout_read_pagelist()
279 if (unlikely(offset + count > eof)) { in objlayout_read_pagelist()
280 if (offset >= eof) { in objlayout_read_pagelist()
283 rdata->res.eof = 1; in objlayout_read_pagelist()
287 count = eof - offset; in objlayout_read_pagelist()
290 rdata->res.eof = (offset + count) >= eof; in objlayout_read_pagelist()
296 __func__, inode->i_ino, offset, count, rdata->res.eof); in objlayout_read_pagelist()
/fs/cachefiles/
Drdwr.c915 loff_t pos, eof; in cachefiles_write_page() local
952 eof = object->fscache.store_limit_l; in cachefiles_write_page()
954 if (eof & ~PAGE_MASK) { in cachefiles_write_page()
955 ASSERTCMP(pos, <, eof); in cachefiles_write_page()
956 if (eof - pos < PAGE_SIZE) { in cachefiles_write_page()
958 pos, eof); in cachefiles_write_page()
959 len = eof - pos; in cachefiles_write_page()
960 ASSERTCMP(pos + len, ==, eof); in cachefiles_write_page()
/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.c235 __le64 eof = cpu_to_le64(size); in smb2_set_path_size() local
237 FILE_WRITE_DATA, FILE_OPEN, 0, 0, &eof, in smb2_set_path_size()
Dsmb2proto.h142 __le64 *eof);
Dsmb2ops.c414 __le64 eof = cpu_to_le64(size); in smb2_set_file_size() local
416 cfile->fid.volatile_fid, cfile->pid, &eof); in smb2_set_file_size()
Dfile.c3138 u64 eof; in cifs_readpages_read_into_pages() local
3144 eof = CIFS_I(rdata->mapping->host)->server_eof; in cifs_readpages_read_into_pages()
3145 eof_index = eof ? (eof - 1) >> PAGE_CACHE_SHIFT : 0; in cifs_readpages_read_into_pages()
3146 cifs_dbg(FYI, "eof=%llu eof_index=%lu\n", eof, eof_index); in cifs_readpages_read_into_pages()
Dcifsproto.h104 extern bool is_size_safe_to_change(struct cifsInodeInfo *, __u64 eof);
/fs/xfs/
Dxfs_bmap.c1832 int eof; /* hit end of file */ in xfs_bmap_last_before() local
1853 ep = xfs_bmap_search_extents(ip, bno, whichfork, &eof, &lastx, &got, in xfs_bmap_last_before()
1855 if (eof || xfs_bmbt_get_startoff(ep) > bno) { in xfs_bmap_last_before()
1940 int *eof) in xfs_bmap_eof() argument
1945 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, eof); in xfs_bmap_eof()
1946 if (error || *eof) in xfs_bmap_eof()
1949 *eof = endoff >= rec.br_startoff + rec.br_blockcount; in xfs_bmap_eof()
3499 int eof, /* is extent at end-of-file? */ in xfs_bmap_extsize_align() argument
3525 if (!delay && !eof && in xfs_bmap_extsize_align()
3570 if (!eof && gotp->br_startoff != NULLFILEOFF) { in xfs_bmap_extsize_align()
[all …]
Dxfs_bmap.h133 char eof; /* set if allocating past last extent */ member
216 int whichfork, int *eof);
Dxfs_dir2_sf.c513 int eof; /* reached end of old dir */ in xfs_dir2_sf_addname_hard() local
541 eof = (char *)oldsfep == &buf[old_isize]; in xfs_dir2_sf_addname_hard()
542 !eof; in xfs_dir2_sf_addname_hard()
545 eof = (char *)oldsfep == &buf[old_isize]) { in xfs_dir2_sf_addname_hard()
582 if (!eof) { in xfs_dir2_sf_addname_hard()
Dxfs_iomap.c62 int eof, error; in xfs_iomap_eof_align_last_fsb() local
95 error = xfs_bmap_eof(ip, new_last_fsb, XFS_DATA_FORK, &eof); in xfs_iomap_eof_align_last_fsb()
98 if (eof) in xfs_iomap_eof_align_last_fsb()
/fs/nfs/
Ddir.c160 unsigned int eof:1; member
245 if (entry->eof != 0) in nfs_readdir_add_to_array()
271 desc->eof = 1; in nfs_readdir_search_for_pos()
318 desc->eof = 1; in nfs_readdir_search_for_cookie()
515 } while (!entry->eof); in nfs_readdir_page_filler()
517 if (count == 0 || (status == -EBADCOOKIE && entry->eof != 0)) { in nfs_readdir_page_filler()
581 entry.eof = 0; in nfs_readdir_xdr_to_array()
727 desc->eof = 1; in nfs_do_filldir()
739 desc->eof = 1; in nfs_do_filldir()
841 if (*desc->dir_cookie && desc->eof == 0) { in nfs_readdir()
[all …]
Dnfs3xdr.c1594 u32 eof, count, ocount, recvd; in decode_read3resok() local
1601 eof = be32_to_cpup(p++); in decode_read3resok()
1609 result->eof = eof; in decode_read3resok()
1620 eof = 0; in decode_read3resok()
1961 entry->eof = 1; in nfs3_decode_dirent()
Dread.c265 data->res.eof = 0; in nfs_read_rpcsetup()
493 else if (data->res.eof) { in nfs_readpage_result_common()
Dnfs2xdr.c119 result->eof = 0; /* NFSv2 does not pass EOF flag on the wire. */ in decode_nfsdata()
926 entry->eof = 1; in nfs2_decode_dirent()
Dpnfs.h160 unsigned int eof; member
Dproc.c615 data->res.eof = 1; in nfs_read_done()
Dnfs4xdr.c4918 uint32_t count, eof, recvd; in decode_read() local
4927 eof = be32_to_cpup(p++); in decode_read()
4934 eof = 0; in decode_read()
4936 res->eof = eof; in decode_read()
5602 res->eof = be32_to_cpup(p); in decode_getdevicelist()
7081 entry->eof = 1; in nfs4_decode_dirent()
/fs/
Dread_write.c77 loff_t maxsize, loff_t eof) in generic_file_llseek_size() argument
83 offset += eof; in generic_file_llseek_size()
109 if (offset >= eof) in generic_file_llseek_size()
117 if (offset >= eof) in generic_file_llseek_size()
119 offset = eof; in generic_file_llseek_size()
/fs/nfs/blocklayout/
Dblocklayout.c338 rdata->res.eof = 1; in bl_read_pagelist()
1139 dlist->eof = 0; in bl_set_layoutdriver()
1140 while (!dlist->eof) { in bl_set_layoutdriver()
1145 __func__, dlist->num_devs, dlist->eof); in bl_set_layoutdriver()
/fs/nfsd/
Dxdr3.h152 int eof; member
/fs/ncpfs/
Dncplib_kernel.h231 int eof; member
Ddir.c469 if (!PageUptodate(page) || !ctl.head.eof) in ncp_readdir()
543 ctl.head.eof = 0; in ncp_readdir()
556 ctl.head.eof = ctl.valid; in ncp_readdir()
/fs/ubifs/
Dtnc.c1529 bu->eof = 0; in ubifs_tnc_get_bu_keys()
1606 bu->eof = 1; in ubifs_tnc_get_bu_keys()
1626 if (bu->eof) { in ubifs_tnc_get_bu_keys()

12