Lines Matching defs:vol
79 char *vol, *bmp, *host1, *host2;
95 vol = strtok(NULL, " ");
101 vol = strtok(NULL, " ");
109 /* primary vol may be used more than once */
110 volcount = (volcount_t *)nsc_lookup(volhash, vol);
116 nsc_insert_node(volhash, volcount, vol);
133 sv_enable_one_nocfg(char *vol)
140 if (stat(vol, &sb) != 0) {
141 rdc_set_error(NULL, RDC_OS, 0, "unable to stat %s", vol);
146 " a character device", vol);
152 strncpy(svc.svc_path, vol, sizeof (svc.svc_path));
184 char vol[NSC_MAXPATH];
190 strncpy(vol, rdc->pfile, NSC_MAXPATH);
193 strncpy(vol, rdc->sfile, NSC_MAXPATH);
200 if ((stat(vol, &stbv) != 0) || (stat(bmp, &stbb) != 0))
209 strncpy(svcv.svc_path, vol, sizeof (svcv.svc_path));
230 /* SV enable the bitmap disable the vol on error */
266 char vol[NSC_MAXPATH];
275 strncpy(vol, rdc->pfile, NSC_MAXPATH);
278 strncpy(vol, rdc->sfile, NSC_MAXPATH);
281 if (nsc_lookup(volhash, vol) == NULL) {
282 if (cfg_vol_enable(cfg, vol, rdc->ctag, "sndr") < 0) {
284 "auto sv enable failed for %s", vol);
291 "auto sv enable failed for %s", vol);
309 char vol[NSC_MAXPATH];
319 strncpy(vol, rdc->pfile, NSC_MAXPATH);
322 strncpy(vol, rdc->sfile, NSC_MAXPATH);
326 vc = nsc_lookup(volhash, vol);
328 if (cfg_vol_disable(cfg, vol, rdc->ctag, "sndr") < 0)
330 "auto sv disable failed for %s", vol);
333 "Unable to find %s in config", vol);
351 * do sv enables for the appropriate vol