Home
last modified time | relevance | path

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

/linux-6.12.1/fs/netfs/
Dmisc.c236 if (fpos < i_size && end > ctx->zero_point) in netfs_invalidate_folio()
237 ctx->zero_point = end; in netfs_invalidate_folio()
314 if (end > ctx->zero_point) in netfs_release_folio()
315 ctx->zero_point = end; in netfs_release_folio()
Ddirect_write.c188 if (end > ictx->zero_point) in netfs_unbuffered_write_iter()
189 ictx->zero_point = end; in netfs_unbuffered_write_iter()
Dwrite_collect.c44 if (fend > ictx->zero_point) in netfs_folio_written_back()
45 ictx->zero_point = fend; in netfs_folio_written_back()
Dbuffered_read.c256 unsigned long long zp = umin(ictx->zero_point, rreq->i_size); in netfs_read_to_pagecache()
270 subreq->start, ictx->zero_point, rreq->i_size); in netfs_read_to_pagecache()
Dbuffered_write.c225 if (fpos >= ctx->zero_point) { in netfs_perform_write()
/linux-6.12.1/include/linux/
Dnetfs.h66 loff_t zero_point; /* Size after which we assume there's no data member
484 ctx->zero_point = LLONG_MAX; in netfs_inode_init()
493 ctx->zero_point = ctx->remote_i_size; in netfs_inode_init()
511 if (new_i_size < ctx->zero_point) in netfs_resize_file()
512 ctx->zero_point = new_i_size; in netfs_resize_file()
/linux-6.12.1/fs/cachefiles/
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.12.1/fs/smb/client/
Dcifsfs.c1306 if (fend > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1307 target_cifsi->netfs.zero_point = fend + 1; in cifs_remap_file_range()
1326 if (rc == 0 && new_size > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1327 target_cifsi->netfs.zero_point = new_size; in cifs_remap_file_range()
1426 if (rc > 0 && destoff + rc > target_cifsi->netfs.zero_point) in cifs_file_copychunk_range()
1427 target_cifsi->netfs.zero_point = destoff + rc; in cifs_file_copychunk_range()
Dsmb2ops.c3305 if (offset < cifsi->netfs.zero_point) in smb3_zero_range()
3306 cifsi->netfs.zero_point = offset; in smb3_zero_range()
3666 ictx->zero_point = old_eof; in smb3_collapse_range()
3683 ictx->zero_point = new_eof; in smb3_collapse_range()
3734 cifsi->netfs.zero_point = new_eof; in smb3_insert_range()
Dinode.c176 CIFS_I(inode)->netfs.zero_point = fattr->cf_eof; in cifs_fattr_to_inode()
2548 cifs_inode->netfs.zero_point = cifs_inode->netfs.remote_i_size;
Dfile.c2402 if (wrend > ictx->zero_point && in cifs_write_subrequest_terminated()
2405 ictx->zero_point = wrend; in cifs_write_subrequest_terminated()
/linux-6.12.1/drivers/net/wireguard/
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.12.1/fs/afs/
Dinode.c257 vnode->netfs.zero_point = status->size; in afs_apply_status()