Lines Matching defs:property
74 * Generic value holder for the property types we support. The type
78 struct property {
176 struct property **properties;
315 static inline struct property *
318 struct property *p;
327 static inline struct property *
328 property_ref(struct property *p)
335 static inline struct property *
336 property_unref(struct property *p)
346 /* Separate call so we can verify that the caller unrefs the property
350 property_cleanup(struct property *p)
511 struct property *p;
670 struct property *p = property_new();
702 struct property *p = property_new();
1228 struct property *p;
1241 * Searches for the udev property on this device and its parent devices.
1243 * @return the value of the property or NULL
1395 const struct property *property)
1398 struct property *p = q->properties[i];
1400 if (p->id != property->id)
1403 /* We have a duplicated property, merge in with ours */
1406 for (size_t j = 0; j < property->value.tuples.ntuples; j++) {
1409 p->value.tuples.tuples[offset + j] = property->value.tuples.tuples[j];
1415 /* First time we add AttrEventCode: create a new property.
1418 struct property *newprop = property_new();
1419 newprop->id = property->id;
1420 newprop->type = property->type;
1421 newprop->value.tuples = property->value.tuples;
1432 struct property *p;
1447 qlog_debug(ctx, "property added: %s from %s\n",
1452 * matching property and, later when checking the quirk, pick
1462 * have one struct property in the list (not owned by a section)
1585 static inline struct property *
1590 struct property *p = q->properties[i];
1607 struct property *p;
1625 struct property *p;
1643 struct property *p;
1661 struct property *p;
1679 struct property *p;
1699 struct property *p;
1719 struct property *p;
1739 struct property *p;
1760 struct property *p;