Lines Matching refs:ret
385 int ret = poll(to_poll, 1, 1000); in lru_crawler_write() local
387 if (ret < 0) { in lru_crawler_write()
393 if (ret == 0) return 0; in lru_crawler_write()
467 int ret = lru_crawler_write(&active_crawler_mod.c); in item_crawl_hash() local
469 if (ret != 0) { in item_crawl_hash()
551 int ret = lru_crawler_write(c); in item_crawler_thread() local
552 if (ret != 0) { in item_crawler_thread()
648 int ret; in stop_item_crawler_thread() local
657 if (wait && (ret = pthread_join(item_crawler_tid, NULL)) != 0) { in stop_item_crawler_thread()
658 fprintf(stderr, "Failed to stop LRU crawler thread: %s\n", strerror(ret)); in stop_item_crawler_thread()
676 int ret; in start_item_crawler_thread() local
682 if ((ret = pthread_create(&item_crawler_tid, NULL, in start_item_crawler_thread()
685 strerror(ret)); in start_item_crawler_thread()