Lines Matching refs:cs1
534 struct call_struc *cs, *cs1; in deleteprocs() local
542 cs1 = cs; in deleteprocs()
544 kfree(cs1); in deleteprocs()
684 struct call_struc *cs, *cs1; in prot_stat_callback() local
689 cs1 = NULL; in prot_stat_callback()
730 cs1 = cs; /* remember structure */ in prot_stat_callback()
748 if (!cs1) { in prot_stat_callback()
753 if (cs1->ics.driver == -1) { in prot_stat_callback()
755 del_timer(&cs1->timer); in prot_stat_callback()
756 if (cs1->prev) in prot_stat_callback()
757 cs1->prev->next = cs1->next; /* forward link */ in prot_stat_callback()
759 divert_head = cs1->next; in prot_stat_callback()
760 if (cs1->next) in prot_stat_callback()
761 cs1->next->prev = cs1->prev; /* back link */ in prot_stat_callback()
763 kfree(cs1); in prot_stat_callback()
775 struct call_struc *cs, *cs1; in isdn_divert_stat_callback() local
808 cs1 = cs; in isdn_divert_stat_callback()
810 if (cs1->ics.driver == -1) { in isdn_divert_stat_callback()
812 if (cs1->prev) in isdn_divert_stat_callback()
813 cs1->prev->next = cs1->next; /* forward link */ in isdn_divert_stat_callback()
815 divert_head = cs1->next; in isdn_divert_stat_callback()
816 if (cs1->next) in isdn_divert_stat_callback()
817 cs1->next->prev = cs1->prev; /* back link */ in isdn_divert_stat_callback()
819 kfree(cs1); in isdn_divert_stat_callback()