Searched refs:ses_objmap (Results 1 – 5 of 5) sorted by relevance
74 kmem_free(ssc->ses_objmap, in sen_softc_init()76 ssc->ses_objmap = NULL; in sen_softc_init()85 ssc->ses_objmap = (encobj *) in sen_softc_init()87 if (ssc->ses_objmap == NULL) { in sen_softc_init()92 ssc->ses_objmap[i].enctype = SESTYP_DEVICE; in sen_softc_init()95 ssc->ses_objmap[i].enctype = SESTYP_POWER; in sen_softc_init()98 ssc->ses_objmap[i].enctype = SESTYP_FAN; in sen_softc_init()101 ssc->ses_objmap[i].enctype = SESTYP_THERM; in sen_softc_init()104 ssc->ses_objmap[i].enctype = SESTYP_ALARM; in sen_softc_init()170 ssc->ses_objmap[i].svalid = 0; in sen_rdstat()[all …]
165 if (ssc->ses_objmap) { in safte_softc_init()166 kmem_free(ssc->ses_objmap, in safte_softc_init()168 ssc->ses_objmap = NULL; in safte_softc_init()206 ssc->ses_objmap = (encobj *) in safte_softc_init()209 if (ssc->ses_objmap == NULL) in safte_softc_init()218 ssc->ses_objmap[r++].enctype = SESTYP_FAN; in safte_softc_init()221 ssc->ses_objmap[r++].enctype = SESTYP_POWER; in safte_softc_init()223 ssc->ses_objmap[r++].enctype = SESTYP_DOORLOCK; in safte_softc_init()225 ssc->ses_objmap[r++].enctype = SESTYP_ALARM; in safte_softc_init()227 ssc->ses_objmap[r++].enctype = SESTYP_THERM; in safte_softc_init()[all …]
336 ssc->ses_objmap = (encobj *) in ses_getconfig()344 if (ssc->ses_objmap == NULL || cc->ses_typidx == NULL || in ses_getconfig()346 if (ssc->ses_objmap) { in ses_getconfig()347 kmem_free(ssc->ses_objmap, (nobj * sizeof (encobj))); in ses_getconfig()348 ssc->ses_objmap = NULL; in ses_getconfig()380 ssc->ses_objmap[nobj].subenclosure = thdr.enc_subenc; in ses_getconfig()381 ssc->ses_objmap[nobj++].enctype = thdr.enc_type; in ses_getconfig()398 kmem_free(ssc->ses_objmap, in ses_softc_init()400 ssc->ses_objmap = NULL; in ses_softc_init()568 if (ssc->ses_objmap[i].svalid == 0) { in ses_get_objstat()[all …]
746 k.subencid = ssc->ses_objmap[i].subenclosure; in ses_ioctl()747 k.elem_type = ssc->ses_objmap[i].enctype; in ses_ioctl()815 ssc->ses_objmap[x.obj_id].svalid = 0; in ses_ioctl()836 ssc->ses_objmap[x.obj_id].svalid = 0; in ses_ioctl()
141 encobj * ses_objmap; /* objects */ member201 _NOTE(DATA_READABLE_WITHOUT_LOCK(ses_softc::ses_objmap))