Home
last modified time | relevance | path

Searched refs:w_hostlen (Results 1 – 3 of 3) sorted by relevance

/external/ltp/testcases/kernel/fs/doio/
Dwrite_log.c420 wrecd->w_hostlen = (wrec->w_hostlen > 0) ? (uint) wrec->w_hostlen : 0; in wlog_rec_pack()
433 pattern = host + wrecd->w_hostlen; in wlog_rec_pack()
438 if (wrecd->w_hostlen > 0) in wlog_rec_pack()
439 memcpy(host, wrec->w_host, wrecd->w_hostlen); in wlog_rec_pack()
445 wrecd->w_pathlen + wrecd->w_hostlen + in wlog_rec_pack()
464 wrec->w_hostlen = wrecd->w_hostlen; in wlog_rec_unpack()
475 if (wrec->w_hostlen > 0) { in wlog_rec_unpack()
477 memcpy(wrec->w_host, host, wrec->w_hostlen); in wlog_rec_unpack()
482 wrec->w_pathlen + wrec->w_hostlen; in wlog_rec_unpack()
Ddoio.c1772 wrec.w_hostlen = strlen(Host); in do_write()
1773 memcpy(wrec.w_host, Host, wrec.w_hostlen); in do_write()
3290 wrec.w_hostlen = strlen(Host); in do_rw()
3291 memcpy(wrec.w_host, Host, wrec.w_hostlen); in do_rw()
/external/ltp/testcases/kernel/fs/doio/include/
Dwrite_log.h62 int w_hostlen; /* host name length */ member
123 uint w_hostlen : 4; /* length of host */ member