wp_event
if (dtm->wp_event[wp_idx] >= 0)
if (dtm->wp_event[++wp_idx] >= 0)
dtm->wp_event[wp_idx] = hw->dtc_idx[dtc];
dtm->wp_event[wp_idx] = -1;
tmp = dtm->wp_event[wp_idx ^ 1];
dtm->wp_event[i] = -1;
s8 wp_event[4];
fd_wp = wp_event((void *)&the_var, &attr_new);
fd = wp_event((void *) &the_var, &attr);
fd[i] = wp_event((void *)&the_var, &attr);
fd[i] = wp_event((void *)&the_var, &attr);
fd3 = wp_event((void *)&the_var, SIGIO);