Searched refs:spis_t (Results 1 – 2 of 2) sorted by relevance
| /linux/include/linux/ |
| H A D | bpf_verifier.h | 235 } spis_t; typedef 237 #define SPIS_ZERO ((spis_t){}) 238 #define SPIS_ALL ((spis_t){{ U64_MAX, U64_MAX }}) 240 static inline bool spis_is_zero(spis_t s) in spis_is_zero() 245 static inline bool spis_equal(spis_t a, spis_t b) in spis_equal() 250 static inline spis_t spis_or(spis_t a, spis_t b) in spis_or() 252 return (spis_t){{ a.v[0] | b.v[0], a.v[1] | b.v[1] }}; in spis_or() 255 static inline spis_t spis_and(spis_t a, spis_t b) in spis_and() 257 return (spis_t){{ a.v[0] & b.v[0], a.v[1] & b.v[1] }}; in spis_and() 260 static inline spis_t spis_not(spis_t s) in spis_not() [all …]
|
| /linux/kernel/bpf/ |
| H A D | liveness.c | 14 spis_t may_read; /* stack slots that may be read by this instruction */ 15 spis_t must_write; /* stack slots written by this instruction */ 16 spis_t live_before; /* stack slots that may be read by this insn and its successors */ 179 static int mark_stack_read(struct func_instance *instance, u32 frame, u32 insn_idx, spis_t mask) in mark_stack_read() 190 static int mark_stack_write(struct func_instance *instance, u32 frame, u32 insn_idx, spis_t mask) in mark_stack_write() 276 spis_t new_before, new_after; in update_insn() 434 static char *fmt_spis_mask(struct bpf_verifier_env *env, int frame, bool first, spis_t spis) in fmt_spis_mask() 1201 spis_t mask; in record_stack_access_off()
|