Lines Matching refs:name
25 * return host status given name
33 initiate(register Cs_t* state, const char* name, char* buf)
39 messagef((state->id, NiL, -1, "stat: %s: %s: cannot find stat daemon", name, CS_STAT_DAEMON));
43 av[1] = (char*)name;
50 csstat(register Cs_t* state, const char* name, register Csstat_t* sp)
63 messagef((state->id, NiL, -8, "stat(%s) call", name));
65 if (!name || streq(name, CS_HOST_LOCAL))
66 name = (const char*)csname(state, 0);
67 if (!strchr(name, '/'))
77 sfsprintf(buf, sizeof(buf), "%s/%s", dir, name);
80 if (initiate(state, name, buf))
90 messagef((state->id, NiL, -1, "stat: %s: %s: stat error", name, buf));
96 n = stat(name, &st);
111 if (streq(name, s))
112 initiate(state, name, buf);
127 _cs_stat(const char* name, Csstat_t* sp)
129 return csstat(&cs, name, sp);