Home
last modified time | relevance | path

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

12

/fs/cifs/
Dsmb1ops.c443 unsigned int wsize; in cifs_negotiate_wsize() local
446 if (volume_info->wsize) in cifs_negotiate_wsize()
447 wsize = volume_info->wsize; in cifs_negotiate_wsize()
449 wsize = CIFS_DEFAULT_IOSIZE; in cifs_negotiate_wsize()
451 wsize = CIFS_DEFAULT_NON_POSIX_WSIZE; in cifs_negotiate_wsize()
455 wsize = min_t(unsigned int, wsize, CIFS_MAX_RFC1002_WSIZE); in cifs_negotiate_wsize()
464 wsize = min_t(unsigned int, wsize, in cifs_negotiate_wsize()
468 wsize = min_t(unsigned int, wsize, CIFS_MAX_WSIZE); in cifs_negotiate_wsize()
470 return wsize; in cifs_negotiate_wsize()
1014 return CIFS_SB(inode->i_sb)->wsize; in cifs_wp_retry_size()
Dsmb2ops.c243 unsigned int wsize; in smb2_negotiate_wsize() local
246 wsize = volume_info->wsize ? volume_info->wsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_wsize()
247 wsize = min_t(unsigned int, wsize, server->max_write); in smb2_negotiate_wsize()
250 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_wsize()
252 return wsize; in smb2_negotiate_wsize()
1551 return min_t(unsigned int, CIFS_SB(inode->i_sb)->wsize, in smb2_wp_retry_size()
Dcifs_fs_sb.h60 unsigned int wsize; member
Dfile.c2120 if (cifs_sb->wsize < PAGE_SIZE) in cifs_writepages()
2136 unsigned int i, nr_pages, found_pages, wsize, credits; in cifs_writepages() local
2139 rc = server->ops->wait_mtu_credits(server, cifs_sb->wsize, in cifs_writepages()
2140 &wsize, &credits); in cifs_writepages()
2144 tofind = min((wsize / PAGE_SIZE) - 1, end - index) + 1; in cifs_writepages()
2447 size_t get_numpages(const size_t wsize, const size_t len, size_t *cur_len) in get_numpages() argument
2452 clen = min_t(const size_t, len, wsize); in get_numpages()
2556 unsigned int wsize, credits; in cifs_write_from_iter() local
2558 rc = server->ops->wait_mtu_credits(server, cifs_sb->wsize, in cifs_write_from_iter()
2559 &wsize, &credits); in cifs_write_from_iter()
[all …]
Dconnect.c1601 vol->wsize = option; in cifs_parse_mount_options()
2822 if (new->wsize && new->wsize < old->wsize) in compare_mount_options()
3315 cifs_sb->wsize = pvolume_info->wsize; in cifs_setup_cifs_sb()
3709 cifs_sb->wsize = server->ops->negotiate_wsize(tcon, volume_info); in cifs_mount()
Dcifsglob.h521 unsigned int wsize; member
Dcifsfs.c515 seq_printf(s, ",wsize=%u", cifs_sb->wsize); in cifs_show_options()
Dcifssmb.c1932 unsigned int j, nr_pages, wsize, tailsz, cur_len; in cifs_writev_requeue() local
1934 wsize = server->ops->wp_retry_size(inode); in cifs_writev_requeue()
1935 if (wsize < rest_len) { in cifs_writev_requeue()
1936 nr_pages = wsize / PAGE_SIZE; in cifs_writev_requeue()
/fs/nfs/
Dclient.c675 if (data->wsize) in nfs_init_server()
676 server->wsize = nfs_block_size(data->wsize, NULL); in nfs_init_server()
728 if (server->wsize == 0) in nfs_server_set_fsinfo()
729 server->wsize = nfs_block_size(fsinfo->wtpref, NULL); in nfs_server_set_fsinfo()
733 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo()
734 server->wsize = nfs_block_size(fsinfo->wtmax, NULL); in nfs_server_set_fsinfo()
746 if (server->wsize > max_rpc_payload) in nfs_server_set_fsinfo()
747 server->wsize = max_rpc_payload; in nfs_server_set_fsinfo()
748 if (server->wsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo()
749 server->wsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo()
[all …]
Dsuper.c656 seq_printf(m, ",wsize=%u", nfss->wsize); in nfs_show_mount_options()
1362 mnt->wsize = option; in nfs_parse_mount_options()
2033 args->wsize = data->wsize; in nfs23_validate_mount_data()
2221 data->wsize != nfss->wsize || in nfs_compare_remount_data()
2270 data->wsize = nfss->wsize; in nfs_remount()
2322 sb->s_blocksize = nfs_block_bits(server->wsize, in nfs_initialise_sb()
2394 if (a->wsize != b->wsize) in nfs_compare_mount_options()
2811 args->wsize = data->wsize; in nfs4_validate_mount_data()
Dnfs4client.c1009 if (!server->wsize || server->wsize > server_rqst_sz) in nfs4_session_set_rwsize()
1010 server->wsize = server_rqst_sz; in nfs4_session_set_rwsize()
1116 if (data->wsize) in nfs4_init_server()
1117 server->wsize = nfs_block_size(data->wsize, NULL); in nfs4_init_server()
Dfscache.c87 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie()
Dfscache.h41 unsigned int wsize; /* write size */ member
Ddirect.c881 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec() local
897 wsize, &pgbase); in nfs_direct_write_schedule_iovec()
Dinternal.h89 unsigned int rsize, wsize; member
Dwrite.c1374 server->wsize, ioflags); in nfs_pageio_init_write()
1390 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds()
/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c113 ds_versions[i].wsize = nfs_block_size(be32_to_cpup(p++), NULL); in nfs4_ff_alloc_deviceid_node()
118 if (ds_versions[i].wsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node()
119 ds_versions[i].wsize = NFS_MAX_FILE_IO_SIZE; in nfs4_ff_alloc_deviceid_node()
133 ds_versions[i].wsize, in nfs4_ff_alloc_deviceid_node()
407 if (mirror->mirror_ds->ds_versions[0].wsize > max_payload) in nfs4_ff_layout_prepare_ds()
408 mirror->mirror_ds->ds_versions[0].wsize = max_payload; in nfs4_ff_layout_prepare_ds()
Dflexfilelayout.h29 u32 wsize; member
/fs/ceph/
Daddr.c751 unsigned int wsize = i_blocksize(inode); in ceph_writepages_start() local
780 if (fsc->mount_options->wsize && fsc->mount_options->wsize < wsize) in ceph_writepages_start()
781 wsize = fsc->mount_options->wsize; in ceph_writepages_start()
782 if (wsize < PAGE_SIZE) in ceph_writepages_start()
783 wsize = PAGE_SIZE; in ceph_writepages_start()
784 max_pages_ever = wsize >> PAGE_SHIFT; in ceph_writepages_start()
931 len = wsize; in ceph_writepages_start()
1014 len = wsize; in ceph_writepages_start()
Dsuper.c224 fsopt->wsize = intval; in parse_fsopt_token()
482 if (fsopt->wsize) in ceph_show_options()
483 seq_printf(m, ",wsize=%d", fsopt->wsize); in ceph_show_options()
593 page_count = fsc->mount_options->wsize >> PAGE_SHIFT; in create_fs_client()
Dsuper.h57 int wsize; /* max write size */ member
/fs/nfsd/
Dflexfilelayoutxdr.h30 u32 wsize; member
Dflexfilelayout.c97 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
Dflexfilelayoutxdr.c111 *p++ = cpu_to_be32(da->wsize); in nfsd4_ff_encode_getdeviceinfo()
/fs/
Dcompat.c723 compat_int_t wsize; member
763 real->wsize = raw->wsize; in do_nfs4_super_data_conv()

12