HomeSort by: relevance | last modified time | path
    Searched defs:task (Results 1 - 25 of 27) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/dist/drm/
drm_flip_work.c 36 * drm_flip_work_allocate_task - allocate a flip-work task
37 * @data: data associated to the task
44 struct drm_flip_task *task; local in function:drm_flip_work_allocate_task
46 task = kzalloc(sizeof(*task), flags);
47 if (task)
48 task->data = data;
50 return task;
55 * drm_flip_work_queue_task - queue a specific task
57 * @task: the task to handl
83 struct drm_flip_task *task; local in function:drm_flip_work_queue
126 struct drm_flip_task *task, *tmp; local in function:flip_worker
    [all...]
drm_debugfs.c 98 struct task_struct *task; local in function:drm_clients_info
101 task = pid_task(priv->pid, PIDTYPE_PID);
102 uid = task ? __task_cred(task)->euid : GLOBAL_ROOT_UID;
104 task ? task->comm : "<unknown>",
drm_syncobj.c 165 struct task_struct *task; member in struct:syncobj_wait_entry
374 wait.task = current;
1013 wake_up_process(wait->task);
1043 wake_up_process(wait->task);
1098 entries[i].task = current;
  /src/sys/arch/arm/nvidia/
tegra_drm.c 245 struct tegra_drm_task *const task = local in function:tegra_drm_attach
249 (*task->tdt_fn)(task);
287 struct tegra_drm_task *task = container_of(work, struct tegra_drm_task, local in function:tegra_drm_task_work
290 (*task->tdt_fn)(task);
294 tegra_task_init(struct tegra_drm_task *task,
298 task->tdt_fn = fn;
302 tegra_task_schedule(device_t self, struct tegra_drm_task *task)
307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, tdt_u.queue)
    [all...]
  /src/sys/external/bsd/drm2/i915drm/
i915_pci_autoconf.c 213 struct i915drmkms_task *const task = local in function:i915drmkms_attach_real
217 (*task->ift_fn)(task);
295 struct i915drmkms_task *const task = container_of(work, local in function:i915drmkms_task_work
298 (*task->ift_fn)(task);
302 i915drmkms_task_schedule(device_t self, struct i915drmkms_task *task)
307 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, ift_u.queue);
309 workqueue_enqueue(sc->sc_task_wq, &task->ift_u.work, NULL);
  /src/sys/external/bsd/drm2/amdgpu/
amdgpu_pci.c 215 struct amdgpu_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local in function:amdgpu_attach_real
218 (*task->rt_fn)(task);
291 struct amdgpu_task *const task = container_of(work, struct amdgpu_task, local in function:amdgpu_task_work
294 (*task->rt_fn)(task);
298 amdgpu_task_schedule(device_t self, struct amdgpu_task *task)
303 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue);
305 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
  /src/sys/external/bsd/drm2/vmwgfx/
vmwgfx_pci.c 246 struct vmwgfx_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local in function:vmwgfx_attach_real
249 (*task->vt_fn)(task);
319 struct vmwgfx_task *const task = container_of(work, struct vmwgfx_task, local in function:vmwgfx_task_work
322 (*task->vt_fn)(task);
326 vmwgfx_task_schedule(device_t self, struct vmwgfx_task *task)
331 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, vt_u.queue);
333 workqueue_enqueue(sc->sc_task_wq, &task->vt_u.work, NULL);
  /src/sys/external/bsd/drm2/nouveau/
nouveau_pci.c 269 struct nouveau_pci_task *const task = local in function:nouveau_pci_attach_real
273 (*task->nt_fn)(task);
350 struct nouveau_pci_task *const task = container_of(work, local in function:nouveau_pci_task_work
353 (*task->nt_fn)(task);
357 nouveau_pci_task_schedule(device_t self, struct nouveau_pci_task *task)
362 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, nt_u.queue);
364 workqueue_enqueue(sc->sc_task_wq, &task->nt_u.work, NULL);
  /src/sys/external/bsd/drm2/radeon/
radeon_pci.c 320 struct radeon_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local in function:radeon_attach_real
323 (*task->rt_fn)(task);
398 struct radeon_task *const task = container_of(work, struct radeon_task, local in function:radeon_task_work
401 (*task->rt_fn)(task);
405 radeon_task_schedule(device_t self, struct radeon_task *task)
410 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rt_u.queue);
412 workqueue_enqueue(sc->sc_task_wq, &task->rt_u.work, NULL);
  /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/smumgr/
amdgpu_smu8_smumgr.c 341 struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; local in function:smu8_smu_populate_single_scratch_task
343 task->type = type;
344 task->arg = smu8_translate_firmware_enum_to_arg(hwmgr, fw_enum);
345 task->next = is_last ? END_OF_TASK_LIST : smu8_smu->toc_entry_used_count;
356 task->addr.low = lower_32_bits(smu8_smu->scratch_buffer[i].mc_addr);
357 task->addr.high = upper_32_bits(smu8_smu->scratch_buffer[i].mc_addr);
358 task->size_bytes = smu8_smu->scratch_buffer[i].data_size;
378 struct SMU_Task *task = &toc->tasks[smu8_smu->toc_entry_used_count++]; local in function:smu8_smu_populate_single_ucode_load_task
380 task->type = TASK_TYPE_UCODE_LOAD;
381 task->arg = smu8_translate_firmware_enum_to_arg(hwmgr, fw_enum)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gem/
i915_gem_userptr.c 437 struct task_struct *task; member in struct:get_pages_work
517 (work->task, mm,
556 put_task_struct(work->task);
575 * cancelled or superseded, the task is still run
592 work->task = current;
593 get_task_struct(work->task);
  /src/sys/arch/arm/rockchip/
rk_drm.c 207 struct rk_drm_task *const task = SIMPLEQ_FIRST(&sc->sc_tasks); local in function:rk_drm_init
210 (*task->rdt_fn)(task);
488 struct rk_drm_task *task = container_of(work, struct rk_drm_task, local in function:rk_drm_task_work
491 (*task->rdt_fn)(task);
495 rk_task_init(struct rk_drm_task *task,
499 task->rdt_fn = fn;
503 rk_task_schedule(device_t self, struct rk_drm_task *task)
508 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, rdt_u.queue)
    [all...]
  /src/sys/arch/arm/sunxi/
sunxi_drm.c 219 struct sunxi_drm_task *const task = local in function:sunxi_drm_init
223 (*task->sdt_fn)(task);
581 struct sunxi_drm_task *task = container_of(work, struct sunxi_drm_task, local in function:sunxi_drm_task_work
584 (*task->sdt_fn)(task);
588 sunxi_task_init(struct sunxi_drm_task *task,
592 task->sdt_fn = fn;
596 sunxi_task_schedule(device_t self, struct sunxi_drm_task *task)
601 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, sdt_u.queue)
    [all...]
sun8i_crypto.c 269 SDT_PROBE_DEFINE1(sdt, sun8i_crypto, task, ctor__success,
270 "struct sun8i_crypto_task *"/*task*/);
271 SDT_PROBE_DEFINE1(sdt, sun8i_crypto, task, ctor__failure,
273 SDT_PROBE_DEFINE1(sdt, sun8i_crypto, task, dtor,
274 "struct sun8i_crypto_task *"/*task*/);
275 SDT_PROBE_DEFINE1(sdt, sun8i_crypto, task, get,
276 "struct sun8i_crypto_task *"/*task*/);
277 SDT_PROBE_DEFINE1(sdt, sun8i_crypto, task, put,
278 "struct sun8i_crypto_task *"/*task*/);
280 SDT_PROBE_DEFINE6(sdt, sun8i_crypto, task, load
510 struct sun8i_crypto_task *task = vtask; local in function:sun8i_crypto_task_ctor
592 struct sun8i_crypto_task *task = vtask; local in function:sun8i_crypto_task_dtor
625 struct sun8i_crypto_task *task; local in function:sun8i_crypto_task_get
1198 struct sun8i_crypto_task *task; local in function:sun8i_crypto_chan_done
1316 struct sun8i_crypto_task *task; local in function:sun8i_crypto_rng_attach
1391 struct sun8i_crypto_task *task = rng->cr_task; local in function:sun8i_crypto_rng_get
1484 struct sun8i_crypto_task *task; local in function:sun8i_crypto_selftest
1700 struct sun8i_crypto_task *task; local in function:sun8i_crypto_sysctl_rng
2113 struct sun8i_crypto_task *task; local in function:sun8i_crypto_process
    [all...]
  /src/sbin/dmctl/
dmctl.c 152 libdm_task_t task; local in function:main
198 * Create libdm task, and pass it to command handler later.
202 task = libdm_task_create(cmdname);
204 (*commands[i].cmd_func)(argc, argv, task);
214 dmctl_get_version(int argc __unused, char *argv[] __unused, libdm_task_t task)
218 (void)libdm_task_get_cmd_version(task, ver, sizeof(ver));
222 if (libdm_task_run(task) != 0)
225 (void)libdm_task_get_cmd_version(task, ver, 3);
228 libdm_task_destroy(task);
236 dmctl_get_targets(int argc __unused, char *argv[] __unused, libdm_task_t task)
    [all...]
  /src/sys/dev/sdmmc/
sdmmc.c 253 aprint_error_dev(dev, "couldn't create task thread\n");
258 sdmmc_add_task(struct sdmmc_softc *sc, struct sdmmc_task *task)
262 if (task->sc == sc) {
263 KASSERT(task->onqueue);
266 KASSERT(task->sc == NULL);
267 KASSERT(!task->onqueue);
268 task->onqueue = 1;
269 task->sc = sc;
270 TAILQ_INSERT_TAIL(&sc->sc_tskq, task, next);
276 sdmmc_del_task1(struct sdmmc_softc *sc, struct sdmmc_task *task)
328 struct sdmmc_task *task; local in function:sdmmc_task_thread
    [all...]
ld_sdmmc.c 71 #define LD_SDMMC_MAXTASKCNT 8 /* number of tasks in task pool */
76 struct sdmmc_task task; member in struct:ld_sdmmc_task
130 struct ld_sdmmc_task *task; local in function:ld_sdmmc_task_get
134 if (sc->sc_dying || (task = TAILQ_FIRST(&sc->sc_freeq)) == NULL)
136 TAILQ_REMOVE(&sc->sc_freeq, task, task_entry);
137 TAILQ_INSERT_TAIL(&sc->sc_xferq, task, task_entry);
138 KASSERT(task->task_bp == NULL);
139 KASSERT(task->task_errorp == NULL);
141 return task;
145 ld_sdmmc_task_put(struct ld_sdmmc_softc *sc, struct ld_sdmmc_task *task)
248 struct ld_sdmmc_task *task; local in function:ld_sdmmc_attach
357 struct ld_sdmmc_task *task; local in function:ld_sdmmc_detach
404 struct ld_sdmmc_task *task; local in function:ld_sdmmc_start
429 struct ld_sdmmc_task *task = (struct ld_sdmmc_task *)arg; local in function:ld_sdmmc_restart
445 struct ld_sdmmc_task *task = (struct ld_sdmmc_task *)arg; local in function:ld_sdmmc_dobio
527 struct ld_sdmmc_task *task = arg; local in function:ld_sdmmc_dodiscard
559 struct ld_sdmmc_task *task; local in function:ld_sdmmc_discard
587 struct ld_sdmmc_task *task = arg; local in function:ld_sdmmc_docachesync
611 struct ld_sdmmc_task *task; local in function:ld_sdmmc_cachesync
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_gem.c 902 struct task_struct *task; local in function:amdgpu_debugfs_gem_info
911 task = pid_task(file->pid, PIDTYPE_PID);
913 task ? task->comm : "<unknown>");
  /src/sys/arch/arm/ti/
ti_lcdc.c 474 struct tilcdc_drm_task *const task = local in function:tilcdc_attach
478 (*task->tdt_fn)(task);
680 struct tilcdc_drm_task *task = container_of(work, local in function:tilcdc_drm_task_work
683 (*task->tdt_fn)(task);
687 tilcdc_task_init(struct tilcdc_drm_task *task,
691 task->tdt_fn = fn;
695 tilcdc_task_schedule(device_t self, struct tilcdc_drm_task *task)
700 SIMPLEQ_INSERT_TAIL(&sc->sc_tasks, task, tdt_u.queue)
    [all...]
  /src/lib/libdm/
libdm_ioctl.c 191 /* Create libdm General task structure */
195 libdm_task_t task; local in function:libdm_task_create
199 task = NULL;
201 task = malloc(sizeof(*task));
202 if (task == NULL)
205 if ((task->ldm_task = prop_dictionary_create()) == NULL) {
206 free(task);
210 if ((prop_dictionary_set_string(task->ldm_task, DM_IOCTL_COMMAND,
212 prop_object_release(task->ldm_task)
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
selftest_hangcheck.c 670 struct task_struct *task; member in struct:active_engine
834 threads[tmp].task = tsk;
932 if (!threads[tmp].task)
935 ret = kthread_stop(threads[tmp].task);
942 put_task_struct(threads[tmp].task);
  /src/sys/external/bsd/drm2/dist/drm/vmwgfx/
vmwgfx_fence.c 166 struct task_struct *task; member in struct:vmwgfx_wait_cb
179 wake_up_process(wait->task);
214 cb.task = current;
415 * it will be performed by a worker task.
  /src/sys/external/bsd/drm2/dist/drm/i915/
i915_gpu_error.c 1257 struct task_struct *task; local in function:record_context
1269 task = pid_task(ctx->pid, PIDTYPE_PID);
1270 if (task) {
1271 strcpy(e->comm, task->comm);
1272 e->pid = task->pid;
  /src/sys/sys/
disklabel_rdb.h 168 uint32_t task; /* zero */ member in struct:fsblock
  /src/sys/dev/usb/
usb.c 175 SDT_PROBE_DEFINE3(usb, kernel, task, add,
176 "struct usbd_device *"/*dev*/, "struct usb_task *"/*task*/, "int"/*q*/);
177 SDT_PROBE_DEFINE2(usb, kernel, task, rem__start,
178 "struct usbd_device *"/*dev*/, "struct usb_task *"/*task*/);
179 SDT_PROBE_DEFINE3(usb, kernel, task, rem__done,
181 "struct usb_task *"/*task*/,
183 SDT_PROBE_DEFINE4(usb, kernel, task, rem__wait__start,
185 "struct usb_task *"/*task*/,
188 SDT_PROBE_DEFINE5(usb, kernel, task, rem__wait__done,
190 "struct usb_task *"/*task*/,
773 struct usb_task *task; local in function:usb_task_thread
    [all...]

Completed in 26 milliseconds

1 2