Searched refs:wrec (Results 1 – 3 of 3) sorted by relevance
/external/ltp/lib/ |
D | write_log.c | 92 static int wlog_rec_pack(struct wlog_rec *wrec, char *buf, int flag); 93 static int wlog_rec_unpack(struct wlog_rec *wrec, char *buf); 192 int wlog_record_write(struct wlog_file *wfile, struct wlog_rec *wrec, in wlog_record_write() argument 206 reclen = wlog_rec_pack(wrec, wbuf, (offset < 0)); in wlog_record_write() 267 struct wlog_rec wrec; in wlog_scan_backward() local 376 wlog_rec_unpack(&wrec, albuf); in wlog_scan_backward() 383 if ((rval = (*func) (&wrec, data)) == WLOG_STOP_SCAN) { in wlog_scan_backward() 404 static int wlog_rec_pack(struct wlog_rec *wrec, char *buf, int flag) in wlog_rec_pack() argument 411 wrecd->w_pid = (uint) wrec->w_pid; in wlog_rec_pack() 412 wrecd->w_offset = (uint) wrec->w_offset; in wlog_rec_pack() [all …]
|
/external/ltp/testcases/kernel/fs/doio/ |
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.w_hostlen = strlen(Host); in do_write() 1773 memcpy(wrec.w_host, Host, wrec.w_hostlen); in do_write() [all …]
|
/external/ltp/include/old/ |
D | write_log.h | 156 struct wlog_rec *wrec, long offset);
|