Lines Matching refs:wimax_dev
105 struct sk_buff *wimax_msg_alloc(struct wimax_dev *wimax_dev, in wimax_msg_alloc() argument
111 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_msg_alloc()
130 wimax_dev->net_dev->ifindex); in wimax_msg_alloc()
258 int wimax_msg_send(struct wimax_dev *wimax_dev, struct sk_buff *skb) in wimax_msg_send() argument
260 struct device *dev = wimax_dev_to_dev(wimax_dev); in wimax_msg_send()
294 int wimax_msg(struct wimax_dev *wimax_dev, const char *pipe_name, in wimax_msg() argument
300 skb = wimax_msg_alloc(wimax_dev, pipe_name, buf, size, gfp_flags); in wimax_msg()
304 result = wimax_msg_send(wimax_dev, skb); in wimax_msg()
320 struct wimax_dev *wimax_dev; in wimax_gnl_doit_msg_from_user() local
335 wimax_dev = wimax_dev_get_by_genl_info(info, ifindex); in wimax_gnl_doit_msg_from_user()
336 if (wimax_dev == NULL) in wimax_gnl_doit_msg_from_user()
338 dev = wimax_dev_to_dev(wimax_dev); in wimax_gnl_doit_msg_from_user()
362 mutex_lock(&wimax_dev->mutex); in wimax_gnl_doit_msg_from_user()
363 result = wimax_dev_is_ready(wimax_dev); in wimax_gnl_doit_msg_from_user()
369 if (wimax_dev->op_msg_from_user == NULL) in wimax_gnl_doit_msg_from_user()
379 result = wimax_dev->op_msg_from_user(wimax_dev, pipe_name, in wimax_gnl_doit_msg_from_user()
383 mutex_unlock(&wimax_dev->mutex); in wimax_gnl_doit_msg_from_user()
387 dev_put(wimax_dev->net_dev); in wimax_gnl_doit_msg_from_user()