Home
last modified time | relevance | path

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

/fs/
Dnfsctl.c55 char *name; int wsize; int rsize; member
59 .wsize = sizeof(struct nfsctl_svc)
63 .wsize = sizeof(struct nfsctl_client)
67 .wsize = sizeof(struct nfsctl_client)
71 .wsize = sizeof(struct nfsctl_export)
75 .wsize = sizeof(struct nfsctl_export)
79 .wsize = sizeof(struct nfsctl_fdparm),
84 .wsize = sizeof(struct nfsctl_fsparm),
109 err = file->f_op->write(file, p, map[cmd].wsize, &file->f_pos); in SYSCALL_DEFINE3()
Dcompat.c700 compat_int_t wsize; member
740 real->wsize = raw->wsize; in do_nfs4_super_data_conv()
/fs/smbfs/
Dfile.c125 unsigned int wsize = smb_get_wsize(server); in smb_writepage_sync() local
130 inode->i_ino, SMB_I(inode)->fileid, count, offset, wsize); in smb_writepage_sync()
135 if (count < wsize) in smb_writepage_sync()
136 wsize = count; in smb_writepage_sync()
138 write_ret = server->ops->write(inode, offset, wsize, buffer); in smb_writepage_sync()
141 wsize, write_ret); in smb_writepage_sync()
147 if (write_ret < wsize) in smb_writepage_sync()
149 wsize, write_ret); in smb_writepage_sync()
151 buffer += wsize; in smb_writepage_sync()
152 offset += wsize; in smb_writepage_sync()
[all …]
/fs/nfs/
Dclient.c778 if (data->wsize) in nfs_init_server()
779 server->wsize = nfs_block_size(data->wsize, NULL); in nfs_init_server()
830 if (server->wsize == 0) in nfs_server_set_fsinfo()
831 server->wsize = nfs_block_size(fsinfo->wtpref, NULL); in nfs_server_set_fsinfo()
835 if (fsinfo->wtmax >= 512 && server->wsize > fsinfo->wtmax) in nfs_server_set_fsinfo()
836 server->wsize = nfs_block_size(fsinfo->wtmax, NULL); in nfs_server_set_fsinfo()
847 if (server->wsize > max_rpc_payload) in nfs_server_set_fsinfo()
848 server->wsize = max_rpc_payload; in nfs_server_set_fsinfo()
849 if (server->wsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo()
850 server->wsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo()
[all …]
Dwrite.c870 size_t wsize = NFS_SERVER(inode)->wsize, nbytes; in nfs_flush_multi() local
880 size_t len = min(nbytes, wsize); in nfs_flush_multi()
902 if (nbytes < wsize) in nfs_flush_multi()
903 wsize = nbytes; in nfs_flush_multi()
905 wsize, offset, how); in nfs_flush_multi()
908 offset += wsize; in nfs_flush_multi()
909 nbytes -= wsize; in nfs_flush_multi()
966 size_t wsize = NFS_SERVER(inode)->wsize; in nfs_pageio_init_write() local
968 if (wsize < PAGE_CACHE_SIZE) in nfs_pageio_init_write()
969 nfs_pageio_init(pgio, inode, nfs_flush_multi, wsize, ioflags); in nfs_pageio_init_write()
[all …]
Dnfsroot.c204 nfs_data.wsize = option; in root_nfs_parse()
299 nfs_data.wsize = NFS_DEF_FILE_IO_SIZE; in root_nfs_name()
347 nfs_data.rsize, nfs_data.wsize, nfs_data.timeo, nfs_data.retrans); in root_nfs_print()
Dsuper.c528 seq_printf(m, ",wsize=%u", nfss->wsize); in nfs_show_mount_options()
1070 mnt->wsize = option; in nfs_parse_mount_options()
1554 args->wsize = NFS_MAX_FILE_IO_SIZE; in nfs_validate_mount_data()
1599 args->wsize = data->wsize; in nfs_validate_mount_data()
1731 data->wsize != nfss->wsize || in nfs_compare_remount_data()
1775 data->wsize = nfss->wsize; in nfs_remount()
1813 sb->s_blocksize = nfs_block_bits(server->wsize, in nfs_initialise_sb()
1885 if (a->wsize != b->wsize) in nfs_compare_mount_options()
2213 args->wsize = NFS_MAX_FILE_IO_SIZE; in nfs4_validate_mount_data()
2268 args->wsize = data->wsize; in nfs4_validate_mount_data()
Ddirect.c706 size_t wsize = NFS_SERVER(inode)->wsize; in nfs_direct_write_schedule_segment() local
716 bytes = min(wsize,count); in nfs_direct_write_schedule_segment()
837 size_t wsize = NFS_SERVER(inode)->wsize; in nfs_direct_write() local
845 if (dreq->commit_data == NULL || count < wsize) in nfs_direct_write()
Dinternal.h35 int rsize, wsize; member
/fs/cifs/
Dcifs_fs_sb.h41 unsigned int wsize; member
Dconnect.c99 unsigned int wsize; member
1124 vol->wsize = in cifs_parse_mount_options()
2108 if (pvolume_info->wsize > PAGEVEC_SIZE * PAGE_CACHE_SIZE) { in setup_cifs_sb()
2110 pvolume_info->wsize)); in setup_cifs_sb()
2111 cifs_sb->wsize = 4096; in setup_cifs_sb()
2112 } else if (pvolume_info->wsize) in setup_cifs_sb()
2113 cifs_sb->wsize = pvolume_info->wsize; in setup_cifs_sb()
2115 cifs_sb->wsize = min_t(const int, in setup_cifs_sb()
2451 cifs_sb->wsize = min(cifs_sb->wsize, in cifs_mount()
Dfile.c886 min_t(const int, cifs_sb->wsize, in cifs_user_write()
990 len = min((size_t)cifs_sb->wsize, in cifs_write()
1003 min_t(const int, cifs_sb->wsize, in cifs_write()
1242 if (cifs_sb->wsize < PAGE_CACHE_SIZE) in cifs_writepages()
1365 if (bytes_to_write + PAGE_CACHE_SIZE > cifs_sb->wsize) in cifs_writepages()
DTODO90 restriction of wsize max being 127K)
Dcifsfs.c418 seq_printf(s, ",wsize=%d", cifs_sb->wsize); in cifs_show_options()
DREADME321 wsize default write size (default 57344)
322 maximum wsize currently allowed by CIFS is 57344 (fourteen
DCHANGES256 wsize and rsize can now be larger than negotiated buffer size if server