Searched refs:p_ca_caps (Results 1 – 1 of 1) sorted by relevance
236 static int ca_get_slot_caps(struct dst_state *state, struct ca_caps *p_ca_caps, void __user *arg) in ca_get_slot_caps() argument257 p_ca_caps->slot_num = 1; in ca_get_slot_caps()258 p_ca_caps->slot_type = 1; in ca_get_slot_caps()259 p_ca_caps->descr_num = slot_cap[7]; in ca_get_slot_caps()260 p_ca_caps->descr_type = 1; in ca_get_slot_caps()262 if (copy_to_user(arg, p_ca_caps, sizeof (struct ca_caps))) in ca_get_slot_caps()558 struct ca_caps *p_ca_caps; in dst_ca_ioctl() local568 p_ca_caps = kmalloc(sizeof (struct ca_caps), GFP_KERNEL); in dst_ca_ioctl()569 if (!p_ca_message || !p_ca_slot_info || !p_ca_caps) { in dst_ca_ioctl()610 if ((ca_get_slot_caps(state, p_ca_caps, arg)) < 0) { in dst_ca_ioctl()[all …]