Lines Matching refs:memptr
2048 char *memptr; in send_formatted_event() local
2050 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); in send_formatted_event()
2051 if (!memptr) in send_formatted_event()
2053 wrqu.data.pointer = memptr; in send_formatted_event()
2055 format_event(priv, memptr, str, mlme, &wrqu.data.length, in send_formatted_event()
2057 wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); in send_formatted_event()
2058 kfree(memptr); in send_formatted_event()
2065 char *memptr; in send_simple_event() local
2068 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); in send_simple_event()
2069 if (!memptr) in send_simple_event()
2072 wrqu.data.pointer = memptr; in send_simple_event()
2074 strcpy(memptr, str); in send_simple_event()
2075 wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); in send_simple_event()
2076 kfree(memptr); in send_simple_event()