Lines Matching refs:cur_image
435 void *old_addr = tr->cur_image->image;
446 bpf_tramp_image_put(tr->cur_image);
447 tr->cur_image = NULL;
454 void *old_addr = tr->cur_image->image;
468 bpf_tramp_image_put(tr->cur_image);
469 tr->cur_image = im;
498 tr->cur_image = im;
800 if (tr->cur_image)
953 * image that is not freed yet, not only in cur_image, so patch all of them to
1639 tr->cur_image = im;
1645 unsigned long addr = (unsigned long) tr->cur_image->image;
1653 tr->cur_image = NULL;
1668 tr->cur_image = im;
1680 tr->multi_attach.old_image = tr->cur_image;
1689 * unregister_fentry_multi() is called, cur_image is unchanged
1690 * (cur_image == old_image) and ftrace still points to it. Freeing
1692 * On success, cur_image is either a new image or NULL, so
1693 * old_image != cur_image means the image is stale.
1696 tr->multi_attach.old_image != tr->cur_image)
1705 if (tr->cur_image)
1706 bpf_tramp_image_put(tr->cur_image);
1707 tr->cur_image = tr->multi_attach.old_image;