Lines Matching defs:arg

26 #define dprintk(x, y, z, format, arg...) do {						\
29 printk(KERN_ERR "%s: " format "\n", __func__ , ##arg); \
31 printk(KERN_NOTICE "%s: " format "\n", __func__ , ##arg); \
33 printk(KERN_INFO "%s: " format "\n", __func__ , ##arg); \
35 printk(KERN_DEBUG "%s: " format "\n", __func__ , ##arg); \
38 printk(format, ## arg); \
210 static int ca_get_slot_caps(struct dst_state *state, struct ca_caps *p_ca_caps, void __user *arg)
236 if (copy_to_user(arg, p_ca_caps, sizeof (struct ca_caps)))
243 static int ca_get_slot_descr(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg)
249 static int ca_get_slot_info(struct dst_state *state, struct ca_slot_info *p_ca_slot_info, void __user *arg)
282 if (copy_to_user(arg, p_ca_slot_info, sizeof (struct ca_slot_info)))
289 static int ca_get_message(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg)
294 if (copy_from_user(p_ca_message, arg, sizeof (struct ca_msg)))
310 if (copy_to_user(arg, p_ca_message, sizeof (struct ca_msg)) )
315 if (copy_to_user(arg, p_ca_message, sizeof (struct ca_msg)) )
450 static int ca_send_message(struct dst_state *state, struct ca_msg *p_ca_message, void __user *arg)
462 if (copy_from_user(p_ca_message, arg, sizeof (struct ca_msg))) {
532 void __user *arg = (void __user *)ioctl_arg;
550 result = ca_send_message(state, p_ca_message, arg);
559 result = ca_get_message(state, p_ca_message, arg);
573 result = ca_get_slot_info(state, p_ca_slot_info, arg);
583 result = ca_get_slot_caps(state, p_ca_caps, arg);
592 result = ca_get_slot_descr(state, p_ca_message, arg);