Lines Matching defs:rcvr
492 struct cmd_rcvr *rcvr, *rcvr2;
507 list_for_each_entry_safe(rcvr, rcvr2, &list, link)
508 kfree(rcvr);
984 struct cmd_rcvr *rcvr;
1009 list_for_each_entry_rcu(rcvr, &intf->cmd_rcvrs, link) {
1010 if (rcvr->user == user) {
1011 list_del_rcu(&rcvr->link);
1012 rcvr->next = rcvrs;
1013 rcvrs = rcvr;
1019 rcvr = rcvrs;
1020 rcvrs = rcvr->next;
1021 kfree(rcvr);
1207 struct cmd_rcvr *rcvr;
1209 list_for_each_entry_rcu(rcvr, &intf->cmd_rcvrs, link) {
1210 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd)
1211 && (rcvr->chans & (1 << chan)))
1212 return rcvr;
1222 struct cmd_rcvr *rcvr;
1224 list_for_each_entry_rcu(rcvr, &intf->cmd_rcvrs, link) {
1225 if ((rcvr->netfn == netfn) && (rcvr->cmd == cmd)
1226 && (rcvr->chans & chans))
1238 struct cmd_rcvr *rcvr;
1242 rcvr = kmalloc(sizeof(*rcvr), GFP_KERNEL);
1243 if (!rcvr)
1245 rcvr->cmd = cmd;
1246 rcvr->netfn = netfn;
1247 rcvr->chans = chans;
1248 rcvr->user = user;
1257 list_add_rcu(&rcvr->link, &intf->cmd_rcvrs);
1262 kfree(rcvr);
1274 struct cmd_rcvr *rcvr;
1282 rcvr = find_cmd_rcvr(intf, netfn, cmd, i);
1283 if (rcvr == NULL)
1285 if (rcvr->user == user) {
1287 rcvr->chans &= ~chans;
1288 if (rcvr->chans == 0) {
1289 list_del_rcu(&rcvr->link);
1290 rcvr->next = rcvrs;
1291 rcvrs = rcvr;
1298 rcvr = rcvrs;
1299 rcvrs = rcvr->next;
1300 kfree(rcvr);
3017 struct cmd_rcvr *rcvr;
3043 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan);
3044 if (rcvr) {
3045 user = rcvr->user;
3207 struct cmd_rcvr *rcvr;
3232 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan);
3233 if (rcvr) {
3234 user = rcvr->user;
3307 struct cmd_rcvr *rcvr;
3340 rcvr = find_cmd_rcvr(intf, netfn, cmd, chan);
3341 if (rcvr) {
3342 user = rcvr->user;