Lines Matching refs:slot
565 int slot = size / SIZE; \ in COPY_STATE_FN()
570 state->COUNT = slot * SIZE; \ in COPY_STATE_FN()
577 new_##FIELD = kmalloc_array(slot, sizeof(struct bpf_##NAME##_state), \ in COPY_STATE_FN()
588 state->COUNT = slot * SIZE; \ in COPY_STATE_FN()
1901 int i, slot = -off - 1, spi = slot / BPF_REG_SIZE, err; in check_stack_write() local
1905 err = realloc_func_state(state, round_up(slot + 1, BPF_REG_SIZE), in check_stack_write()
2018 state->stack[spi].slot_type[(slot - i) % BPF_REG_SIZE] = in check_stack_write()
2030 int i, slot = -off - 1, spi = slot / BPF_REG_SIZE; in check_stack_read() local
2034 if (reg_state->allocated_stack <= slot) { in check_stack_read()
2057 if (stype[(slot - i) % BPF_REG_SIZE] != STACK_SPILL) { in check_stack_read()
2077 if (stype[(slot - i) % BPF_REG_SIZE] == STACK_MISC) in check_stack_read()
2079 if (stype[(slot - i) % BPF_REG_SIZE] == STACK_ZERO) { in check_stack_read()
2980 int err, min_off, max_off, i, j, slot, spi; in check_stack_boundary() local
3056 slot = -i - 1; in check_stack_boundary()
3057 spi = slot / BPF_REG_SIZE; in check_stack_boundary()
3058 if (state->allocated_stack <= slot) in check_stack_boundary()
3060 stype = &state->stack[spi].slot_type[slot % BPF_REG_SIZE]; in check_stack_boundary()