Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/ceph/
A 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()
A Dmessenger.c1802 BUG_ON(msg->num_data_items >= msg->max_data_items); in ceph_msg_data_add()
1885 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items, in ceph_msg_new2() argument
1914 if (max_data_items) { in ceph_msg_new2()
1915 m->data = kmalloc_array(max_data_items, sizeof(*m->data), in ceph_msg_new2()
1920 m->max_data_items = max_data_items; in ceph_msg_new2()
/linux-6.3-rc2/include/linux/ceph/
A Dmsgpool.h16 int max_data_items; member
20 int front_len, int max_data_items, int size,
24 int max_data_items);
A Dmessenger.h245 int max_data_items; member
577 struct ceph_msg *ceph_msg_new2(int type, int front_len, int max_data_items,

Completed in 14 milliseconds