Searched refs:wrec (Results 1 - 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/fs/doio/ |
H A D | write_log.c | 93 static int wlog_rec_pack(struct wlog_rec *wrec, char *buf, int flag); 94 static int wlog_rec_unpack(struct wlog_rec *wrec, char *buf); 173 * bit in wrec cleared), but not completed, and then later update the 193 int wlog_record_write(struct wlog_file *wfile, struct wlog_rec *wrec, in wlog_record_write() argument 202 * Otherwise, we overlay wrec at the file offset indicated and assume in wlog_record_write() 207 reclen = wlog_rec_pack(wrec, wbuf, (offset < 0)); in wlog_record_write() 268 struct wlog_rec wrec; in wlog_scan_backward() local 377 wlog_rec_unpack(&wrec, albuf); in wlog_scan_backward() 384 if ((rval = (*func) (&wrec, data)) == WLOG_STOP_SCAN) { in wlog_scan_backward() 405 static int wlog_rec_pack(struct wlog_rec *wrec, cha argument 452 wlog_rec_unpack(struct wlog_rec *wrec, char *buf) wlog_rec_unpack() argument [all...] |
H A D | doio.c | 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 in do_write() 2092 struct wlog_rec wrec; do_listio() local 3065 struct wlog_rec wrec; do_rw() local [all...] |
/third_party/ltp/testcases/kernel/fs/doio/include/ |
H A D | write_log.h | 156 struct wlog_rec *wrec, long offset);
|
Completed in 5 milliseconds