Home
last modified time | relevance | path

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

/fs/ocfs2/cluster/
Dtcp.c740 static int o2net_handler_cmp(struct o2net_msg_handler *nmh, u32 msg_type, in o2net_handler_cmp() argument
743 int ret = memcmp(&nmh->nh_key, &key, sizeof(key)); in o2net_handler_cmp()
746 ret = memcmp(&nmh->nh_msg_type, &msg_type, sizeof(msg_type)); in o2net_handler_cmp()
757 struct o2net_msg_handler *nmh, *ret = NULL; in o2net_handler_tree_lookup() local
762 nmh = rb_entry(parent, struct o2net_msg_handler, nh_node); in o2net_handler_tree_lookup()
763 cmp = o2net_handler_cmp(nmh, msg_type, key); in o2net_handler_tree_lookup()
770 ret = nmh; in o2net_handler_tree_lookup()
785 struct o2net_msg_handler *nmh; in o2net_handler_kref_release() local
786 nmh = container_of(kref, struct o2net_msg_handler, nh_kref); in o2net_handler_kref_release()
788 kfree(nmh); in o2net_handler_kref_release()
[all …]