Lines Matching refs:up
86 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid) in cfmuxl_set_uplayer() argument
98 list_add_rcu(&up->node, &muxl->srvl_list); in cfmuxl_set_uplayer()
125 struct cflayer *up; in get_up() local
127 up = rcu_dereference(muxl->up_cache[idx]); in get_up()
128 if (up == NULL || up->id != id) { in get_up()
130 up = get_from_id(&muxl->srvl_list, id); in get_up()
131 rcu_assign_pointer(muxl->up_cache[idx], up); in get_up()
134 return up; in get_up()
153 struct cflayer *up; in cfmuxl_remove_uplayer() local
163 up = get_from_id(&muxl->srvl_list, id); in cfmuxl_remove_uplayer()
164 if (up == NULL) in cfmuxl_remove_uplayer()
168 list_del_rcu(&up->node); in cfmuxl_remove_uplayer()
171 return up; in cfmuxl_remove_uplayer()
179 struct cflayer *up; in cfmuxl_receive() local
186 up = get_up(muxl, id); in cfmuxl_receive()
188 if (up == NULL) { in cfmuxl_receive()
202 cfsrvl_get(up); in cfmuxl_receive()
205 ret = up->receive(up, pkt); in cfmuxl_receive()
207 cfsrvl_put(up); in cfmuxl_receive()