Lines Matching defs:ax25_uid
52 ax25_uid_assoc *ax25_uid, *res = NULL;
55 ax25_uid_for_each(ax25_uid, &ax25_uid_list) {
56 if (uid_eq(ax25_uid->uid, uid)) {
57 ax25_uid_hold(ax25_uid);
58 res = ax25_uid;
71 ax25_uid_assoc *ax25_uid;
79 ax25_uid_for_each(ax25_uid, &ax25_uid_list) {
80 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) {
81 res = from_kuid_munged(current_user_ns(), ax25_uid->uid);
104 if ((ax25_uid = kmalloc(sizeof(*ax25_uid), GFP_KERNEL)) == NULL)
107 refcount_set(&ax25_uid->refcount, 1);
108 ax25_uid->uid = sax25_kuid;
109 ax25_uid->call = sax->sax25_call;
112 hlist_add_head(&ax25_uid->uid_node, &ax25_uid_list);
121 ax25_uid = NULL;
123 ax25_uid_for_each(ax25_uid, &ax25_uid_list) {
124 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0)
127 if (ax25_uid == NULL) {
131 hlist_del_init(&ax25_uid->uid_node);
132 ax25_uid_put(ax25_uid);
194 ax25_uid_assoc *ax25_uid;
198 ax25_uid_for_each(ax25_uid, &ax25_uid_list) {
199 hlist_del_init(&ax25_uid->uid_node);
200 ax25_uid_put(ax25_uid);