Lines Matching refs:varlink_log_errno
211 #define varlink_log_errno(v, error, fmt, ...) \ macro
598 return varlink_log_errno(v, r, "Failed to parse JSON: %m"); in varlink_parse_message()
931 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_process()
937 varlink_log_errno(v, r, "Write failed: %m"); in varlink_process()
943 varlink_log_errno(v, r, "Reply dispatch failed: %m"); in varlink_process()
949 varlink_log_errno(v, r, "Method dispatch failed: %m"); in varlink_process()
955 varlink_log_errno(v, r, "Message parsing failed: %m"); in varlink_process()
961 varlink_log_errno(v, r, "Read failed: %m"); in varlink_process()
992 r = varlink_log_errno(v, q, "Failed to enable deferred event source: %m"); in varlink_process()
1040 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_wait()
1080 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_get_fd()
1082 return varlink_log_errno(v, SYNTHETIC_ERRNO(EBADF), "No valid fd."); in varlink_get_fd()
1093 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_get_events()
1117 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_get_timeout()
1137 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_flush()
1155 return varlink_log_errno(v, r, "Poll failed on fd: %m"); in varlink_flush()
1294 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_send()
1298 return varlink_log_errno(v, SYNTHETIC_ERRNO(EBUSY), "Connection busy."); in varlink_send()
1302 return varlink_log_errno(v, r, "Failed to sanitize parameters: %m"); in varlink_send()
1309 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_send()
1313 return varlink_log_errno(v, r, "Failed to enqueue json message: %m"); in varlink_send()
1332 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_sendb()
1345 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_invoke()
1349 return varlink_log_errno(v, SYNTHETIC_ERRNO(EBUSY), "Connection busy."); in varlink_invoke()
1353 return varlink_log_errno(v, r, "Failed to sanitize parameters: %m"); in varlink_invoke()
1359 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_invoke()
1363 return varlink_log_errno(v, r, "Failed to enqueue json message: %m"); in varlink_invoke()
1384 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_invokeb()
1397 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_observe()
1402 return varlink_log_errno(v, SYNTHETIC_ERRNO(EBUSY), "Connection busy."); in varlink_observe()
1406 return varlink_log_errno(v, r, "Failed to sanitize parameters: %m"); in varlink_observe()
1413 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_observe()
1417 return varlink_log_errno(v, r, "Failed to enqueue json message: %m"); in varlink_observe()
1438 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_observeb()
1458 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_call()
1460 return varlink_log_errno(v, SYNTHETIC_ERRNO(EBUSY), "Connection busy."); in varlink_call()
1466 return varlink_log_errno(v, r, "Failed to sanitize parameters: %m"); in varlink_call()
1472 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_call()
1476 return varlink_log_errno(v, r, "Failed to enqueue json message: %m"); in varlink_call()
1518 return varlink_log_errno(v, SYNTHETIC_ERRNO(ECONNRESET), "Connection was closed."); in varlink_call()
1521 return varlink_log_errno(v, SYNTHETIC_ERRNO(ETIME), "Connection timed out."); in varlink_call()
1546 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_callb()
1566 return varlink_log_errno(v, r, "Failed to sanitize parameters: %m"); in varlink_reply()
1570 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_reply()
1574 return varlink_log_errno(v, r, "Failed to enqueue json message: %m"); in varlink_reply()
1615 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_error()
1619 return varlink_log_errno(v, SYNTHETIC_ERRNO(EBUSY), "Connection busy."); in varlink_error()
1623 return varlink_log_errno(v, r, "Failed to sanitize parameters: %m"); in varlink_error()
1629 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_error()
1633 return varlink_log_errno(v, r, "Failed to enqueue json message: %m"); in varlink_error()
1657 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_errorb()
1718 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENOTCONN), "Not connected."); in varlink_notify()
1720 return varlink_log_errno(v, SYNTHETIC_ERRNO(EBUSY), "Connection busy."); in varlink_notify()
1724 return varlink_log_errno(v, r, "Failed to sanitize parameters: %m"); in varlink_notify()
1730 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_notify()
1734 return varlink_log_errno(v, r, "Failed to enqueue json message: %m"); in varlink_notify()
1752 return varlink_log_errno(v, r, "Failed to build json message: %m"); in varlink_notifyb()
1761 … return varlink_log_errno(v, SYNTHETIC_ERRNO(EBUSY), "A different callback was already set."); in varlink_bind_reply()
1809 return varlink_log_errno(v, r, "Failed to acquire credentials: %m"); in varlink_get_peer_uid()
1812 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENODATA), "Peer uid is invalid."); in varlink_get_peer_uid()
1826 return varlink_log_errno(v, r, "Failed to acquire credentials: %m"); in varlink_get_peer_pid()
1829 return varlink_log_errno(v, SYNTHETIC_ERRNO(ENODATA), "Peer uid is invalid."); in varlink_get_peer_pid()
1902 return varlink_log_errno(v, r, "Failed to set source events: %m"); in prepare_callback()
1912 return varlink_log_errno(v, r, "Failed to set source time: %m"); in prepare_callback()
1917 return varlink_log_errno(v, r, "Failed to enable event source: %m"); in prepare_callback()
1945 return varlink_log_errno(v, r, "Failed to create event source: %m"); in varlink_attach_event()
1995 varlink_log_errno(v, r, "Failed to setup event source: %m"); in varlink_attach_event()
2184 varlink_log_errno(v, r, "Failed to attach new connection: %m"); in varlink_server_add_connection()
2225 … varlink_log_errno(v, r, "Connection callback returned error, disconnecting client: %m"); in connect_callback()