Home
last modified time | relevance | path

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

/freebsd/sbin/hastd/
H A Dprimary.c614 struct g_gate_ctl_modify ggiomodify; in enable_direct_reads() local
616 bzero(&ggiomodify, sizeof(ggiomodify)); in enable_direct_reads()
617 ggiomodify.gctl_version = G_GATE_VERSION; in enable_direct_reads()
618 ggiomodify.gctl_unit = res->hr_ggateunit; in enable_direct_reads()
619 ggiomodify.gctl_modify = GG_MODIFY_READPROV | GG_MODIFY_READOFFSET; in enable_direct_reads()
620 strlcpy(ggiomodify.gctl_readprov, res->hr_localpath, in enable_direct_reads()
621 sizeof(ggiomodify.gctl_readprov)); in enable_direct_reads()
622 ggiomodify.gctl_readoffset = res->hr_localoff; in enable_direct_reads()
623 if (ioctl(res->hr_ggatefd, G_GATE_CMD_MODIFY, &ggiomodify) == 0) in enable_direct_reads()