memfd
memfd = open("/dev/mem", O_RDWR, 0);
if (memfd < 0) {
memfd, offset);
close(memfd);
static int memfd, memcnt;
struct memfd *mfd = fp->f_memfd;
struct memfd *mfd = fp->f_memfd;
struct memfd *mfd = fp->f_memfd;
struct memfd *mfd = fp->f_memfd;
struct memfd *mfd = fp->f_memfd;
struct memfd *mfd = fp->f_memfd;
struct memfd *mfd = fp->f_memfd;
struct memfd *mfd;
initbackend(struct shmif_sc *sc, int memfd)
error = rumpcomp_shmif_mmap(memfd, BUSMEM_SIZE, &mem);
error = rumpcomp_shmif_watchsetup(&sc->sc_kq, memfd);
sc->sc_memfd = memfd;
int memfd = -1; /* XXXgcc */
RUMPUSER_OPEN_RDWR | RUMPUSER_OPEN_CREATE, &memfd);
rumpuser_close(memfd);
rumpuser_close(memfd);
error = initbackend(sc, memfd);
int s, rv, memfd;
RUMPUSER_OPEN_RDWR | RUMPUSER_OPEN_CREATE, &memfd);
rv = initbackend(sc, memfd);
rumpuser_close(memfd);
struct memfd *fd_memfd; // DTYPE_MEMFD
struct memfd mfd;
dowakeup(int memfd)
if (lseek(memfd, IFMEM_WAKEUP, SEEK_SET) == IFMEM_WAKEUP)
return writev(memfd, &iov, 1);