Searched refs:user_icount (Results 1 – 2 of 2) sorted by relevance
422 static int get_stats(MGSLPC_INFO *info, struct mgsl_icount __user *user_icount);1760 static int get_stats(MGSLPC_INFO * info, struct mgsl_icount __user *user_icount) in get_stats() argument1765 if (!user_icount) { in get_stats()1768 COPY_TO_USER(err, user_icount, &info->icount, sizeof(struct mgsl_icount)); in get_stats()
454 static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount);2513 static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount) in get_stats() argument2516 if (!user_icount) { in get_stats()2519 if (copy_to_user(user_icount, &info->icount, sizeof(struct mgsl_icount))) in get_stats()