Home
last modified time | relevance | path

Searched refs:nhdl (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c76 static nd_hdl_t *nhdl; variable
111 nd_error(nhdl, "Failed to stat %s (%s)", template, in read_template()
116 nd_error(nhdl, "Failed to open %s (%s)", template, in read_template()
121 nd_error(nhdl, "Failed to allocate %d bytes", statb.st_size); in read_template()
126 nd_error(nhdl, "Failed to read in template (%s)", in read_template()
149 nhdl->nh_rootdir, PP_SCRIPT); in process_template()
151 nhdl->nh_rootdir, tmpnam(NULL)); in process_template()
164 nd_debug(nhdl, "Executing %s", pp_cli); in process_template()
183 s = nd_get_boolean_prop(nhdl, SVCNAME, "config", "debug", &val); in get_svc_config()
184 nhdl->nh_debug = val; in get_svc_config()
[all …]
/titanic_41/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c31 nd_cleanup(nd_hdl_t *nhdl) in nd_cleanup() argument
33 nd_debug(nhdl, "Cleaning up ..."); in nd_cleanup()
34 if (nhdl->nh_evhdl) in nd_cleanup()
35 (void) fmev_shdl_fini(nhdl->nh_evhdl); in nd_cleanup()
37 if (nhdl->nh_msghdl) in nd_cleanup()
38 fmd_msg_fini(nhdl->nh_msghdl); in nd_cleanup()
40 nhdl->nh_keep_running = B_FALSE; in nd_cleanup()
41 (void) fclose(nhdl->nh_log_fd); in nd_cleanup()
58 nd_debug(nd_hdl_t *nhdl, const char *format, ...) in nd_debug() argument
63 if (nhdl->nh_debug) { in nd_debug()
[all …]
/titanic_41/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c65 static nd_hdl_t *nhdl; variable
93 s = nd_get_boolean_prop(nhdl, SVCNAME, "config", "debug", &val); in get_svc_config()
94 nhdl->nh_debug = val; in get_svc_config()
96 s += nd_get_astring_prop(nhdl, SVCNAME, "config", "rootdir", in get_svc_config()
97 &(nhdl->nh_rootdir)); in get_svc_config()
100 nd_error(nhdl, "Failed to read retrieve service " in get_svc_config()
110 nd_cleanup(nhdl); in nd_sighandler()
114 get_snmp_prefs(nd_hdl_t *nhdl, nvlist_t **pref_nvl, uint_t npref) in get_snmp_prefs() argument
132 nd_debug(nhdl, "Malformed snmp notification " in get_snmp_prefs()
134 nd_dump_nvlist(nhdl, pref_nvl[0]); in get_snmp_prefs()
[all …]
/titanic_41/usr/src/uts/intel/io/
H A Ddevfm_machdep.c53 int nhdl; /* handles saved */ member
100 wp->nhdl = 0; in walk_init()
132 if (wp->nhdl == wp->nhdl_max) { in select_cmi_hdl()
143 wp->hdls[wp->nhdl++] = hdl; in select_cmi_hdl()
222 if (wk.nhdl == 0) { in fm_ioctl_physcpu_info()
227 cpus = kmem_alloc(sizeof (nvlist_t *) * wk.nhdl, KM_SLEEP); in fm_ioctl_physcpu_info()
228 for (i = 0; i < wk.nhdl; i++) { in fm_ioctl_physcpu_info()
237 cpus, wk.nhdl); in fm_ioctl_physcpu_info()
239 for (i = 0; i < wk.nhdl; i++) in fm_ioctl_physcpu_info()
241 kmem_free(cpus, sizeof (nvlist_t *) * wk.nhdl); in fm_ioctl_physcpu_info()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_tx.c140 size = wq->cfg.nhdl * sizeof (oce_wq_mdesc_t); in oce_wqm_cache_create()
149 for (cnt = 0; cnt < wq->cfg.nhdl; cnt++) { in oce_wqm_cache_create()
181 wq->cfg.nhdl * sizeof (oce_wq_mdesc_t)); in oce_wqm_cache_destroy()
489 wqed->hdesc[wqed->nhdl].hdl = (void *)(wqbd); in oce_bcopy_wqe()
490 wqed->hdesc[wqed->nhdl].type = COPY_WQE; in oce_bcopy_wqe()
493 wqed->nhdl++; in oce_bcopy_wqe()
549 wqed->hdesc[wqed->nhdl].hdl = (void *)wqmd; in oce_map_wqe()
550 wqed->hdesc[wqed->nhdl].type = MAPPED_WQE; in oce_map_wqe()
551 wqed->nhdl++; in oce_map_wqe()
766 wqed->nhdl = 0; in oce_send_packet()
[all …]
H A Doce_queue.c485 wq->cfg.nhdl = 2 * wq->cfg.q_len; in oce_wq_init()
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_buf.h131 uint16_t nhdl; member
H A Doce_io.h210 uint32_t nhdl; /* preallocated memory handles */ member