Lines Matching defs:po
82 _prop_object_init(struct _prop_object *po, const struct _prop_object_type *pot)
85 po->po_type = pot;
86 po->po_refcnt = 1;
96 _prop_object_fini(struct _prop_object *po _PROP_ARG_UNUSED)
997 struct _prop_object *po = obj;
1000 _PROP_ATOMIC_INC32_NV(&po->po_refcnt, ncnt);
1016 struct _prop_object *po;
1022 po = obj;
1025 if (po->po_type->pot_lock != NULL)
1026 po->po_type->pot_lock();
1029 unlock = po->po_type->pot_unlock;
1032 _PROP_ATOMIC_DEC32_NV(&po->po_refcnt, ocnt);
1042 _PROP_ASSERT(po->po_type);
1043 if ((po->po_type->pot_free)(NULL, &obj) ==
1053 parent = po;
1054 _PROP_ATOMIC_INC32(&po->po_refcnt);
1058 po = parent;
1059 (*po->po_type->pot_emergency_free)(parent);
1072 struct _prop_object *po;
1082 po = obj;
1085 if (po->po_type->pot_lock != NULL)
1086 po->po_type->pot_lock();
1089 unlock = po->po_type->pot_unlock;
1091 _PROP_ATOMIC_DEC32_NV(&po->po_refcnt, ocnt);
1102 ret = (po->po_type->pot_free)(&stack, &obj);
1110 _PROP_ATOMIC_INC32(&po->po_refcnt);
1124 struct _prop_object *po = obj;
1129 return (po->po_type->pot_type);