Home
last modified time | relevance | path

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

/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.c190 if (end > ictx->zero_point) in netfs_unbuffered_write_iter()
191 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_read.c238 unsigned long long zp = umin(ictx->zero_point, rreq->i_size); in netfs_read_to_pagecache()
254 subreq->start, ictx->zero_point, rreq->i_size); in netfs_read_to_pagecache()
H A Dbuffered_write.c225 if (fpos >= ctx->zero_point) { in netfs_perform_write()
/linux/include/linux/
H A Dnetfs.h68 loff_t zero_point; /* Size after which we assume there's no data member
499 ctx->zero_point = LLONG_MAX; in netfs_inode_init()
508 ctx->zero_point = ctx->remote_i_size; in netfs_inode_init()
526 if (new_i_size < ctx->zero_point) in netfs_resize_file()
527 ctx->zero_point = new_i_size; in netfs_resize_file()
/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.c1338 if (fend > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1339 target_cifsi->netfs.zero_point = fend + 1; in cifs_remap_file_range()
1358 if (rc == 0 && new_size > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1359 target_cifsi->netfs.zero_point = new_size; in cifs_remap_file_range()
1458 if (rc > 0 && destoff + rc > target_cifsi->netfs.zero_point) in cifs_file_copychunk_range()
1459 target_cifsi->netfs.zero_point = destoff + rc; in cifs_file_copychunk_range()
H A Dsmb2ops.c3280 if (offset < cifsi->netfs.zero_point) in smb3_zero_range()
3281 cifsi->netfs.zero_point = offset; in smb3_zero_range()
3641 ictx->zero_point = old_eof; in smb3_collapse_range()
3658 ictx->zero_point = new_eof; in smb3_collapse_range()
3709 cifsi->netfs.zero_point = new_eof; in smb3_insert_range()
H A Dfile.c2408 if (wrend > ictx->zero_point && in cifs_write_subrequest_terminated()
2411 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()
2672 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
/linux/drivers/net/wireguard/
H A Dnoise.c423 static u8 zero_point[NOISE_PUBLIC_KEY_LEN]; in mix_precomputed_dh() local
424 if (unlikely(!crypto_memneq(precomputed, zero_point, NOISE_PUBLIC_KEY_LEN))) in mix_precomputed_dh()
/linux/fs/afs/
H A Dinode.c350 vnode->netfs.zero_point = status->size; in afs_apply_status()