Searched refs:ax25_uid (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/net/ax25/
H A Dax25_uid.c56 ax25_uid_assoc *ax25_uid, *res = NULL; ax25_findbyuid() local
59 ax25_uid_for_each(ax25_uid, &ax25_uid_list) { ax25_findbyuid()
60 if (uid_eq(ax25_uid->uid, uid)) { ax25_findbyuid()
61 ax25_uid_hold(ax25_uid); ax25_findbyuid()
62 res = ax25_uid; ax25_findbyuid()
75 ax25_uid_assoc *ax25_uid; ax25_uid_ioctl() local
83 ax25_uid_for_each(ax25_uid, &ax25_uid_list) { ax25_uid_ioctl()
84 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) { ax25_uid_ioctl()
85 res = from_kuid_munged(current_user_ns(), ax25_uid->uid); ax25_uid_ioctl()
108 if ((ax25_uid = kmalloc(sizeof(*ax25_uid), GFP_KERNEL)) == NULL) ax25_uid_ioctl()
111 atomic_set(&ax25_uid->refcount, 1); ax25_uid_ioctl()
112 ax25_uid->uid = sax25_kuid; ax25_uid_ioctl()
113 ax25_uid->call = sax->sax25_call; ax25_uid_ioctl()
116 hlist_add_head(&ax25_uid->uid_node, &ax25_uid_list); ax25_uid_ioctl()
125 ax25_uid = NULL; ax25_uid_ioctl()
127 ax25_uid_for_each(ax25_uid, &ax25_uid_list) { ax25_uid_ioctl()
128 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) ax25_uid_ioctl()
131 if (ax25_uid == NULL) { ax25_uid_ioctl()
135 hlist_del_init(&ax25_uid->uid_node); ax25_uid_ioctl()
136 ax25_uid_put(ax25_uid); ax25_uid_ioctl()
212 ax25_uid_assoc *ax25_uid; ax25_uid_free() local
216 ax25_uid_for_each(ax25_uid, &ax25_uid_list) { ax25_uid_free()
217 hlist_del_init(&ax25_uid->uid_node); ax25_uid_free()
218 ax25_uid_put(ax25_uid); ax25_uid_free()
H A DMakefile9 ax25_subr.o ax25_timer.o ax25_uid.o af_ax25.o
/linux-4.1.27/include/net/
H A Dax25.h437 /* ax25_uid.c */

Completed in 95 milliseconds