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