Lines Matching defs:arg
665 static int check_user_arg(unsigned long arg, size_t arg_len)
670 (void __user *)(uintptr_t)arg, arg_len);
672 return (int)access_ok((void __user *)(uintptr_t)arg, arg_len);
676 static int get_teeos_version(uint32_t cmd, unsigned long arg)
685 ret = check_user_arg(arg,
688 tloge("check version info arg failed\n");
692 if (copy_to_user((void __user *)(uintptr_t)arg,
865 unsigned int cmd, unsigned long arg)
884 if (get_teeos_version(cmd, arg) == 0)
900 ret = get_log_pool(arg);
903 ret = log_pool_append(arg);
917 unsigned int cmd, unsigned long arg)
920 arg = (unsigned long)(uintptr_t)compat_ptr(arg);
921 return process_tlogger_ioctl(file, cmd, arg);