Lines Matching defs:wrec
1605 struct wlog_rec wrec;
1764 wrec.w_async = (req->r_type == WRITEA) ? 1 : 0;
1765 wrec.w_oflags = oflags;
1766 wrec.w_pid = pid;
1767 wrec.w_offset = offset;
1768 wrec.w_nbytes = nbytes;
1770 wrec.w_pathlen = strlen(file);
1771 memcpy(wrec.w_path, file, wrec.w_pathlen);
1772 wrec.w_hostlen = strlen(Host);
1773 memcpy(wrec.w_host, Host, wrec.w_hostlen);
1774 wrec.w_patternlen = Pattern_Length;
1775 memcpy(wrec.w_pattern, Pattern, wrec.w_patternlen);
1777 wrec.w_done = 0;
1779 if ((woffset = wlog_record_write(&Wlog, &wrec, -1)) == -1) {
1937 wrec.w_done = 1;
1938 wlog_record_write(&Wlog, &wrec, woffset);
2092 struct wlog_rec wrec;
3065 struct wlog_rec wrec;
3282 wrec.w_async = (sy->sy_flags & SY_ASYNC) ? 1 : 0;
3283 wrec.w_oflags = oflags;
3284 wrec.w_pid = pid;
3285 wrec.w_offset = offset;
3286 wrec.w_nbytes = nbytes; /* mem_needed -- total length */
3288 wrec.w_pathlen = strlen(file);
3289 memcpy(wrec.w_path, file, wrec.w_pathlen);
3290 wrec.w_hostlen = strlen(Host);
3291 memcpy(wrec.w_host, Host, wrec.w_hostlen);
3292 wrec.w_patternlen = Pattern_Length;
3293 memcpy(wrec.w_pattern, Pattern, wrec.w_patternlen);
3295 wrec.w_done = 0;
3297 if ((woffset = wlog_record_write(&Wlog, &wrec, -1)) == -1) {
3467 wrec.w_done = 1;
3468 wlog_record_write(&Wlog, &wrec, woffset);