Lines Matching refs:chanlist
741 kfree(async->cmd.chanlist); in do_become_nonbusy()
742 async->cmd.chanlist = NULL; in do_become_nonbusy()
1707 unsigned int *chanlist; in __comedi_get_user_chanlist() local
1711 cmd->chanlist = NULL; in __comedi_get_user_chanlist()
1712 chanlist = memdup_user(user_chanlist, in __comedi_get_user_chanlist()
1714 if (IS_ERR(chanlist)) in __comedi_get_user_chanlist()
1715 return PTR_ERR(chanlist); in __comedi_get_user_chanlist()
1718 ret = comedi_check_chanlist(s, cmd->chanlist_len, chanlist); in __comedi_get_user_chanlist()
1720 kfree(chanlist); in __comedi_get_user_chanlist()
1724 cmd->chanlist = chanlist; in __comedi_get_user_chanlist()
1759 user_chanlist = (unsigned int __user *)cmd->chanlist; in do_cmd_ioctl()
1797 cmd->chanlist = (unsigned int __force *)user_chanlist; in do_cmd_ioctl()
1863 user_chanlist = (unsigned int __user *)cmd->chanlist; in do_cmdtest_ioctl()
1877 kfree(cmd->chanlist); /* free kernel copy of user chanlist */ in do_cmdtest_ioctl()
1880 cmd->chanlist = (unsigned int __force *)user_chanlist; in do_cmdtest_ioctl()
2873 compat_uptr_t chanlist; /* 32-bit 'unsigned int *' */ member
2959 cmd->chanlist = (unsigned int __force *)compat_ptr(v32.chanlist); in get_compat_cmd()
2986 v32.chanlist = ptr_to_compat((unsigned int __user *)cmd->chanlist); in put_compat_cmd()