Searched refs:uwork (Results 1 – 2 of 2) sorted by relevance
198 struct ucsi_work *uwork = container_of(work, struct ucsi_work, work.work); in ucsi_poll_worker() local199 struct ucsi_connector *con = uwork->con; in ucsi_poll_worker()206 kfree(uwork); in ucsi_poll_worker()210 ret = uwork->cb(con); in ucsi_poll_worker()212 if (uwork->count-- && (ret == -EBUSY || ret == -ETIMEDOUT)) in ucsi_poll_worker()213 queue_delayed_work(con->wq, &uwork->work, uwork->delay); in ucsi_poll_worker()215 kfree(uwork); in ucsi_poll_worker()224 struct ucsi_work *uwork; in ucsi_partner_task() local229 uwork = kzalloc(sizeof(*uwork), GFP_KERNEL); in ucsi_partner_task()230 if (!uwork) in ucsi_partner_task()[all …]
148 struct cxl_ioctl_start_work __user *uwork) in afu_ioctl_start_work() argument158 if (copy_from_user(&work, uwork, sizeof(work))) in afu_ioctl_start_work()269 if (copy_to_user(uwork, &work, sizeof(work))) in afu_ioctl_start_work()