Home
last modified time | relevance | path

Searched refs:w_pathlen (Results 1 - 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/fs/doio/
H A Dwrite_log.c419 wrecd->w_pathlen = (wrec->w_pathlen > 0) ? (uint) wrec->w_pathlen : 0; in wlog_rec_pack()
432 host = file + wrecd->w_pathlen; in wlog_rec_pack()
435 if (wrecd->w_pathlen > 0) in wlog_rec_pack()
436 memcpy(file, wrec->w_path, wrecd->w_pathlen); in wlog_rec_pack()
445 wrecd->w_pathlen + wrecd->w_hostlen + in wlog_rec_pack()
465 wrec->w_pathlen = wrecd->w_pathlen; in wlog_rec_unpack()
470 if (wrec->w_pathlen > in wlog_rec_unpack()
[all...]
H A Ddoio.c1770 wrec.w_pathlen = strlen(file); in do_write()
1771 memcpy(wrec.w_path, file, wrec.w_pathlen); in do_write()
3288 wrec.w_pathlen = strlen(file); in do_rw()
3289 memcpy(wrec.w_path, file, wrec.w_pathlen); in do_rw()
/third_party/ltp/testcases/kernel/fs/doio/include/
H A Dwrite_log.h65 int w_pathlen; /* file name length */ member
88 * path (w_pathlen bytes - not null terminated)
102 * Note that there is lots of bit-masking done here. The w_pathlen,
121 uint w_pathlen : 7; /* length of file path */ member

Completed in 7 milliseconds