Home
last modified time | relevance | path

Searched refs:host_ifconf (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/linux-user/
H A Dsyscall.c4737 struct ifconf *host_ifconf; in do_ioctl_ifconf() local
4762 host_ifconf = (struct ifconf *)(unsigned long)buf_temp; in do_ioctl_ifconf()
4763 target_ifc_buf = (abi_long)(unsigned long)host_ifconf->ifc_buf; in do_ioctl_ifconf()
4767 target_ifc_len = host_ifconf->ifc_len; in do_ioctl_ifconf()
4771 outbufsz = sizeof(*host_ifconf) + host_ifc_len; in do_ioctl_ifconf()
4777 host_ifconf = g_try_malloc(outbufsz); in do_ioctl_ifconf()
4778 if (!host_ifconf) { in do_ioctl_ifconf()
4781 memcpy(host_ifconf, buf_temp, sizeof(*host_ifconf)); in do_ioctl_ifconf()
4784 host_ifc_buf = (char *)host_ifconf + sizeof(*host_ifconf); in do_ioctl_ifconf()
4786 host_ifconf->ifc_len = host_ifc_len; in do_ioctl_ifconf()
[all …]