Searched refs:usable_per_page (Results 1 – 2 of 2) sorted by relevance
115 u16 usable_per_page; member252 return chain->usable_per_page; in qed_chain_get_usable_per_page()316 (((p)->u.chain16.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)319 (((p)->u.chain32.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)322 (p)->usable_per_page)326 (p)->usable_per_page)543 size = p_chain->elem_size * p_chain->usable_per_page; in qed_chain_get_last_elem()561 size = p_chain->elem_size * (p_chain->usable_per_page - 1); in qed_chain_get_last_elem()
23 chain->usable_per_page = USABLE_ELEMS_PER_PAGE(params->elem_size, in qed_chain_init()30 chain->next_page_mask = chain->usable_per_page & in qed_chain_init()35 chain->capacity = chain->usable_per_page * page_cnt; in qed_chain_init()53 size = chain->elem_size * chain->usable_per_page; in qed_chain_init_next_ptr_elem()76 size = chain->elem_size * chain->usable_per_page; in qed_chain_free_next_ptr()