Lines Matching refs:nreg
503 struct cfg80211_mgmt_registration *reg, *nreg;
544 nreg = kzalloc(sizeof(*reg) + match_len, GFP_KERNEL);
545 if (!nreg)
572 kfree(nreg);
574 memcpy(nreg->match, match_data, match_len);
575 nreg->match_len = match_len;
576 nreg->nlportid = snd_portid;
577 nreg->frame_type = cpu_to_le16(frame_type);
578 nreg->wdev = wdev;
579 nreg->multicast_rx = multicast_rx;
580 list_add(&nreg->list, &wdev->mgmt_registrations);
590 kfree(nreg);