/fs/nfs/ |
D | client.c | 705 if (ctx->rsize) in nfs_init_server() 706 server->rsize = nfs_block_size(ctx->rsize, NULL); in nfs_init_server() 756 if (server->rsize == 0) in nfs_server_set_fsinfo() 757 server->rsize = nfs_block_size(fsinfo->rtpref, NULL); in nfs_server_set_fsinfo() 761 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo() 762 server->rsize = nfs_block_size(fsinfo->rtmax, NULL); in nfs_server_set_fsinfo() 769 if (server->rsize > max_rpc_payload) in nfs_server_set_fsinfo() 770 server->rsize = max_rpc_payload; in nfs_server_set_fsinfo() 771 if (server->rsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo() 772 server->rsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo() [all …]
|
D | fs_context.c | 575 ctx->rsize = result.uint_32; in nfs_fs_context_parse_param() 955 ctx->rsize = data->rsize; in nfs23_parse_monolithic() 1070 compat_int_t rsize; member 1109 data->rsize = compat->rsize; in nfs4_compat_mount_data_conv() 1185 ctx->rsize = data->rsize; in nfs4_parse_monolithic() 1454 ctx->rsize = nfss->rsize; in nfs_init_fs_context()
|
D | nfs4client.c | 991 if (server->rsize > server_resp_sz) in nfs4_session_limit_rwsize() 992 server->rsize = server_resp_sz; in nfs4_session_limit_rwsize() 1129 if (ctx->rsize) in nfs4_init_server() 1130 server->rsize = nfs_block_size(ctx->rsize, NULL); in nfs4_init_server()
|
D | super.c | 447 seq_printf(m, ",rsize=%u", nfss->rsize); in nfs_show_mount_options() 964 ctx->rsize != nfss->rsize || in nfs_compare_remount_data() 1087 if (a->rsize != b->rsize) in nfs_compare_mount_options()
|
D | read.c | 73 server->rsize, 0); in nfs_pageio_init_read() 90 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
|
D | nfs4file.c | 159 if (count <= 2 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range() 169 count <= 14 * NFS_SERVER(file_inode(file_in))->rsize) in __nfs4_copy_file_range()
|
D | fscache.c | 133 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
|
D | fscache.h | 36 unsigned int rsize; /* read size */ member
|
D | direct.c | 355 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec() local 370 rsize, &pgbase); in nfs_direct_read_schedule_iovec()
|
D | internal.h | 100 unsigned int rsize, wsize; member
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 116 ds_versions[i].rsize = nfs_block_size(be32_to_cpup(p++), NULL); in nfs4_ff_alloc_deviceid_node() 120 if (ds_versions[i].rsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node() 121 ds_versions[i].rsize = NFS_MAX_FILE_IO_SIZE; in nfs4_ff_alloc_deviceid_node() 142 ds_versions[i].rsize, in nfs4_ff_alloc_deviceid_node() 399 if (mirror->mirror_ds->ds_versions[0].rsize > max_payload) in nfs4_ff_layout_prepare_ds() 400 mirror->mirror_ds->ds_versions[0].rsize = max_payload; in nfs4_ff_layout_prepare_ds()
|
D | flexfilelayout.h | 31 u32 rsize; member
|
/fs/cifs/ |
D | smb1ops.c | 470 unsigned int rsize, defsize; in cifs_negotiate_rsize() local 491 rsize = volume_info->rsize ? volume_info->rsize : defsize; in cifs_negotiate_rsize() 498 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in cifs_negotiate_rsize() 501 rsize = min_t(unsigned int, rsize, CIFS_MAX_RSIZE); in cifs_negotiate_rsize() 503 return rsize; in cifs_negotiate_rsize()
|
D | cifs_fs_sb.h | 65 unsigned int rsize; member
|
D | file.c | 3565 unsigned int rsize; in cifs_resend_rdata() local 3589 &rsize, &credits); in cifs_resend_rdata() 3594 if (rsize < rdata->bytes) { in cifs_resend_rdata() 3598 } while (rsize < rdata->bytes); in cifs_resend_rdata() 3639 unsigned int npages, rsize; in cifs_send_async_read() local 3669 rc = server->ops->wait_mtu_credits(server, cifs_sb->rsize, in cifs_send_async_read() 3670 &rsize, credits); in cifs_send_async_read() 3674 cur_len = min_t(const size_t, len, rsize); in cifs_send_async_read() 4049 unsigned int rsize; in cifs_read() local 4064 rsize = min_t(unsigned int, cifs_sb->rsize, CIFSMaxBufSize); in cifs_read() [all …]
|
D | smb2ops.c | 393 unsigned int rsize; in smb2_negotiate_rsize() local 396 rsize = volume_info->rsize ? volume_info->rsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_rsize() 397 rsize = min_t(unsigned int, rsize, server->max_read); in smb2_negotiate_rsize() 400 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_rsize() 402 return rsize; in smb2_negotiate_rsize() 409 unsigned int rsize; in smb3_negotiate_rsize() local 412 rsize = volume_info->rsize ? volume_info->rsize : SMB3_DEFAULT_IOSIZE; in smb3_negotiate_rsize() 413 rsize = min_t(unsigned int, rsize, server->max_read); in smb3_negotiate_rsize() 421 rsize = min_t(unsigned int, in smb3_negotiate_rsize() 422 rsize, in smb3_negotiate_rsize() [all …]
|
D | connect.c | 1878 vol->rsize = option; in cifs_parse_mount_options() 3469 if (new->rsize && new->rsize < old->rsize) in compare_mount_options() 3931 cifs_sb->rsize = pvolume_info->rsize; in cifs_setup_cifs_sb() 4161 cifs_sb->rsize = server->ops->negotiate_rsize(tcon, vol); in mount_get_conns()
|
D | cifsfs.c | 217 sb->s_bdi->ra_pages = cifs_sb->rsize / PAGE_SIZE; in cifs_read_super() 614 seq_printf(s, ",rsize=%u", cifs_sb->rsize); in cifs_show_options()
|
D | cifsglob.h | 607 unsigned int rsize; member
|
/fs/nfsd/ |
D | flexfilelayout.c | 97 da->rsize = svc_max_payload(rqstp); in nfsd4_ff_proc_getdeviceinfo() 98 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
|
D | flexfilelayoutxdr.h | 30 u32 rsize; member
|
D | flexfilelayoutxdr.c | 120 *p++ = cpu_to_be32(da->rsize); in nfsd4_ff_encode_getdeviceinfo()
|
/fs/ceph/ |
D | super.c | 336 fsopt->rsize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 586 if (fsopt->rsize != CEPH_MAX_READ_SIZE) in ceph_show_options() 587 seq_printf(m, ",rsize=%u", fsopt->rsize); in ceph_show_options() 1050 sb->s_bdi->io_pages = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_setup_bdi() 1189 fsopt->rsize = CEPH_MAX_READ_SIZE; in ceph_init_fs_context()
|
D | super.h | 82 unsigned int rsize; /* max read size */ member
|
D | addr.c | 473 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages()
|