Lines Matching refs:bin_buffer
38 char *bin_buffer; member
142 buffer->bin_buffer = vmalloc(len); in configfs_bin_read_iter()
143 if (buffer->bin_buffer == NULL) { in configfs_bin_read_iter()
153 buffer->bin_buffer, len); in configfs_bin_read_iter()
159 vfree(buffer->bin_buffer); in configfs_bin_read_iter()
161 buffer->bin_buffer = NULL; in configfs_bin_read_iter()
170 retval = copy_to_iter(buffer->bin_buffer + iocb->ki_pos, in configfs_bin_read_iter()
269 if (buffer->bin_buffer) { in configfs_bin_write_iter()
270 memcpy(tbuf, buffer->bin_buffer, in configfs_bin_write_iter()
272 vfree(buffer->bin_buffer); in configfs_bin_write_iter()
278 buffer->bin_buffer = tbuf; in configfs_bin_write_iter()
282 len = copy_from_iter(buffer->bin_buffer + iocb->ki_pos, in configfs_bin_write_iter()
412 buffer->bin_buffer, in configfs_release_bin_file()
418 vfree(buffer->bin_buffer); in configfs_release_bin_file()