Home
last modified time | relevance | path

Searched refs:nlmsg_request (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/core/
Diwpm_msg.c66 struct iwpm_nlmsg_request *nlmsg_request = NULL; in iwpm_register_pid() local
81 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_register_pid()
82 if (!nlmsg_request) { in iwpm_register_pid()
118 nlmsg_request->req_buffer = pm_msg; in iwpm_register_pid()
119 ret = iwpm_wait_complete_req(nlmsg_request); in iwpm_register_pid()
124 if (nlmsg_request) in iwpm_register_pid()
125 iwpm_free_nlmsg_request(&nlmsg_request->kref); in iwpm_register_pid()
146 struct iwpm_nlmsg_request *nlmsg_request = NULL; in iwpm_add_mapping() local
164 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_add_mapping()
165 if (!nlmsg_request) { in iwpm_add_mapping()
[all …]
Diwpm_util.c310 struct iwpm_nlmsg_request *nlmsg_request = NULL; in iwpm_get_nlmsg_request() local
313 nlmsg_request = kzalloc(sizeof(struct iwpm_nlmsg_request), gfp); in iwpm_get_nlmsg_request()
314 if (!nlmsg_request) in iwpm_get_nlmsg_request()
318 list_add_tail(&nlmsg_request->inprocess_list, &iwpm_nlmsg_req_list); in iwpm_get_nlmsg_request()
321 kref_init(&nlmsg_request->kref); in iwpm_get_nlmsg_request()
322 kref_get(&nlmsg_request->kref); in iwpm_get_nlmsg_request()
323 nlmsg_request->nlmsg_seq = nlmsg_seq; in iwpm_get_nlmsg_request()
324 nlmsg_request->nl_client = nl_client; in iwpm_get_nlmsg_request()
325 nlmsg_request->request_done = 0; in iwpm_get_nlmsg_request()
326 nlmsg_request->err_code = 0; in iwpm_get_nlmsg_request()
[all …]
Diwpm_util.h130 int iwpm_wait_complete_req(struct iwpm_nlmsg_request *nlmsg_request);