Lines Matching refs:wd
39 struct wd_data *wd = container_of(co, struct wd_data, callout); in test_wd_callback() local
41 if (wd->pending) in test_wd_callback()
42 wd->timeout_count++; in test_wd_callback()
43 wd->call_count++; in test_wd_callback()
44 if (wd->call_count < 10 || !(wd->call_count % 60) || wd->pending) { in test_wd_callback()
47 wd->guest_id, wd->call_count, wd->timeout_count); in test_wd_callback()
50 wd->call_count, wd->timeout_count); in test_wd_callback()
52 wd->pending = true; in test_wd_callback()
53 notif_send_async(NOTIF_VALUE_DO_BOTTOM_HALF, wd->guest_id); in test_wd_callback()
63 struct wd_data *wd = get_wd_data(prtn); in wd_ndrv_atomic_cb() local
65 if (!wd->enabled) { in wd_ndrv_atomic_cb()
66 wd->guest_id = guest_id; in wd_ndrv_atomic_cb()
67 callout_add(&wd->callout, test_wd_callback, in wd_ndrv_atomic_cb()
70 wd->enabled = true; in wd_ndrv_atomic_cb()
82 struct wd_data *wd = get_wd_data(prtn); in wd_ndrv_yielding_cb() local
84 if (wd->pending && wd->call_count < 10) in wd_ndrv_yielding_cb()
86 wd->pending = false; in wd_ndrv_yielding_cb()
98 struct wd_data *wd = data; in wd_data_destroy() local
100 callout_rem(&wd->callout); in wd_data_destroy()