Searched refs:w_pathlen (Results 1 – 3 of 3) sorted by relevance
419 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 > 0) { in wlog_rec_unpack()472 memcpy(wrec->w_path, file, wrec->w_pathlen); in wlog_rec_unpack()476 host = buf + sizeof(struct wlog_rec_disk) + wrec->w_pathlen; in wlog_rec_unpack()482 wrec->w_pathlen + wrec->w_hostlen; in wlog_rec_unpack()
1770 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()
65 int w_pathlen; /* file name length */ member121 uint w_pathlen : 7; /* length of file path */ member