Lines Matching refs:za
969 zap_attribute_t *za;
975 za = kmem_alloc(sizeof (zap_attribute_t), KM_SLEEP);
977 (err = zap_cursor_retrieve(&zc, za)) == 0;
979 if ((za->za_first_integer & mask) == (value & mask)) {
980 (void) strcpy(name, za->za_name);
985 kmem_free(za, sizeof (zap_attribute_t));
993 zap_attribute_t za;
998 zap_cursor_retrieve(&zc, &za) == 0;
1000 if (za.za_integer_length != 8 || za.za_num_integers != 1) {
1004 err = zap_add(os, intoobj, za.za_name,
1005 8, 1, &za.za_first_integer, tx);
1018 zap_attribute_t za;
1023 zap_cursor_retrieve(&zc, &za) == 0;
1025 if (za.za_integer_length != 8 || za.za_num_integers != 1) {
1029 err = zap_add(os, intoobj, za.za_name,
1043 zap_attribute_t za;
1048 zap_cursor_retrieve(&zc, &za) == 0;
1052 if (za.za_integer_length != 8 || za.za_num_integers != 1) {
1057 err = zap_lookup(os, intoobj, za.za_name, 8, 1, &delta);
1060 delta += za.za_first_integer;
1061 err = zap_update(os, intoobj, za.za_name, 8, 1, &delta, tx);
1161 fzap_cursor_retrieve(zap_t *zap, zap_cursor_t *zc, zap_attribute_t *za)
1209 za->za_integer_length = zeh.zeh_integer_size;
1210 za->za_num_integers = zeh.zeh_num_integers;
1212 za->za_first_integer = 0;
1214 err = zap_entry_read(&zeh, 8, 1, &za->za_first_integer);
1218 sizeof (za->za_name), za->za_name);
1221 za->za_normalization_conflict =
1223 NULL, za->za_name, zap);