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

1 2 3

  /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_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_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>",
  /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...]
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);
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);
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);
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);
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);
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...]
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);
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...]
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...]
  /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...]

Completed in 36 milliseconds

1 2 3