Home
last modified time | relevance | path

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

/NextBSD/sbin/hastd/
HDsubr.c264 if (cap_rights_limit(res->hr_ggatefd, &rights) == -1) { in drop_privs()
268 if (cap_ioctls_limit(res->hr_ggatefd, ggatecmds, in drop_privs()
HDprimary.c296 if (ioctl(res->hr_ggatefd, G_GATE_CMD_DESTROY, &ggiod) == -1) { in cleanup()
624 if (ioctl(res->hr_ggatefd, G_GATE_CMD_MODIFY, &ggiomodify) == 0) in enable_direct_reads()
915 res->hr_ggatefd = open("/dev/" G_GATE_CTL_NAME, O_RDWR); in init_ggate()
916 if (res->hr_ggatefd == -1) in init_ggate()
932 if (ioctl(res->hr_ggatefd, G_GATE_CMD_CREATE, &ggiocreate) == 0) { in init_ggate()
954 if (ioctl(res->hr_ggatefd, G_GATE_CMD_CANCEL, &ggiocancel) == 0) { in init_ggate()
1206 if (ioctl(res->hr_ggatefd, G_GATE_CMD_DONE, ggio) == -1) in write_complete()
1244 if (ioctl(res->hr_ggatefd, G_GATE_CMD_START, ggio) == -1) { in ggate_recv_thread()
1922 if (ioctl(res->hr_ggatefd, G_GATE_CMD_DONE, ggio) == -1) { in ggate_send_thread()
HDhast.h185 int hr_ggatefd; member