Lines Matching refs:te
343 add_entry(scf_transaction_entry_t *te, scf_value_t *val)
345 if (scf_entry_add_value(te, val) != 0) {
354 add_boolean_entry(scf_handle_t *h, scf_transaction_entry_t *te, uint8_t v)
363 return (add_entry(te, val));
367 add_count_entry(scf_handle_t *h, scf_transaction_entry_t *te, uint64_t v)
376 return (add_entry(te, val));
380 add_integer_entry(scf_handle_t *h, scf_transaction_entry_t *te, int64_t v)
389 return (add_entry(te, val));
393 add_astring_entry(scf_handle_t *h, scf_transaction_entry_t *te, char *s)
405 return (add_entry(te, val));
409 get_nvpair_vals(scf_handle_t *h, scf_transaction_entry_t *te, nvpair_t *p)
420 return (add_boolean_entry(h, te, 1));
426 return (add_boolean_entry(h, te, (uint8_t)v));
434 if (add_boolean_entry(h, te, (uint8_t)v[i]) !=
445 return (add_count_entry(h, te, v));
452 return (add_count_entry(h, te, v));
459 return (add_count_entry(h, te, v));
466 return (add_count_entry(h, te, v));
473 return (add_count_entry(h, te, v));
481 if (add_count_entry(h, te, v[i]) != SCF_SUCCESS)
492 if (add_count_entry(h, te, v[i]) != SCF_SUCCESS)
503 if (add_count_entry(h, te, v[i]) != SCF_SUCCESS)
514 if (add_count_entry(h, te, v[i]) != SCF_SUCCESS)
525 if (add_count_entry(h, te, v[i]) != SCF_SUCCESS)
535 return (add_integer_entry(h, te, v));
542 return (add_integer_entry(h, te, v));
549 return (add_integer_entry(h, te, v));
556 return (add_integer_entry(h, te, v));
564 if (add_integer_entry(h, te, v[i]) !=
576 if (add_integer_entry(h, te, v[i]) !=
588 if (add_integer_entry(h, te, v[i]) !=
600 if (add_integer_entry(h, te, v[i]) !=
611 return (add_astring_entry(h, te, str));
619 if (add_astring_entry(h, te, v[i]) !=
645 prep_transaction(scf_transaction_t *tx, scf_transaction_entry_t *te,
648 if (scf_transaction_property_new(tx, te, prop, type) != SCF_SUCCESS &&
650 scf_transaction_property_change(tx, te, prop, type) !=
747 scf_transaction_entry_t *te =
752 if (te == NULL) {
755 scf_entry_destroy(te);
766 scf_entry_destroy(te);
775 scf_entry_destroy(te);
779 if (prep_transaction(tx, te, propname, type) !=
781 scf_entry_destroy(te);
785 if (get_nvpair_vals(h, te, p) != SCF_SUCCESS) {