Lines Matching refs:inflight_info
1950 dev->inflight_info.addr = addr; in vu_get_inflight_fd()
1951 dev->inflight_info.size = vmsg->payload.inflight.mmap_size = mmap_size; in vu_get_inflight_fd()
1952 dev->inflight_info.fd = vmsg->fds[0] = fd; in vu_get_inflight_fd()
1998 if (dev->inflight_info.fd) { in vu_set_inflight_fd()
1999 close(dev->inflight_info.fd); in vu_set_inflight_fd()
2002 if (dev->inflight_info.addr) { in vu_set_inflight_fd()
2003 munmap(dev->inflight_info.addr, dev->inflight_info.size); in vu_set_inflight_fd()
2006 dev->inflight_info.fd = fd; in vu_set_inflight_fd()
2007 dev->inflight_info.addr = rc; in vu_set_inflight_fd()
2008 dev->inflight_info.size = mmap_size; in vu_set_inflight_fd()
2225 if (dev->inflight_info.addr) { in vu_deinit()
2226 munmap(dev->inflight_info.addr, dev->inflight_info.size); in vu_deinit()
2227 dev->inflight_info.addr = NULL; in vu_deinit()
2230 if (dev->inflight_info.fd > 0) { in vu_deinit()
2231 close(dev->inflight_info.fd); in vu_deinit()
2232 dev->inflight_info.fd = -1; in vu_deinit()