Searched refs:uwork (Results 1 – 2 of 2) sorted by relevance
208 struct ucsi_work *uwork = container_of(work, struct ucsi_work, work.work); in ucsi_poll_worker() local209 struct ucsi_connector *con = uwork->con; in ucsi_poll_worker()216 kfree(uwork); in ucsi_poll_worker()220 ret = uwork->cb(con); in ucsi_poll_worker()222 if (uwork->count-- && (ret == -EBUSY || ret == -ETIMEDOUT)) in ucsi_poll_worker()223 queue_delayed_work(con->wq, &uwork->work, uwork->delay); in ucsi_poll_worker()225 kfree(uwork); in ucsi_poll_worker()234 struct ucsi_work *uwork; in ucsi_partner_task() local239 uwork = kzalloc(sizeof(*uwork), GFP_KERNEL); in ucsi_partner_task()240 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()