Lines Matching defs:type
55 enum mlx4_db_type type)
62 pp = ps / db_size[type];
79 page->next = context->db_list[type];
80 context->db_list[type] = page;
87 uint32_t *mlx4_alloc_db(struct mlx4_context *context, enum mlx4_db_type type)
95 for (page = context->db_list[type]; page; page = page->next)
99 page = __add_page(context, type);
111 db = page->buf.buf + (i * 8 * sizeof (long) + (j - 1)) * db_size[type];
119 void mlx4_free_db(struct mlx4_context *context, enum mlx4_db_type type, uint32_t *db)
127 for (page = context->db_list[type]; page; page = page->next)
134 i = ((void *) db - page->buf.buf) / db_size[type];
141 context->db_list[type] = page->next;