Lines Matching defs:attr_count
289 sa_layout_info_hash(const sa_attr_type_t *attrs, int attr_count)
293 for (int i = 0; i != attr_count; i++)
405 sa_add_layout_entry(objset_t *os, const sa_attr_type_t *attrs, int attr_count,
415 tb->lot_attr_count = attr_count;
416 tb->lot_attrs = kmem_alloc(sizeof (sa_attr_type_t) * attr_count,
418 memcpy(tb->lot_attrs, attrs, sizeof (sa_attr_type_t) * attr_count);
435 attr_name, 2, attr_count, attrs, tx));
441 for (i = 0; i != attr_count; i++) {
555 sa_find_sizes(sa_os_t *sa, sa_bulk_attr_t *attr_desc, int attr_count,
581 for (i = 0; i != attr_count; i++) {
659 sa_build_layouts(sa_handle_t *hdl, sa_bulk_attr_t *attr_desc, int attr_count,
687 hdrsize = sa_find_sizes(sa, attr_desc, attr_count, hdl->sa_bonus,
711 attr_count - spill_idx, hdl->sa_spill, SA_SPILL,
728 attrs_start = attrs = kmem_alloc(sizeof (sa_attr_type_t) * attr_count,
732 for (i = 0, len_idx = 0, hash = -1ULL; i != attr_count; i++) {
787 kmem_free(attrs, sizeof (sa_attr_type_t) * attr_count);
1879 int attr_count, dmu_tx_t *tx)
1885 return (sa_build_layouts(hdl, attr_desc, attr_count, tx));
1890 int attr_count, dmu_tx_t *tx)
1896 attr_count, tx);
1926 int attr_count;
1964 attr_count = bonus_attr_count + spill_attr_count;
1966 attr_count++;
1968 attr_count--;
1970 attr_desc = kmem_zalloc(sizeof (sa_bulk_attr_t) * attr_count, KM_SLEEP);
2040 ASSERT3U(j, ==, attr_count);
2042 error = sa_build_layouts(hdl, attr_desc, attr_count, tx);
2048 kmem_free(attr_desc, sizeof (sa_bulk_attr_t) * attr_count);