Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 12 of 12) sorted by relevance

/fs/dlm/
Dmidcomms.c37 unsigned copy = len; in copy_from_cb() local
39 if ((copy + offset) > limit) in copy_from_cb()
40 copy = limit - offset; in copy_from_cb()
41 memcpy(dst, base + offset, copy); in copy_from_cb()
42 len -= copy; in copy_from_cb()
44 memcpy(dst + copy, base, len); in copy_from_cb()
/fs/
Dpipe.c123 unsigned long copy; in pipe_iov_copy_from_user() local
128 copy = min_t(unsigned long, *remaining, iov->iov_len); in pipe_iov_copy_from_user()
132 iov->iov_base, copy)) in pipe_iov_copy_from_user()
136 iov->iov_base, copy)) in pipe_iov_copy_from_user()
139 *offset += copy; in pipe_iov_copy_from_user()
140 *remaining -= copy; in pipe_iov_copy_from_user()
141 iov->iov_base += copy; in pipe_iov_copy_from_user()
142 iov->iov_len -= copy; in pipe_iov_copy_from_user()
151 unsigned long copy; in pipe_iov_copy_to_user() local
156 copy = min_t(unsigned long, *remaining, iov->iov_len); in pipe_iov_copy_to_user()
[all …]
/fs/fat/
Ddir.c1207 unsigned long size, copy; in fat_add_new_entries() local
1228 i = n = copy = 0; in fat_add_new_entries()
1240 copy = min(size, sb->s_blocksize); in fat_add_new_entries()
1241 memcpy(bhs[n]->b_data, slots, copy); in fat_add_new_entries()
1242 slots += copy; in fat_add_new_entries()
1243 size -= copy; in fat_add_new_entries()
1253 memset(bhs[n]->b_data + copy, 0, sb->s_blocksize - copy); in fat_add_new_entries()
1254 offset = copy - sizeof(struct msdos_dir_entry); in fat_add_new_entries()
1343 int copy = min_t(int, sb->s_blocksize - offset, size); in fat_add_entries() local
1344 memcpy(bhs[i]->b_data + offset, slots, copy); in fat_add_entries()
[all …]
Dfatent.c383 int err, n, copy; in fat_mirror_bhs() local
386 for (copy = 1; copy < sbi->fats; copy++) { in fat_mirror_bhs()
387 sector_t backup_fat = sbi->fat_length * copy; in fat_mirror_bhs()
/fs/gfs2/
Dxattr.c679 unsigned int copy; in ea_write() local
699 copy = data_len > sdp->sd_jbsize ? sdp->sd_jbsize : in ea_write()
701 memcpy(bh->b_data + mh_size, data, copy); in ea_write()
702 if (copy < sdp->sd_jbsize) in ea_write()
703 memset(bh->b_data + mh_size + copy, 0, in ea_write()
704 sdp->sd_jbsize - copy); in ea_write()
707 data += copy; in ea_write()
708 data_len -= copy; in ea_write()
/fs/jffs2/
DLICENCE16 You should have received a copy of the GNU General Public License along
/fs/cifs/
Dfile.c2701 ssize_t copy; in cifs_readdata_to_iov() local
2705 copy = min_t(ssize_t, remaining, PAGE_SIZE); in cifs_readdata_to_iov()
2708 copy = min_t(ssize_t, copy, iov_iter_count(&ii)); in cifs_readdata_to_iov()
2711 if (copy && !rc) { in cifs_readdata_to_iov()
2714 (int)copy); in cifs_readdata_to_iov()
2717 *copied += copy; in cifs_readdata_to_iov()
2718 remaining -= copy; in cifs_readdata_to_iov()
2719 iov_iter_advance(&ii, copy); in cifs_readdata_to_iov()
DCHANGES176 windows server could unlock more bytes (on server copy of file)
323 file copy performance on lightly loaded networks. Fix oops in dnotify
373 file data on the client for that file even as the server copy changed).
426 from its default of 16K) which is especially useful for large file copy
563 Fixes for large file copy, signal handling, socket retry, buffer
596 testcases (including fsx, and even large file copy) to fail over time.
646 copy rather than later modified server copy of file. Do not reconnect
DTODO39 extra copy in/out of the socket buffers in some cases.
Dconnect.c501 int copy = min(bytes, iov->iov_len); in kvec_array_init() local
503 bytes -= copy; in kvec_array_init()
504 base += copy; in kvec_array_init()
DREADME30 mkdir linux/fs/cifs and then copy the current cifs vfs files from
54 type "make modules_install" (or if you prefer, manually copy the file to
62 the CIFS VFS web site) copy it to the same directory in which mount.smbfs and
/fs/fuse/
Dfile.c1872 size_t copy = min(todo, iov_len); in fuse_ioctl_copy_user() local
1876 left = copy_from_user(kaddr, uaddr, copy); in fuse_ioctl_copy_user()
1878 left = copy_to_user(uaddr, kaddr, copy); in fuse_ioctl_copy_user()
1883 iov_iter_advance(&ii, copy); in fuse_ioctl_copy_user()
1884 todo -= copy; in fuse_ioctl_copy_user()
1885 kaddr += copy; in fuse_ioctl_copy_user()