Home
last modified time | relevance | path

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

/freebsd/sbin/hastd/
H A Dprimary.c244 static struct hast_resource *gres; variable
316 cleanup(gres); in primary_exit()
328 cleanup(gres); in primary_exitx()
1017 gres = res; in hastd_primary()
2222 PJDLOG_ASSERT(gres == res); in primary_config_reload()
2245 if (strcmp(gres->hr_remoteaddr, vstr) != 0) { in primary_config_reload()
2254 if (strcmp(gres->hr_sourceaddr, vstr) != 0) { in primary_config_reload()
2255 strlcpy(gres->hr_sourceaddr, vstr, sizeof(gres->hr_sourceaddr)); in primary_config_reload()
2259 if (gres->hr_replication != vint) { in primary_config_reload()
2260 gres->hr_replication = vint; in primary_config_reload()
[all …]
H A Dsecondary.c77 static struct hast_resource *gres; variable
455 gres = res; in hastd_secondary()
644 event_send(gres, EVENT_DISCONNECT); in secondary_exit()
/freebsd/contrib/tcsh/
H A Dsh.glob.c897 int gpol = 1, gres = 0; in Gnmatch() local
915 gres |= t_pmatch(string, *p, &tstring, 1) == 2 ? 1 : 0; in Gnmatch()
923 gres |= 1; in Gnmatch()
931 return(gres == gpol); in Gnmatch()
/freebsd/usr.sbin/newsyslog/
H A Dnewsyslog.c1060 int gmatch, gres; in expand_globs() local
1076 gres = glob(globent->log, GLOB_NOCHECK, NULL, &pglob); in expand_globs()
1077 if (gres != 0) { in expand_globs()
1078 warn("cannot expand pattern (%d): %s", gres, in expand_globs()
1100 gres = lstat(mfname, &st_fm); in expand_globs()
1101 if (gres != 0) { in expand_globs()