Lines Matching defs:ax25_uid
56 ax25_uid_assoc *ax25_uid, *res = NULL;
60 ax25_uid_for_each(ax25_uid, node, &ax25_uid_list) {
61 if (ax25_uid->uid == uid) {
62 ax25_uid_hold(ax25_uid);
63 res = ax25_uid;
76 ax25_uid_assoc *ax25_uid;
85 ax25_uid_for_each(ax25_uid, node, &ax25_uid_list) {
86 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) {
87 res = ax25_uid->uid;
105 if ((ax25_uid = kmalloc(sizeof(*ax25_uid), GFP_KERNEL)) == NULL)
108 atomic_set(&ax25_uid->refcount, 1);
109 ax25_uid->uid = sax->sax25_uid;
110 ax25_uid->call = sax->sax25_call;
113 hlist_add_head(&ax25_uid->uid_node, &ax25_uid_list);
122 ax25_uid = NULL;
124 ax25_uid_for_each(ax25_uid, node, &ax25_uid_list) {
125 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0)
128 if (ax25_uid == NULL) {
132 hlist_del_init(&ax25_uid->uid_node);
133 ax25_uid_put(ax25_uid);
207 ax25_uid_assoc *ax25_uid;
212 ax25_uid_for_each(ax25_uid, node, &ax25_uid_list) {
213 hlist_del_init(&ax25_uid->uid_node);
214 ax25_uid_put(ax25_uid);