Lines Matching refs:fd
74 do_notfound (struct database_dyn *db, int fd, request_header *req, in do_notfound() argument
86 if (fd != -1) in do_notfound()
87 TEMP_FAILURE_RETRY (send (fd, ¬found, total, MSG_NOSIGNAL)); in do_notfound()
113 addgetnetgrentX (struct database_dyn *db, int fd, request_header *req, in addgetnetgrentX() argument
148 cacheable = do_notfound (db, fd, req, key, &dataset, &total, &timeout, in addgetnetgrentX()
349 cacheable = do_notfound (db, fd, req, key, &dataset, &total, &timeout, in addgetnetgrentX()
376 assert (fd == -1); in addgetnetgrentX()
412 if (he == NULL && fd != -1) in addgetnetgrentX()
418 writeall (fd, &dataset->resp, dataset->head.recsize); in addgetnetgrentX()
451 addinnetgrX (struct database_dyn *db, int fd, request_header *req, in addinnetgrX() argument
575 assert (fd != -1); in addinnetgrX()
577 writeall (fd, &dataset->resp, sizeof (innetgroup_response_header)); in addinnetgrX()
610 addgetnetgrentX_ignore (struct database_dyn *db, int fd, request_header *req, in addgetnetgrentX_ignore() argument
616 time_t timeout = addgetnetgrentX (db, fd, req, key, uid, he, dh, in addgetnetgrentX_ignore()
623 addgetnetgrent (struct database_dyn *db, int fd, request_header *req, in addgetnetgrent() argument
626 addgetnetgrentX_ignore (db, fd, req, key, uid, NULL, NULL); in addgetnetgrent()
645 addinnetgr (struct database_dyn *db, int fd, request_header *req, in addinnetgr() argument
648 addinnetgrX (db, fd, req, key, uid, NULL, NULL); in addinnetgr()