get_tail_pipe
tail_pipe = get_tail_pipe(opp_heads[i]);
struct pipe_ctx *tail_pipe = get_tail_pipe(last_opp_head);