Searched refs:ioctl_with_val (Results 1 – 3 of 3) sorted by relevance
/external/crosvm/net_util/src/ |
D | lib.rs | 18 use sys_util::{ioctl_with_mut_ref, ioctl_with_ref, ioctl_with_val}; 408 unsafe { ioctl_with_val(&self.tap_file, net_sys::TUNSETOFFLOAD(), flags as c_ulong) }; in set_offload()
|
/external/crosvm/kvm/src/ |
D | lib.rs | 25 ioctl, ioctl_with_mut_ptr, ioctl_with_mut_ref, ioctl_with_ptr, ioctl_with_ref, ioctl_with_val, 133 unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), c as c_ulong) } in check_extension_int() 386 unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), c as c_ulong) == 1 } in check_extension() 558 let ret = unsafe { ioctl_with_val(self, KVM_SET_TSS_ADDR(), addr.offset() as u64) }; in set_tss_addr() 1129 let vcpu_fd = unsafe { ioctl_with_val(vm, KVM_CREATE_VCPU(), id) }; in new()
|
/external/crosvm/sys_util/src/ |
D | ioctl.rs | 150 pub unsafe fn ioctl_with_val<F: AsRawFd>(fd: &F, nr: c_ulong, arg: c_ulong) -> c_int { in ioctl_with_val() function
|