Searched refs:SEC_LT_ENTRIES (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/sec/ |
H A D | sec.h | 42 #define SEC_LT_ENTRIES 1024 /* Must be power of 2 */ macro 189 struct sec_lt sc_lt[SEC_LT_ENTRIES + 1]; 305 &SEC_GET_GENERIC(sc, sc_lt, sc_lt_alloc_cnt, SEC_LT_ENTRIES) 308 SEC_ADD(sc, sc_lt_alloc_cnt, SEC_LT_ENTRIES, -(num)) 311 SEC_ADD(sc, sc_lt_free_cnt, SEC_LT_ENTRIES, num) 315 & (SEC_LT_ENTRIES - 1))
|
H A D | sec.c | 282 (SEC_LT_ENTRIES + 1) * sizeof(struct sec_hw_lt)); in sec_attach() 295 for (i = 0; i < SEC_LT_ENTRIES + 1; i++) { in sec_attach() 303 lt = sc->sc_lt[SEC_LT_ENTRIES].sl_lt; in sec_attach() 316 SEC_CNT_INIT(sc, sc_lt_alloc_cnt, SEC_LT_ENTRIES); in sec_attach() 317 SEC_CNT_INIT(sc, sc_lt_free_cnt, SEC_LT_ENTRIES); in sec_attach()
|