/fs/nfs/ |
D | client.c | 690 if (data->wsize) in nfs_init_server() 691 server->wsize = nfs_block_size(data->wsize, NULL); in nfs_init_server() 741 if (server->wsize == 0) in nfs_server_set_fsinfo() 742 server->wsize = nfs_block_size(fsinfo->wtpref, NULL); in nfs_server_set_fsinfo() 746 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo() 747 server->wsize = nfs_block_size(fsinfo->wtmax, NULL); in nfs_server_set_fsinfo() 756 if (server->wsize > max_rpc_payload) in nfs_server_set_fsinfo() 757 server->wsize = max_rpc_payload; in nfs_server_set_fsinfo() 758 if (server->wsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo() 759 server->wsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo() [all …]
|
D | super.c | 655 seq_printf(m, ",wsize=%u", nfss->wsize); in nfs_show_mount_options() 1371 mnt->wsize = option; in nfs_parse_mount_options() 2063 args->wsize = data->wsize; in nfs23_validate_mount_data() 2253 data->wsize != nfss->wsize || in nfs_compare_remount_data() 2303 data->wsize = nfss->wsize; in nfs_remount() 2357 sb->s_blocksize = nfs_block_bits(server->wsize, in nfs_initialise_sb() 2448 if (a->wsize != b->wsize) in nfs_compare_mount_options() 2900 args->wsize = data->wsize; in nfs4_validate_mount_data()
|
D | nfs4client.c | 988 if (server->wsize > server_rqst_sz) in nfs4_session_limit_rwsize() 989 server->wsize = server_rqst_sz; in nfs4_session_limit_rwsize() 1093 if (data->wsize) in nfs4_init_server() 1094 server->wsize = nfs_block_size(data->wsize, NULL); in nfs4_init_server()
|
D | fscache.c | 134 key->key.nfs_server.wsize = nfss->wsize; in nfs_fscache_get_super_cookie()
|
D | fscache.h | 37 unsigned int wsize; /* write size */ member
|
D | direct.c | 859 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec() local 875 wsize, &pgbase); in nfs_direct_write_schedule_iovec()
|
D | internal.h | 87 unsigned int rsize, wsize; member
|
D | write.c | 1464 server->wsize, ioflags); in nfs_pageio_init_write() 1480 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds()
|
/fs/cifs/ |
D | smb1ops.c | 437 unsigned int wsize; in cifs_negotiate_wsize() local 440 if (volume_info->wsize) in cifs_negotiate_wsize() 441 wsize = volume_info->wsize; in cifs_negotiate_wsize() 443 wsize = CIFS_DEFAULT_IOSIZE; in cifs_negotiate_wsize() 445 wsize = CIFS_DEFAULT_NON_POSIX_WSIZE; in cifs_negotiate_wsize() 449 wsize = min_t(unsigned int, wsize, CIFS_MAX_RFC1002_WSIZE); in cifs_negotiate_wsize() 458 wsize = min_t(unsigned int, wsize, in cifs_negotiate_wsize() 462 wsize = min_t(unsigned int, wsize, CIFS_MAX_WSIZE); in cifs_negotiate_wsize() 464 return wsize; in cifs_negotiate_wsize() 1008 return CIFS_SB(inode->i_sb)->wsize; in cifs_wp_retry_size()
|
D | smb2ops.c | 324 unsigned int wsize; in smb2_negotiate_wsize() local 327 wsize = volume_info->wsize ? volume_info->wsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_wsize() 328 wsize = min_t(unsigned int, wsize, server->max_write); in smb2_negotiate_wsize() 332 wsize = min_t(unsigned int, in smb2_negotiate_wsize() 333 wsize, server->smbd_conn->max_fragmented_send_size); in smb2_negotiate_wsize() 335 wsize = min_t(unsigned int, in smb2_negotiate_wsize() 336 wsize, server->smbd_conn->max_readwrite_size); in smb2_negotiate_wsize() 340 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_wsize() 342 return wsize; in smb2_negotiate_wsize() 349 unsigned int wsize; in smb3_negotiate_wsize() local [all …]
|
D | cifs_fs_sb.h | 66 unsigned int wsize; member
|
D | file.c | 2290 if (cifs_sb->wsize < PAGE_SIZE) in cifs_writepages() 2307 unsigned int i, nr_pages, found_pages, wsize; in cifs_writepages() local 2322 rc = server->ops->wait_mtu_credits(server, cifs_sb->wsize, in cifs_writepages() 2323 &wsize, credits); in cifs_writepages() 2329 tofind = min((wsize / PAGE_SIZE) - 1, end - index) + 1; in cifs_writepages() 2658 size_t get_numpages(const size_t wsize, const size_t len, size_t *cur_len) in get_numpages() argument 2663 clen = min_t(const size_t, len, wsize); in get_numpages() 2753 unsigned int wsize; in cifs_resend_wdata() local 2776 &wsize, &credits); in cifs_resend_wdata() 2780 if (wsize < wdata->bytes) { in cifs_resend_wdata() [all …]
|
D | connect.c | 2113 vol->wsize = option; in cifs_parse_mount_options() 3628 if (new->wsize && new->wsize < old->wsize) in compare_mount_options() 4089 cifs_sb->wsize = pvolume_info->wsize; in cifs_setup_cifs_sb() 4321 cifs_sb->wsize = server->ops->negotiate_wsize(tcon, vol); in mount_get_conns()
|
D | cifsglob.h | 596 unsigned int wsize; member
|
D | cifsfs.c | 599 seq_printf(s, ",wsize=%u", cifs_sb->wsize); in cifs_show_options()
|
/fs/ |
D | compat.c | 38 compat_int_t wsize; member 78 real->wsize = raw->wsize; in do_nfs4_super_data_conv()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 117 ds_versions[i].wsize = nfs_block_size(be32_to_cpup(p++), NULL); in nfs4_ff_alloc_deviceid_node() 122 if (ds_versions[i].wsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node() 123 ds_versions[i].wsize = NFS_MAX_FILE_IO_SIZE; in nfs4_ff_alloc_deviceid_node() 143 ds_versions[i].wsize, in nfs4_ff_alloc_deviceid_node() 401 if (mirror->mirror_ds->ds_versions[0].wsize > max_payload) in nfs4_ff_layout_prepare_ds() 402 mirror->mirror_ds->ds_versions[0].wsize = max_payload; in nfs4_ff_layout_prepare_ds()
|
D | flexfilelayout.h | 32 u32 wsize; member
|
/fs/nfsd/ |
D | flexfilelayoutxdr.h | 31 u32 wsize; member
|
D | flexfilelayoutxdr.c | 112 *p++ = cpu_to_be32(da->wsize); in nfsd4_ff_encode_getdeviceinfo()
|
D | flexfilelayout.c | 98 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
|
/fs/ceph/ |
D | super.c | 287 fsopt->wsize = ALIGN(intval, PAGE_SIZE); in parse_fsopt_token() 483 fsopt->wsize = CEPH_MAX_WRITE_SIZE; in parse_mount_options() 605 if (fsopt->wsize != CEPH_MAX_WRITE_SIZE) in ceph_show_options() 606 seq_printf(m, ",wsize=%d", fsopt->wsize); in ceph_show_options() 711 page_count = fsc->mount_options->wsize >> PAGE_SHIFT; in create_fs_client()
|
D | addr.c | 790 unsigned int wsize = i_blocksize(inode); in ceph_writepages_start() local 809 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start() 810 wsize = fsc->mount_options->wsize; in ceph_writepages_start() 867 max_pages = wsize >> PAGE_SHIFT; in ceph_writepages_start() 949 offset, wsize, in ceph_writepages_start() 1027 len = wsize; in ceph_writepages_start()
|
D | super.h | 79 int wsize; /* max write size */ member
|
/fs/ext4/ |
D | xattr.c | 1349 int csize, wsize = 0; in ext4_xattr_inode_write() local 1376 while (wsize < bufsize) { in ext4_xattr_inode_write() 1379 csize = (bufsize - wsize) > blocksize ? blocksize : in ext4_xattr_inode_write() 1380 bufsize - wsize; in ext4_xattr_inode_write() 1399 wsize += csize; in ext4_xattr_inode_write() 1404 i_size_write(ea_inode, wsize); in ext4_xattr_inode_write() 1405 ext4_update_i_disksize(ea_inode, wsize); in ext4_xattr_inode_write()
|