Lines Matching refs:cb
385 int iwpm_register_pid_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_register_pid_cb() argument
396 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RREG_PID_MAX, in iwpm_register_pid_cb()
423 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_register_pid_cb()
428 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_register_pid_cb()
457 int iwpm_add_mapping_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_add_mapping_cb() argument
468 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RMANAGE_MAPPING_MAX, in iwpm_add_mapping_cb()
472 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_add_mapping_cb()
536 struct netlink_callback *cb) in iwpm_add_and_query_mapping_cb() argument
548 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RQUERY_MAPPING_MAX, in iwpm_add_and_query_mapping_cb()
551 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_add_and_query_mapping_cb()
573 __func__, cb->nlh->nlmsg_pid, msg_seq); in iwpm_add_and_query_mapping_cb()
619 int iwpm_remote_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_remote_info_cb() argument
630 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RQUERY_MAPPING_MAX, in iwpm_remote_info_cb()
634 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_remote_info_cb()
635 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_remote_info_cb()
694 int iwpm_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_mapping_info_cb() argument
703 if (iwpm_parse_nlmsg(cb, IWPM_NLA_MAPINFO_REQ_MAX, in iwpm_mapping_info_cb()
716 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_mapping_info_cb()
718 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_mapping_info_cb()
719 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_mapping_info_cb()
746 int iwpm_ack_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_ack_mapping_info_cb() argument
752 if (iwpm_parse_nlmsg(cb, IWPM_NLA_MAPINFO_NUM_MAX, in iwpm_ack_mapping_info_cb()
760 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_ack_mapping_info_cb()
776 int iwpm_mapping_error_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_mapping_error_cb() argument
779 int nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_mapping_error_cb()
785 if (iwpm_parse_nlmsg(cb, IWPM_NLA_ERR_MAX, in iwpm_mapping_error_cb()
800 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_mapping_error_cb()
824 int iwpm_hello_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_hello_cb() argument
832 if (iwpm_parse_nlmsg(cb, IWPM_NLA_HELLO_MAX, hello_policy, nltb, in iwpm_hello_cb()
838 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_hello_cb()
840 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_hello_cb()
843 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_hello_cb()