Lines Matching refs:filename
344 const char *const filename; member
384 t->fd = open(t->filename, O_RDWR); in init_thread()
385 die_on(t->fd < 0, "%s", t->filename); in init_thread()
404 err("%s: get fifo status", t->filename); in cleanup_thread()
406 warn("%s: unclaimed = %d\n", t->filename, ret); in cleanup_thread()
408 err("%s: fifo flush", t->filename); in cleanup_thread()
413 err("%s: close", t->filename); in cleanup_thread()
425 info("%s: starts\n", t->filename); in start_thread_helper()
426 in_name = t->in_name ? t->in_name : t->filename; in start_thread_helper()
427 out_name = t->out_name ? t->out_name : t->filename; in start_thread_helper()
460 info("%s: ends\n", t->filename); in start_thread_helper()
466 debug("%s: starting\n", t->filename); in start_thread()
469 "pthread_create(%s)", t->filename); in start_thread()
477 err("%s: joining thread", t->filename); in join_thread()
479 debug("%s: joined\n", t->filename); in join_thread()
633 info("%s: writing descriptors\n", t->filename); in ep0_init()
637 info("%s: writing descriptors (in v2 format)\n", t->filename); in ep0_init()
641 warn("%s: new format rejected, trying legacy\n", t->filename); in ep0_init()
649 die_on(ret < 0, "%s: write: descriptors", t->filename); in ep0_init()
651 info("%s: writing strings\n", t->filename); in ep0_init()
653 die_on(ret < 0, "%s: write: strings", t->filename); in ep0_init()