/titanic_44/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncp.c | 99 nlog(LOG_DEBUG, "nwamd_ncp_handle_enable_event: " in nwamd_ncp_handle_enable_event() 106 nlog(LOG_DEBUG, "nwamd_ncp_handle_enable_event: activating NCP %s", in nwamd_ncp_handle_enable_event() 135 nlog(LOG_ERR, "nwamd_ncp_handle_enable_event: " in nwamd_ncp_handle_enable_event() 141 nlog(LOG_ERR, "nwamd_ncp_handle_enable_event: " in nwamd_ncp_handle_enable_event() 147 nlog(LOG_ERR, "nwamd_ncp_handle_enable_event: error %s", in nwamd_ncp_handle_enable_event() 165 nlog(LOG_INFO, "nwam_ncp_handle_action_event: " in nwamd_ncp_handle_action_event() 185 nlog(LOG_ERR, "nwamd_ncp_handle_state_event: " in nwamd_ncp_handle_state_event() 268 nlog(LOG_DEBUG, "nwamd_ncp_find_next_priority_group: " in nwamd_ncp_find_next_priority_group() 274 nlog(LOG_DEBUG, "nwamd_ncp_find_next_priority_group: " in nwamd_ncp_find_next_priority_group() 331 nlog(LOG_DEBUG, "nwamd_ncu_check_or_activate: " in nwamd_ncu_check_or_activate() [all …]
|
H A D | routing_events.c | 121 nlog(LOG_DEBUG, "v4 routing socket %d", v4_sock); in routing_events_v4() 129 nlog(LOG_ERR, "error reading routing socket " in routing_events_v4() 136 nlog(LOG_ERR, "only read %d bytes from " in routing_events_v4() 143 nlog(LOG_ERR, "tossing routing message of " in routing_events_v4() 150 nlog(LOG_DEBUG, "routing message of %d size came from " in routing_events_v4() 164 nlog(LOG_DEBUG, "v4 routing message %s: " in routing_events_v4() 176 nlog(LOG_DEBUG, "routing_events_v4: " in routing_events_v4() 196 nlog(LOG_DEBUG, "tossing index 0 message"); in routing_events_v4() 200 nlog(LOG_INFO, in routing_events_v4() 236 nlog(LOG_DEBUG, "v6 routing socket %d", v6_sock); in routing_events_v6() [all …]
|
H A D | ncu_phys.c | 136 nlog(LOG_ERR, "nwamd_set_unset_link_properties: " in nwamd_set_unset_link_properties() 147 nlog(LOG_DEBUG, "nwamd_set_unset_link_properties: setting MTU of %s " in nwamd_set_unset_link_properties() 152 nlog(LOG_ERR, "nwamd_set_unset_link_properties: " in nwamd_set_unset_link_properties() 157 nlog(LOG_DEBUG, "nwamd_set_unset_link_properties: setting %d " in nwamd_set_unset_link_properties() 162 nlog(LOG_ERR, "nwamd_set_unset_link_properties: " in nwamd_set_unset_link_properties() 173 nlog(LOG_ERR, in nwamd_set_unset_link_properties() 179 nlog(LOG_ERR, "nwamd_set_unset_link_properties: " in nwamd_set_unset_link_properties() 189 nlog(LOG_ERR, in nwamd_set_unset_link_properties() 195 nlog(LOG_ERR, "nwamd_set_unset_link_properties:" in nwamd_set_unset_link_properties() 213 nlog(LOG_ERR, "nwamd_set_unset_link_properties:" in nwamd_set_unset_link_properties() [all …]
|
H A D | loc.c | 63 nlog(LOG_ERR, "loc_init_fini: could not get loc name"); in loc_create_init_fini_event() 111 nlog(LOG_ERR, "loc_is_enabled: could not retrieve " in loc_is_enabled() 117 nlog(LOG_ERR, "loc_is_enabled: could not retrieve " in loc_is_enabled() 135 nlog(LOG_ERR, "loc_get_activation_mode: could not retrieve " in loc_get_activation_mode() 142 nlog(LOG_ERR, "loc_get_activation_mode: could not retrieve " in loc_get_activation_mode() 156 nlog(LOG_DEBUG, "nwamd_loc_activate: activating loc %s", in nwamd_loc_activate() 175 nlog(LOG_INFO, "nwamd_loc_activate: could not " in nwamd_loc_activate() 190 nlog(LOG_DEBUG, "nwamd_loc_activate: " in nwamd_loc_activate() 198 nlog(LOG_DEBUG, "nwamd_loc_activate: " in nwamd_loc_activate() 214 nlog(LOG_INFO, "nwamd_loc_activate: set %s/%s to %s; " in nwamd_loc_activate() [all …]
|
H A D | door_if.c | 136 nlog(LOG_ERR, "nwamd_door_req_event_register: " in nwamd_door_req_event_register() 159 nlog(LOG_DEBUG, in nwamd_door_req_wlan_scan() 176 nlog(LOG_DEBUG, "nwamd_door_req_wlan_scan_results: processing WLAN " in nwamd_door_req_wlan_scan_results() 183 nlog(LOG_ERR, in nwamd_door_req_wlan_scan_results() 200 nlog(LOG_DEBUG, in nwamd_door_req_wlan_scan_results() 213 nlog(LOG_DEBUG, in nwamd_door_req_wlan_select() 232 nlog(LOG_DEBUG, in nwamd_door_req_wlan_set_key() 278 nlog(LOG_ERR, "nwamd_door_req_action: " in nwamd_door_req_action() 285 nlog(LOG_ERR, "nwamd_door_req_action: " in nwamd_door_req_action() 292 nlog(LOG_ERR, "nwamd_door_req_action: " in nwamd_door_req_action() [all …]
|
H A D | enm.c | 63 nlog(LOG_ERR, "enm_init_fini: could not get enm name"); in enm_create_init_fini_event() 111 nlog(LOG_ERR, "enm_is_enabled: could not retrieve " in enm_is_enabled() 127 nlog(LOG_ERR, "enm_get_activation_mode: could not retrieve " in enm_get_activation_mode() 132 nlog(LOG_ERR, "enm_get_activation_mode: could not retrieve " in enm_get_activation_mode() 159 nlog(LOG_ERR, "nwamd_enm_activate_deactivate_thread: " in nwamd_enm_activate_deactivate_thread() 178 nlog(going_online ? LOG_ERR : LOG_DEBUG, in nwamd_enm_activate_deactivate_thread() 193 nlog(LOG_DEBUG, "nwamd_enm_activate_deactivate_thread: " in nwamd_enm_activate_deactivate_thread() 241 nlog(LOG_ERR, "nwamd_enm_activate_deactivate_thread: " in nwamd_enm_activate_deactivate_thread() 249 nlog(LOG_INFO, "nwamd_enm_activate_deactivate_thread: " in nwamd_enm_activate_deactivate_thread() 263 nlog(LOG_ERR, "nwamd_enm_activate_deactivate_thread: " in nwamd_enm_activate_deactivate_thread() [all …]
|
H A D | llp.c | 76 nlog(LOG_DEBUG, "find_if_type: no ifname; " in find_if_type() 147 nlog(LOG_ERR, "llp_add: cannot allocate LLP: %m"); in llp_add() 153 nlog(LOG_ERR, "llp_add: linkname '%s' too long; ignoring entry", in llp_add() 170 nlog(LOG_ERR, "llp_add: wrong type of interface for %s", name); in llp_add() 176 nlog(LOG_DEBUG, "llp_add: " in llp_add() 202 nlog(LOG_ERR, "parse_llp_config: " in parse_llp_config() 218 nlog(LOG_DEBUG, "parse_llp_config: " in parse_llp_config() 223 nlog(LOG_ERR, "parse_llp_config: line %d: " in parse_llp_config() 230 nlog(LOG_ERR, "parse_llp_config: line %d: " in parse_llp_config() 238 nlog(LOG_ERR, "parse_llp_config: line %d: " in parse_llp_config() [all …]
|
H A D | ncu.c | 69 nlog(LOG_ERR, "nwamd_ncu_find: nwam_ncu_name_to_typed_name " in nwamd_ncu_object_find() 149 nlog(LOG_ERR, "nwamd_ncu_state_machine: " in nwamd_ncu_state_machine() 175 nlog(LOG_DEBUG, in nwamd_ncu_state_machine() 351 nlog(LOG_DEBUG, in nwamd_ncu_state_machine() 367 nlog(LOG_DEBUG, in nwamd_ncu_state_machine() 380 nlog(LOG_DEBUG, "nwamd_ncu_state_machine: " in nwamd_ncu_state_machine() 409 nlog(LOG_DEBUG, "nwamd_ncu_state_machine: " in nwamd_ncu_state_machine() 503 nlog(LOG_ERR, "nwamd_ncu_state_machine: unexpected state"); in nwamd_ncu_state_machine() 522 nlog(LOG_ERR, in ncu_create_init_fini_event() 527 nlog(LOG_DEBUG, "ncu_create_init_fini_event(%s, %p)", name, data); in ncu_create_init_fini_event() [all …]
|
H A D | ncu_ip.c | 100 nlog(LOG_DEBUG, "nwamd_propogate_link_up_down_to_ip: no IP NCU " in nwamd_propogate_link_up_down_to_ip() 110 nlog(LOG_DEBUG, in nwamd_propogate_link_up_down_to_ip() 115 nlog(LOG_DEBUG, in nwamd_propogate_link_up_down_to_ip() 128 nlog(LOG_DEBUG, in nwamd_propogate_link_up_down_to_ip() 216 nlog(LOG_DEBUG, "get_dhcpinfo_data() failed: %s", errmsg); in nwamd_get_dhcpinfo_data() 237 nlog(LOG_DEBUG, "nwamd_add_default_routes: adding default " in nwamd_add_default_routes() 256 nlog(LOG_DEBUG, "nwamd_add_default_routes: adding default " in nwamd_add_default_routes() 278 nlog(LOG_DEBUG, "find_static_address: %s", in find_static_address() 304 nlog(LOG_DEBUG, "find_nonstatic_address for %s %s", in find_nonstatic_address() 335 nlog(LOG_DEBUG, "find_configured_address: %s", in find_configured_address() [all …]
|
H A D | known_wlans.c | 135 nlog(LOG_ERR, "kw_add: cannot allocate for bssid_t: %m"); in kw_add() 139 nlog(LOG_ERR, "kw_add: cannot allocate for kw_t: %m"); in kw_add() 152 nlog(LOG_DEBUG, "kw_add: added Known WLAN %s, BSSID %s", essid, bssid); in kw_add() 169 nlog(LOG_ERR, "kw_update: cannot allocate for bssid_t: %m"); in kw_update() 182 nlog(LOG_DEBUG, "kw_update: appended BSSID %s to Known WLAN %s", in kw_update() 226 nlog(LOG_ERR, in parse_known_wifi_nets() 235 nlog(LOG_ERR, in parse_known_wifi_nets() 262 nlog(LOG_DEBUG, "find_secobj_matching_prefix: " in find_secobj_matching_prefix() 275 nlog(LOG_DEBUG, "find_secobj_matching_prefix: " in find_secobj_matching_prefix() 280 nlog(LOG_DEBUG, "find_secobj_matching_prefix: " in find_secobj_matching_prefix() [all …]
|
H A D | dlpi_events.c | 87 nlog(LOG_ERR, "dlpi_recv failed: %s", dlpi_strerror(rc)); in nwamd_dlpi_thread() 103 nlog(LOG_DEBUG, "nwamd_dlpi_add_link: ncu %p (%s) type %d", in nwamd_dlpi_add_link() 112 nlog(LOG_DEBUG, "nwamd_dlpi_add_link(%s) already running", in nwamd_dlpi_add_link() 119 nlog(LOG_ERR, "nwamd_dlpi_add_link: dlpi_open(%s) = %s", in nwamd_dlpi_add_link() 130 nlog(LOG_ERR, in nwamd_dlpi_add_link() 140 nlog(LOG_ERR, "nwamd_dlpi_add_link: couldn't create " in nwamd_dlpi_add_link() 156 nlog(LOG_DEBUG, "nwamd_dlpi_delete_link: ncu %p (%s) type %d", in nwamd_dlpi_delete_link()
|
H A D | main.c | 118 nlog(LOG_DEBUG, "child %ld exited, daemonizing", pid); in daemonize() 140 nlog(LOG_DEBUG, "signal %s caught", strsignal(sig)); in sighandler() 162 nlog(LOG_DEBUG, "%s received, shutting down", in sighandler() 167 nlog(LOG_DEBUG, "unexpected signal %s received, " in sighandler() 185 nlog(LOG_ERR, "pthread_create system: %s", strerror(err)); in init_signalhandling() 188 nlog(LOG_DEBUG, "signal handler thread: %d", sighand); in init_signalhandling() 269 nlog(LOG_DEBUG, "Read daemon configuration properties."); in lookup_daemon_properties() 344 nlog(LOG_INFO, "nwamd pid %d started", getpid()); in main() 352 nlog(LOG_ERR, "unrecognized option %c", in main()
|
H A D | util.c | 198 nlog(LOG_ERR, "nwamd_start_childv can't log full arg vector"); in nwamd_start_childv() 201 nlog(LOG_DEBUG, "posix_spawnattr_init %d %s\n", in nwamd_start_childv() 207 nlog(LOG_DEBUG, "setsigdefault %d %s\n", rc, strerror(rc)); in nwamd_start_childv() 211 nlog(LOG_DEBUG, "setsigmask %d %s\n", rc, strerror(rc)); in nwamd_start_childv() 216 nlog(LOG_DEBUG, "setflags %d %s\n", rc, strerror(rc)); in nwamd_start_childv() 222 nlog(LOG_DEBUG, "posix_spawnp failed errno %d", rc); in nwamd_start_childv() 227 nlog(LOG_DEBUG, "posix_spawn_attr_destroy %d %s\n", in nwamd_start_childv() 235 nlog(LOG_ERR, "'%s%s' %s with signal %d (%s)", command, vbuf, in nwamd_start_childv() 240 nlog(LOG_INFO, "'%s%s' completed normally: %d", command, vbuf, in nwamd_start_childv() 269 nlog(LOG_DEBUG, "nwamd_link_belongs_to_this_zone: " in nwamd_link_belongs_to_this_zone() [all …]
|
H A D | events.c | 185 nlog(LOG_ERR, "nwamd_event_init: could not create %s event for " in nwamd_event_init() 196 nlog(LOG_ERR, in nwamd_event_init() 229 nlog(LOG_DEBUG, "nwamd_event_do_not_send: cancelling delivery of " in nwamd_event_do_not_send() 322 nlog(LOG_ERR, "nwamd_event_init_link_action: " in nwamd_event_init_link_action() 350 nlog(LOG_ERR, "nwamd_event_init_link_state: " in nwamd_event_init_link_state() 380 nlog(LOG_ERR, "nwamd_event_init_if_state: " in nwamd_event_init_if_state() 432 nlog(LOG_ERR, "nwamd_event_init_wlan: unexpected " in nwamd_event_init_wlan() 438 nlog(LOG_ERR, "nwamd_event_init_wlan: " in nwamd_event_init_wlan() 501 nlog(LOG_DEBUG, "enqueueing event %lld %d (%s) for object %s in %ds", in nwamd_event_enqueue_timed() 654 nlog(LOG_DEBUG, in nwamd_event_dequeue() [all …]
|
H A D | sysevent_events.c | 73 nlog(LOG_DEBUG, "sysevent_handler: event %s/%s", event_class, in sysevent_handler() 80 nlog(LOG_ERR, "sysevent_handler: unexpected sysevent " in sysevent_handler() 92 nlog(LOG_ERR, "sysevent_handler: sysevent_get_attr_list: %m"); in sysevent_handler() 97 nlog(LOG_ERR, "sysevent_handler: nvlist_lookup " in sysevent_handler()
|
H A D | objects.c | 206 nlog(LOG_ERR, "cannot get lock for object list: %s", in nwamd_object_list_rlock() 247 nlog(LOG_ERR, "nwamd_object_init: could not lock list to init " in nwamd_object_init() 254 nlog(LOG_ERR, "pthread_mutex_init failed: %s", in nwamd_object_init() 336 nlog(LOG_ERR, "nwamd_object_fini: " in nwamd_object_fini() 423 nlog(LOG_INFO, "nwamd_object_set_state: state event (%s, %s) for %s", in nwamd_object_set_state_timed()
|
H A D | conditions.c | 463 nlog(LOG_DEBUG, "check_ipaddr: match %d\n", match); in check_ipaddr() 507 nlog(LOG_ERR, "test_condition_ip_address: " in test_condition_ip_address() 535 nlog(LOG_ERR, "test_condition_ip_address: " in test_condition_ip_address() 571 nlog(LOG_DEBUG, "check_wlan: dladm_name2info() for %s " in check_wlan() 579 nlog(LOG_DEBUG, "check_wlan: dladm_wlan_get_linkattr() for %s " in check_wlan() 709 nlog(LOG_ERR, "check_conditions: invalid condition %s", in nwamd_check_conditions() 763 nlog(LOG_ERR, "nwamd_rate_conditions: could not rate " in nwamd_rate_conditions()
|
H A D | util.h | 72 extern void nlog(int, const char *, ...);
|
H A D | logging.c | 78 nlog(int severity, const char *fmt, ...) in nlog() function
|
/titanic_44/usr/src/cmd/cmd-inet/lib/netcfgd/ |
H A D | netcfgd.c | 73 nlog(int severity, const char *fmt, ...) in nlog() function 92 nlog(LOG_DEBUG, "%s started", progname); in start_logging() 108 nlog(LOG_ERR, "fork 1 failed"); in daemonize() 113 nlog(LOG_DEBUG, "child %ld exited, daemonizing", pid); in daemonize() 117 nlog(LOG_ERR, "setsid"); in daemonize() 121 nlog(LOG_ERR, "fork 2 failed"); in daemonize() 173 nlog(LOG_ERR, in main()
|
/titanic_44/usr/src/cmd/nvmeadm/ |
H A D | nvmeadm.c | 632 int nlog = npa->npa_idctl->id_elpe + 1; in do_get_logpage_error() local 633 size_t bufsize = sizeof (nvme_error_log_entry_t) * nlog; in do_get_logpage_error() 644 nlog = bufsize / sizeof (nvme_error_log_entry_t); in do_get_logpage_error() 647 nvme_print_error_log(nlog, elog); in do_get_logpage_error()
|
H A D | nvmeadm_print.c | 700 nvme_print_error_log(int nlog, nvme_error_log_entry_t *elog) in nvme_print_error_log() argument 705 for (i = 0; i != nlog; i++) in nvme_print_error_log() 710 for (i = 0; i != nlog; i++) { in nvme_print_error_log()
|