Lines Matching refs:runp

269       struct traced_file *runp = table->traced_files;  in prune_cache()  local
271 while (runp != NULL) in prune_cache()
274 if (runp->inotify_descr[TRACED_FILE] == -1) in prune_cache()
279 if (stat64 (runp->fname, &st) < 0) in prune_cache()
288 runp->fname, strerror_r (errno, buf, sizeof (buf))); in prune_cache()
295 if (st.st_mtime != runp->mtime) in prune_cache()
298 runp->fname); in prune_cache()
301 runp->mtime = st.st_mtime; in prune_cache()
304 install_watches (runp); in prune_cache()
310 runp = runp->next; in prune_cache()
351 struct hashentry *runp = (struct hashentry *) (data + run); in prune_cache() local
352 struct datahead *dh = (struct datahead *) (data + runp->packet); in prune_cache()
360 if (runp->type == GETHOSTBYADDR || runp->type == GETHOSTBYADDRv6) in prune_cache()
362 inet_ntop (runp->type == GETHOSTBYADDR ? AF_INET : AF_INET6, in prune_cache()
363 data + runp->key, buf, sizeof (buf)); in prune_cache()
367 str = data + runp->key; in prune_cache()
370 serv2str[runp->type], str, dh->timeout); in prune_cache()
386 if (runp->first) in prune_cache()
411 assert (runp->type < LASTREQ in prune_cache()
412 && readdfcts[runp->type] != NULL); in prune_cache()
414 time_t timeout = readdfcts[runp->type] (table, runp, dh); in prune_cache()
429 run = runp->next; in prune_cache()
469 struct hashentry *runp = (struct hashentry *) (data + run); in prune_cache() local
471 = (struct datahead *) (data + runp->packet); in prune_cache()
478 runp->dellist = head; in prune_cache()
479 head = runp; in prune_cache()
485 run = *old = runp->next; in prune_cache()
489 old = &runp->next; in prune_cache()
490 run = runp->next; in prune_cache()
515 struct hashentry *runp = head; in prune_cache() local
517 while (runp != NULL) in prune_cache()
522 if (runp->type == GETHOSTBYADDR || runp->type == GETHOSTBYADDRv6) in prune_cache()
524 inet_ntop (runp->type == GETHOSTBYADDR ? AF_INET : AF_INET6, in prune_cache()
525 data + runp->key, buf, sizeof (buf)); in prune_cache()
529 str = data + runp->key; in prune_cache()
531 dbg_log ("remove %s entry \"%s\"", serv2str[runp->type], str); in prune_cache()
533 runp = runp->dellist; in prune_cache()