Lines Matching refs:buffer
515 /* Determine the size of a buffer that will hold one RPC data transfer.
527 /* The buffer size will be the maximum of those two sizes */
534 /* But don't let the buffer size exceed the MSS of the socket type.
553 /* Save the allocated I/O buffer size */
1554 int vfs_nfs_write(struct file *filep, const char *buffer, size_t buflen)
1625 /* Now loop until we send the entire user buffer */
1641 * buffer size.
1650 /* Copy a chunk of the user data into the temporary buffer */
1652 if (LOS_CopyToKernel(temp_buffer, writesize, buffer, writesize) != 0)
1660 * RPC calls in that the entry RPC calls messasge lies in the I/O buffer
1688 /* Copy a chunk of the user data into the I/O buffer from temporary buffer */
1760 buffer += writesize;
1773 ssize_t vfs_nfs_writepage(struct Vnode *node, char *buffer, off_t pos, size_t buflen)
1836 /* Now loop until we send the entire user buffer */
1852 * buffer size.
1861 /* Copy a chunk of the user data into the temporary buffer */
1863 if (LOS_CopyToKernel(temp_buffer, writesize, buffer, writesize) != 0)
1871 * RPC calls in that the entry RPC calls messasge lies in the I/O buffer
1899 /* Copy a chunk of the user data into the I/O buffer from temporary buffer */
1964 buffer += writesize;
2047 ssize_t vfs_nfs_readpage(struct Vnode *node, char *buffer, off_t pos)
2102 /* Now loop until we fill the user buffer (or hit the end of the file) */
2114 /* Make sure that the attempted read size does not exceed the IO buffer size */
2166 /* Copy the read data into the user buffer */
2168 if (LOS_CopyFromKernel(buffer, buflen, (const void *)read_response->read.data, readsize) != 0)
2179 buffer += readsize;
2197 ssize_t vfs_nfs_read(struct file *filep, char *buffer, size_t buflen)
2247 /* Now loop until we fill the user buffer (or hit the end of the file) */
2259 /* Make sure that the attempted read size does not exceed the IO buffer size */
2311 /* Copy the read data into the user buffer */
2313 if (LOS_CopyFromKernel(buffer, buflen, (const void *)read_response->read.data, readsize) != 0)
2324 buffer += readsize;