Displaying 3 results from an estimated 3 matches for "mempool_create_node".
2024 Apr 03
0
[linux-next:master] BUILD REGRESSION 727900b675b749c40ba1f6669c7ae5eb7eb8e837
...rror: uninitialized symbol 'rc'.
fs/smb/client/file.c:732 _cifsFileInfo_put() error: uninitialized symbol 'rc'.
Error/Warning ids grouped by kconfigs:
gcc_recent_errors
|-- alpha-allnoconfig
| |-- mm-mempool.c:warning:Function-parameter-or-struct-member-gfp_mask-not-described-in-mempool_create_node
| `-- mm-mempool.c:warning:Function-parameter-or-struct-member-node_id-not-described-in-mempool_create_node
|-- alpha-allyesconfig
| |-- drivers-gpu-drm-imx-ipuv3-imx-ldb.c:error:_sel-directive-output-may-be-truncated-writing-bytes-into-a-region-of-size-between-and
| |-- drivers-gpu-drm-nouve...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...>wait[BLK_RW_ASYNC]);
+ memset(ctx, 0, sizeof(*ctx));
+ spin_lock_init(&ctx->lock);
+ ctx->queue = q;
+ init_waitqueue_head(&rl->wait[BLK_RW_SYNC]);
+ init_waitqueue_head(&rl->wait[BLK_RW_ASYNC]);
+ INIT_LIST_HEAD(&ctx->timeout_list);
+ }
- rl->rq_pool = mempool_create_node(BLKDEV_MIN_RQ, mempool_alloc_slab,
- mempool_free_slab, request_cachep, q->node);
+ return 0;
+}
+
+static int blk_init_free_list(struct request_queue *q)
+{
+ if (unlikely(q->rq_pool))
+ return 0;
- if (!rl->rq_pool)
+ q->rq_pool = mempool_create_node(BLKDEV_MIN_RQ, mempool_alloc...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...>wait[BLK_RW_ASYNC]);
+ memset(ctx, 0, sizeof(*ctx));
+ spin_lock_init(&ctx->lock);
+ ctx->queue = q;
+ init_waitqueue_head(&rl->wait[BLK_RW_SYNC]);
+ init_waitqueue_head(&rl->wait[BLK_RW_ASYNC]);
+ INIT_LIST_HEAD(&ctx->timeout_list);
+ }
- rl->rq_pool = mempool_create_node(BLKDEV_MIN_RQ, mempool_alloc_slab,
- mempool_free_slab, request_cachep, q->node);
+ return 0;
+}
+
+static int blk_init_free_list(struct request_queue *q)
+{
+ if (unlikely(q->rq_pool))
+ return 0;
- if (!rl->rq_pool)
+ q->rq_pool = mempool_create_node(BLKDEV_MIN_RQ, mempool_alloc...