Home
last modified time | relevance | path

Searched refs:WB_HISTORY_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux/security/apparmor/include/
H A Dmatch.h141 #define WB_HISTORY_SIZE 32 macro
145 aa_state_t history[WB_HISTORY_SIZE];
/linux/security/apparmor/
H A Dmatch.c684 BUILD_BUG_ON_NOT_POWER_OF_2(WB_HISTORY_SIZE); \
685 wb->pos = (wb->pos + 1) & (WB_HISTORY_SIZE - 1); \
686 wb->len = (wb->len + 1) > WB_HISTORY_SIZE ? WB_HISTORY_SIZE : \
706 /* -1 wraps to WB_HISTORY_SIZE - 1 */ in is_loop()
707 pos = (pos - 1) & (WB_HISTORY_SIZE - 1); in is_loop()