Searched refs:new_kmod_req (Results 1 – 1 of 1) sorted by relevance
122 struct kmod_dup_req *kmod_req, *new_kmod_req; in kmod_dup_request_exists_wait() local129 new_kmod_req = kzalloc(sizeof(*new_kmod_req), GFP_KERNEL); in kmod_dup_request_exists_wait()130 if (!new_kmod_req) in kmod_dup_request_exists_wait()133 memcpy(new_kmod_req->name, module_name, strlen(module_name)); in kmod_dup_request_exists_wait()134 INIT_WORK(&new_kmod_req->complete_work, kmod_dup_request_complete); in kmod_dup_request_exists_wait()135 INIT_DELAYED_WORK(&new_kmod_req->delete_work, kmod_dup_request_delete); in kmod_dup_request_exists_wait()136 init_completion(&new_kmod_req->first_req_done); in kmod_dup_request_exists_wait()154 kfree(new_kmod_req); in kmod_dup_request_exists_wait()165 list_add_rcu(&new_kmod_req->list, &dup_kmod_reqs); in kmod_dup_request_exists_wait()172 kfree(new_kmod_req); in kmod_dup_request_exists_wait()