Searched refs:nl_client (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | iwpm_msg.c | 63 int iwpm_register_pid(struct iwpm_dev_data *pm_msg, u8 nl_client) in iwpm_register_pid() argument 72 if (!iwpm_valid_client(nl_client)) { in iwpm_register_pid() 76 if (iwpm_check_registration(nl_client, IWPM_REG_VALID) || in iwpm_register_pid() 79 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_REG_PID, &nlh, nl_client); in iwpm_register_pid() 85 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_register_pid() 126 pr_info("%s: %s (client = %d)\n", __func__, err_str, nl_client); in iwpm_register_pid() 147 int iwpm_add_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client) in iwpm_add_mapping() argument 156 if (!iwpm_valid_client(nl_client)) { in iwpm_add_mapping() 162 if (!iwpm_check_registration(nl_client, IWPM_REG_VALID)) { in iwpm_add_mapping() 166 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_ADD_MAPPING, &nlh, nl_client); in iwpm_add_mapping() [all …]
|
D | iwpm_util.h | 69 u8 nl_client; member 80 u8 nl_client; member 89 u8 nl_client; member 109 u8 nl_client, gfp_t gfp); 157 int iwpm_valid_client(u8 nl_client); 164 void iwpm_set_valid(u8 nl_client, int valid); 176 u32 iwpm_check_registration(u8 nl_client, u32 reg); 183 void iwpm_set_registration(u8 nl_client, u32 reg); 191 u32 iwpm_get_registration(u8 nl_client); 201 int iwpm_send_mapinfo(u8 nl_client, int iwpm_pid); [all …]
|
D | iwpm_util.c | 60 int iwpm_init(u8 nl_client) in iwpm_init() argument 85 iwpm_set_valid(nl_client, 1); in iwpm_init() 86 iwpm_set_registration(nl_client, IWPM_REG_UNDEF); in iwpm_init() 102 int iwpm_exit(u8 nl_client) in iwpm_exit() argument 105 if (!iwpm_valid_client(nl_client)) in iwpm_exit() 119 iwpm_set_valid(nl_client, 0); in iwpm_exit() 120 iwpm_set_registration(nl_client, IWPM_REG_UNDEF); in iwpm_exit() 137 u8 nl_client, u32 map_flags) in iwpm_create_mapinfo() argument 144 if (!iwpm_valid_client(nl_client)) in iwpm_create_mapinfo() 154 map_info->nl_client = nl_client; in iwpm_create_mapinfo() [all …]
|
/kernel/linux/linux-5.10/include/rdma/ |
D | iw_portmap.h | 44 int iwpm_register_pid(struct iwpm_dev_data *pm_msg, u8 nl_client); 45 int iwpm_add_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client); 46 int iwpm_add_and_query_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client); 47 int iwpm_remove_mapping(struct sockaddr_storage *local_addr, u8 nl_client); 57 struct sockaddr_storage *remote_addr, u8 nl_client); 59 struct sockaddr_storage *mapped_addr, u8 nl_client,
|