• Home
  • Raw
  • Download

Lines Matching refs:name

47 struct ias_object *irias_new_object( char *name, int id)  in irias_new_object()  argument
59 obj->name = kstrndup(name, IAS_MAX_CLASSNAME, GFP_ATOMIC); in irias_new_object()
60 if (!obj->name) { in irias_new_object()
76 kfree(obj->name); in irias_new_object()
96 kfree(attrib->name); in __irias_delete_attrib()
109 kfree(obj->name); in __irias_delete_object()
192 hashbin_insert(irias_objects, (irda_queue_t *) obj, 0, obj->name); in irias_insert_object()
202 struct ias_object *irias_find_object(char *name) in irias_find_object() argument
204 IRDA_ASSERT(name != NULL, return NULL;); in irias_find_object()
207 return hashbin_lock_find(irias_objects, 0, name); in irias_find_object()
217 struct ias_attrib *irias_find_attrib(struct ias_object *obj, char *name) in irias_find_attrib() argument
223 IRDA_ASSERT(name != NULL, return NULL;); in irias_find_attrib()
225 attrib = hashbin_lock_find(obj->attribs, 0, name); in irias_find_attrib()
251 hashbin_insert(obj->attribs, (irda_queue_t *) attrib, 0, attrib->name); in irias_add_attrib()
312 void irias_add_integer_attrib(struct ias_object *obj, char *name, int value, in irias_add_integer_attrib() argument
319 IRDA_ASSERT(name != NULL, return;); in irias_add_integer_attrib()
329 attrib->name = kstrndup(name, IAS_MAX_ATTRIBNAME, GFP_ATOMIC); in irias_add_integer_attrib()
333 if (!attrib->name || !attrib->value) { in irias_add_integer_attrib()
338 kfree(attrib->name); in irias_add_integer_attrib()
354 void irias_add_octseq_attrib(struct ias_object *obj, char *name, __u8 *octets, in irias_add_octseq_attrib() argument
362 IRDA_ASSERT(name != NULL, return;); in irias_add_octseq_attrib()
373 attrib->name = kstrndup(name, IAS_MAX_ATTRIBNAME, GFP_ATOMIC); in irias_add_octseq_attrib()
376 if (!attrib->name || !attrib->value) { in irias_add_octseq_attrib()
381 kfree(attrib->name); in irias_add_octseq_attrib()
396 void irias_add_string_attrib(struct ias_object *obj, char *name, char *value, in irias_add_string_attrib() argument
404 IRDA_ASSERT(name != NULL, return;); in irias_add_string_attrib()
415 attrib->name = kstrndup(name, IAS_MAX_ATTRIBNAME, GFP_ATOMIC); in irias_add_string_attrib()
418 if (!attrib->name || !attrib->value) { in irias_add_string_attrib()
423 kfree(attrib->name); in irias_add_string_attrib()