Lines Matching refs:bin_buffer
40 char *bin_buffer; member
179 buffer->bin_buffer = vmalloc(len); in configfs_read_bin_file()
180 if (buffer->bin_buffer == NULL) { in configfs_read_bin_file()
190 buffer->bin_buffer, len); in configfs_read_bin_file()
196 vfree(buffer->bin_buffer); in configfs_read_bin_file()
198 buffer->bin_buffer = NULL; in configfs_read_bin_file()
205 retval = simple_read_from_buffer(buf, count, ppos, buffer->bin_buffer, in configfs_read_bin_file()
336 if (buffer->bin_buffer) { in configfs_write_bin_file()
337 memcpy(tbuf, buffer->bin_buffer, in configfs_write_bin_file()
339 vfree(buffer->bin_buffer); in configfs_write_bin_file()
345 buffer->bin_buffer = tbuf; in configfs_write_bin_file()
349 len = simple_write_to_buffer(buffer->bin_buffer, in configfs_write_bin_file()
483 buffer->bin_buffer, in configfs_release_bin_file()
488 vfree(buffer->bin_buffer); in configfs_release_bin_file()
489 buffer->bin_buffer = NULL; in configfs_release_bin_file()