Lines Matching defs:id
107 uint32_t id = 0;
157 if ((id = vid.vid_id) == 0) {
158 /* Lookup vm (id) by name */
163 id = vm->vm_vmid;
164 } else if ((vm = vm_getbyvmid(id)) == NULL) {
185 vid.vid_id = id;
259 id = vid.vid_id;
348 vmr.vmr_id = id;
450 DPRINTF("%s: forwarding TERMINATE VM for vm id %d",
486 DPRINTF("%s: handling TERMINATE_EVENT for vm id %d ret %d",
521 /* get the user id who started the vm */
538 * kernel id to indicate that they are not running.
552 /* get the configured user id for this vm */
1023 * getpw - lookup user or group id by name.
1188 vm_getbyid(uint32_t id)
1192 if (id == 0)
1195 if (vm->vm_params.vmc_params.vcp_id == id)
1203 vm_id2vmid(uint32_t id, struct vmd_vm *vm)
1205 if (vm == NULL && (vm = vm_getbyid(id)) == NULL)
1207 DPRINTF("%s: vmm id %u is vmid %u", __func__,
1208 id, vm->vm_vmid);
1217 DPRINTF("%s: vmid %u is vmm id %u", __func__,
1325 vm_claimid(const char *name, int uid, uint32_t *id)
1341 n2i->id = env->vmd_nvm;
1351 *id = n2i->id;
1357 struct vmd_vm **ret_vm, uint32_t id, uid_t uid)
1488 if (id != 0)
1489 vm->vm_vmid = id;