Lines Matching refs:rname
69 static void sendf(char *rname, int opts);
237 char *rname; in install() local
255 rname = exptilde(target, sizeof (target), src); in install()
256 if (rname == NULL) in install()
267 while (*rname == '/') in install()
268 rname++; in install()
271 rname = rindex(target, '/'); in install()
272 if (rname == NULL) in install()
273 rname = target; in install()
275 rname++; in install()
278 printf("target = %s, rname = %s\n", target, rname); in install()
298 strcpy(destination, rname); in install()
302 sendf(rname, opts); in install()
313 sendf(char *rname, int opts) in sendf() argument
326 printf("sendf(%s, %x%s)\n", rname, opts, printb(opts, OBITS)); in sendf()
334 if (index(rname, '\n')) { in sendf()
336 "can't update\n", rname); in sendf()
339 if ((u = update(rname, opts, &stb)) == 0) { in sendf()
376 rname) >= sizeof (buf)) { in sendf()
377 error("%s: Name too long\n", rname); in sendf()
430 rname); in sendf()
434 lp->pathname, rname); in sendf()
436 error("%s: Name too long\n", rname); in sendf()
448 protoname(), protogroup(), rname); in sendf()
483 opts, lp->pathname, rname); in sendf()
487 lp->pathname, rname); in sendf()
489 error("%s: Name too long\n", rname); in sendf()
506 protoname(), protogroup(), rname); in sendf()
598 update(char *rname, int opts, struct stat *stp) in update() argument
605 printf("update(%s, %x%s, %x)\n", rname, opts, in update()
611 if (snprintf(buf, sizeof (buf), "Q%s\n", rname) >= sizeof (buf)) { in update()
612 error("%s: Name too long\n", rname); in update()