Lines Matching +defs:val +defs:os
9 * or http://www.opensolaris.org/os/licensing.
221 zap_table_store(zap_t *zap, zap_table_phys_t *tbl, uint64_t idx, uint64_t val,
232 dprintf("storing %llx at index %llx\n", val, idx);
257 ((uint64_t *)db2->db_data)[off2] = val;
258 ((uint64_t *)db2->db_data)[off2+1] = val;
262 ((uint64_t *)db->db_data)[off] = val;
631 objset_t *os = zap->zap_objset;
636 err = zap_lockdir(os, object, tx, RW_WRITER,
718 objset_t *os = zap->zap_objset;
722 err = zap_lockdir(os, zapobj, tx,
813 const void *val, uint32_t cd, void *tag, dmu_tx_t *tx)
837 integer_size, num_integers, val, &zeh);
857 const void *val, void *tag, dmu_tx_t *tx)
864 val, ZAP_NEED_CD, tag, tx));
869 int integer_size, uint64_t num_integers, const void *val,
892 integer_size, num_integers, val, &zeh);
896 err = zap_entry_update(&zeh, integer_size, num_integers, val);
975 zap_create_link(objset_t *os, dmu_object_type_t ot, uint64_t parent_obj,
980 VERIFY((new_obj = zap_create(os, ot, DMU_OT_NONE, 0, tx)) > 0);
981 VERIFY0(zap_add(os, parent_obj, name, sizeof (uint64_t), 1, &new_obj,
988 zap_value_search(objset_t *os, uint64_t zapobj, uint64_t value, uint64_t mask,
999 for (zap_cursor_init(&zc, os, zapobj);
1013 zap_join(objset_t *os, uint64_t fromobj, uint64_t intoobj, dmu_tx_t *tx)
1020 for (zap_cursor_init(&zc, os, fromobj);
1027 err = zap_add(os, intoobj, za.za_name,
1037 zap_join_key(objset_t *os, uint64_t fromobj, uint64_t intoobj,
1045 for (zap_cursor_init(&zc, os, fromobj);
1052 err = zap_add(os, intoobj, za.za_name,
1062 zap_join_increment(objset_t *os, uint64_t fromobj, uint64_t intoobj,
1070 for (zap_cursor_init(&zc, os, fromobj);
1080 err = zap_lookup(os, intoobj, za.za_name, 8, 1, &delta);
1084 err = zap_update(os, intoobj, za.za_name, 8, 1, &delta, tx);
1093 zap_add_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx)
1098 return (zap_add(os, obj, name, 8, 1, &value, tx));
1102 zap_remove_int(objset_t *os, uint64_t obj, uint64_t value, dmu_tx_t *tx)
1107 return (zap_remove(os, obj, name, tx));
1111 zap_lookup_int(objset_t *os, uint64_t obj, uint64_t value)
1116 return (zap_lookup(os, obj, name, 8, 1, &value));
1120 zap_add_int_key(objset_t *os, uint64_t obj,
1126 return (zap_add(os, obj, name, 8, 1, &value, tx));
1130 zap_update_int_key(objset_t *os, uint64_t obj,
1136 return (zap_update(os, obj, name, 8, 1, &value, tx));
1140 zap_lookup_int_key(objset_t *os, uint64_t obj, uint64_t key, uint64_t *valuep)
1145 return (zap_lookup(os, obj, name, 8, 1, valuep));
1149 zap_increment(objset_t *os, uint64_t obj, const char *name, int64_t delta,
1158 err = zap_lookup(os, obj, name, 8, 1, &value);
1163 err = zap_remove(os, obj, name, tx);
1165 err = zap_update(os, obj, name, 8, 1, &value, tx);
1170 zap_increment_int(objset_t *os, uint64_t obj, uint64_t key, int64_t delta,
1176 return (zap_increment(os, obj, name, delta, tx));