Home
last modified time | relevance | path

Searched refs:zero_point (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dnetfs.h66 loff_t zero_point; /* Size after which we assume there's no data member
493 ctx->zero_point = LLONG_MAX; in netfs_inode_init()
502 ctx->zero_point = ctx->remote_i_size; in netfs_inode_init()
520 if (new_i_size < ctx->zero_point) in netfs_resize_file()
521 ctx->zero_point = new_i_size; in netfs_resize_file()
/linux/fs/netfs/
H A Dmisc.c224 if (fpos < i_size && end > ctx->zero_point) in netfs_invalidate_folio()
225 ctx->zero_point = end; in netfs_invalidate_folio()
302 if (end > ctx->zero_point) in netfs_release_folio()
303 ctx->zero_point = end; in netfs_release_folio()
H A Ddirect_write.c172 if (end > ictx->zero_point) in netfs_unbuffered_write_iter()
173 ictx->zero_point = end; in netfs_unbuffered_write_iter()
H A Dwrite_collect.c72 if (fend > ictx->zero_point) in netfs_folio_written_back()
73 ictx->zero_point = fend; in netfs_folio_written_back()
H A Dbuffered_write.c234 if (fpos >= ctx->zero_point) { in netfs_perform_write()
/linux/fs/cachefiles/
H A Dxattr.c22 __be64 zero_point; /* Size after which server has no data not written by us */ member
58 buf->zero_point = 0; in cachefiles_set_object_xattr()
/linux/fs/smb/client/
H A Dcifsfs.c1342 if (fend > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1343 target_cifsi->netfs.zero_point = fend + 1; in cifs_remap_file_range()
1376 if (rc == 0 && new_size > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1377 target_cifsi->netfs.zero_point = new_size; in cifs_remap_file_range()
1476 if (rc > 0 && destoff + rc > target_cifsi->netfs.zero_point) in cifs_file_copychunk_range()
1477 target_cifsi->netfs.zero_point = destoff + rc; in cifs_file_copychunk_range()
H A Dfile.c2443 if (wrend > ictx->zero_point && in cifs_write_subrequest_terminated()
2446 ictx->zero_point = wrend; in cifs_write_subrequest_terminated()
H A Dinode.c176 CIFS_I(inode)->netfs.zero_point = fattr->cf_eof; in cifs_fattr_to_inode()
2711 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
/linux/fs/afs/
H A Dinode.c350 vnode->netfs.zero_point = status->size; in afs_apply_status()