Home
last modified time | relevance | path

Searched refs:COPY_TO_USER (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dsynclink_cs.c85 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 macro
1776 COPY_TO_USER(err, user_icount, &info->icount, sizeof(struct mgsl_icount)); in get_stats()
1790 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()
1836 COPY_TO_USER(err,idle_mode, &info->idle_mode, sizeof(int)); in get_txidle()
1859 COPY_TO_USER(err,if_mode, &info->if_mode, sizeof(int)); in get_interface()
/kernel/linux/linux-5.10/drivers/tty/
Dsynclinkmp.c80 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 macro
2834 COPY_TO_USER(err, user_icount, &info->icount, sizeof(struct mgsl_icount)); in get_stats()
2851 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in get_params()
2899 COPY_TO_USER(err,idle_mode, &info->idle_mode, sizeof(int)); in get_txidle()
Dsynclink.c107 #define COPY_TO_USER(error,dest,src,size) error = copy_to_user(dest,src,size) ? -EFAULT : 0 macro
2418 COPY_TO_USER(err, user_icount, &info->icount, sizeof(struct mgsl_icount)); in mgsl_get_stats()
2445 COPY_TO_USER(err,user_params, &info->params, sizeof(MGSL_PARAMS)); in mgsl_get_params()
2515 COPY_TO_USER(err,idle_mode, &info->idle_mode, sizeof(int)); in mgsl_get_txidle()