Lines Matching refs:LOG_ERR

63 	if (level == LOG_ERR) {                                                          \
73 if (level == LOG_ERR) { \
244 NETAGENTLOG(LOG_ERR, "mbuf_tag_id_find_internal failed: %d", result); in netagent_register_control()
263 NETAGENTLOG(LOG_ERR, "ctl_register failed: %d", result); in netagent_register_control()
370 NETAGENTLOG(LOG_ERR, "Failed to send trigger message on control unit %d", wrapper->control_unit); in netagent_send_trigger()
396 …NETAGENTLOG(LOG_ERR, "Failed to send client message %d on control unit %d", message_type, wrapper-… in netagent_send_client_message()
423 …NETAGENTLOG(LOG_ERR, "Failed to send client message %d on control unit %d", message_type, wrapper-… in netagent_send_error_message()
450 …NETAGENTLOG(LOG_ERR, "Failed to send client group message %d on control unit %d", message_type, wr… in netagent_send_group_message()
473 …NETAGENTLOG(LOG_ERR, "Failed to send client tokens needed message on control unit %d", wrapper->co… in netagent_send_tokens_needed()
493 NETAGENTLOG0(LOG_ERR, "Failed to send response"); in netagent_send_success_response()
509 NETAGENTLOG0(LOG_ERR, "Got a NULL session"); in netagent_send_error_response()
521 NETAGENTLOG0(LOG_ERR, "Failed to send response"); in netagent_send_error_response()
537 NETAGENTLOG0(LOG_ERR, "Got a NULL session"); in netagent_ctl_send()
543 NETAGENTLOG(LOG_ERR, "Got a bad packet, length (%lu) < sizeof header (%lu)", in netagent_ctl_send()
551 NETAGENTLOG(LOG_ERR, "mbuf_copydata failed for the header: %d", error); in netagent_ctl_send()
578 NETAGENTLOG0(LOG_ERR, "NETAGENT_MESSAGE_TYPE_ASSERT no longer supported"); in netagent_ctl_send()
582 NETAGENTLOG0(LOG_ERR, "NETAGENT_MESSAGE_TYPE_UNASSERT no longer supported"); in netagent_ctl_send()
591 NETAGENTLOG(LOG_ERR, "Received unknown message type %d", header.message_type); in netagent_ctl_send()
619 NETAGENTLOG0(LOG_ERR, "Received a NULL session"); in netagent_ctl_getopt()
641 NETAGENTLOG0(LOG_ERR, "Received unknown option"); in netagent_ctl_getopt()
659 NETAGENTLOG0(LOG_ERR, "Received a NULL session"); in netagent_ctl_setopt()
716 NETAGENTLOG0(LOG_ERR, "Received unknown option"); in netagent_ctl_setopt()
934 NETAGENTLOG0(LOG_ERR, "Cannot register agent on NULL session"); in netagent_register()
939 NETAGENTLOG0(LOG_ERR, "Cannot register NULL agent"); in netagent_register()
945 NETAGENTLOG(LOG_ERR, "Register message size could not be read, data_size %zu", in netagent_register()
978 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_register_setopt()
984 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_register_setopt()
990 NETAGENTLOG(LOG_ERR, "Register message size too small for agent: (%zu < %zu)", in netagent_handle_register_setopt()
998 NETAGENTLOG(LOG_ERR, "Register message size could not be read, data_size %zu", data_size); in netagent_handle_register_setopt()
1004 …NETAGENTLOG(LOG_ERR, "Mismatch between data size and payload length (%lu != %zu)", (sizeof(struct … in netagent_handle_register_setopt()
1038 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_register_message()
1044 NETAGENTLOG(LOG_ERR, "Register message size too small for agent: (%zu < %zu)", in netagent_handle_register_message()
1052 NETAGENTLOG(LOG_ERR, "Register message size could not be read, error %d data_size %zu", in netagent_handle_register_message()
1063 NETAGENTLOG(LOG_ERR, "Failed to read data into agent structure: %d", error); in netagent_handle_register_message()
1073 NETAGENTLOG(LOG_ERR, "Failed to register agent: %d", error); in netagent_handle_register_message()
1092 NETAGENTLOG0(LOG_ERR, "Cannot unregister NULL session"); in netagent_unregister()
1108 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_unregister_setopt()
1127 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_unregister_message()
1166 NETAGENTLOG0(LOG_ERR, "Invalid argument: agent_changed"); in netagent_handle_update_inner()
1190 NETAGENTLOG0(LOG_ERR, "Basic agent parameters do not match, cannot update"); in netagent_handle_update_inner()
1279 NETAGENTLOG0(LOG_ERR, "Cannot update agent on NULL session"); in netagent_update()
1284 NETAGENTLOG0(LOG_ERR, "Cannot register NULL agent"); in netagent_update()
1290 …NETAGENTLOG(LOG_ERR, "Update message size (%zu > %u) too large", data_size, NETAGENT_MAX_DATA_SIZE… in netagent_update()
1327 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_update_setopt()
1333 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_update_setopt()
1339 NETAGENTLOG(LOG_ERR, "Update message size too small for agent: (%zu < %zu)", in netagent_handle_update_setopt()
1347 …NETAGENTLOG(LOG_ERR, "Update message size (%zu > %u) too large", data_size, NETAGENT_MAX_DATA_SIZE… in netagent_handle_update_setopt()
1353 …NETAGENTLOG(LOG_ERR, "Mismatch between data size and payload length (%lu != %zu)", (sizeof(struct … in netagent_handle_update_setopt()
1392 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_update_message()
1398 NETAGENTLOG(LOG_ERR, "Update message size too small for agent: (%zu < %zu)", in netagent_handle_update_message()
1406 NETAGENTLOG(LOG_ERR, "Update message size could not be read, error %d data_size %zu", in netagent_handle_update_message()
1416 NETAGENTLOG(LOG_ERR, "Failed to read data into agent structure: %d", error); in netagent_handle_update_message()
1458 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_get()
1466 NETAGENTLOG0(LOG_ERR, "Session has no agent to get"); in netagent_handle_get()
1494 NETAGENTLOG0(LOG_ERR, "Failed to send response"); in netagent_handle_get()
1509 NETAGENTLOG0(LOG_ERR, "Cannot assign nexus from NULL session"); in netagent_assign_nexus()
1516 NETAGENTLOG0(LOG_ERR, "Session has no agent"); in netagent_assign_nexus()
1528 NETAGENTLOG((error == ENOENT ? LOG_DEBUG : LOG_ERR), "Client assignment failed: %d", error); in netagent_assign_nexus()
1546 NETAGENTLOG0(LOG_ERR, "Cannot assign nexus from NULL session"); in netagent_update_flow_protoctl_event()
1553 NETAGENTLOG0(LOG_ERR, "Session has no agent"); in netagent_update_flow_protoctl_event()
1578 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_assign_nexus_setopt()
1584 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_assign_nexus_setopt()
1592 NETAGENTLOG0(LOG_ERR, "Session has no agent to get"); in netagent_handle_assign_nexus_setopt()
1603 NETAGENTLOG0(LOG_ERR, "Assign message is too short"); in netagent_handle_assign_nexus_setopt()
1614 NETAGENTLOG(LOG_ERR, "Failed to allocate assign message (%lu bytes)", assigned_results_length); in netagent_handle_assign_nexus_setopt()
1626 NETAGENTLOG(LOG_ERR, "Client assignment failed: %d", response_error); in netagent_handle_assign_nexus_setopt()
1647 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_assign_nexus_message()
1655 NETAGENTLOG0(LOG_ERR, "Session has no agent to get"); in netagent_handle_assign_nexus_message()
1665 NETAGENTLOG0(LOG_ERR, "Assign message is too short"); in netagent_handle_assign_nexus_message()
1672 NETAGENTLOG(LOG_ERR, "Failed to read uuid for assign message: %d", error); in netagent_handle_assign_nexus_message()
1681 NETAGENTLOG(LOG_ERR, "Failed to allocate assign message (%lu bytes)", assigned_results_length); in netagent_handle_assign_nexus_message()
1689 NETAGENTLOG(LOG_ERR, "Failed to read assign message: %d", error); in netagent_handle_assign_nexus_message()
1699 NETAGENTLOG(LOG_ERR, "Client assignment failed: %d", error); in netagent_handle_assign_nexus_message()
1722 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_assign_group_setopt()
1728 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_assign_group_setopt()
1736 NETAGENTLOG0(LOG_ERR, "Session has no agent to get"); in netagent_handle_assign_group_setopt()
1747 NETAGENTLOG0(LOG_ERR, "Group assign message is too short"); in netagent_handle_assign_group_setopt()
1758 …NETAGENTLOG(LOG_ERR, "Failed to allocate group assign message (%lu bytes)", assigned_group_members… in netagent_handle_assign_group_setopt()
1772 NETAGENTLOG(LOG_ERR, "Client group assignment failed: %d", response_error); in netagent_handle_assign_group_setopt()
1789 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_use_count_setopt()
1795 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_use_count_setopt()
1801 NETAGENTLOG(LOG_ERR, "Payload length is invalid (%lu)", payload_length); in netagent_handle_use_count_setopt()
1812 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_use_count_setopt()
1833 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_use_count_getopt()
1839 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_use_count_getopt()
1845 NETAGENTLOG(LOG_ERR, "Buffer length is invalid (%lu)", *buffer_length); in netagent_handle_use_count_getopt()
1854 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_use_count_getopt()
1877 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_add_token_setopt()
1883 NETAGENTLOG0(LOG_ERR, "No token received"); in netagent_handle_add_token_setopt()
1889 NETAGENTLOG(LOG_ERR, "Token length is invalid (%lu)", token_length); in netagent_handle_add_token_setopt()
1897 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_add_token_setopt()
1906 NETAGENTLOG0(LOG_ERR, "Session cannot add more tokens"); in netagent_handle_add_token_setopt()
1937 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_flush_tokens_setopt()
1945 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_flush_tokens_setopt()
1971 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_token_count_getopt()
1977 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_token_count_getopt()
1983 NETAGENTLOG(LOG_ERR, "Buffer length is invalid (%lu)", *buffer_length); in netagent_handle_token_count_getopt()
1991 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_token_count_getopt()
2015 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_token_low_water_setopt()
2021 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_token_low_water_setopt()
2027 NETAGENTLOG(LOG_ERR, "Buffer length is invalid (%lu)", buffer_length); in netagent_handle_token_low_water_setopt()
2037 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_token_low_water_setopt()
2058 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_token_low_water_getopt()
2064 NETAGENTLOG0(LOG_ERR, "No payload received"); in netagent_handle_token_low_water_getopt()
2070 NETAGENTLOG(LOG_ERR, "Buffer length is invalid (%lu)", *buffer_length); in netagent_handle_token_low_water_getopt()
2078 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_token_low_water_getopt()
2101 NETAGENTLOG0(LOG_ERR, "Failed to find session"); in netagent_handle_reset_client_error_setopt()
2109 NETAGENTLOG0(LOG_ERR, "Session has no agent registered"); in netagent_handle_reset_client_error_setopt()
2205 …NETAGENTLOG0(LOG_ERR, "Client does not hold the necessary entitlement to get netagent information"… in netagent_ioctl()
2395 …NETAGENTLOG(LOG_ERR, "Invalid arguments for netagent_get_agent_domain_and_type %p %p", domain, typ… in netagent_get_agent_domain_and_type()
2407 NETAGENTLOG0(LOG_ERR, "Type requested for invalid netagent"); in netagent_get_agent_domain_and_type()
2422 NETAGENTLOG0(LOG_ERR, "Requested netagent for kernel trigger could not be found"); in netagent_kernel_trigger()
2428 NETAGENTLOG0(LOG_ERR, "Requested netagent for kernel trigger is not kernel activated"); in netagent_kernel_trigger()
2442 NETAGENTLOG((error ? LOG_ERR : LOG_INFO), "Triggered netagent from kernel (error %d)", error); in netagent_kernel_trigger()
2472 NETAGENTLOG(LOG_ERR, "Client netagent message type (%d) is invalid", message_type); in netagent_client_message_with_params()
2518 NETAGENTLOG0(LOG_ERR, "Requested netagent for nexus instance is not a nexus provider"); in netagent_client_message_with_params()
2534 NETAGENTLOG0(LOG_ERR, "Requested netagent for group operation is not a group provider"); in netagent_client_message_with_params()
2603 NETAGENTLOG0(LOG_ERR, "Failed to allocate client for trigger"); in netagent_client_message_with_params()
2624 …NETAGENTLOG(((error && error != ENOENT) ? LOG_ERR : LOG_INFO), "Send message %d for client (error … in netagent_client_message_with_params()
2654 NETAGENTLOG0(LOG_ERR, "netagent_assert: Requested netagent UUID is not registered"); in netagent_use()
2689 NETAGENTLOG(LOG_ERR, "Provided user buffer is too small (%u < %u)", user_size, total_size); in netagent_copyout()
2696 NETAGENTLOG((error ? LOG_ERR : LOG_DEBUG), "Copied agent content (error %d)", error); in netagent_copyout()
2741 …NETAGENTLOG(LOG_ERR, "Provided user buffer is too small (%u < %u)", user_size, token->token_length… in netagent_acquire_token()
2751 NETAGENTLOG((error ? LOG_ERR : LOG_DEBUG), "Copied token content (error %d)", error); in netagent_acquire_token()
2777 NETAGENTLOG0(LOG_ERR, "uap == NULL"); in netagent_trigger()
2783 NETAGENTLOG(LOG_ERR, "Incorrect length (got %zu, expected %lu)", in netagent_trigger()
2790 NETAGENTLOG(LOG_ERR, "copyin error (%d)", error); in netagent_trigger()
2796 NETAGENTLOG0(LOG_ERR, "Requested netagent UUID is empty"); in netagent_trigger()
2803 NETAGENTLOG0(LOG_ERR, "Requested netagent UUID is not registered"); in netagent_trigger()
2810 NETAGENTLOG0(LOG_ERR, "Requested netagent UUID is not eligible for triggering"); in netagent_trigger()
2823 NETAGENTLOG((error ? LOG_ERR : LOG_INFO), "Triggered netagent (error %d)", error); in netagent_trigger()