Lines Matching defs:arg
401 struct drm_mode_rmfb_work *arg = container_of(w, typeof(*arg), work);
403 while (!list_empty(&arg->fbs)) {
405 list_first_entry(&arg->fbs, typeof(*fb), filp_head);
465 struct drm_mode_rmfb_work arg;
467 INIT_WORK_ONSTACK(&arg.work, drm_mode_rmfb_work_fn);
468 INIT_LIST_HEAD(&arg.fbs);
469 list_add_tail(&fb->filp_head, &arg.fbs);
471 schedule_work(&arg.work);
472 flush_work(&arg.work);
473 destroy_work_on_stack(&arg.work);
777 struct drm_mode_rmfb_work arg;
779 INIT_LIST_HEAD(&arg.fbs);
793 list_move_tail(&fb->filp_head, &arg.fbs);
802 if (!list_empty(&arg.fbs)) {
803 INIT_WORK_ONSTACK(&arg.work, drm_mode_rmfb_work_fn);
805 schedule_work(&arg.work);
806 flush_work(&arg.work);
807 destroy_work_on_stack(&arg.work);