Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dsmtp-notify.c81 static nd_hdl_t *nhdl; variable
116 nd_error(nhdl, "Failed to stat %s (%s)", template, in read_template()
121 nd_error(nhdl, "Failed to open %s (%s)", template, in read_template()
126 nd_error(nhdl, "Failed to allocate %d bytes", statb.st_size); in read_template()
131 nd_error(nhdl, "Failed to read in template (%s)", in read_template()
154 nhdl->nh_rootdir, PP_SCRIPT); in process_template()
156 nhdl->nh_rootdir, tmpnam(NULL)); in process_template()
169 nd_debug(nhdl, "Executing %s", pp_cli); in process_template()
188 s = nd_get_boolean_prop(nhdl, SVCNAME, "config", "debug", &val); in get_svc_config()
189 nhdl->nh_debug = val; in get_svc_config()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/fm/notify/snmp-notify/common/
H A Dsnmp-notify.c69 static nd_hdl_t *nhdl; variable
97 s = nd_get_boolean_prop(nhdl, SVCNAME, "config", "debug", &val); in get_svc_config()
98 nhdl->nh_debug = val; in get_svc_config()
100 s += nd_get_astring_prop(nhdl, SVCNAME, "config", "rootdir", in get_svc_config()
101 &(nhdl->nh_rootdir)); in get_svc_config()
104 nd_error(nhdl, "Failed to read retrieve service " in get_svc_config()
114 nd_cleanup(nhdl); in nd_sighandler()
118 get_snmp_prefs(nd_hdl_t *nhdl, nvlist_t **pref_nvl, uint_t npref) in get_snmp_prefs() argument
136 nd_debug(nhdl, "Malformed snmp notification " in get_snmp_prefs()
138 nd_dump_nvlist(nhdl, pref_nvl[0]); in get_snmp_prefs()
[all …]
/illumos-gate/usr/src/uts/intel/io/
H A Ddevfm_machdep.c55 uint_t nhdl; /* handles saved */ member
102 wp->nhdl = 0; in walk_init()
134 if (wp->nhdl == wp->nhdl_max) { in select_cmi_hdl()
145 wp->hdls[wp->nhdl++] = hdl; in select_cmi_hdl()
235 if (wk.nhdl == 0) { in fm_ioctl_physcpu_info()
240 cpus = kmem_alloc(sizeof (nvlist_t *) * wk.nhdl, KM_SLEEP); in fm_ioctl_physcpu_info()
241 for (i = 0; i < wk.nhdl; i++) { in fm_ioctl_physcpu_info()
250 cpus, wk.nhdl); in fm_ioctl_physcpu_info()
252 for (i = 0; i < wk.nhdl; i++) in fm_ioctl_physcpu_info()
254 kmem_free(cpus, sizeof (nvlist_t *) * wk.nhdl); in fm_ioctl_physcpu_info()
[all …]
/illumos-gate/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()
/illumos-gate/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