Lines Matching refs:memptr
2049 char *memptr; in send_formatted_event() local
2051 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); in send_formatted_event()
2052 if (!memptr) in send_formatted_event()
2054 wrqu.data.pointer = memptr; in send_formatted_event()
2056 format_event(priv, memptr, str, mlme, &wrqu.data.length, in send_formatted_event()
2058 wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); in send_formatted_event()
2059 kfree(memptr); in send_formatted_event()
2066 char *memptr; in send_simple_event() local
2069 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); in send_simple_event()
2070 if (!memptr) in send_simple_event()
2073 wrqu.data.pointer = memptr; in send_simple_event()
2075 strcpy(memptr, str); in send_simple_event()
2076 wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); in send_simple_event()
2077 kfree(memptr); in send_simple_event()