Lines Matching refs:g_gate_log
267 g_gate_log(LOG_DEBUG, "Added %s/%u %s %s to exports list.", in line_parse()
299 g_gate_log(LOG_INFO, "Reading exports file (%s).", exports_file); in exports_get()
339 g_gate_log(LOG_INFO, "Exporting %u object(s).", objs); in exports_get()
357 g_gate_log(LOG_WARNING, "Read-only access requested, " in exports_check()
366 g_gate_log(LOG_WARNING, "Write-only access requested, " in exports_check()
375 g_gate_log(LOG_WARNING, "Read-write access requested, " in exports_check()
380 g_gate_log(LOG_WARNING, "Read-write access requested, " in exports_check()
389 g_gate_log(LOG_WARNING, "Direct IO requested, " in exports_check()
411 g_gate_log(LOG_ERR, "old %s and new %s: " in exports_check()
422 g_gate_log(LOG_ERR, "Cannot open %s: %s.", ex->e_path, in exports_check()
440 g_gate_log(LOG_DEBUG, "exports[%s]: IP mismatch.", in exports_find()
445 g_gate_log(LOG_DEBUG, "exports[%s]: Path mismatch.", in exports_find()
457 g_gate_log(LOG_WARNING, "Unauthorized connection from: %s.", in exports_find()
476 g_gate_log(LOG_NOTICE, in connection_cleanups()
535 g_gate_log(LOG_DEBUG, "Connection created [%s, %s].", ip2str(ip), in connection_new()
549 g_gate_log(LOG_WARNING, in connection_add()
557 g_gate_log(LOG_WARNING, in connection_add()
564 g_gate_log(LOG_DEBUG, "Connection added [%s, %s].", ip2str(ip), in connection_add()
578 g_gate_log(LOG_DEBUG, "Connection removed [%s %s].", in connection_remove()
607 g_gate_log(LOG_ERR, "Cannot fork: %s.", strerror(errno)); in connection_launch()
610 g_gate_log(LOG_DEBUG, "Process created [%s].", conn->c_path); in connection_launch()
669 g_gate_log(LOG_WARNING, "Cannot send initial packet: %s.", in sendfail()
686 g_gate_log(LOG_DEBUG, "Cannot allocate %zu bytes.", size); in malloc_waitok()
701 g_gate_log(LOG_NOTICE, "%s: started [%s]!", __func__, conn->c_path); in recv_thread()
711 g_gate_log(LOG_DEBUG, "Process %u exiting.", getpid()); in recv_thread()
719 g_gate_log(LOG_DEBUG, "Received hdr packet."); in recv_thread()
722 g_gate_log(LOG_DEBUG, "%s: offset=%" PRIu64 " length=%" PRIu32, in recv_thread()
734 g_gate_log(LOG_DEBUG, "Waiting for %u bytes of data...", in recv_thread()
766 g_gate_log(LOG_NOTICE, "%s: started [%s]!", __func__, conn->c_path); in disk_thread()
789 g_gate_log(LOG_DEBUG, "%s: offset=%" PRIu64 " length=%" PRIu32, in disk_thread()
814 g_gate_log(LOG_DEBUG, "Unsupported request: %i", req->r_cmd); in disk_thread()
826 g_gate_log(LOG_ERR, "Disk error: %s", strerror(errno)); in disk_thread()
859 g_gate_log(LOG_NOTICE, "%s: started [%s]!", __func__, conn->c_path); in send_thread()
876 g_gate_log(LOG_DEBUG, "%s: offset=%" PRIu64 " length=%" PRIu32, in send_thread()
887 g_gate_log(LOG_DEBUG, "Sent hdr packet."); in send_thread()
895 g_gate_log(LOG_DEBUG, in send_thread()
913 g_gate_log(LOG_INFO, "Connection from: %s.", ip2str(ip)); in log_connection()
930 g_gate_log(LOG_DEBUG, "Receiving version packet."); in handshake()
934 g_gate_log(LOG_WARNING, "Malformed version packet."); in handshake()
937 g_gate_log(LOG_DEBUG, "Version packet received."); in handshake()
939 g_gate_log(LOG_WARNING, "Invalid magic field."); in handshake()
943 g_gate_log(LOG_WARNING, "Version %u is not supported.", in handshake()
960 g_gate_log(LOG_DEBUG, "Receiving initial packet."); in handshake()
964 g_gate_log(LOG_WARNING, "Malformed initial packet."); in handshake()
967 g_gate_log(LOG_DEBUG, "Initial packet received."); in handshake()
973 g_gate_log(LOG_DEBUG, "Found existing connection (token=%lu).", in handshake()
989 g_gate_log(LOG_DEBUG, "New connection created (token=%lu).", in handshake()
1007 g_gate_log(LOG_DEBUG, "Sending initial packet."); in handshake()
1128 g_gate_log(LOG_INFO, "Listen on port: %d.", port); in main()