Home
last modified time | relevance | path

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

12

/fs/nfs/
Dclient.c705 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 …]
Dfs_context.c575 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()
Dnfs4client.c991 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()
Dsuper.c447 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()
Dread.c73 server->rsize, 0); in nfs_pageio_init_read()
90 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
Dnfs4file.c159 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()
Dfscache.c133 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
Dfscache.h36 unsigned int rsize; /* read size */ member
Ddirect.c355 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()
Dinternal.h100 unsigned int rsize, wsize; member
/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c116 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()
Dflexfilelayout.h31 u32 rsize; member
/fs/cifs/
Dsmb1ops.c470 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()
Dcifs_fs_sb.h65 unsigned int rsize; member
Dfile.c3565 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 …]
Dsmb2ops.c393 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 …]
Dconnect.c1878 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()
Dcifsfs.c217 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()
Dcifsglob.h607 unsigned int rsize; member
/fs/nfsd/
Dflexfilelayout.c97 da->rsize = svc_max_payload(rqstp); in nfsd4_ff_proc_getdeviceinfo()
98 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
Dflexfilelayoutxdr.h30 u32 rsize; member
Dflexfilelayoutxdr.c120 *p++ = cpu_to_be32(da->rsize); in nfsd4_ff_encode_getdeviceinfo()
/fs/ceph/
Dsuper.c336 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()
Dsuper.h82 unsigned int rsize; /* max read size */ member
Daddr.c473 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages()

12