Lines Matching refs:bitoff
603 u_int32_t bytoff, bitoff; in if_clone_create() local
616 bytoff = bitoff = 0; in if_clone_create()
632 while ((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0) { in if_clone_create()
633 bitoff++; in if_clone_create()
635 unit = (bytoff << 3) + bitoff; in if_clone_create()
646 bitoff++; in if_clone_create()
655 bitoff = unit - (bytoff << 3); in if_clone_create()
661 KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) == 0, in if_clone_create()
663 ifc->ifc_units[bytoff] |= (unsigned char)(1 << bitoff); in if_clone_create()
697 int bytoff, bitoff; in if_clone_destroy() local
736 bitoff = unit - (bytoff << 3); in if_clone_destroy()
737 KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0, in if_clone_destroy()
739 ifc->ifc_units[bytoff] &= ~(1 << bitoff); in if_clone_destroy()
797 int bytoff, bitoff; in if_clone_attach() local
835 bitoff = unit - (bytoff << 3); in if_clone_attach()
836 ifc->ifc_units[bytoff] |= (unsigned char)(1 << bitoff); in if_clone_attach()