/fs/9p/ |
D | vfs_file.c | 208 int n, rsize, total = 0; in v9fs_file_write() local 220 rsize = fid->iounit; in v9fs_file_write() 221 if (!rsize || rsize > clnt->msize-P9_IOHDRSZ) in v9fs_file_write() 222 rsize = clnt->msize - P9_IOHDRSZ; in v9fs_file_write() 225 if (count < rsize) in v9fs_file_write() 226 rsize = count; in v9fs_file_write() 229 rsize); in v9fs_file_write()
|
/fs/ |
D | nfsctl.c | 55 char *name; int wsize; int rsize; member 80 .rsize = NFS_FHSIZE 85 .rsize = sizeof(struct knfsd_fh) 106 file = do_open(map[cmd].name, map[cmd].rsize ? O_RDWR : O_WRONLY); in SYSCALL_DEFINE3() 110 if (err >= 0 && map[cmd].rsize) in SYSCALL_DEFINE3() 111 err = file->f_op->read(file, res, map[cmd].rsize, &file->f_pos); in SYSCALL_DEFINE3()
|
D | compat.c | 699 compat_int_t rsize; member 741 real->rsize = raw->rsize; in do_nfs4_super_data_conv()
|
/fs/nfs/ |
D | read.c | 133 if (NFS_SERVER(inode)->rsize < PAGE_CACHE_SIZE) in nfs_readpage_async() 242 size_t rsize = NFS_SERVER(inode)->rsize, nbytes; in nfs_pagein_multi() local 252 size_t len = min(nbytes,rsize); in nfs_pagein_multi() 274 if (nbytes < rsize) in nfs_pagein_multi() 275 rsize = nbytes; in nfs_pagein_multi() 277 rsize, offset); in nfs_pagein_multi() 280 offset += rsize; in nfs_pagein_multi() 281 nbytes -= rsize; in nfs_pagein_multi() 568 size_t rsize = server->rsize; in nfs_readpages() local 587 if (rsize < PAGE_CACHE_SIZE) in nfs_readpages() [all …]
|
D | client.c | 776 if (data->rsize) in nfs_init_server() 777 server->rsize = nfs_block_size(data->rsize, NULL); in nfs_init_server() 828 if (server->rsize == 0) in nfs_server_set_fsinfo() 829 server->rsize = nfs_block_size(fsinfo->rtpref, NULL); in nfs_server_set_fsinfo() 833 if (fsinfo->rtmax >= 512 && server->rsize > fsinfo->rtmax) in nfs_server_set_fsinfo() 834 server->rsize = nfs_block_size(fsinfo->rtmax, NULL); in nfs_server_set_fsinfo() 839 if (server->rsize > max_rpc_payload) in nfs_server_set_fsinfo() 840 server->rsize = max_rpc_payload; in nfs_server_set_fsinfo() 841 if (server->rsize > NFS_MAX_FILE_IO_SIZE) in nfs_server_set_fsinfo() 842 server->rsize = NFS_MAX_FILE_IO_SIZE; in nfs_server_set_fsinfo() [all …]
|
D | nfsroot.c | 201 nfs_data.rsize = option; in root_nfs_parse() 298 nfs_data.rsize = 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()
|
D | super.c | 527 seq_printf(m, ",rsize=%u", nfss->rsize); in nfs_show_mount_options() 1063 mnt->rsize = option; in nfs_parse_mount_options() 1553 args->rsize = NFS_MAX_FILE_IO_SIZE; in nfs_validate_mount_data() 1598 args->rsize = data->rsize; in nfs_validate_mount_data() 1730 data->rsize != nfss->rsize || in nfs_compare_remount_data() 1774 data->rsize = nfss->rsize; in nfs_remount() 1887 if (a->rsize != b->rsize) in nfs_compare_mount_options() 2212 args->rsize = NFS_MAX_FILE_IO_SIZE; in nfs4_validate_mount_data() 2267 args->rsize = data->rsize; in nfs4_validate_mount_data()
|
D | direct.c | 281 size_t rsize = NFS_SERVER(inode)->rsize; in nfs_direct_read_schedule_segment() local 302 bytes = min(rsize,count); in nfs_direct_read_schedule_segment()
|
D | internal.h | 35 int rsize, wsize; member
|
/fs/smbfs/ |
D | file.c | 60 unsigned int rsize = smb_get_rsize(server); in smb_readpage_sync() local 65 DENTRY_PATH(dentry), count, offset, rsize); in smb_readpage_sync() 72 if (count < rsize) in smb_readpage_sync() 73 rsize = count; in smb_readpage_sync() 75 result = server->ops->read(dentry->d_inode,offset,rsize,buffer); in smb_readpage_sync() 84 if (result < rsize) in smb_readpage_sync()
|
/fs/cifs/ |
D | cifs_fs_sb.h | 40 unsigned int rsize; member
|
D | connect.c | 98 unsigned int rsize; member 1119 vol->rsize = in cifs_parse_mount_options() 2034 if (sb && (CIFS_SB(sb)->rsize > 127 * 1024)) { in reset_cifs_unix_caps() 2036 CIFS_SB(sb)->rsize = 127 * 1024; in reset_cifs_unix_caps() 2098 if (pvolume_info->rsize > CIFSMaxBufSize) { in setup_cifs_sb() 2100 pvolume_info->rsize)); in setup_cifs_sb() 2101 cifs_sb->rsize = CIFSMaxBufSize; in setup_cifs_sb() 2102 } else if ((pvolume_info->rsize) && in setup_cifs_sb() 2103 (pvolume_info->rsize <= CIFSMaxBufSize)) in setup_cifs_sb() 2104 cifs_sb->rsize = pvolume_info->rsize; in setup_cifs_sb() [all …]
|
D | file.c | 1632 cifs_sb->rsize); in cifs_user_read() 1712 cifs_sb->rsize); in cifs_read() 1874 cifs_sb->rsize & PAGE_CACHE_MASK); in cifs_readpages()
|
D | README | 309 rsize default read size (usually 16K). The client currently 310 can not use rsize larger than CIFSMaxBufSize. CIFSMaxBufSize 315 in some cases. To use rsize greater than 127K (the original 318 newer servers (e.g. Samba 3.0.26 or later) do. rsize can be
|
D | cifsfs.c | 417 seq_printf(s, ",rsize=%d", cifs_sb->rsize); in cifs_show_options()
|
D | CHANGES | 256 wsize and rsize can now be larger than negotiated buffer size if server 758 mount). Add support for overriding rsize at mount time.
|
/fs/ncpfs/ |
D | ncplib_kernel.h | 93 char** rbuf, size_t* rsize);
|
D | ncplib_kernel.c | 850 size_t* rsize) in ncp_search_for_fileset() argument 881 *rsize = server->ncp_reply_size - 12; in ncp_search_for_fileset()
|