Lines Matching refs:on_close_chsc_area
34 static struct chsc_async_area *on_close_chsc_area; variable
335 if (on_close_chsc_area) { in chsc_ioctl_on_close_set()
344 on_close_chsc_area = (void *)get_zeroed_page(GFP_KERNEL); in chsc_ioctl_on_close_set()
345 if (!on_close_chsc_area) { in chsc_ioctl_on_close_set()
349 if (copy_from_user(on_close_chsc_area, user_area, PAGE_SIZE)) { in chsc_ioctl_on_close_set()
357 free_page((unsigned long)on_close_chsc_area); in chsc_ioctl_on_close_set()
358 on_close_chsc_area = NULL; in chsc_ioctl_on_close_set()
375 if (!on_close_chsc_area) { in chsc_ioctl_on_close_remove()
379 free_page((unsigned long)on_close_chsc_area); in chsc_ioctl_on_close_remove()
380 on_close_chsc_area = NULL; in chsc_ioctl_on_close_remove()
897 if (!on_close_chsc_area) in chsc_release()
901 chsc_log_command(on_close_chsc_area); in chsc_release()
903 ret = chsc_async(on_close_chsc_area, on_close_request); in chsc_release()
911 free_page((unsigned long)on_close_chsc_area); in chsc_release()
912 on_close_chsc_area = NULL; in chsc_release()