Lines Matching refs:from

461  * to be read from the directory.
838 size_t from = offset_in_folio(folio, pos);
840 folio_zero_segments(folio, 0, from,
841 from + len, folio_size(folio));
880 size_t from = offset_in_folio(folio, pos);
882 folio_zero_range(folio, from + copied, len - copied);
1016 * simple_read_from_buffer - copy data from the buffer to user space
1020 * @from: the buffer to read from
1023 * The simple_read_from_buffer() function reads up to @count bytes from the
1024 * buffer @from at offset @ppos into the user space address starting at @to.
1030 const void *from, size_t available)
1041 ret = copy_to_user(to, from + pos, count);
1051 * simple_write_to_buffer - copy data from user space to the buffer
1055 * @from: the user space buffer to read from
1058 * The simple_write_to_buffer() function reads up to @count bytes from the user
1059 * space address starting at @from into the buffer @to at offset @ppos.
1065 const void __user *from, size_t count)
1076 res = copy_from_user(to + pos, from, count);
1086 * memory_read_from_buffer - copy data from the buffer
1090 * @from: the buffer to read from
1093 * The memory_read_from_buffer() function reads up to @count bytes from the
1094 * buffer @from at offset @ppos into the kernel space address starting at @to.
1100 const void *from, size_t available)
1110 memcpy(to, from + pos, count);
1231 /* read from the buffer that is filled with the get function */
1523 * Mark the inode dirty from the very beginning,
1694 /* prevent compiler from optimizing out the temporary buffer */
1850 * @inode: inode from which i_version should be read
1859 * that fails, we try again with the newly fetched value from the cmpxchg.
1897 * Note that this differs from normal direct-io semantics, which will