Home
last modified time | relevance | path

Searched refs:user_icount (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/char/pcmcia/
Dsynclink_cs.c422 static int get_stats(MGSLPC_INFO *info, struct mgsl_icount __user *user_icount);
1762 static int get_stats(MGSLPC_INFO * info, struct mgsl_icount __user *user_icount) in get_stats() argument
1767 if (!user_icount) { in get_stats()
1770 COPY_TO_USER(err, user_icount, &info->icount, sizeof(struct mgsl_icount)); in get_stats()
/Linux-v6.1/drivers/tty/
Dsynclink_gt.c451 static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount);
2507 static int get_stats(struct slgt_info *info, struct mgsl_icount __user *user_icount) in get_stats() argument
2510 if (!user_icount) { in get_stats()
2513 if (copy_to_user(user_icount, &info->icount, sizeof(struct mgsl_icount))) in get_stats()