Searched refs:ses_objmap (Results 1 – 5 of 5) sorted by relevance
73 kmem_free(ssc->ses_objmap, in sen_softc_init()75 ssc->ses_objmap = NULL; in sen_softc_init()84 ssc->ses_objmap = (encobj *) in sen_softc_init()86 if (ssc->ses_objmap == NULL) { in sen_softc_init()91 ssc->ses_objmap[i].enctype = SESTYP_DEVICE; in sen_softc_init()94 ssc->ses_objmap[i].enctype = SESTYP_POWER; in sen_softc_init()97 ssc->ses_objmap[i].enctype = SESTYP_FAN; in sen_softc_init()100 ssc->ses_objmap[i].enctype = SESTYP_THERM; in sen_softc_init()103 ssc->ses_objmap[i].enctype = SESTYP_ALARM; in sen_softc_init()169 ssc->ses_objmap[i].svalid = 0; in sen_rdstat()[all …]
163 if (ssc->ses_objmap) { in safte_softc_init()164 kmem_free(ssc->ses_objmap, in safte_softc_init()166 ssc->ses_objmap = NULL; in safte_softc_init()204 ssc->ses_objmap = (encobj *) in safte_softc_init()207 if (ssc->ses_objmap == NULL) in safte_softc_init()216 ssc->ses_objmap[r++].enctype = SESTYP_FAN; in safte_softc_init()219 ssc->ses_objmap[r++].enctype = SESTYP_POWER; in safte_softc_init()221 ssc->ses_objmap[r++].enctype = SESTYP_DOORLOCK; in safte_softc_init()223 ssc->ses_objmap[r++].enctype = SESTYP_ALARM; in safte_softc_init()225 ssc->ses_objmap[r++].enctype = SESTYP_THERM; in safte_softc_init()[all …]
335 ssc->ses_objmap = (encobj *) in ses_getconfig()343 if (ssc->ses_objmap == NULL || cc->ses_typidx == NULL || in ses_getconfig()345 if (ssc->ses_objmap) { in ses_getconfig()346 kmem_free(ssc->ses_objmap, (nobj * sizeof (encobj))); in ses_getconfig()347 ssc->ses_objmap = NULL; in ses_getconfig()379 ssc->ses_objmap[nobj].subenclosure = thdr.enc_subenc; in ses_getconfig()380 ssc->ses_objmap[nobj++].enctype = thdr.enc_type; in ses_getconfig()397 kmem_free(ssc->ses_objmap, in ses_softc_init()399 ssc->ses_objmap = NULL; in ses_softc_init()567 if (ssc->ses_objmap[i].svalid == 0) { in ses_get_objstat()[all …]
739 k.subencid = ssc->ses_objmap[i].subenclosure; in ses_ioctl()740 k.elem_type = ssc->ses_objmap[i].enctype; in ses_ioctl()808 ssc->ses_objmap[x.obj_id].svalid = 0; in ses_ioctl()829 ssc->ses_objmap[x.obj_id].svalid = 0; in ses_ioctl()
133 encobj * ses_objmap; /* objects */ member194 _NOTE(DATA_READABLE_WITHOUT_LOCK(ses_softc::ses_objmap))