Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/cluster/
Dtcp.c754 static int o2net_handler_cmp(struct o2net_msg_handler *nmh, u32 msg_type, in o2net_handler_cmp() argument
757 int ret = memcmp(&nmh->nh_key, &key, sizeof(key)); in o2net_handler_cmp()
760 ret = memcmp(&nmh->nh_msg_type, &msg_type, sizeof(msg_type)); in o2net_handler_cmp()
771 struct o2net_msg_handler *nmh, *ret = NULL; in o2net_handler_tree_lookup() local
776 nmh = rb_entry(parent, struct o2net_msg_handler, nh_node); in o2net_handler_tree_lookup()
777 cmp = o2net_handler_cmp(nmh, msg_type, key); in o2net_handler_tree_lookup()
784 ret = nmh; in o2net_handler_tree_lookup()
799 struct o2net_msg_handler *nmh; in o2net_handler_kref_release() local
800 nmh = container_of(kref, struct o2net_msg_handler, nh_kref); in o2net_handler_kref_release()
802 kfree(nmh); in o2net_handler_kref_release()
[all …]