Searched refs:nmh (Results 1 – 1 of 1) sorted by relevance
/linux/fs/ocfs2/cluster/ |
H A D | tcp.c | 741 static int o2net_handler_cmp(struct o2net_msg_handler *nmh, u32 msg_type, in o2net_handler_cmp() argument 744 int ret = memcmp(&nmh->nh_key, &key, sizeof(key)); in o2net_handler_cmp() 747 ret = memcmp(&nmh->nh_msg_type, &msg_type, sizeof(msg_type)); in o2net_handler_cmp() 758 struct o2net_msg_handler *nmh, *ret = NULL; in o2net_handler_tree_lookup() local 763 nmh = rb_entry(parent, struct o2net_msg_handler, nh_node); in o2net_handler_tree_lookup() 764 cmp = o2net_handler_cmp(nmh, msg_type, key); in o2net_handler_tree_lookup() 771 ret = nmh; in o2net_handler_tree_lookup() 786 struct o2net_msg_handler *nmh; in o2net_handler_kref_release() local 787 nmh = container_of(kref, struct o2net_msg_handler, nh_kref); in o2net_handler_kref_release() 789 kfree(nmh); in o2net_handler_kref_release() [all …]
|