Searched refs:nl_client (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/core/ |
D | iwpm_util.c | 48 int iwpm_init(u8 nl_client) in iwpm_init() argument 50 if (iwpm_valid_client(nl_client)) in iwpm_init() 64 iwpm_set_valid(nl_client, 1); in iwpm_init() 71 int iwpm_exit(u8 nl_client) in iwpm_exit() argument 74 if (!iwpm_valid_client(nl_client)) in iwpm_exit() 87 iwpm_set_valid(nl_client, 0); in iwpm_exit() 97 u8 nl_client) in iwpm_create_mapinfo() argument 103 if (!iwpm_valid_client(nl_client)) in iwpm_create_mapinfo() 114 map_info->nl_client = nl_client; in iwpm_create_mapinfo() 184 u8 nl_client, gfp_t gfp) in iwpm_get_nlmsg_request() argument [all …]
|
D | iwpm_msg.c | 57 int iwpm_register_pid(struct iwpm_dev_data *pm_msg, u8 nl_client) in iwpm_register_pid() argument 66 if (!iwpm_valid_client(nl_client)) { in iwpm_register_pid() 70 if (iwpm_registered_client(nl_client)) in iwpm_register_pid() 72 skb = iwpm_create_nlmsg(RDMA_NL_IWPM_REG_PID, &nlh, nl_client); in iwpm_register_pid() 78 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_register_pid() 109 iwpm_set_registered(nl_client, 1); in iwpm_register_pid() 118 pr_info("%s: %s (client = %d)\n", __func__, err_str, nl_client); in iwpm_register_pid() 134 int iwpm_add_mapping(struct iwpm_sa_data *pm_msg, u8 nl_client) in iwpm_add_mapping() argument 143 if (!iwpm_valid_client(nl_client)) { in iwpm_add_mapping() 147 if (!iwpm_registered_client(nl_client)) { in iwpm_add_mapping() [all …]
|
D | iwpm_util.h | 65 u8 nl_client; member 76 u8 nl_client; member 96 u8 nl_client, gfp_t gfp); 137 int iwpm_valid_client(u8 nl_client); 144 void iwpm_set_valid(u8 nl_client, int valid); 152 int iwpm_registered_client(u8 nl_client); 159 void iwpm_set_registered(u8 nl_client, int reg); 169 int iwpm_send_mapinfo(u8 nl_client, int iwpm_pid); 216 int nl_client);
|
D | netlink.c | 56 struct ibnl_client *nl_client; in ibnl_add_client() local 58 nl_client = kmalloc(sizeof *nl_client, GFP_KERNEL); in ibnl_add_client() 59 if (!nl_client) in ibnl_add_client() 62 nl_client->index = index; in ibnl_add_client() 63 nl_client->nops = nops; in ibnl_add_client() 64 nl_client->cb_table = cb_table; in ibnl_add_client() 72 kfree(nl_client); in ibnl_add_client() 77 list_add_tail(&nl_client->list, &client_list); in ibnl_add_client()
|