Searched refs:early_buf_idx (Results 1 – 1 of 1) sorted by relevance
51 static uint32_t early_buf_idx; variable113 uint32_t rem = early_buf_idx & 0x3; in early_buf_align_idx()116 early_buf_idx += (sizeof(uint32_t) - rem); in early_buf_align_idx()128 uint32_t *loc = (uint32_t *)&early_buf[early_buf_idx]; in early_buf_len_loc()130 early_buf_idx += LEN_SZ; in early_buf_len_loc()138 return (EARLY_BUF_SIZE - early_buf_idx) >= len; in early_buf_has_space()147 if (early_buf_idx == EARLY_BUF_SIZE) { in early_buf_get_len()151 return (uint32_t)((uintptr_t)&early_buf[early_buf_idx] - (uintptr_t)len_loc - LEN_SZ); in early_buf_get_len()163 *(uint32_t *)&early_buf[early_buf_idx] = len; in early_buf_alloc()164 early_buf_idx += LEN_SZ; in early_buf_alloc()[all …]