Lines Matching refs:read_buf
280 len = vsnprintf(head->read_buf + pos, size, fmt, args) + 1;
287 tomoyo_set_string(head, head->read_buf + pos);
1012 /* Accessing read_buf is safe because head->io_sem is held. */
1013 if (!head->read_buf)
2203 kfree(head->read_buf);
2204 head->read_buf = NULL;
2240 head->read_buf = buf;
2464 * No need to allocate read_buf since it is not opened
2470 /* Don't allocate read_buf for poll() access. */
2473 head->read_buf = kzalloc(head->readbuf_size, GFP_NOFS);
2474 if (!head->read_buf) {
2489 kfree(head->read_buf);