Home
last modified time | relevance | path

Searched refs:wrec (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/fs/doio/
Dwrite_log.c93 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);
193 int wlog_record_write(struct wlog_file *wfile, struct wlog_rec *wrec, in wlog_record_write() argument
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, char *buf, int flag) in wlog_rec_pack() argument
412 wrecd->w_pid = (uint) wrec->w_pid; in wlog_rec_pack()
413 wrecd->w_offset = (uint) wrec->w_offset; in wlog_rec_pack()
[all …]
Ddoio.c1605 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/testcases/kernel/fs/doio/include/
Dwrite_log.h156 struct wlog_rec *wrec, long offset);
/external/python/cpython2/Doc/whatsnew/
D2.6.rst2503 with test_support.check_warnings() as wrec:
2506 assert str(wrec.message) == "function is outdated"
2507 assert len(wrec.warnings) == 1, "Multiple warnings raised"