Searched refs:snapfd (Results 1 – 1 of 1) sorted by relevance
| /src/usr.sbin/bhyve/ |
| H A D | snapshot.c | 657 vm_snapshot_mem_part(const int snapfd, const size_t foff, void *src, in vm_snapshot_mem_part() argument 667 if (lseek(snapfd, foff, SEEK_SET) < 0) { in vm_snapshot_mem_part() 700 done = write(snapfd, src, todo); in vm_snapshot_mem_part() 702 done = read(snapfd, src, todo); in vm_snapshot_mem_part() 723 vm_snapshot_mem(struct vmctx *ctx, int snapfd, size_t memsz, const bool op_wr) in vm_snapshot_mem() argument 749 ret = vm_snapshot_mem_part(snapfd, 0, baseaddr, lowmem, in vm_snapshot_mem() 761 ret = vm_snapshot_mem_part(snapfd, lowmem, in vm_snapshot_mem()
|