Searched refs:MAYBE_MAP_FLAG (Results 1 – 1 of 1) sorted by relevance
137 #define MAYBE_MAP_FLAG(x, from, to) (((x) & (from)) ? (to) : 0) macro138 #define PFLAGS_TO_PROT(x) (MAYBE_MAP_FLAG((x), PF_X, PROT_EXEC) | \139 MAYBE_MAP_FLAG((x), PF_R, PROT_READ) | \140 MAYBE_MAP_FLAG((x), PF_W, PROT_WRITE))