Lines Matching defs:sid
109 cryptocteon_newsession(device_t dev, u_int32_t *sid, struct cryptoini *cri)
118 if (sid == NULL || cri == NULL || sc == NULL)
199 *sid = i;
314 u_int32_t sid = CRYPTO_SESID2LID(tid);
321 if (sid > sc->sc_sesnum || sc->sc_sessions == NULL ||
322 sc->sc_sessions[sid] == NULL)
326 if (sid == 0)
329 if (sc->sc_sessions[sid])
330 free(sc->sc_sessions[sid], M_DEVBUF);
331 sc->sc_sessions[sid] = NULL;