Searched refs:user_iob (Results 1 – 1 of 1) sorted by relevance
206 papr_sysparm_buf_from_user(const struct papr_sysparm_io_block __user *user_iob) in papr_sysparm_buf_from_user() argument216 if (get_user(len, &user_iob->length)) in papr_sysparm_buf_from_user()219 static_assert(sizeof(user_iob->data) >= PAPR_SYSPARM_MAX_INPUT); in papr_sysparm_buf_from_user()231 if (len > 0 && copy_from_user(kern_spbuf->val, user_iob->data, len)) { in papr_sysparm_buf_from_user()244 struct papr_sysparm_io_block __user *user_iob) in papr_sysparm_buf_to_user() argument248 if (put_user(len_out, &user_iob->length)) in papr_sysparm_buf_to_user()251 static_assert(sizeof(user_iob->data) >= PAPR_SYSPARM_MAX_OUTPUT); in papr_sysparm_buf_to_user()254 if (copy_to_user(user_iob->data, kern_spbuf->val, PAPR_SYSPARM_MAX_OUTPUT)) in papr_sysparm_buf_to_user()260 static long papr_sysparm_ioctl_get(struct papr_sysparm_io_block __user *user_iob) in papr_sysparm_ioctl_get() argument266 if (get_user(param.token, &user_iob->parameter)) in papr_sysparm_ioctl_get()[all …]