Lines Matching refs:handler
2349 const struct ioctl_handler *handler; in snd_seq_ioctl() local
2365 for (handler = ioctl_handlers; handler->cmd > 0; ++handler) { in snd_seq_ioctl()
2366 if (handler->cmd == cmd) in snd_seq_ioctl()
2369 if (handler->cmd == 0) in snd_seq_ioctl()
2378 size = _IOC_SIZE(handler->cmd); in snd_seq_ioctl()
2379 if (handler->cmd & IOC_IN) { in snd_seq_ioctl()
2385 err = handler->func(client, &buf); in snd_seq_ioctl()
2389 if (handler->cmd == SNDRV_SEQ_IOCTL_SET_QUEUE_CLIENT || in snd_seq_ioctl()
2390 handler->cmd == SNDRV_SEQ_IOCTL_SET_CLIENT_POOL || in snd_seq_ioctl()
2391 (handler->cmd & IOC_OUT)) in snd_seq_ioctl()
2575 const struct ioctl_handler *handler; in snd_seq_kernel_client_ctl() local
2582 for (handler = ioctl_handlers; handler->cmd > 0; ++handler) { in snd_seq_kernel_client_ctl()
2583 if (handler->cmd == cmd) in snd_seq_kernel_client_ctl()
2584 return handler->func(client, arg); in snd_seq_kernel_client_ctl()