Lines Matching refs:wimax_dev
120 struct sk_buff *wimax_msg_alloc(struct wimax_dev *wimax_dev, in wimax_msg_alloc() argument
126 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_msg_alloc()
145 wimax_dev->net_dev->ifindex); in wimax_msg_alloc()
273 int wimax_msg_send(struct wimax_dev *wimax_dev, struct sk_buff *skb) in wimax_msg_send() argument
275 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_msg_send()
309 int wimax_msg(struct wimax_dev *wimax_dev, const char *pipe_name, in wimax_msg() argument
315 skb = wimax_msg_alloc(wimax_dev, pipe_name, buf, size, gfp_flags); in wimax_msg()
319 result = wimax_msg_send(wimax_dev, skb); in wimax_msg()
335 struct wimax_dev *wimax_dev; in wimax_gnl_doit_msg_from_user() local
350 wimax_dev = wimax_dev_get_by_genl_info(info, ifindex); in wimax_gnl_doit_msg_from_user()
351 if (wimax_dev == NULL) in wimax_gnl_doit_msg_from_user()
353 dev = wimax_dev_to_dev(wimax_dev); in wimax_gnl_doit_msg_from_user()
377 mutex_lock(&wimax_dev->mutex); in wimax_gnl_doit_msg_from_user()
378 result = wimax_dev_is_ready(wimax_dev); in wimax_gnl_doit_msg_from_user()
384 if (wimax_dev->op_msg_from_user == NULL) in wimax_gnl_doit_msg_from_user()
394 result = wimax_dev->op_msg_from_user(wimax_dev, pipe_name, in wimax_gnl_doit_msg_from_user()
398 mutex_unlock(&wimax_dev->mutex); in wimax_gnl_doit_msg_from_user()
402 dev_put(wimax_dev->net_dev); in wimax_gnl_doit_msg_from_user()