Home
last modified time | relevance | path

Searched refs:max_data_items (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/net/ceph/
Dmsgpool.c17 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()
Dmessenger.c1827 BUG_ON(msg->num_data_items >= msg->max_data_items); in ceph_msg_data_add()
1910 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items, in ceph_msg_new2() argument
1939 if (max_data_items) { in ceph_msg_new2()
1940 m->data = kmalloc_array(max_data_items, sizeof(*m->data), in ceph_msg_new2()
1945 m->max_data_items = max_data_items; in ceph_msg_new2()
/linux-5.19.10/include/linux/ceph/
Dmsgpool.h16 int max_data_items; member
20 int front_len, int max_data_items, int size,
24 int max_data_items);
Dmessenger.h246 int max_data_items; member
579 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items,