Lines Matching refs:arg
528 static int kcov_get_mode(unsigned long arg) in kcov_get_mode() argument
530 if (arg == KCOV_TRACE_PC) in kcov_get_mode()
532 else if (arg == KCOV_TRACE_CMP) in kcov_get_mode()
575 unsigned long arg) in kcov_ioctl_locked() argument
597 mode = kcov_get_mode(arg); in kcov_ioctl_locked()
610 unused = arg; in kcov_ioctl_locked()
625 remote_arg = (struct kcov_remote_arg *)arg; in kcov_ioctl_locked()
680 static long kcov_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) in kcov_ioctl() argument
700 size = arg; in kcov_ioctl()
718 if (get_user(remote_num_handles, (unsigned __user *)(arg + in kcov_ioctl()
725 remote_arg = memdup_user((void __user *)arg, remote_arg_size); in kcov_ioctl()
732 arg = (unsigned long)remote_arg; in kcov_ioctl()
740 res = kcov_ioctl_locked(kcov, cmd, arg); in kcov_ioctl()