Lines Matching refs:buf

16 	char buf[512], tmp[200];  in fcallfmt()  local
21 e = buf+sizeof(buf); in fcallfmt()
28 seprint(buf, e, "Tversion tag %ud msize %ud version '%s'", tag, f->msize, f->version); in fcallfmt()
31 seprint(buf, e, "Rversion tag %ud msize %ud version '%s'", tag, f->msize, f->version); in fcallfmt()
34 seprint(buf, e, "Tauth tag %ud afid %d uname %s aname %s", tag, in fcallfmt()
38 seprint(buf, e, "Rauth tag %ud qid " QIDFMT, tag, in fcallfmt()
42 seprint(buf, e, "Tattach tag %ud fid %d afid %d uname %s aname %s", tag, in fcallfmt()
46 seprint(buf, e, "Rattach tag %ud qid " QIDFMT, tag, in fcallfmt()
50 seprint(buf, e, "Rerror tag %ud ename %s", tag, f->ename); in fcallfmt()
53 seprint(buf, e, "Tflush tag %ud oldtag %ud", tag, f->oldtag); in fcallfmt()
56 seprint(buf, e, "Rflush tag %ud", tag); in fcallfmt()
59 p = seprint(buf, e, "Twalk tag %ud fid %d newfid %d nwname %d ", tag, fid, f->newfid, f->nwname); in fcallfmt()
65 p = seprint(buf, e, "Rwalk tag %ud nwqid %ud ", tag, f->nwqid); in fcallfmt()
74 seprint(buf, e, "Topen tag %ud fid %ud mode %d", tag, fid, f->mode); in fcallfmt()
77 seprint(buf, e, "Ropen tag %ud qid " QIDFMT " iounit %ud ", tag, in fcallfmt()
81 …seprint(buf, e, "Tcreate tag %ud fid %ud name %s perm %M mode %d", tag, fid, f->name, (ulong)f->pe… in fcallfmt()
84 seprint(buf, e, "Rcreate tag %ud qid " QIDFMT " iounit %ud ", tag, in fcallfmt()
88 seprint(buf, e, "Tread tag %ud fid %d offset %lld count %ud", in fcallfmt()
92 p = seprint(buf, e, "Rread tag %ud count %ud ", tag, f->count); in fcallfmt()
96 p = seprint(buf, e, "Twrite tag %ud fid %d offset %lld count %ud ", in fcallfmt()
101 seprint(buf, e, "Rwrite tag %ud count %ud", tag, f->count); in fcallfmt()
104 seprint(buf, e, "Tclunk tag %ud fid %ud", tag, fid); in fcallfmt()
107 seprint(buf, e, "Rclunk tag %ud", tag); in fcallfmt()
110 seprint(buf, e, "Tremove tag %ud fid %ud", tag, fid); in fcallfmt()
113 seprint(buf, e, "Rremove tag %ud", tag); in fcallfmt()
116 seprint(buf, e, "Tstat tag %ud fid %ud", tag, fid); in fcallfmt()
119 p = seprint(buf, e, "Rstat tag %ud ", tag); in fcallfmt()
130 p = seprint(buf, e, "Twstat tag %ud fid %ud", tag, fid); in fcallfmt()
141 seprint(buf, e, "Rwstat tag %ud", tag); in fcallfmt()
144 seprint(buf, e, "unknown type %d", type); in fcallfmt()
146 return fmtstrcpy(fmt, buf); in fcallfmt()
170 char buf[160]; in dirfmt() local
172 fdirconv(buf, buf+sizeof buf, va_arg(fmt->args, Dir*)); in dirfmt()
173 return fmtstrcpy(fmt, buf); in dirfmt()
177 fdirconv(char *buf, char *e, Dir *d) in fdirconv() argument
181 seprint(buf, e, "'%s' '%s' '%s' '%s' " in fdirconv()
199 dumpsome(char *ans, char *e, char *buf, long count) in dumpsome() argument
204 if(buf == nil){ in dumpsome()
212 if((buf[i]<32 && buf[i] !='\n' && buf[i] !='\t') || (uchar)buf[i]>127) in dumpsome()
219 memmove(p, buf, count); in dumpsome()
227 sprint(p, "%2.2ux", (uchar)buf[i]); in dumpsome()