Home
last modified time | relevance | path

Searched refs:rsize (Results 1 – 25 of 26) sorted by relevance

12

/fs/nfs/
Dclient.c775 if (data->rsize) in nfs_init_server()
776 server->rsize = nfs_block_size(data->rsize, NULL); in nfs_init_server()
827 if (server->rsize == 0) in nfs_server_set_fsinfo()
828 server->rsize = nfs_block_size(fsinfo->rtpref, NULL); in nfs_server_set_fsinfo()
832 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo()
833 server->rsize = nfs_block_size(fsinfo->rtmax, NULL); in nfs_server_set_fsinfo()
838 if (server->rsize > max_rpc_payload) in nfs_server_set_fsinfo()
839 server->rsize = max_rpc_payload; in nfs_server_set_fsinfo()
840 if (server->rsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo()
841 server->rsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo()
[all …]
Dnfs4client.c711 if (server->rsize > server_resp_sz) in nfs4_session_set_rwsize()
712 server->rsize = server_resp_sz; in nfs4_session_set_rwsize()
809 if (data->rsize) in nfs4_init_server()
810 server->rsize = nfs_block_size(data->rsize, NULL); in nfs4_init_server()
Dsuper.c646 seq_printf(m, ",rsize=%u", nfss->rsize); in nfs_show_mount_options()
1277 mnt->rsize = option; in nfs_parse_mount_options()
1922 args->rsize = data->rsize; in nfs23_validate_mount_data()
2108 data->rsize != nfss->rsize || in nfs_compare_remount_data()
2155 data->rsize = nfss->rsize; in nfs_remount()
2279 if (a->rsize != b->rsize) in nfs_compare_mount_options()
2675 args->rsize = data->rsize; in nfs4_validate_mount_data()
Dread.c121 NFS_SERVER(inode)->rsize, 0); in nfs_pageio_init_read()
128 pgio->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
346 size_t rsize = desc->pg_bsize, nbytes; in nfs_pagein_multi() local
352 size_t len = min(nbytes,rsize); in nfs_pagein_multi()
Dfscache.c86 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
Dfscache.h40 unsigned int rsize; /* read size */ member
Dnfs4session.c491 if (server->rsize != 0) in nfs4_init_session()
492 target_max_resp_sz = server->rsize; in nfs4_init_session()
Ddirect.c319 size_t rsize = NFS_SERVER(inode)->rsize; in nfs_direct_read_schedule_segment() local
331 bytes = min(max_t(size_t, rsize, PAGE_SIZE), count); in nfs_direct_read_schedule_segment()
Dinternal.h83 unsigned int rsize, wsize; member
Dnfs4filelayout.c672 if (fl->stripe_unit % nfss->rsize || fl->stripe_unit % nfss->wsize) { in filelayout_check_layout()
674 "wsize %u\n", __func__, fl->stripe_unit, nfss->rsize, in filelayout_check_layout()
Dpnfs.c1429 nfs_pageio_init(pgio, inode, ld->pg_read_ops, compl_ops, server->rsize, 0); in pnfs_pageio_init_read()
/fs/cifs/
Dsmb2ops.c197 unsigned int rsize; in smb2_negotiate_rsize() local
200 rsize = volume_info->rsize ? volume_info->rsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_rsize()
201 rsize = min_t(unsigned int, rsize, server->max_read); in smb2_negotiate_rsize()
206 rsize = min_t(unsigned int, rsize, 2 << 15); in smb2_negotiate_rsize()
208 return rsize; in smb2_negotiate_rsize()
Dsmb1ops.c468 unsigned int rsize, defsize; in cifs_negotiate_rsize() local
489 rsize = volume_info->rsize ? volume_info->rsize : defsize; in cifs_negotiate_rsize()
496 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in cifs_negotiate_rsize()
499 rsize = min_t(unsigned int, rsize, CIFS_MAX_RSIZE); in cifs_negotiate_rsize()
501 return rsize; in cifs_negotiate_rsize()
Dcifs_fs_sb.h54 unsigned int rsize; member
Dfile.c2825 cur_len = min_t(const size_t, len - total_read, cifs_sb->rsize); in cifs_iovec_read()
2964 unsigned int rsize; in cifs_read() local
2979 rsize = min_t(unsigned int, cifs_sb->rsize, CIFSMaxBufSize); in cifs_read()
3005 current_read_size = min_t(uint, read_size - total_read, rsize); in cifs_read()
3215 unsigned int rsize = cifs_sb->rsize; in cifs_readpages() local
3224 if (unlikely(rsize < PAGE_CACHE_SIZE)) in cifs_readpages()
3296 if (bytes + PAGE_CACHE_SIZE > rsize) in cifs_readpages()
Dconnect.c1530 vol->rsize = option; in cifs_parse_mount_options()
2694 if (new->rsize && new->rsize < old->rsize) in compare_mount_options()
3168 cifs_sb->rsize = pvolume_info->rsize; in cifs_setup_cifs_sb()
3490 cifs_sb->rsize = server->ops->negotiate_rsize(tcon, volume_info); in cifs_mount()
3493 cifs_sb->bdi.ra_pages = cifs_sb->rsize / PAGE_CACHE_SIZE; in cifs_mount()
DREADME325 rsize default read size (usually 16K). The client currently
326 can not use rsize larger than CIFSMaxBufSize. CIFSMaxBufSize
331 in some cases. To use rsize greater than 127K (the original
334 newer servers (e.g. Samba 3.0.26 or later) do. rsize can be
Dcifsglob.h444 unsigned int rsize; member
Dcifsfs.c470 seq_printf(s, ",rsize=%u", cifs_sb->rsize); in cifs_show_options()
/fs/ceph/
Dsuper.c213 fsopt->rsize = intval; in parse_fsopt_token()
329 fsopt->rsize = CEPH_RSIZE_DEFAULT; in parse_mount_options()
428 if (fsopt->rsize != CEPH_RSIZE_DEFAULT) in ceph_show_options()
429 seq_printf(m, ",rsize=%d", fsopt->rsize); in ceph_show_options()
Daddr.c381 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages()
382 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages()
Dsuper.h51 int rsize; /* max read size */ member
/fs/ncpfs/
Dncplib_kernel.h92 char** rbuf, size_t* rsize);
Dncplib_kernel.c861 size_t* rsize) in ncp_search_for_fileset() argument
892 *rsize = server->ncp_reply_size - 12; in ncp_search_for_fileset()
/fs/
Dcompat.c720 compat_int_t rsize; member
762 real->rsize = raw->rsize; in do_nfs4_super_data_conv()

12