Lines Matching refs:info

33  * take an rc_node_t and use the functions in the object_info_t info array for
191 struct delete_cb_info *info = data;
204 info->dci_result = delete_stack_push(info->dci_dip, info->dci_be,
205 info->dci_cb, id, gen);
207 if (info->dci_result != REP_PROTOCOL_SUCCESS)
239 struct delete_cb_info info;
274 info.dci_dip = dip;
275 info.dci_be = be;
276 info.dci_cb = &value_delete;
277 info.dci_result = REP_PROTOCOL_SUCCESS;
288 r = backend_tx_run(tx, q, push_delete_callback, &info);
292 assert(info.dci_result != REP_PROTOCOL_SUCCESS);
293 return (info.dci_result);
330 struct delete_cb_info info;
337 info.dci_dip = dip;
338 info.dci_be = be;
339 info.dci_cb = &pg_lnk_tbl_delete;
340 info.dci_result = REP_PROTOCOL_SUCCESS;
349 r = backend_tx_run(tx, q, push_delete_callback, &info);
353 assert(info.dci_result != REP_PROTOCOL_SUCCESS);
354 return (info.dci_result);
366 struct delete_cb_info info;
382 info.dci_dip = dip;
383 info.dci_be = be;
384 info.dci_cb = &snaplevel_lnk_delete;
385 info.dci_result = REP_PROTOCOL_SUCCESS;
392 r = backend_tx_run(tx, q, push_delete_callback, &info);
396 assert(info.dci_result != REP_PROTOCOL_SUCCESS);
397 return (info.dci_result);
432 struct delete_cb_info info;
436 info.dci_dip = dip;
437 info.dci_be = BACKEND_TYPE_NORMAL;
438 info.dci_cb = &propertygrp_delete;
439 info.dci_result = REP_PROTOCOL_SUCCESS;
446 r = backend_tx_run(dip->di_tx, q, push_delete_callback, &info);
449 assert(info.dci_result != REP_PROTOCOL_SUCCESS);
451 return (info.dci_result);
459 info.dci_be = BACKEND_TYPE_NONPERSIST;
462 &info);
465 assert(info.dci_result != REP_PROTOCOL_SUCCESS);
467 return (info.dci_result);
494 struct delete_cb_info info;
507 info.dci_dip = dip;
508 info.dci_be = BACKEND_TYPE_NORMAL;
509 info.dci_cb = &snapshot_lnk_delete;
510 info.dci_result = REP_PROTOCOL_SUCCESS;
516 r = backend_tx_run(dip->di_tx, q, push_delete_callback, &info);
520 assert(info.dci_result != REP_PROTOCOL_SUCCESS);
521 return (info.dci_result);
657 struct property_value_info *info = data;
660 info->pvi_size += strlen(vals[0]) + 1; /* count the '\0' */
669 struct property_value_info *info = data;
673 pos = info->pvi_pos;
674 left = info->pvi_size - pos;
676 pos = info->pvi_pos;
677 left = info->pvi_size - pos;
679 if ((len = strlcpy(&info->pvi_base[pos], vals[0], left)) >= left) {
688 info->pvi_pos += len;
689 info->pvi_count++;
713 struct property_value_info info;
719 info.pvi_base = NULL;
720 info.pvi_pos = 0;
721 info.pvi_size = 0;
722 info.pvi_count = 0;
770 &info)) {
782 if (info.pvi_size > 0) {
783 info.pvi_base = uu_zalloc(info.pvi_size);
784 if (info.pvi_base == NULL) {
789 &info)) {
794 uu_free(info.pvi_base);
808 info.pvi_base, info.pvi_count, info.pvi_size);
1397 static object_info_t info[] = {
1452 #define NUM_INFO (sizeof (info) / sizeof (*info))
1470 return ((*info[type].obj_fill_children)(pp));
1484 if (info[type].obj_delete_start == NULL)
1501 if ((rc = (*info[type].obj_delete_start)(pp, &dip)) !=
1545 ip = &info[ptype];
1576 info[type].obj_id_space)) == 0) {
1661 ip = &info[ptype];
1726 info[type].obj_id_space)) == 0) {