Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 2 of 2) sorted by relevance

/net/irda/
Dirias_object.c92 static void __irias_delete_attrib(struct ias_attrib *attrib) in __irias_delete_attrib() argument
94 IRDA_ASSERT(attrib != NULL, return;); in __irias_delete_attrib()
95 IRDA_ASSERT(attrib->magic == IAS_ATTRIB_MAGIC, return;); in __irias_delete_attrib()
97 kfree(attrib->name); in __irias_delete_attrib()
99 irias_delete_value(attrib->value); in __irias_delete_attrib()
100 attrib->magic = ~IAS_ATTRIB_MAGIC; in __irias_delete_attrib()
102 kfree(attrib); in __irias_delete_attrib()
153 int irias_delete_attrib(struct ias_object *obj, struct ias_attrib *attrib, in irias_delete_attrib() argument
160 IRDA_ASSERT(attrib != NULL, return -1;); in irias_delete_attrib()
163 node = hashbin_remove_this(obj->attribs, (irda_queue_t *) attrib); in irias_delete_attrib()
[all …]
Diriap.c639 struct ias_attrib *attrib; in iriap_getvaluebyclass_indication() local
675 attrib = irias_find_attrib(obj, attr); in iriap_getvaluebyclass_indication()
676 if (attrib == NULL) { in iriap_getvaluebyclass_indication()
686 attrib->value); in iriap_getvaluebyclass_indication()
1016 struct ias_attrib *attrib; in irias_seq_show() local
1029 for (attrib = (struct ias_attrib *) hashbin_get_first(obj->attribs); in irias_seq_show()
1030 attrib != NULL; in irias_seq_show()
1031 attrib = (struct ias_attrib *) hashbin_get_next(obj->attribs)) { in irias_seq_show()
1033 IRDA_ASSERT(attrib->magic == IAS_ATTRIB_MAGIC, in irias_seq_show()
1037 attrib->name); in irias_seq_show()
[all …]