Searched refs:control_fd (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/um/os-Linux/drivers/
H A Detap.h15 int control_fd; member in struct:ethertap_data
H A Dethertap_user.c183 pri->control_fd = control_fds[0]; etap_open()
184 iter_addresses(pri->dev, etap_open_addr, &pri->control_fd); etap_open()
200 iter_addresses(pri->dev, etap_close_addr, &pri->control_fd); etap_close()
207 if (shutdown(pri->control_fd, SHUT_RDWR) < 0) etap_close()
213 close(pri->control_fd); etap_close()
214 pri->control_fd = -1; etap_close()
223 if (pri->control_fd == -1) etap_add_addr()
225 etap_open_addr(addr, netmask, &pri->control_fd); etap_add_addr()
233 if (pri->control_fd == -1) etap_del_addr()
236 etap_close_addr(addr, netmask, &pri->control_fd); etap_del_addr()
H A Dethertap_kern.c30 epri->control_fd = -1; etap_init()
/linux-4.4.14/mm/
H A Dmemcontrol.c3883 * Input must be in format '<event_fd> <control_fd> <args>'.

Completed in 245 milliseconds