Searched refs:max_data_items (Results 1 – 4 of 4) sorted by relevance
/linux/net/ceph/ |
H A D | msgpool.c | 17 msg = ceph_msg_new2(pool->type, pool->front_len, pool->max_data_items, in msgpool_alloc() 39 int front_len, int max_data_items, int size, in ceph_msgpool_init() argument 45 pool->max_data_items = max_data_items; in ceph_msgpool_init() 60 int max_data_items) in ceph_msgpool_get() argument 65 max_data_items > pool->max_data_items) { in ceph_msgpool_get() 67 __func__, front_len, max_data_items, pool->name, in ceph_msgpool_get() 68 pool->front_len, pool->max_data_items); in ceph_msgpool_get() 72 return ceph_msg_new2(pool->type, front_len, max_data_items, in ceph_msgpool_get()
|
H A D | messenger.c | 1869 BUG_ON(msg->num_data_items >= msg->max_data_items); in ceph_msg_data_add() 1964 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items, in ceph_msg_new2() argument 1993 if (max_data_items) { in ceph_msg_new2() 1994 m->data = kmalloc_array(max_data_items, sizeof(*m->data), in ceph_msg_new2() 1999 m->max_data_items = max_data_items; in ceph_msg_new2()
|
/linux/include/linux/ceph/ |
H A D | msgpool.h | 16 int max_data_items; member 20 int front_len, int max_data_items, int size, 24 int max_data_items);
|
H A D | messenger.h | 277 int max_data_items; member 617 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items,
|