Searched refs:SEC_LT_ENTRIES (Results 1 - 2 of 2) sorted by relevance
/freebsd-12-stable/sys/dev/sec/ |
H A D | sec.h | 44 #define SEC_LT_ENTRIES 1024 /* Must be power of 2 */ macro 194 struct sec_lt sc_lt[SEC_LT_ENTRIES + 1]; 310 &SEC_GET_GENERIC(sc, sc_lt, sc_lt_alloc_cnt, SEC_LT_ENTRIES) 313 SEC_ADD(sc, sc_lt_alloc_cnt, SEC_LT_ENTRIES, -(num)) 316 SEC_ADD(sc, sc_lt_free_cnt, SEC_LT_ENTRIES, num) 320 & (SEC_LT_ENTRIES - 1))
|
H A D | sec.c | 300 (SEC_LT_ENTRIES + 1) * sizeof(struct sec_hw_lt)); 313 for (i = 0; i < SEC_LT_ENTRIES + 1; i++) { 321 lt = sc->sc_lt[SEC_LT_ENTRIES].sl_lt; 334 SEC_CNT_INIT(sc, sc_lt_alloc_cnt, SEC_LT_ENTRIES); 335 SEC_CNT_INIT(sc, sc_lt_free_cnt, SEC_LT_ENTRIES);
|
Completed in 47 milliseconds