Lines Matching refs:bufpath
89 nfslog_open_buf(char *bufpath, int *error) in nfslog_open_buf() argument
93 if (bufpath == NULL) { in nfslog_open_buf()
104 if (nfslog_init_buf(bufpath, lbp, error)) { in nfslog_open_buf()
132 nfslog_init_buf(char *bufpath, struct nfslog_buf *lbp, int *error) in nfslog_init_buf() argument
152 lbp->bufpath = strdup(bufpath); in nfslog_init_buf()
153 if (lbp->bufpath == NULL) { in nfslog_init_buf()
157 bufpath, strerror(*error)); in nfslog_init_buf()
163 if ((lbp->fd = open(bufpath, O_RDWR)) < 0) { in nfslog_init_buf()
167 bufpath, strerror(*error)); in nfslog_init_buf()
188 bufpath, strerror(*error)); in nfslog_init_buf()
198 bufpath, strerror(*error)); in nfslog_init_buf()
221 bufpath, strerror(EIO)); in nfslog_init_buf()
232 bufpath, strerror(*error)); in nfslog_init_buf()
329 (lbp->bufpath != NULL ? lbp->bufpath : ""), in nfslog_free_buf()
342 (lbp->bufpath != NULL ? lbp->bufpath : ""), in nfslog_free_buf()
348 if (lbp->bufpath != NULL) in nfslog_free_buf()
349 free(lbp->bufpath); in nfslog_free_buf()
413 "discarded\n"), lbp->bufpath); in nfslog_read_buffer()
432 "discarded\n"), lbp->bufpath); in nfslog_read_buffer()
586 "in a 32 bit field\n"), lbp->bufpath); in nfslog_rewrite_bufheader()
594 lbp->bufpath); in nfslog_rewrite_bufheader()