Lines Matching defs:BPF_REG_SIZE
242 #define BPF_REG_SIZE 8 /* size of eBPF register in bytes */
249 #define BPF_DYNPTR_NR_SLOTS (BPF_DYNPTR_SIZE / BPF_REG_SIZE)
253 u8 slot_type[BPF_REG_SIZE];
324 /* The state of the stack. Each element of the array describes BPF_REG_SIZE
333 * `stack`. allocated_stack is always a multiple of BPF_REG_SIZE.
367 #define BPF_ID_MAP_SIZE ((MAX_BPF_REG + MAX_BPF_STACK / BPF_REG_SIZE) * MAX_CALL_FRAMES)
456 (((slot < frame->allocated_stack / BPF_REG_SIZE) && \
457 ((1 << frame->stack[slot].slot_type[BPF_REG_SIZE - 1]) & (mask))) \
463 iter < frame->allocated_stack / BPF_REG_SIZE; \
931 return !(off % BPF_REG_SIZE);