Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_msg.c66 struct iwpm_nlmsg_request *nlmsg_request = NULL; in iwpm_register_pid() local
85 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_register_pid()
86 if (!nlmsg_request) { in iwpm_register_pid()
122 nlmsg_request->req_buffer = pm_msg; in iwpm_register_pid()
123 ret = iwpm_wait_complete_req(nlmsg_request); in iwpm_register_pid()
128 if (nlmsg_request) in iwpm_register_pid()
129 iwpm_free_nlmsg_request(&nlmsg_request->kref); in iwpm_register_pid()
150 struct iwpm_nlmsg_request *nlmsg_request = NULL; in iwpm_add_mapping() local
172 nlmsg_request = iwpm_get_nlmsg_request(nlh->nlmsg_seq, nl_client, GFP_KERNEL); in iwpm_add_mapping()
173 if (!nlmsg_request) { in iwpm_add_mapping()
[all …]
Diwpm_util.c344 struct iwpm_nlmsg_request *nlmsg_request = NULL; in iwpm_get_nlmsg_request() local
347 nlmsg_request = kzalloc(sizeof(struct iwpm_nlmsg_request), gfp); in iwpm_get_nlmsg_request()
348 if (!nlmsg_request) in iwpm_get_nlmsg_request()
352 list_add_tail(&nlmsg_request->inprocess_list, &iwpm_nlmsg_req_list); in iwpm_get_nlmsg_request()
355 kref_init(&nlmsg_request->kref); in iwpm_get_nlmsg_request()
356 kref_get(&nlmsg_request->kref); in iwpm_get_nlmsg_request()
357 nlmsg_request->nlmsg_seq = nlmsg_seq; in iwpm_get_nlmsg_request()
358 nlmsg_request->nl_client = nl_client; in iwpm_get_nlmsg_request()
359 nlmsg_request->request_done = 0; in iwpm_get_nlmsg_request()
360 nlmsg_request->err_code = 0; in iwpm_get_nlmsg_request()
[all …]
Diwpm_util.h133 int iwpm_wait_complete_req(struct iwpm_nlmsg_request *nlmsg_request);