Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 25 of 28) sorted by relevance

12

/fs/ncpfs/
Dfile.c109 size_t bufsize; in ncp_file_read() local
139 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_read()
142 freelen = ncp_read_bounce_size(bufsize); in ncp_file_read()
151 bufsize - (pos % bufsize), in ncp_file_read()
190 size_t bufsize; in ncp_file_write() local
229 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_write()
233 bouncebuffer = vmalloc(bufsize); in ncp_file_write()
241 bufsize - (pos % bufsize), in ncp_file_write()
Dmmap.c39 int bufsize; in ncp_file_mmap_fault() local
54 bufsize = NCP_SERVER(inode)->buffer_size; in ncp_file_mmap_fault()
62 to_read = bufsize - (pos % bufsize); in ncp_file_mmap_fault()
Dncplib_kernel.c848 size_t bufsize, in ncp_search_for_fileset() argument
872 result = ncp_request2(server, 87, buffer, bufsize); in ncp_search_for_fileset()
996 void* bounce, __u32 bufsize) in ncp_read_bounce() argument
1005 result = ncp_request2(server, 72, bounce, bufsize); in ncp_read_bounce()
Ddir.c696 size_t bufsize; in ncp_do_readdir() local
715 bufsize = 131072; in ncp_do_readdir()
716 buf = vmalloc(bufsize); in ncp_do_readdir()
724 err = ncp_search_for_fileset(server, &seq, &more, &cnt, buf, bufsize, &rpl, &rpls); in ncp_do_readdir()
Dncplib_kernel.h92 char* buffer, size_t bufsize,
/fs/isofs/
Ddir.c85 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in do_isofs_readdir() local
97 offset = filp->f_pos & (bufsize - 1); in do_isofs_readdir()
133 if (offset >= bufsize) { in do_isofs_readdir()
134 int slop = bufsize - offset + de_len; in do_isofs_readdir()
136 offset &= bufsize - 1; in do_isofs_readdir()
Dnamei.c54 unsigned long bufsize = ISOFS_BUFFER_SIZE(dir); in isofs_find_entry() local
96 if (offset >= bufsize) { in isofs_find_entry()
97 int slop = bufsize - offset + de_len; in isofs_find_entry()
99 offset &= bufsize - 1; in isofs_find_entry()
Dcompress.c51 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in zisofs_readpage() local
53 unsigned long bufmask = bufsize - 1; in zisofs_readpage()
204 stream.avail_in = min(bufsize-(cstart & bufmask), csize); in zisofs_readpage()
246 stream.avail_in = min(csize,bufsize); in zisofs_readpage()
Dinode.c1104 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in isofs_read_level3_size() local
1149 if (offset >= bufsize) { in isofs_read_level3_size()
1150 int slop = bufsize - offset + de_len; in isofs_read_level3_size()
1157 offset &= bufsize - 1; in isofs_read_level3_size()
1209 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in isofs_read_inode() local
1230 if (offset + de_len > bufsize) { in isofs_read_inode()
1231 int frag1 = bufsize - offset; in isofs_read_inode()
Drock.c666 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); in rock_ridge_symlink_readpage() local
695 if (offset + *pnt > bufsize) in rock_ridge_symlink_readpage()
/fs/udf/
Ddirectory.c210 struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize, int *offset) in udf_get_fileident() argument
225 if ((*offset > 0) && (*offset < bufsize)) in udf_get_fileident()
233 bufsize); in udf_get_fileident()
236 if ((*offset + sizeof(struct fileIdentDesc)) > bufsize) in udf_get_fileident()
252 static extent_ad *udf_get_fileextent(void *buffer, int bufsize, int *offset)
Dudfdecl.h219 extern struct fileIdentDesc *udf_get_fileident(void *buffer, int bufsize,
/fs/xfs/linux-2.6/
Dxfs_file.c193 size_t bufsize; in xfs_file_readdir() local
207 bufsize = (size_t)min_t(loff_t, PAGE_SIZE, ip->i_d.di_size); in xfs_file_readdir()
209 error = xfs_readdir(ip, dirent, bufsize, in xfs_file_readdir()
Dxfs_xattr.c298 context.bufsize = size; in xfs_vn_listxattr()
299 context.firstu = context.bufsize; in xfs_vn_listxattr()
/fs/smbfs/
Drequest.c59 int bufsize) in smb_do_alloc_request() argument
69 if (bufsize > 0) { in smb_do_alloc_request()
70 buf = kmalloc(bufsize, GFP_NOFS); in smb_do_alloc_request()
78 req->rq_bufsize = bufsize; in smb_do_alloc_request()
88 struct smb_request *smb_alloc_request(struct smb_sb_info *server, int bufsize) in smb_alloc_request() argument
95 req = smb_do_alloc_request(server, bufsize); in smb_alloc_request()
Dproto.h80 extern struct smb_request *smb_alloc_request(struct smb_sb_info *server, int bufsize);
/fs/xfs/
Dxfs_vnodeops.h36 int xfs_readdir(struct xfs_inode *dp, void *dirent, size_t bufsize,
54 int xfs_attr_list(struct xfs_inode *dp, char *buffer, int bufsize,
Dxfs_attr.h115 int bufsize; /* total buffer size */ member
Dxfs_attr.c684 ASSERT(context->firstu <= context->bufsize); in xfs_attr_put_listent()
727 int bufsize, in xfs_attr_list() argument
750 bufsize = 0; in xfs_attr_list()
761 context.bufsize = (bufsize & ~(sizeof(int)-1)); /* align */ in xfs_attr_list()
762 context.firstu = context.bufsize; in xfs_attr_list()
768 alist->al_offset[0] = context.bufsize; in xfs_attr_list()
2339 (void *)((__psunsigned_t)context->bufsize), in xfs_attr_trace_enter()
Dxfs_dir2_leaf.h236 size_t bufsize, xfs_off_t *offset,
Dxfs_dir2_leaf.c755 size_t bufsize, in xfs_dir2_leaf_getdents() argument
799 map_size = howmany(bufsize + mp->m_dirblksize, mp->m_sb.sb_blocksize); in xfs_dir2_leaf_getdents()
856 ra_want = howmany(bufsize + mp->m_dirblksize, in xfs_dir2_leaf_getdents()
1104 bufsize -= length; in xfs_dir2_leaf_getdents()
Dxfs_dir2.c380 size_t bufsize, in xfs_readdir() argument
402 rval = xfs_dir2_leaf_getdents(dp, dirent, bufsize, offset, in xfs_readdir()
/fs/befs/
Dbtree.h11 loff_t key_no, size_t bufsize, char *keybuf,
Dbtree.c417 loff_t key_no, size_t bufsize, char *keybuf, size_t * keysize, in befs_btree_read() argument
498 if (bufsize < keylen + 1) { in befs_btree_read()
500 "for key of size %d", bufsize, keylen); in befs_btree_read()
/fs/dlm/
Dlowcomms.c1056 int bufsize = NEEDED_RMEM; in sctp_listen_for_all() local
1079 (char *)&bufsize, sizeof(bufsize)); in sctp_listen_for_all()

12