Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dbpf_verifier.h973 static inline bool bpf_stack_narrow_access_ok(int off, int fill_size, int spill_size) in bpf_stack_narrow_access_ok() argument
976 off -= spill_size - fill_size; in bpf_stack_narrow_access_ok()
/linux-6.12.1/kernel/bpf/
Dverifier.c4935 u8 spill_size = 1; in check_stack_read_fixed_off() local
4938 spill_size++; in check_stack_read_fixed_off()
4940 if (size != BPF_REG_SIZE || spill_size != BPF_REG_SIZE) { in check_stack_read_fixed_off()
4951 if (size <= spill_size && in check_stack_read_fixed_off()
4952 bpf_stack_narrow_access_ok(off, size, spill_size)) { in check_stack_read_fixed_off()