Lines Matching refs:du
285 struct delayed_uprobe *du; in delayed_uprobe_check() local
287 list_for_each_entry(du, &delayed_uprobe_list, list) in delayed_uprobe_check()
288 if (du->uprobe == uprobe && du->mm == mm) in delayed_uprobe_check()
289 return du; in delayed_uprobe_check()
295 struct delayed_uprobe *du; in delayed_uprobe_add() local
300 du = kzalloc(sizeof(*du), GFP_KERNEL); in delayed_uprobe_add()
301 if (!du) in delayed_uprobe_add()
304 du->uprobe = uprobe; in delayed_uprobe_add()
305 du->mm = mm; in delayed_uprobe_add()
306 list_add(&du->list, &delayed_uprobe_list); in delayed_uprobe_add()
310 static void delayed_uprobe_delete(struct delayed_uprobe *du) in delayed_uprobe_delete() argument
312 if (WARN_ON(!du)) in delayed_uprobe_delete()
314 list_del(&du->list); in delayed_uprobe_delete()
315 kfree(du); in delayed_uprobe_delete()
321 struct delayed_uprobe *du; in delayed_uprobe_remove() local
327 du = list_entry(pos, struct delayed_uprobe, list); in delayed_uprobe_remove()
329 if (uprobe && du->uprobe != uprobe) in delayed_uprobe_remove()
331 if (mm && du->mm != mm) in delayed_uprobe_remove()
334 delayed_uprobe_delete(du); in delayed_uprobe_remove()
1329 struct delayed_uprobe *du; in delayed_ref_ctr_inc() local
1335 du = list_entry(pos, struct delayed_uprobe, list); in delayed_ref_ctr_inc()
1337 if (du->mm != vma->vm_mm || in delayed_ref_ctr_inc()
1338 !valid_ref_ctr_vma(du->uprobe, vma)) in delayed_ref_ctr_inc()
1341 vaddr = offset_to_vaddr(vma, du->uprobe->ref_ctr_offset); in delayed_ref_ctr_inc()
1344 update_ref_ctr_warn(du->uprobe, vma->vm_mm, 1); in delayed_ref_ctr_inc()
1348 delayed_uprobe_delete(du); in delayed_ref_ctr_inc()