Lines Matching refs:nl_client

63 int iwpm_register_pid(struct iwpm_dev_data *pm_msg, u8 nl_client)  in iwpm_register_pid()  argument
72 if (iwpm_check_registration(nl_client, IWPM_REG_VALID) || in iwpm_register_pid()
75 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_REG_PID, &nlh, nl_client); in iwpm_register_pid()
81 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_register_pid()
122 pr_info("%s: %s (client = %u)\n", __func__, err_str, nl_client); in iwpm_register_pid()
143 int iwpm_add_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client) in iwpm_add_mapping() argument
154 if (!iwpm_check_registration(nl_client, IWPM_REG_VALID)) { in iwpm_add_mapping()
158 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_ADD_MAPPING, &nlh, nl_client); in iwpm_add_mapping()
164 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_add_mapping()
206 pr_info("%s: %s (client = %u)\n", __func__, err_str, nl_client); in iwpm_add_mapping()
226 int iwpm_add_and_query_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client) in iwpm_add_and_query_mapping() argument
237 if (!iwpm_check_registration(nl_client, IWPM_REG_VALID)) { in iwpm_add_and_query_mapping()
242 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_QUERY_MAPPING, &nlh, nl_client); in iwpm_add_and_query_mapping()
249 nl_client, GFP_KERNEL); in iwpm_add_and_query_mapping()
295 pr_info("%s: %s (client = %u)\n", __func__, err_str, nl_client); in iwpm_add_and_query_mapping()
314 int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client) in iwpm_remove_mapping() argument
324 if (iwpm_check_registration(nl_client, IWPM_REG_UNDEF)) { in iwpm_remove_mapping()
328 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_REMOVE_MAPPING, &nlh, nl_client); in iwpm_remove_mapping()
359 pr_info("%s: %s (client = %u)\n", __func__, err_str, nl_client); in iwpm_remove_mapping()
392 u8 nl_client; in iwpm_register_pid_cb() local
408 nl_client = nlmsg_request->nl_client; in iwpm_register_pid_cb()
431 iwpm_set_registration(nl_client, IWPM_REG_VALID); in iwpm_register_pid_cb()
626 u8 nl_client; in iwpm_remote_info_cb() local
634 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_remote_info_cb()
663 rem_info->nl_client = nl_client; in iwpm_remote_info_cb()
698 u8 nl_client; in iwpm_mapping_info_cb() local
716 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_mapping_info_cb()
717 iwpm_set_registration(nl_client, IWPM_REG_INCOMPL); in iwpm_mapping_info_cb()
729 ret = iwpm_send_mapinfo(nl_client, iwpm_user_pid); in iwpm_mapping_info_cb()
779 int nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_mapping_error_cb() local
792 __func__, msg_seq, err_code, nl_client); in iwpm_mapping_error_cb()
828 u8 nl_client; in iwpm_hello_cb() local
838 nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); in iwpm_hello_cb()
839 iwpm_set_registration(nl_client, IWPM_REG_INCOMPL); in iwpm_hello_cb()
844 ret = iwpm_send_hello(nl_client, iwpm_user_pid, iwpm_ulib_version); in iwpm_hello_cb()