Searched refs:curr_priv (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/char/agp/ |
D | compat_ioctl.c | 212 struct agp_file_private *curr_priv = file->private_data; in compat_agp_ioctl() local 228 if (!(test_bit(AGP_FF_IS_CONTROLLER, &curr_priv->access_flags))) { in compat_agp_ioctl() 235 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in compat_agp_ioctl() 243 ret_val = compat_agpioc_info_wrap(curr_priv, (void __user *) arg); in compat_agp_ioctl() 247 ret_val = agpioc_acquire_wrap(curr_priv); in compat_agp_ioctl() 251 ret_val = agpioc_release_wrap(curr_priv); in compat_agp_ioctl() 255 ret_val = agpioc_setup_wrap(curr_priv, (void __user *) arg); in compat_agp_ioctl() 259 ret_val = compat_agpioc_reserve_wrap(curr_priv, (void __user *) arg); in compat_agp_ioctl() 263 ret_val = agpioc_protect_wrap(curr_priv); in compat_agp_ioctl() 267 ret_val = compat_agpioc_allocate_wrap(curr_priv, (void __user *) arg); in compat_agp_ioctl() [all …]
|
D | frontend.c | 952 struct agp_file_private *curr_priv = file->private_data; in agp_ioctl() local 955 DBG("priv=%p, cmd=%x", curr_priv, cmd); in agp_ioctl() 969 if (!(test_bit(AGP_FF_IS_CONTROLLER, &curr_priv->access_flags))) { in agp_ioctl() 976 if (agp_fe.current_controller->pid != curr_priv->my_pid) { in agp_ioctl() 984 ret_val = agpioc_info_wrap(curr_priv, (void __user *) arg); in agp_ioctl() 988 ret_val = agpioc_acquire_wrap(curr_priv); in agp_ioctl() 992 ret_val = agpioc_release_wrap(curr_priv); in agp_ioctl() 996 ret_val = agpioc_setup_wrap(curr_priv, (void __user *) arg); in agp_ioctl() 1000 ret_val = agpioc_reserve_wrap(curr_priv, (void __user *) arg); in agp_ioctl() 1004 ret_val = agpioc_protect_wrap(curr_priv); in agp_ioctl() [all …]
|