/fs/ceph/ |
D | metric.c | 30 struct ceph_write_io_size *wsize; in ceph_mdsc_send_metrics() local 42 + sizeof(*wsize); in ceph_mdsc_send_metrics() 157 wsize = (struct ceph_write_io_size *)(rsize + 1); in ceph_mdsc_send_metrics() 158 wsize->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_WRITE_IO_SIZES); in ceph_mdsc_send_metrics() 159 wsize->header.ver = 1; in ceph_mdsc_send_metrics() 160 wsize->header.compat = 1; in ceph_mdsc_send_metrics() 161 wsize->header.data_len = cpu_to_le32(sizeof(*wsize) - header_len); in ceph_mdsc_send_metrics() 162 wsize->total_ops = cpu_to_le64(m->metric[METRIC_WRITE].total); in ceph_mdsc_send_metrics() 163 wsize->total_size = cpu_to_le64(m->metric[METRIC_WRITE].size_sum); in ceph_mdsc_send_metrics()
|
D | addr.c | 854 unsigned int wsize = i_blocksize(inode); in ceph_writepages_start() local 878 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start() 879 wsize = fsc->mount_options->wsize; in ceph_writepages_start() 936 max_pages = wsize >> PAGE_SHIFT; in ceph_writepages_start() 1020 offset, wsize, in ceph_writepages_start() 1095 len = wsize; in ceph_writepages_start()
|
D | super.c | 445 fsopt->wsize = ALIGN(result.uint_32, PAGE_SIZE); in ceph_parse_mount_param() 717 if (fsopt->wsize != CEPH_MAX_WRITE_SIZE) in ceph_show_options() 718 seq_printf(m, ",wsize=%u", fsopt->wsize); in ceph_show_options() 1340 fsopt->wsize = CEPH_MAX_WRITE_SIZE; in ceph_init_fs_context()
|
D | super.h | 80 unsigned int wsize; /* max write size */ member
|
/fs/nfs/ |
D | client.c | 712 if (ctx->wsize) in nfs_init_server() 713 server->wsize = nfs_io_size(ctx->wsize, clp->cl_proto); in nfs_init_server() 764 if (server->wsize == 0) in nfs_server_set_fsinfo() 765 server->wsize = nfs_io_size(fsinfo->wtpref, clp->cl_proto); in nfs_server_set_fsinfo() 769 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo() 770 server->wsize = nfs_io_size(fsinfo->wtmax, clp->cl_proto); in nfs_server_set_fsinfo() 781 if (server->wsize > max_rpc_payload) in nfs_server_set_fsinfo() 782 server->wsize = max_rpc_payload; in nfs_server_set_fsinfo() 783 if (server->wsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo() 784 server->wsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo() [all …]
|
D | fs_context.c | 625 ctx->wsize = result.uint_32; in nfs_fs_context_parse_param() 1041 ctx->wsize = data->wsize; in nfs23_parse_monolithic() 1159 compat_int_t wsize; member 1196 data->wsize = compat->wsize; in nfs4_compat_mount_data_conv() 1275 ctx->wsize = data->wsize; in nfs4_parse_monolithic() 1536 ctx->wsize = nfss->wsize; in nfs_init_fs_context()
|
D | super.c | 456 seq_printf(m, ",wsize=%u", nfss->wsize); in nfs_show_mount_options() 981 ctx->wsize != nfss->wsize || in nfs_compare_remount_data() 1087 sb->s_blocksize = nfs_block_bits(server->wsize, in nfs_fill_super() 1107 if (a->wsize != b->wsize) in nfs_compare_mount_options()
|
D | nfs4client.c | 1035 if (server->wsize > server_rqst_sz) in nfs4_session_limit_rwsize() 1036 server->wsize = server_rqst_sz; in nfs4_session_limit_rwsize() 1173 if (ctx->wsize) in nfs4_init_server() 1174 server->wsize = nfs_io_size(ctx->wsize, server->nfs_client->cl_proto); in nfs4_init_server()
|
D | direct.c | 802 size_t wsize = max_t(size_t, NFS_SERVER(inode)->wsize, PAGE_SIZE); in nfs_direct_write_schedule_iovec() local 820 wsize, &pgbase); in nfs_direct_write_schedule_iovec()
|
D | fscache.c | 109 !nfs_append_int(key, &len, nfss->wsize) || in nfs_fscache_get_super_cookie()
|
D | write.c | 1471 server->wsize, ioflags); in nfs_pageio_init_write() 1487 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds()
|
D | internal.h | 95 unsigned int rsize, wsize; member
|
/fs/smb/client/ |
D | smb1ops.c | 444 unsigned int wsize; in cifs_negotiate_wsize() local 447 if (ctx->wsize) in cifs_negotiate_wsize() 448 wsize = ctx->wsize; in cifs_negotiate_wsize() 450 wsize = CIFS_DEFAULT_IOSIZE; in cifs_negotiate_wsize() 452 wsize = CIFS_DEFAULT_NON_POSIX_WSIZE; in cifs_negotiate_wsize() 456 wsize = min_t(unsigned int, wsize, CIFS_MAX_RFC1002_WSIZE); in cifs_negotiate_wsize() 465 wsize = min_t(unsigned int, wsize, in cifs_negotiate_wsize() 469 wsize = min_t(unsigned int, wsize, CIFS_MAX_WSIZE); in cifs_negotiate_wsize() 471 return wsize; in cifs_negotiate_wsize() 1040 return CIFS_SB(inode->i_sb)->ctx->wsize; in cifs_wp_retry_size()
|
D | file.c | 2322 unsigned int j, nr_pages, wsize, tailsz, cur_len; in cifs_writev_requeue() local 2324 wsize = server->ops->wp_retry_size(inode); in cifs_writev_requeue() 2325 if (wsize < rest_len) { in cifs_writev_requeue() 2326 nr_pages = wsize / PAGE_SIZE; in cifs_writev_requeue() 2670 if (cifs_sb->ctx->wsize < PAGE_SIZE) in cifs_writepages() 2688 unsigned int i, nr_pages, found_pages, wsize; in cifs_writepages() local 2703 rc = server->ops->wait_mtu_credits(server, cifs_sb->ctx->wsize, in cifs_writepages() 2704 &wsize, credits); in cifs_writepages() 2710 tofind = min((wsize / PAGE_SIZE) - 1, end - index) + 1; in cifs_writepages() 3077 size_t get_numpages(const size_t wsize, const size_t len, size_t *cur_len) in get_numpages() argument [all …]
|
D | smb2ops.c | 435 unsigned int wsize; in smb2_negotiate_wsize() local 438 wsize = ctx->wsize ? ctx->wsize : CIFS_DEFAULT_IOSIZE; in smb2_negotiate_wsize() 439 wsize = min_t(unsigned int, wsize, server->max_write); in smb2_negotiate_wsize() 441 wsize = min_t(unsigned int, wsize, SMB2_MAX_BUFFER_SIZE); in smb2_negotiate_wsize() 443 return wsize; in smb2_negotiate_wsize() 450 unsigned int wsize; in smb3_negotiate_wsize() local 453 wsize = ctx->wsize ? ctx->wsize : SMB3_DEFAULT_IOSIZE; in smb3_negotiate_wsize() 454 wsize = min_t(unsigned int, wsize, server->max_write); in smb3_negotiate_wsize() 462 wsize = min_t(unsigned int, in smb3_negotiate_wsize() 463 wsize, in smb3_negotiate_wsize() [all …]
|
D | fs_context.h | 245 unsigned int wsize; member
|
D | fs_context.c | 830 if (ctx->wsize == 0) in smb3_reconfigure() 831 ctx->wsize = cifs_sb->ctx->wsize; in smb3_reconfigure() 1065 ctx->wsize = result.uint_32; in smb3_fs_context_parse_param()
|
D | connect.c | 2763 if (new->ctx->wsize && new->ctx->wsize < old->ctx->wsize) in compare_mount_options() 3383 if ((cifs_sb->ctx->wsize == 0) || in mount_get_conns() 3384 (cifs_sb->ctx->wsize > server->ops->negotiate_wsize(tcon, ctx))) in mount_get_conns() 3385 cifs_sb->ctx->wsize = server->ops->negotiate_wsize(tcon, ctx); in mount_get_conns()
|
D | cifsfs.c | 672 seq_printf(s, ",wsize=%u", cifs_sb->ctx->wsize); in cifs_show_options()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayoutdev.c | 118 ds_versions[i].wsize = nfs_io_size(be32_to_cpup(p++), in nfs4_ff_alloc_deviceid_node() 124 if (ds_versions[i].wsize > NFS_MAX_FILE_IO_SIZE) in nfs4_ff_alloc_deviceid_node() 125 ds_versions[i].wsize = NFS_MAX_FILE_IO_SIZE; in nfs4_ff_alloc_deviceid_node() 145 ds_versions[i].wsize, in nfs4_ff_alloc_deviceid_node() 403 if (mirror->mirror_ds->ds_versions[0].wsize > max_payload) in nfs4_ff_layout_prepare_ds() 404 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 | flexfilelayout.c | 98 da->wsize = da->rsize; in nfsd4_ff_proc_getdeviceinfo()
|
D | flexfilelayoutxdr.c | 121 *p++ = cpu_to_be32(da->wsize); in nfsd4_ff_encode_getdeviceinfo()
|
/fs/ext4/ |
D | xattr.c | 1341 int csize, wsize = 0; in ext4_xattr_inode_write() local 1368 while (wsize < bufsize) { in ext4_xattr_inode_write() 1370 csize = (bufsize - wsize) > blocksize ? blocksize : in ext4_xattr_inode_write() 1371 bufsize - wsize; in ext4_xattr_inode_write() 1391 wsize += csize; in ext4_xattr_inode_write() 1396 i_size_write(ea_inode, wsize); in ext4_xattr_inode_write() 1397 ext4_update_i_disksize(ea_inode, wsize); in ext4_xattr_inode_write()
|