Lines Matching defs:extra
454 const char * extra)
477 * for compat, due to being contained in 'extra', but normally
482 if (WARN_ON(cmd == SIOCGIWSCAN && extra))
483 extra = NULL;
509 /* Check extra parameters and set extra_len */
522 /* Calculate extra_len - extra is NULL for restricted events */
523 if (extra != NULL)
548 * | extra data ...
581 memcpy(((char *) event) + hdr_len, extra, extra_len);
624 extra, extra_len);
626 /* extra_len must be zero, so no if (extra) needed */
679 char * extra)
686 /* Copy statistics to extra */
687 memcpy(extra, stats, sizeof(struct iw_statistics));
742 char *extra;
819 * bytes of data for extra.
825 extra = kzalloc(extra_size, GFP_KERNEL);
826 if (!extra)
829 /* If it is a SET, get all the extra data in here */
831 if (copy_from_user(extra, iwp->pointer,
839 struct iw_encode_ext *ee = (void *) extra;
850 * If this is a GET, but not NOMAX, it means that the extra
852 * set the length to max_tokens. This matches the extra data
864 err = handler(dev, info, (union iwreq_data *) iwp, extra);
876 if (copy_to_user(iwp->pointer, extra,
895 wireless_send_event(dev, cmd, data, extra);
899 kfree(extra);
1041 /* No extra arguments. Trivial to handle */
1171 char *ends, struct iw_event *iwe, char *extra)
1184 if (iwe->u.data.length && extra)
1185 memcpy(stream + point_len, extra, iwe->u.data.length);