All work currently pending will be done first.4314 返回:NULL 调用者 名称描述 workqueue_init_early workqueue_init_early - early init for workqueue subsystem* This is the first half of two-staged workqueue subsystem initialization* and invoked as soon as the bare basics - memory allocation, cpu...
p_fdv_queue =alloc_workqueue("fdv_work_queue",0,0);if(p_fdv_queue ==0)return-EINVAL; INIT_WORK(&fdv_work,fdv_work_handle);//allocptr_fdv_dev->ptr_fdv_det_buffer = kmalloc(get_sizeof_fdv_buffer(),GFP_KERNEL);memset(ptr_fdv_dev->ptr_fdv_det_buffer,0,get_sizeof_fdv_buffer()...
g_MTKPP_proc->proc_fops = &g_MTKPP_proc_ops;#endif#ifdefined(ENABLE_AEE_WHEN_LOCKUP)g_MTKPP_workqueue.psWorkQueue =alloc_ordered_workqueue("mwp", WQ_FREEZABLE | WQ_MEM_RECLAIM); INIT_WORK(&g_MTKPP_worker.sWork, MTKPP_WORKR_Handle);#endifg_init_done =1; err_out:return; } 开...
/* setup workqueue */msm_host->workqueue = alloc_ordered_workqueue("dsi_drm_work", 0);if (!msm_host->workqueue) return -ENOMEM;INIT_WORK(&msm_host->err_work, dsi_err_worker);msm_dsi->id = msm_host->id;0 comments on commit 115906c Please sign in to comment. ...
CPopulateWorkItem::Work(void) vcpkg.dll!CWorkItem::InvokeWork(unsigned int) vcpkg.dll!CWorkQueue::Work(bool,unsigned int,unsigned int) vcpkg.dll!CWorkerThread::Work(void) vcpkg.dll!CWorkerThread::Work(void *) 0 Oct 24, 2017 5:50 AM...
@@ -120,6 +120,10 @@ static int msm_hdmi_init(struct hdmi *hdmi) int ret;hdmi->workq = alloc_ordered_workqueue("msm_hdmi", 0);if (!hdmi->workq) { ret = -ENOMEM; goto fail; }hdmi->i2c = msm_hdmi_i2c_init(hdmi);if
示例1: msm_idle_stats_init ▲点赞 6▼ staticint__initmsm_idle_stats_init(void){unsignedintnr_cpus = num_possible_cpus();structdevice*dev;intrc;inti;if(msm_idle_stats_debug_mask & MSM_IDLE_STATS_DEBUG_API) pr_info("%s: enter\n", __func__); ...
init_waitqueue_head(&wq->work_done); init_completion(&wq->exit); init_completion(&startup.done); startup.wq = wq; startup.name = name; task_wq =task_alloc("workqueue", WQ_STACK_SIZE,1);if(NULL== task_wq) {return-1;
INIT_WORK(&pDevice->read_work_item, RXvWorkItem); INIT_WORK(&pDevice->rx_mng_work_item, RXvMngWorkItem); pDevice->pControlURB = usb_alloc_urb(0, GFP_ATOMIC);if(!pDevice->pControlURB) { DBG_PRT(MSG_LEVEL_ERR, KERN_ERR"Failed to alloc control urb\n");gotoerr_netdev; ...
tcb_desc->bCmdOrInit = DESC_PACKET_TYPE_NORMAL; tcb_desc->bLastIniPkt = bLastIniPkt; tcb_desc->pkt_size = frag_length; seg_ptr = skb_put(skb, priv->rtllib->tx_headroom); pTxFwInfo = (struct tx_fwinfo_8190pci *)seg_ptr;memset(pTxFwInfo,0,sizeof(struct tx_fwinfo_8190pci));mems...