Lines Matching refs:rds_message
51 void rds_message_addref(struct rds_message *rm) in rds_message_addref()
130 static void rds_message_purge(struct rds_message *rm) in rds_message_purge()
173 void rds_message_put(struct rds_message *rm) in rds_message_put()
284 struct rds_message *rds_message_alloc(unsigned int extra_len, gfp_t gfp) in rds_message_alloc()
286 struct rds_message *rm; in rds_message_alloc()
288 if (extra_len > KMALLOC_MAX_SIZE - sizeof(struct rds_message)) in rds_message_alloc()
291 rm = kzalloc(sizeof(struct rds_message) + extra_len, gfp); in rds_message_alloc()
311 struct scatterlist *rds_message_alloc_sgs(struct rds_message *rm, int nents) in rds_message_alloc_sgs()
329 struct rds_message *rds_message_map_pages(unsigned long *page_addrs, unsigned int total_len) in rds_message_map_pages()
331 struct rds_message *rm; in rds_message_map_pages()
358 static int rds_message_zcopy_from_user(struct rds_message *rm, struct iov_iter *from) in rds_message_zcopy_from_user()
416 int rds_message_copy_from_user(struct rds_message *rm, struct iov_iter *from, in rds_message_copy_from_user()
463 struct rds_message *rm; in rds_message_inc_copy_to_user()
471 rm = container_of(inc, struct rds_message, m_inc); in rds_message_inc_copy_to_user()
505 void rds_message_wait(struct rds_message *rm) in rds_message_wait()
511 void rds_message_unmapped(struct rds_message *rm) in rds_message_unmapped()