Searched refs:buf_space (Results 1 – 1 of 1) sorted by relevance
657 int buf_space; in sa_build_layouts() local703 buf_space = hdl->sa_spill->db_size - spillhdrsize; in sa_build_layouts()716 buf_space = (sa->sa_force_spill) ? in sa_build_layouts()719 buf_space = hdl->sa_bonus->db_size - hdrsize; in sa_build_layouts()729 ASSERT(IS_P2ALIGNED(buf_space, 8)); in sa_build_layouts()737 if (buf_space < length) { /* switch to spill buffer */ in sa_build_layouts()755 buf_space = hdl->sa_spill->db_size - spillhdrsize; in sa_build_layouts()769 buf_space -= P2ROUNDUP(length, 8); in sa_build_layouts()