nl_client 63 drivers/infiniband/core/iwpm_msg.c int iwpm_register_pid(struct iwpm_dev_data *pm_msg, u8 nl_client) nl_client 72 drivers/infiniband/core/iwpm_msg.c if (!iwpm_valid_client(nl_client)) { nl_client 76 drivers/infiniband/core/iwpm_msg.c if (iwpm_check_registration(nl_client, IWPM_REG_VALID) || nl_client 79 drivers/infiniband/core/iwpm_msg.c skb = iwpm_create_nlmsg(RDMA_NL_IWPM_REG_PID, &nlh, nl_client); nl_client 85 drivers/infiniband/core/iwpm_msg.c nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); nl_client 126 drivers/infiniband/core/iwpm_msg.c pr_info("%s: %s (client = %d)\n", __func__, err_str, nl_client); nl_client 147 drivers/infiniband/core/iwpm_msg.c int iwpm_add_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client) nl_client 156 drivers/infiniband/core/iwpm_msg.c if (!iwpm_valid_client(nl_client)) { nl_client 162 drivers/infiniband/core/iwpm_msg.c if (!iwpm_check_registration(nl_client, IWPM_REG_VALID)) { nl_client 166 drivers/infiniband/core/iwpm_msg.c skb = iwpm_create_nlmsg(RDMA_NL_IWPM_ADD_MAPPING, &nlh, nl_client); nl_client 172 drivers/infiniband/core/iwpm_msg.c nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); nl_client 214 drivers/infiniband/core/iwpm_msg.c pr_info("%s: %s (client = %d)\n", __func__, err_str, nl_client); nl_client 234 drivers/infiniband/core/iwpm_msg.c int iwpm_add_and_query_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client) nl_client 243 drivers/infiniband/core/iwpm_msg.c if (!iwpm_valid_client(nl_client)) { nl_client 249 drivers/infiniband/core/iwpm_msg.c if (!iwpm_check_registration(nl_client, IWPM_REG_VALID)) { nl_client 254 drivers/infiniband/core/iwpm_msg.c skb = iwpm_create_nlmsg(RDMA_NL_IWPM_QUERY_MAPPING, &nlh, nl_client); nl_client 261 drivers/infiniband/core/iwpm_msg.c nl_client, GFP_KERNEL); nl_client 307 drivers/infiniband/core/iwpm_msg.c pr_info("%s: %s (client = %d)\n", __func__, err_str, nl_client); nl_client 326 drivers/infiniband/core/iwpm_msg.c int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client) nl_client 334 drivers/infiniband/core/iwpm_msg.c if (!iwpm_valid_client(nl_client)) { nl_client 340 drivers/infiniband/core/iwpm_msg.c if (iwpm_check_registration(nl_client, IWPM_REG_UNDEF)) { nl_client 344 drivers/infiniband/core/iwpm_msg.c skb = iwpm_create_nlmsg(RDMA_NL_IWPM_REMOVE_MAPPING, &nlh, nl_client); nl_client 375 drivers/infiniband/core/iwpm_msg.c pr_info("%s: %s (client = %d)\n", __func__, err_str, nl_client); nl_client 408 drivers/infiniband/core/iwpm_msg.c u8 nl_client; nl_client 424 drivers/infiniband/core/iwpm_msg.c nl_client = nlmsg_request->nl_client; nl_client 447 drivers/infiniband/core/iwpm_msg.c if (iwpm_valid_client(nl_client)) nl_client 448 drivers/infiniband/core/iwpm_msg.c iwpm_set_registration(nl_client, IWPM_REG_VALID); nl_client 642 drivers/infiniband/core/iwpm_msg.c u8 nl_client; nl_client 650 drivers/infiniband/core/iwpm_msg.c nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); nl_client 651 drivers/infiniband/core/iwpm_msg.c if (!iwpm_valid_client(nl_client)) { nl_client 653 drivers/infiniband/core/iwpm_msg.c __func__, nl_client); nl_client 684 drivers/infiniband/core/iwpm_msg.c rem_info->nl_client = nl_client; nl_client 719 drivers/infiniband/core/iwpm_msg.c u8 nl_client; nl_client 737 drivers/infiniband/core/iwpm_msg.c nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); nl_client 738 drivers/infiniband/core/iwpm_msg.c if (!iwpm_valid_client(nl_client)) { nl_client 740 drivers/infiniband/core/iwpm_msg.c __func__, nl_client); nl_client 743 drivers/infiniband/core/iwpm_msg.c iwpm_set_registration(nl_client, IWPM_REG_INCOMPL); nl_client 755 drivers/infiniband/core/iwpm_msg.c ret = iwpm_send_mapinfo(nl_client, iwpm_user_pid); nl_client 805 drivers/infiniband/core/iwpm_msg.c int nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); nl_client 818 drivers/infiniband/core/iwpm_msg.c __func__, msg_seq, err_code, nl_client); nl_client 854 drivers/infiniband/core/iwpm_msg.c u8 nl_client; nl_client 864 drivers/infiniband/core/iwpm_msg.c nl_client = RDMA_NL_GET_CLIENT(cb->nlh->nlmsg_type); nl_client 865 drivers/infiniband/core/iwpm_msg.c if (!iwpm_valid_client(nl_client)) { nl_client 867 drivers/infiniband/core/iwpm_msg.c __func__, nl_client); nl_client 870 drivers/infiniband/core/iwpm_msg.c iwpm_set_registration(nl_client, IWPM_REG_INCOMPL); nl_client 875 drivers/infiniband/core/iwpm_msg.c ret = iwpm_send_hello(nl_client, iwpm_user_pid, iwpm_ulib_version); nl_client 60 drivers/infiniband/core/iwpm_util.c int iwpm_init(u8 nl_client) nl_client 85 drivers/infiniband/core/iwpm_util.c iwpm_set_valid(nl_client, 1); nl_client 86 drivers/infiniband/core/iwpm_util.c iwpm_set_registration(nl_client, IWPM_REG_UNDEF); nl_client 102 drivers/infiniband/core/iwpm_util.c int iwpm_exit(u8 nl_client) nl_client 105 drivers/infiniband/core/iwpm_util.c if (!iwpm_valid_client(nl_client)) nl_client 119 drivers/infiniband/core/iwpm_util.c iwpm_set_valid(nl_client, 0); nl_client 120 drivers/infiniband/core/iwpm_util.c iwpm_set_registration(nl_client, IWPM_REG_UNDEF); nl_client 137 drivers/infiniband/core/iwpm_util.c u8 nl_client, u32 map_flags) nl_client 144 drivers/infiniband/core/iwpm_util.c if (!iwpm_valid_client(nl_client)) nl_client 154 drivers/infiniband/core/iwpm_util.c map_info->nl_client = nl_client; nl_client 297 drivers/infiniband/core/iwpm_util.c u8 nl_client) nl_client 305 drivers/infiniband/core/iwpm_util.c if (!iwpm_valid_client(nl_client)) { nl_client 306 drivers/infiniband/core/iwpm_util.c pr_info("%s: Invalid client = %d\n", __func__, nl_client); nl_client 342 drivers/infiniband/core/iwpm_util.c u8 nl_client, gfp_t gfp) nl_client 358 drivers/infiniband/core/iwpm_util.c nlmsg_request->nl_client = nl_client; nl_client 423 drivers/infiniband/core/iwpm_util.c int iwpm_valid_client(u8 nl_client) nl_client 425 drivers/infiniband/core/iwpm_util.c return iwpm_admin.client_list[nl_client]; nl_client 428 drivers/infiniband/core/iwpm_util.c void iwpm_set_valid(u8 nl_client, int valid) nl_client 430 drivers/infiniband/core/iwpm_util.c iwpm_admin.client_list[nl_client] = valid; nl_client 434 drivers/infiniband/core/iwpm_util.c u32 iwpm_get_registration(u8 nl_client) nl_client 436 drivers/infiniband/core/iwpm_util.c return iwpm_admin.reg_list[nl_client]; nl_client 440 drivers/infiniband/core/iwpm_util.c void iwpm_set_registration(u8 nl_client, u32 reg) nl_client 442 drivers/infiniband/core/iwpm_util.c iwpm_admin.reg_list[nl_client] = reg; nl_client 446 drivers/infiniband/core/iwpm_util.c u32 iwpm_check_registration(u8 nl_client, u32 reg) nl_client 448 drivers/infiniband/core/iwpm_util.c return (iwpm_get_registration(nl_client) & reg); nl_client 483 drivers/infiniband/core/iwpm_util.c int nl_client) nl_client 491 drivers/infiniband/core/iwpm_util.c if (!(ibnl_put_msg(skb, nlh, 0, 0, nl_client, nl_op, nl_client 622 drivers/infiniband/core/iwpm_util.c static int send_mapinfo_num(u32 mapping_num, u8 nl_client, int iwpm_pid) nl_client 630 drivers/infiniband/core/iwpm_util.c skb = iwpm_create_nlmsg(RDMA_NL_IWPM_MAPINFO_NUM, &nlh, nl_client); nl_client 662 drivers/infiniband/core/iwpm_util.c static int send_nlmsg_done(struct sk_buff *skb, u8 nl_client, int iwpm_pid) nl_client 669 drivers/infiniband/core/iwpm_util.c if (!(ibnl_put_msg(skb, &nlh, 0, 0, nl_client, nl_client 682 drivers/infiniband/core/iwpm_util.c int iwpm_send_mapinfo(u8 nl_client, int iwpm_pid) nl_client 705 drivers/infiniband/core/iwpm_util.c if (map_info->nl_client != nl_client) nl_client 708 drivers/infiniband/core/iwpm_util.c if (!(ibnl_put_msg(skb, &nlh, 0, 0, nl_client, nl_client 754 drivers/infiniband/core/iwpm_util.c ret = send_nlmsg_done(skb, nl_client, iwpm_pid); nl_client 783 drivers/infiniband/core/iwpm_util.c send_nlmsg_done(skb, nl_client, iwpm_pid); nl_client 784 drivers/infiniband/core/iwpm_util.c return send_mapinfo_num(mapping_num, nl_client, iwpm_pid); nl_client 805 drivers/infiniband/core/iwpm_util.c int iwpm_send_hello(u8 nl_client, int iwpm_pid, u16 abi_version) nl_client 812 drivers/infiniband/core/iwpm_util.c skb = iwpm_create_nlmsg(RDMA_NL_IWPM_HELLO, &nlh, nl_client); nl_client 69 drivers/infiniband/core/iwpm_util.h u8 nl_client; nl_client 80 drivers/infiniband/core/iwpm_util.h u8 nl_client; nl_client 89 drivers/infiniband/core/iwpm_util.h u8 nl_client; nl_client 109 drivers/infiniband/core/iwpm_util.h u8 nl_client, gfp_t gfp); nl_client 157 drivers/infiniband/core/iwpm_util.h int iwpm_valid_client(u8 nl_client); nl_client 164 drivers/infiniband/core/iwpm_util.h void iwpm_set_valid(u8 nl_client, int valid); nl_client 176 drivers/infiniband/core/iwpm_util.h u32 iwpm_check_registration(u8 nl_client, u32 reg); nl_client 183 drivers/infiniband/core/iwpm_util.h void iwpm_set_registration(u8 nl_client, u32 reg); nl_client 191 drivers/infiniband/core/iwpm_util.h u32 iwpm_get_registration(u8 nl_client); nl_client 201 drivers/infiniband/core/iwpm_util.h int iwpm_send_mapinfo(u8 nl_client, int iwpm_pid); nl_client 248 drivers/infiniband/core/iwpm_util.h int nl_client); nl_client 279 drivers/infiniband/core/iwpm_util.h int iwpm_send_hello(u8 nl_client, int iwpm_pid, u16 abi_version); nl_client 70 include/rdma/iw_portmap.h int iwpm_register_pid(struct iwpm_dev_data *pm_msg, u8 nl_client); nl_client 71 include/rdma/iw_portmap.h int iwpm_add_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client); nl_client 72 include/rdma/iw_portmap.h int iwpm_add_and_query_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client); nl_client 73 include/rdma/iw_portmap.h int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client); nl_client 83 include/rdma/iw_portmap.h struct sockaddr_storage *remote_addr, u8 nl_client); nl_client 85 include/rdma/iw_portmap.h struct sockaddr_storage *mapped_addr, u8 nl_client,