Unify the list processing with qb_list function

There was processing which is referring to the member of "struct qb_list_head".
This processing was concealed with the qb_list function and the list processing was unified.