Lines Matching refs:bitoff
591 u_int32_t bytoff, bitoff; in if_clone_create() local
604 bytoff = bitoff = 0; in if_clone_create()
620 while ((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0) { in if_clone_create()
621 bitoff++; in if_clone_create()
623 unit = (bytoff << 3) + bitoff; in if_clone_create()
634 bitoff++; in if_clone_create()
643 bitoff = unit - (bytoff << 3); in if_clone_create()
649 KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) == 0, in if_clone_create()
651 ifc->ifc_units[bytoff] |= (unsigned char)(1 << bitoff); in if_clone_create()
685 int bytoff, bitoff; in if_clone_destroy() local
725 bitoff = unit - (bytoff << 3); in if_clone_destroy()
726 KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0, in if_clone_destroy()
728 ifc->ifc_units[bytoff] &= ~(1 << bitoff); in if_clone_destroy()
784 int bytoff, bitoff; in if_clone_attach() local
819 bitoff = unit - (bytoff << 3); in if_clone_attach()
820 ifc->ifc_units[bytoff] |= (unsigned char)(1 << bitoff); in if_clone_attach()