Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf_verifier.h1450 static inline bool bpf_stack_narrow_access_ok(int off, int fill_size, int spill_size) in bpf_stack_narrow_access_ok() argument
1453 off -= spill_size - fill_size; in bpf_stack_narrow_access_ok()
/linux/kernel/bpf/
H A Dverifier.c3879 u8 spill_size = 1; in check_stack_read_fixed_off() local
3882 spill_size++; in check_stack_read_fixed_off()
3884 if (size != BPF_REG_SIZE || spill_size != BPF_REG_SIZE) { in check_stack_read_fixed_off()
3894 if (size <= spill_size && in check_stack_read_fixed_off()
3895 bpf_stack_narrow_access_ok(off, size, spill_size)) { in check_stack_read_fixed_off()
3896 if (env->bpf_capable && size == 4 && spill_size == 4 && in check_stack_read_fixed_off()
8586 int spill_size = 0; in get_constant_map_key() local
8617 spill_size++; in get_constant_map_key()
8618 if (spill_size != key_size) in get_constant_map_key()