Lines Matching refs:mbuf
491 void *mbuf; in fuse_send_data_iov_fallback() local
506 res = posix_memalign(&mbuf, pagesize, len); in fuse_send_data_iov_fallback()
510 mem_buf.buf[0].mem = mbuf; in fuse_send_data_iov_fallback()
513 free(mbuf); in fuse_send_data_iov_fallback()
518 iov[iov_count].iov_base = mbuf; in fuse_send_data_iov_fallback()
522 free(mbuf); in fuse_send_data_iov_fallback()
759 void *mbuf; in fuse_send_data_iov() local
770 res = posix_memalign(&mbuf, pagesize, len); in fuse_send_data_iov()
774 mem_buf.buf[0].mem = mbuf; in fuse_send_data_iov()
787 free(mbuf); in fuse_send_data_iov()
794 free(mbuf); in fuse_send_data_iov()
797 res = read_back(llp->pipe[0], mbuf, now_len); in fuse_send_data_iov()
799 free(mbuf); in fuse_send_data_iov()
803 iov[iov_count].iov_base = mbuf; in fuse_send_data_iov()
807 free(mbuf); in fuse_send_data_iov()
810 free(mbuf); in fuse_send_data_iov()
2561 void *mbuf = NULL; in fuse_session_process_buf_int() local
2569 mbuf = malloc(tmpbuf.buf[0].size); in fuse_session_process_buf_int()
2570 if (mbuf == NULL) { in fuse_session_process_buf_int()
2574 tmpbuf.buf[0].mem = mbuf; in fuse_session_process_buf_int()
2580 in = mbuf; in fuse_session_process_buf_int()
2654 newmbuf = realloc(mbuf, buf->size); in fuse_session_process_buf_int()
2657 mbuf = newmbuf; in fuse_session_process_buf_int()
2660 tmpbuf.buf[0].mem = (char *)mbuf + write_header_size; in fuse_session_process_buf_int()
2667 in = mbuf; in fuse_session_process_buf_int()
2679 free(mbuf); in fuse_session_process_buf_int()