Lines Matching refs:arg
133 static int gru_create_new_context(unsigned long arg) in gru_create_new_context() argument
140 if (copy_from_user(&req, (void __user *)arg, sizeof(req))) in gru_create_new_context()
170 static long gru_get_config_info(unsigned long arg) in gru_get_config_info() argument
186 if (copy_to_user((void __user *)arg, &info, sizeof(info))) in gru_get_config_info()
197 unsigned long arg) in gru_file_unlocked_ioctl() argument
201 gru_dbg(grudev, "file %p, req 0x%x, 0x%lx\n", file, req, arg); in gru_file_unlocked_ioctl()
205 err = gru_create_new_context(arg); in gru_file_unlocked_ioctl()
208 err = gru_set_context_option(arg); in gru_file_unlocked_ioctl()
211 err = gru_get_exception_detail(arg); in gru_file_unlocked_ioctl()
214 err = gru_user_unload_context(arg); in gru_file_unlocked_ioctl()
217 err = gru_user_flush_tlb(arg); in gru_file_unlocked_ioctl()
220 err = gru_handle_user_call_os(arg); in gru_file_unlocked_ioctl()
223 err = gru_get_gseg_statistics(arg); in gru_file_unlocked_ioctl()
226 err = gru_ktest(arg); in gru_file_unlocked_ioctl()
229 err = gru_get_config_info(arg); in gru_file_unlocked_ioctl()
232 err = gru_dump_chiplet_request(arg); in gru_file_unlocked_ioctl()