Lines Matching refs:cb
401 int iwpm_register_pid_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_register_pid_cb() argument
412 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RREG_PID_MAX, in iwpm_register_pid_cb()
439 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_register_pid_cb()
444 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_register_pid_cb()
474 int iwpm_add_mapping_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_add_mapping_cb() argument
485 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RMANAGE_MAPPING_MAX, in iwpm_add_mapping_cb()
489 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_add_mapping_cb()
552 struct netlink_callback *cb) in iwpm_add_and_query_mapping_cb() argument
564 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RQUERY_MAPPING_MAX, in iwpm_add_and_query_mapping_cb()
567 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_add_and_query_mapping_cb()
589 __func__, cb->nlh->nlmsg_pid, msg_seq); in iwpm_add_and_query_mapping_cb()
635 int iwpm_remote_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_remote_info_cb() argument
646 if (iwpm_parse_nlmsg(cb, IWPM_NLA_RQUERY_MAPPING_MAX, in iwpm_remote_info_cb()
650 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_remote_info_cb()
656 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_remote_info_cb()
715 int iwpm_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_mapping_info_cb() argument
724 if (iwpm_parse_nlmsg(cb, IWPM_NLA_MAPINFO_REQ_MAX, in iwpm_mapping_info_cb()
737 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_mapping_info_cb()
744 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_mapping_info_cb()
745 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_mapping_info_cb()
772 int iwpm_ack_mapping_info_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_ack_mapping_info_cb() argument
778 if (iwpm_parse_nlmsg(cb, IWPM_NLA_MAPINFO_NUM_MAX, in iwpm_ack_mapping_info_cb()
786 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_ack_mapping_info_cb()
802 int iwpm_mapping_error_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_mapping_error_cb() argument
805 int nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_mapping_error_cb()
811 if (iwpm_parse_nlmsg(cb, IWPM_NLA_ERR_MAX, in iwpm_mapping_error_cb()
826 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_mapping_error_cb()
850 int iwpm_hello_cb(struct sk_buff *skb, struct netlink_callback *cb) in iwpm_hello_cb() argument
858 if (iwpm_parse_nlmsg(cb, IWPM_NLA_HELLO_MAX, hello_policy, nltb, in iwpm_hello_cb()
864 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_hello_cb()
871 atomic_set(&echo_nlmsg_seq, cb->nlh->nlmsg_seq); in iwpm_hello_cb()
874 iwpm_user_pid = cb->nlh->nlmsg_pid; in iwpm_hello_cb()