Searched refs:chsc_area (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/s390/cio/
H A Dioasm.h138 static inline int chsc(void *chsc_area) chsc() argument
147 : "=d" (cc), "=m" (*(addr_type *) chsc_area) chsc()
148 : "d" (chsc_area), "m" (*(addr_type *) chsc_area) chsc()
H A Dchsc_sch.c230 * @chsc_area: request to be started
242 static int chsc_async(struct chsc_async_area *chsc_area, chsc_async() argument
251 chsc_area->header.key = PAGE_DEFAULT_KEY >> 4; chsc_async()
260 chsc_area->header.sid = sch->schid; chsc_async()
263 cc = chsc(chsc_area); chsc_async()
293 static void chsc_log_command(void *chsc_area) chsc_log_command() argument
297 snprintf(dbf, sizeof(dbf), "CHSC:%x", ((uint16_t *)chsc_area)[1]); chsc_log_command()
299 CHSC_LOG_HEX(0, chsc_area, 32); chsc_log_command()
328 struct chsc_async_area *chsc_area; chsc_ioctl_start() local
335 chsc_area = (void *)get_zeroed_page(GFP_DMA | GFP_KERNEL); chsc_ioctl_start()
336 if (!chsc_area) chsc_ioctl_start()
344 if (copy_from_user(chsc_area, user_area, PAGE_SIZE)) { chsc_ioctl_start()
348 chsc_log_command(chsc_area); chsc_ioctl_start()
350 ret = chsc_async(chsc_area, request); chsc_ioctl_start()
358 if (copy_to_user(user_area, chsc_area, PAGE_SIZE)) chsc_ioctl_start()
364 free_page((unsigned long)chsc_area); chsc_ioctl_start()
432 struct chsc_sync_area *chsc_area; chsc_ioctl_start_sync() local
435 chsc_area = (void *)get_zeroed_page(GFP_KERNEL | GFP_DMA); chsc_ioctl_start_sync()
436 if (!chsc_area) chsc_ioctl_start_sync()
438 if (copy_from_user(chsc_area, user_area, PAGE_SIZE)) { chsc_ioctl_start_sync()
442 if (chsc_area->header.code & 0x4000) { chsc_ioctl_start_sync()
446 chsc_log_command(chsc_area); chsc_ioctl_start_sync()
447 ccode = chsc(chsc_area); chsc_ioctl_start_sync()
452 if (copy_to_user(user_area, chsc_area, PAGE_SIZE)) chsc_ioctl_start_sync()
457 free_page((unsigned long)chsc_area); chsc_ioctl_start_sync()

Completed in 83 milliseconds