Home
last modified time | relevance | path

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

/fs/nfs/
Dclient.c671 if (data->rsize) in nfs_init_server()
672 server->rsize = nfs_block_size(data->rsize, NULL); in nfs_init_server()
724 if (server->rsize == 0) in nfs_server_set_fsinfo()
725 server->rsize = nfs_block_size(fsinfo->rtpref, NULL); in nfs_server_set_fsinfo()
729 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo()
730 server->rsize = nfs_block_size(fsinfo->rtmax, NULL); in nfs_server_set_fsinfo()
735 if (server->rsize > max_rpc_payload) in nfs_server_set_fsinfo()
736 server->rsize = max_rpc_payload; in nfs_server_set_fsinfo()
737 if (server->rsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo()
738 server->rsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo()
[all …]
Dsuper.c653 seq_printf(m, ",rsize=%u", nfss->rsize); in nfs_show_mount_options()
1340 mnt->rsize = option; in nfs_parse_mount_options()
2010 args->rsize = data->rsize; in nfs23_validate_mount_data()
2199 data->rsize != nfss->rsize || in nfs_compare_remount_data()
2248 data->rsize = nfss->rsize; in nfs_remount()
2375 if (a->rsize != b->rsize) in nfs_compare_mount_options()
2783 args->rsize = data->rsize; in nfs4_validate_mount_data()
Dnfs4client.c903 if (server->rsize > server_resp_sz) in nfs4_session_limit_rwsize()
904 server->rsize = server_resp_sz; in nfs4_session_limit_rwsize()
1010 if (data->rsize) in nfs4_init_server()
1011 server->rsize = nfs_block_size(data->rsize, NULL); in nfs4_init_server()
Dfscache.c86 key->key.nfs_server.rsize = nfss->rsize; in nfs_fscache_get_super_cookie()
Dread.c67 server->rsize, 0); in nfs_pageio_init_read()
84 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->rsize; in nfs_pageio_reset_read_mds()
Dfscache.h40 unsigned int rsize; /* read size */ member
Ddirect.c482 size_t rsize = max_t(size_t, NFS_SERVER(inode)->rsize, PAGE_SIZE); in nfs_direct_read_schedule_iovec() local
497 rsize, &pgbase); in nfs_direct_read_schedule_iovec()
Dinternal.h83 unsigned int rsize, wsize; member
/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c112 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()
424 if (mirror->mirror_ds->ds_versions[0].rsize > max_payload) in nfs4_ff_layout_prepare_ds()
425 mirror->mirror_ds->ds_versions[0].rsize = max_payload; in nfs4_ff_layout_prepare_ds()
Dflexfilelayout.h27 u32 rsize; member
Dflexfilelayout.c815 pgm->pg_bsize = mirror->mirror_ds->ds_versions[0].rsize; in ff_layout_pg_init_read()
/fs/cifs/
Dsmb1ops.c481 unsigned int rsize, defsize; in cifs_negotiate_rsize() local
502 rsize = volume_info->rsize ? volume_info->rsize : defsize; in cifs_negotiate_rsize()
509 rsize = min_t(unsigned int, CIFSMaxBufSize, rsize); in cifs_negotiate_rsize()
512 rsize = min_t(unsigned int, rsize, CIFS_MAX_RSIZE); in cifs_negotiate_rsize()
514 return rsize; in cifs_negotiate_rsize()
Dcifs_fs_sb.h58 unsigned int rsize; member
Dsmb2ops.c249 unsigned int rsize; in smb2_negotiate_rsize() local
252 rsize = volume_info->rsize ? volume_info->rsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_rsize()
253 rsize = min_t(unsigned int, rsize, server->max_read); in smb2_negotiate_rsize()
256 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_rsize()
258 return rsize; in smb2_negotiate_rsize()
Dfile.c2969 unsigned int npages, rsize, credits; in cifs_send_async_read() local
2983 rc = server->ops->wait_mtu_credits(server, cifs_sb->rsize, in cifs_send_async_read()
2984 &rsize, &credits); in cifs_send_async_read()
2988 cur_len = min_t(const size_t, len, rsize); in cifs_send_async_read()
3185 unsigned int rsize; in cifs_read() local
3200 rsize = min_t(unsigned int, cifs_sb->rsize, CIFSMaxBufSize); in cifs_read()
3228 rsize); in cifs_read()
3438 unsigned int rsize, struct list_head *tmplist, in readpages_get_pages() argument
3479 if (*bytes + PAGE_CACHE_SIZE > rsize) in readpages_get_pages()
3540 unsigned int i, nr_pages, bytes, rsize; in cifs_readpages() local
[all …]
Dconnect.c1702 vol->rsize = option; in cifs_parse_mount_options()
2930 if (new->rsize && new->rsize < old->rsize) in compare_mount_options()
3404 cifs_sb->rsize = pvolume_info->rsize; in cifs_setup_cifs_sb()
3789 cifs_sb->rsize = server->ops->negotiate_rsize(tcon, volume_info); in cifs_mount()
3792 cifs_sb->bdi.ra_pages = cifs_sb->rsize / PAGE_CACHE_SIZE; in cifs_mount()
Dcifsglob.h503 unsigned int rsize; member
Dcifsfs.c508 seq_printf(s, ",rsize=%u", cifs_sb->rsize); in cifs_show_options()
/fs/ceph/
Dsuper.c219 fsopt->rsize = intval; in parse_fsopt_token()
356 fsopt->rsize = CEPH_RSIZE_DEFAULT; in parse_mount_options()
462 if (fsopt->rsize != CEPH_RSIZE_DEFAULT) in ceph_show_options()
463 seq_printf(m, ",rsize=%d", fsopt->rsize); in ceph_show_options()
Daddr.c413 if (fsc->mount_options->rsize >= PAGE_CACHE_SIZE) in ceph_readpages()
414 max = (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) in ceph_readpages()
Dsuper.h59 int rsize; /* max read size */ member
/fs/ncpfs/
Dncplib_kernel.h92 char** rbuf, size_t* rsize);
Dncplib_kernel.c859 size_t* rsize) in ncp_search_for_fileset() argument
890 *rsize = server->ncp_reply_size - 12; in ncp_search_for_fileset()
/fs/
Dcompat.c736 compat_int_t rsize; member
778 real->rsize = raw->rsize; in do_nfs4_super_data_conv()