Home
last modified time | relevance | path

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

/linux-6.15/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-6.15/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-6.15/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-6.15/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()
1362 if (rc == 0 && new_size > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1363 target_cifsi->netfs.zero_point = new_size; in cifs_remap_file_range()
1462 if (rc > 0 && destoff + rc > target_cifsi->netfs.zero_point) in cifs_file_copychunk_range()
1463 target_cifsi->netfs.zero_point = destoff + rc; in cifs_file_copychunk_range()
H A Dsmb2ops.c3288 if (offset < cifsi->netfs.zero_point) in smb3_zero_range()
3289 cifsi->netfs.zero_point = offset; in smb3_zero_range()
3647 ictx->zero_point = old_eof; in smb3_collapse_range()
3664 ictx->zero_point = new_eof; in smb3_collapse_range()
3715 cifsi->netfs.zero_point = new_eof; in smb3_insert_range()
H A Dfile.c2436 if (wrend > ictx->zero_point && in cifs_write_subrequest_terminated()
2439 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()
2681 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
/linux-6.15/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-6.15/fs/afs/
H A Dinode.c350 vnode->netfs.zero_point = status->size; in afs_apply_status()