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)
108 struct _prop_object *po = obj;
111 _PROP_ATOMIC_INC32_NV(&po->po_refcnt, ncnt);
127 struct _prop_object *po;
133 po = obj;
136 if (po->po_type->pot_lock != NULL)
137 po->po_type->pot_lock();
140 unlock = po->po_type->pot_unlock;
143 _PROP_ATOMIC_DEC32_NV(&po->po_refcnt, ocnt);
153 _PROP_ASSERT(po->po_type);
154 if ((po->po_type->pot_free)(NULL, &obj) ==
164 parent = po;
165 _PROP_ATOMIC_INC32(&po->po_refcnt);
169 po = parent;
170 (*po->po_type->pot_emergency_free)(parent);
183 struct _prop_object *po;
193 po = obj;
196 if (po->po_type->pot_lock != NULL)
197 po->po_type->pot_lock();
200 unlock = po->po_type->pot_unlock;
202 _PROP_ATOMIC_DEC32_NV(&po->po_refcnt, ocnt);
213 ret = (po->po_type->pot_free)(&stack, &obj);
221 _PROP_ATOMIC_INC32(&po->po_refcnt);
235 struct _prop_object *po = obj;
240 return (po->po_type->pot_type);