Lines Matching defs:entry

81  *                    view-entry-<N>-<GUID> where <N> is an unsigned integer
84 * entry property group
87 * Contains the references to each view entry. One lu-<GUID>
117 * view entry in the system. This property group name maps
213 * Property names for view entry
299 scf_transaction_entry_t *entry = NULL;
323 ((entry = scf_entry_create(handle)) == NULL) ||
364 if (scf_transaction_property_change(tran, entry, groupName,
477 if (scf_entry_add_value(entry, valueSet[i]) == -1) {
520 * Now create the new entry
545 if (scf_entry_add_value(entry, valueSet[i]) == -1) {
554 * Yes, we're finally done. We actually added or removed one entry
585 if (entry != NULL) {
586 scf_entry_destroy(entry);
619 * Adds or removes a view entry name property for a given logical unit
624 * viewEntryPgName - Property group name of view entry
641 scf_transaction_entry_t *entry = NULL;
664 ((entry = scf_entry_create(handle)) == NULL) ||
717 if (scf_transaction_property_new(tran, entry, STMF_VE_CNT,
735 if (scf_transaction_property_change(tran, entry,
787 * view entry
803 * Set the view entry count
808 * Add the value to the transaction entry
810 if (scf_entry_add_value(entry, value) == -1) {
818 * Create a transaction entry resource for the view entry name
822 syslog(LOG_ERR, "scf transaction entry alloc %s/%s failed - %s",
830 * If adding, create a property with the view entry name
848 * entry name
895 if (entry != NULL) {
896 scf_entry_destroy(entry);
914 * Add a view entry property group and optionally, a logical unit property
918 * viewEntryName - name of view entry (VIEW_ENTRY_nn)
929 scf_transaction_entry_t *entry[VIEW_ENTRY_STRUCT_CNT];
942 bzero(entry, sizeof (entry));
964 * allocate value and entry resources for scf
968 ((entry[i] = scf_entry_create(handle)) == NULL)) {
996 * Add the view entry as properties on the view entry group
1012 if (scf_transaction_property_new(tran, entry[i],
1032 if (scf_entry_add_value(entry[i], value[i]) == -1) {
1045 if (scf_transaction_property_new(tran, entry[i],
1070 * Add the hostGroup value to the transaction entry
1072 if (scf_entry_add_value(entry[i], value[i]) == -1) {
1085 if (scf_transaction_property_new(tran, entry[i],
1107 if (scf_entry_add_value(entry[i], value[i]) == -1) {
1120 if (scf_transaction_property_new(tran, entry[i],
1147 if (scf_entry_add_value(entry[i], value[i]) == -1) {
1160 if (scf_transaction_property_new(tran, entry[i], STMF_VE_LUNBR,
1185 * Add luNbr to the transaction entry
1187 if (scf_entry_add_value(entry[i], value[i]) == -1) {
1195 * Now that we've successfully added the view entry,
1202 * If we did not add the view entry name to the logical unit,
1224 * If we did not commit, try to remove the view entry name
1232 syslog(LOG_ERR, "remove lu view entry %s failed"
1238 * lu view entry succeeded.
1267 * Free value and entry scf resources
1273 if (entry[j] != NULL)
1274 scf_entry_destroy(entry[j]);
2076 scf_transaction_entry_t *entry = NULL;
2084 ((entry = scf_entry_create(handle)) == NULL) ||
2160 if (scf_transaction_property_new(tran, entry,
2170 if (scf_transaction_property_change(tran, entry,
2195 if (scf_entry_add_value(entry, value) == -1) {
2259 if (entry != NULL) {
2260 scf_entry_destroy(entry);
2291 scf_transaction_entry_t *entry = NULL;
2319 ((entry = scf_entry_create(handle)) == NULL) ||
2422 if (scf_transaction_property_new(tran, entry,
2431 if (scf_transaction_property_change(tran, entry,
2459 if (scf_entry_add_value(entry, value) == -1) {
2532 if (entry != NULL) {
2533 scf_entry_destroy(entry);
2648 scf_transaction_entry_t *entry = NULL;
2654 ((entry = scf_entry_create(handle)) == NULL) ||
2733 if (scf_transaction_property_new(tran, entry,
2751 if (scf_entry_add_value(entry, value) == -1) {
2789 * Get the actual value of the view entry count property
2812 if (entry != NULL) {
2813 scf_entry_destroy(entry);
3037 * the values to set for this view entry
3092 * Format of view entry property group name:
3482 * luGuid - identifier of logical unit for which to retrieve a view entry list
3549 /* get the view entry count property */
3565 * Get the actual value of the view entry count property
3585 * alloc the list based on the view entry count
3596 * iterate through the view entry properties to find the
3600 /* find match for view entry property */
3676 * viewEntryPgName - view entry property group name to retrieve
3717 * get the service property group view entry handle
4428 /* represents arrays of entry and value pointers for scf */
4434 * These declarations are for known entry and value set/get
4640 /* allocate entry and value resources for writing those chunks */
4658 * allocate entry delete resources for deleting anything existing
4678 * Create the entry resource for the prop
4757 * Add the data block to the transaction entry
4773 * Create the entry resource for the prop
5030 * Purpose: Get a single view entry based on the logical unit identifier and
5031 * view entry index
5034 * viewEntryIndex - index of view entry
5036 * contain the retrieved view entry
5074 * Format of view entry property group name:
5117 * Remove a view entry
5119 * luGuid - identifier of logical unit from which to remove view entry
5120 * viewEntryIndex - view entry name to remove
5174 * Format of view entry property group name:
5193 * the view entry and update the view entry count
5203 * Delete the view entry. If this fails, we should try to add
5204 * the logical unit view entry property group back otherwise
5212 syslog(LOG_ERR, "add of view entry %s failed, possible"