/fs/nfs/ |
D | client.c | 673 if (data->rsize) in nfs_init_server() 674 server->rsize = nfs_block_size(data->rsize, NULL); in nfs_init_server() 726 if (server->rsize == 0) in nfs_server_set_fsinfo() 727 server->rsize = nfs_block_size(fsinfo->rtpref, NULL); in nfs_server_set_fsinfo() 731 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo() 732 server->rsize = nfs_block_size(fsinfo->rtmax, NULL); in nfs_server_set_fsinfo() 737 if (server->rsize > max_rpc_payload) in nfs_server_set_fsinfo() 738 server->rsize = max_rpc_payload; in nfs_server_set_fsinfo() 739 if (server->rsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo() 740 server->rsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo() [all …]
|
D | nfs4client.c | 1007 if (!server->rsize || server->rsize > server_resp_sz) in nfs4_session_set_rwsize() 1008 server->rsize = server_resp_sz; in nfs4_session_set_rwsize() 1114 if (data->rsize) in nfs4_init_server() 1115 server->rsize = nfs_block_size(data->rsize, NULL); in nfs4_init_server()
|
D | super.c | 655 seq_printf(m, ",rsize=%u", nfss->rsize); in nfs_show_mount_options() 1357 mnt->rsize = option; in nfs_parse_mount_options() 2032 args->rsize = data->rsize; in nfs23_validate_mount_data() 2220 data->rsize != nfss->rsize || in nfs_compare_remount_data() 2269 data->rsize = nfss->rsize; in nfs_remount() 2396 if (a->rsize != b->rsize) in nfs_compare_mount_options() 2810 args->rsize = data->rsize; in nfs4_validate_mount_data()
|
D | fscache.c | 86 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
|
D | read.c | 67 server->rsize, 0); in nfs_pageio_init_read() 84 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
|
D | fscache.h | 40 unsigned int rsize; /* read size */ member
|
D | direct.c | 475 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec() local 490 rsize, &pgbase); in nfs_direct_read_schedule_iovec()
|
D | internal.h | 89 unsigned int rsize, wsize; member
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 112 ds_versions[i].rsize = nfs_block_size(be32_to_cpup(p++), NULL); in nfs4_ff_alloc_deviceid_node() 116 if (ds_versions[i].rsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node() 117 ds_versions[i].rsize = NFS_MAX_FILE_IO_SIZE; in nfs4_ff_alloc_deviceid_node() 132 ds_versions[i].rsize, in nfs4_ff_alloc_deviceid_node() 405 if (mirror->mirror_ds->ds_versions[0].rsize > max_payload) in nfs4_ff_layout_prepare_ds() 406 mirror->mirror_ds->ds_versions[0].rsize = max_payload; in nfs4_ff_layout_prepare_ds()
|
D | flexfilelayout.h | 28 u32 rsize; member
|
/fs/cifs/ |
D | smb1ops.c | 478 unsigned int rsize, defsize; in cifs_negotiate_rsize() local 499 rsize = volume_info->rsize ? volume_info->rsize : defsize; in cifs_negotiate_rsize() 506 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in cifs_negotiate_rsize() 509 rsize = min_t(unsigned int, rsize, CIFS_MAX_RSIZE); in cifs_negotiate_rsize() 511 return rsize; in cifs_negotiate_rsize()
|
D | cifs_fs_sb.h | 59 unsigned int rsize; member
|
D | smb2ops.c | 259 unsigned int rsize; in smb2_negotiate_rsize() local 262 rsize = volume_info->rsize ? volume_info->rsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_rsize() 263 rsize = min_t(unsigned int, rsize, server->max_read); in smb2_negotiate_rsize() 266 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_rsize() 268 return rsize; in smb2_negotiate_rsize()
|
D | file.c | 2967 unsigned int npages, rsize, credits; in cifs_send_async_read() local 2981 rc = server->ops->wait_mtu_credits(server, cifs_sb->rsize, in cifs_send_async_read() 2982 &rsize, &credits); in cifs_send_async_read() 2986 cur_len = min_t(const size_t, len, rsize); in cifs_send_async_read() 3183 unsigned int rsize; in cifs_read() local 3198 rsize = min_t(unsigned int, cifs_sb->rsize, CIFSMaxBufSize); in cifs_read() 3226 rsize); in cifs_read() 3425 unsigned int rsize, struct list_head *tmplist, in readpages_get_pages() argument 3466 if (*bytes + PAGE_SIZE > rsize) in readpages_get_pages() 3527 unsigned int i, nr_pages, bytes, rsize; in cifs_readpages() local [all …]
|
D | connect.c | 1593 vol->rsize = option; in cifs_parse_mount_options() 2825 if (new->rsize && new->rsize < old->rsize) in compare_mount_options() 3314 cifs_sb->rsize = pvolume_info->rsize; in cifs_setup_cifs_sb() 3710 cifs_sb->rsize = server->ops->negotiate_rsize(tcon, volume_info); in cifs_mount() 3713 cifs_sb->bdi.ra_pages = cifs_sb->rsize / PAGE_SIZE; in cifs_mount()
|
D | cifsglob.h | 520 unsigned int rsize; member
|
/fs/nfsd/ |
D | flexfilelayout.c | 96 da->rsize = svc_max_payload(rqstp); in nfsd4_ff_proc_getdeviceinfo() 97 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
|
D | flexfilelayoutxdr.h | 29 u32 rsize; member
|
D | flexfilelayoutxdr.c | 110 *p++ = cpu_to_be32(da->rsize); in nfsd4_ff_encode_getdeviceinfo()
|
/fs/ceph/ |
D | super.c | 227 fsopt->rsize = intval; in parse_fsopt_token() 372 fsopt->rsize = CEPH_RSIZE_DEFAULT; in parse_mount_options() 484 if (fsopt->rsize != CEPH_RSIZE_DEFAULT) in ceph_show_options() 485 seq_printf(m, ",rsize=%d", fsopt->rsize); in ceph_show_options()
|
D | super.h | 58 int rsize; /* max read size */ member
|
D | addr.c | 457 if (fsc->mount_options->rsize >= PAGE_SIZE) in ceph_readpages() 458 max = (fsc->mount_options->rsize + PAGE_SIZE - 1) in ceph_readpages()
|
/fs/ncpfs/ |
D | ncplib_kernel.h | 92 char** rbuf, size_t* rsize);
|
D | ncplib_kernel.c | 859 size_t* rsize) in ncp_search_for_fileset() argument 890 *rsize = server->ncp_reply_size - 12; in ncp_search_for_fileset()
|
/fs/ |
D | compat.c | 722 compat_int_t rsize; member 764 real->rsize = raw->rsize; in do_nfs4_super_data_conv()
|