Searched refs:ntags (Results 1 – 1 of 1) sorted by relevance
209 static int fun_init_cmd_ctx(struct fun_dev *fdev, unsigned int ntags) in fun_init_cmd_ctx() argument213 fdev->cmd_ctx = kvcalloc(ntags, sizeof(*fdev->cmd_ctx), GFP_KERNEL); in fun_init_cmd_ctx()217 for (i = 0; i < ntags; i++) in fun_init_cmd_ctx()234 unsigned int ntags = areq->sq_depth - 1; in fun_enable_admin_queue() local251 rc = fun_init_cmd_ctx(fdev, ntags); in fun_enable_admin_queue()255 rc = sbitmap_queue_init_node(&fdev->admin_sbq, ntags, -1, false, in fun_enable_admin_queue()