Searched refs:pool (Results 1 - 12 of 12) sorted by relevance

/net/ceph/
H A Dmsgpool.c12 struct ceph_msgpool *pool = arg; local
15 msg = ceph_msg_new(pool->type, pool->front_len, gfp_mask, true);
17 dout("msgpool_alloc %s failed\n", pool->name);
19 dout("msgpool_alloc %s %p\n", pool->name, msg);
20 msg->pool = pool;
27 struct ceph_msgpool *pool = arg; local
30 dout("msgpool_release %s %p\n", pool->name, msg);
31 msg->pool
35 ceph_msgpool_init(struct ceph_msgpool *pool, int type, int front_len, int size, bool blocking, const char *name) argument
48 ceph_msgpool_destroy(struct ceph_msgpool *pool) argument
54 ceph_msgpool_get(struct ceph_msgpool *pool, int front_len) argument
73 ceph_msgpool_put(struct ceph_msgpool *pool, struct ceph_msg *msg) argument
[all...]
H A Dosdmap.c355 if (l.pool < r.pool)
357 if (l.pool > r.pool)
408 pgid.pool, pgid.seed, pg);
420 dout("__remove_pg_mapping %lld.%x %p\n", pgid.pool, pgid.seed,
426 dout("__remove_pg_mapping %lld.%x dne\n", pgid.pool, pgid.seed);
431 * rbtree of pg pool info
599 u64 pool; local
602 dout(" %d pool name
778 u64 pool; local
1181 u64 pool; local
1470 pg_to_raw_osds(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pool, struct ceph_pg pgid, u32 pps, int *osds) argument
1506 raw_to_up_osds(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pool, int *osds, int len, int *primary) argument
1541 apply_primary_affinity(struct ceph_osdmap *osdmap, u32 pps, struct ceph_pg_pool_info *pool, int *osds, int len, int *primary) argument
1614 apply_temps(struct ceph_osdmap *osdmap, struct ceph_pg_pool_info *pool, struct ceph_pg pgid, int *osds, int len, int *primary) argument
1674 struct ceph_pg_pool_info *pool; local
[all...]
H A Ddebugfs.c68 struct ceph_pg_pool_info *pool = local
71 seq_printf(s, "pool %lld pg_num %u (%d) read_tier %lld write_tier %lld\n",
72 pool->id, pool->pg_num, pool->pg_num_mask,
73 pool->read_tier, pool->write_tier);
90 seq_printf(s, "pg_temp %llu.%x [", pg->pgid.pool,
101 seq_printf(s, "primary_temp %llu.%x %d\n", pg->pgid.pool,
158 req->r_pgid.pool, re
[all...]
H A Dosd_client.c398 req->r_base_oloc.pool = -1;
399 req->r_target_oloc.pool = -1;
764 req->r_base_oloc.pool = ceph_file_layout_pg_pool(*layout);
1298 if (req->r_target_oloc.pool == -1) {
1311 pi = ceph_pg_pool_by_id(osdmap, req->r_target_oloc.pool);
1315 req->r_target_oloc.pool = pi->read_tier;
1318 req->r_target_oloc.pool = pi->write_tier;
1390 req->r_tid, pgid.pool, pgid.seed, o,
1438 (unsigned long long)req->r_pgid.pool, req->r_pgid.seed);
1443 put_unaligned_le64(req->r_target_oloc.pool, re
[all...]
H A Dmon_client.c710 * pool ops
765 * Do a synchronous pool op.
768 u32 pool, u64 snapid,
801 h->pool = cpu_to_le32(pool);
815 u32 pool, u64 *snapid)
818 pool, 0, (char *)snapid, sizeof(*snapid));
824 u32 pool, u64 snapid)
827 pool, snapid, NULL, 0);
767 do_poolop(struct ceph_mon_client *monc, u32 op, u32 pool, u64 snapid, char *buf, int len) argument
814 ceph_monc_create_snapid(struct ceph_mon_client *monc, u32 pool, u64 *snapid) argument
823 ceph_monc_delete_snapid(struct ceph_mon_client *monc, u32 pool, u64 snapid) argument
H A Dmessenger.c3321 if (m->pool)
3322 ceph_msgpool_put(m->pool, m);
/net/rds/
H A Dib_rdma.c49 struct rds_ib_mr_pool *pool; member in struct:rds_ib_mr
65 * Our own little FMR pool
86 static int rds_ib_flush_mr_pool(struct rds_ib_mr_pool *pool, int free_all, struct rds_ib_mr **);
217 struct rds_ib_mr_pool *pool; local
219 pool = kzalloc(sizeof(*pool), GFP_KERNEL);
220 if (!pool)
223 init_llist_head(&pool->free_list);
224 init_llist_head(&pool->drop_list);
225 init_llist_head(&pool
248 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; local
254 rds_ib_destroy_mr_pool(struct rds_ib_mr_pool *pool) argument
263 rds_ib_reuse_fmr(struct rds_ib_mr_pool *pool) argument
295 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; local
506 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; local
512 rds_ib_flush_goal(struct rds_ib_mr_pool *pool, int free_all) argument
546 list_to_llist_nodes(struct rds_ib_mr_pool *pool, struct list_head *list, struct llist_node **nodes_head, struct llist_node **nodes_tail) argument
570 rds_ib_flush_mr_pool(struct rds_ib_mr_pool *pool, int free_all, struct rds_ib_mr **ibmr_ret) argument
689 struct rds_ib_mr_pool *pool = container_of(work, struct rds_ib_mr_pool, flush_worker.work); local
698 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; local
735 struct rds_ib_mr_pool *pool = rds_ibdev->mr_pool; local
[all...]
H A Diw_rdma.c46 struct rds_iw_mr_pool *pool; member in struct:rds_iw_mr
57 * Our own little MR pool
78 static int rds_iw_flush_mr_pool(struct rds_iw_mr_pool *pool, int free_all);
80 static int rds_iw_init_fastreg(struct rds_iw_mr_pool *pool, struct rds_iw_mr *ibmr);
81 static int rds_iw_map_fastreg(struct rds_iw_mr_pool *pool,
84 static void rds_iw_free_fastreg(struct rds_iw_mr_pool *pool, struct rds_iw_mr *ibmr);
85 static unsigned int rds_iw_unmap_fastreg_list(struct rds_iw_mr_pool *pool,
89 static void rds_iw_destroy_fastreg(struct rds_iw_mr_pool *pool, struct rds_iw_mr *ibmr);
340 struct rds_iw_mr_pool *pool; local
342 pool
372 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local
378 rds_iw_destroy_mr_pool(struct rds_iw_mr_pool *pool) argument
387 rds_iw_reuse_fmr(struct rds_iw_mr_pool *pool) argument
404 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local
486 rds_iw_flush_mr_pool(struct rds_iw_mr_pool *pool, int free_all) argument
550 struct rds_iw_mr_pool *pool = container_of(work, struct rds_iw_mr_pool, flush_worker); local
558 struct rds_iw_mr_pool *pool = ibmr->device->mr_pool; local
588 struct rds_iw_mr_pool *pool = rds_iwdev->mr_pool; local
658 rds_iw_init_fastreg(struct rds_iw_mr_pool *pool, struct rds_iw_mr *ibmr) argument
754 rds_iw_map_fastreg(struct rds_iw_mr_pool *pool, struct rds_iw_mr *ibmr, struct scatterlist *sg, unsigned int sg_len) argument
796 rds_iw_free_fastreg(struct rds_iw_mr_pool *pool, struct rds_iw_mr *ibmr) argument
819 rds_iw_unmap_fastreg_list(struct rds_iw_mr_pool *pool, struct list_head *unmap_list, struct list_head *kill_list, int *unpinned) argument
864 rds_iw_destroy_fastreg(struct rds_iw_mr_pool *pool, struct rds_iw_mr *ibmr) argument
[all...]
/net/9p/
H A Dutil.c38 * @lock: protects the pool
39 * @pool: idr to allocate tag id from
45 struct idr pool; member in struct:p9_idpool
49 * p9_idpool_create - create a new per-connection id pool
62 idr_init(&p->pool);
69 * p9_idpool_destroy - create a new per-connection id pool
75 idr_destroy(&p->pool);
81 * p9_idpool_get - allocate numeric id from pool
82 * @p: pool to allocate from
97 i = idr_alloc(&p->pool,
[all...]
/net/sunrpc/
H A Dsvc_xprt.c41 * svc_pool->sp_lock protects most of the fields of that pool.
313 * Queue up an idle server thread. Must have pool->sp_lock held.
318 static void svc_thread_enqueue(struct svc_pool *pool, struct svc_rqst *rqstp) argument
320 list_add(&rqstp->rq_list, &pool->sp_threads);
324 * Dequeue an nfsd thread. Must have pool->sp_lock held.
326 static void svc_thread_dequeue(struct svc_pool *pool, struct svc_rqst *rqstp) argument
342 struct svc_pool *pool; local
361 pool = svc_pool_for_cpu(xprt->xpt_server, cpu);
362 spin_lock_bh(&pool->sp_lock);
364 pool
412 svc_xprt_dequeue(struct svc_pool *pool) argument
494 struct svc_pool *pool; local
627 struct svc_pool *pool = rqstp->rq_pool; local
976 struct svc_pool *pool; local
1270 struct svc_pool *pool = p; local
1294 struct svc_pool *pool = p; local
[all...]
H A Dsvc.c42 SVC_POOL_GLOBAL, /* no mapping, just a single global pool
44 SVC_POOL_PERCPU, /* one pool per cpu */
45 SVC_POOL_PERNODE /* one pool per numa node */
59 unsigned int *pool_to; /* maps pool id to cpu or node */
60 unsigned int *to_pool; /* maps cpu or node to pool id */
121 * Detect best pool mapping mode heuristically,
148 /* default: one global pool */
176 * Initialise the pool map for SVC_POOL_PERCPU mode.
204 * Initialise the pool map for SVC_POOL_PERNODE mode.
277 * freed; this allows the sysadmin to change the pool
471 struct svc_pool *pool = &serv->sv_pools[i]; local
607 svc_prepare_thread(struct svc_serv *serv, struct svc_pool *pool, int node) argument
646 choose_pool(struct svc_serv *serv, struct svc_pool *pool, unsigned int *state) argument
658 choose_victim(struct svc_serv *serv, struct svc_pool *pool, unsigned int *state) argument
709 svc_set_num_threads(struct svc_serv *serv, struct svc_pool *pool, int nrservs) argument
775 struct svc_pool *pool = rqstp->rq_pool; local
[all...]
/net/bridge/netfilter/
H A Debt_among.c36 p = &wh->pool[i];
43 p = &wh->pool[i];

Completed in 188 milliseconds