Lines Matching refs:bitoff
610 u_int32_t bytoff, bitoff; in if_clone_create() local
623 bytoff = bitoff = 0; in if_clone_create()
639 while ((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0) { in if_clone_create()
640 bitoff++; in if_clone_create()
642 unit = (bytoff << 3) + bitoff; in if_clone_create()
653 bitoff++; in if_clone_create()
662 bitoff = unit - (bytoff << 3); in if_clone_create()
668 KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) == 0, in if_clone_create()
670 ifc->ifc_units[bytoff] |= (unsigned char)(1 << bitoff); in if_clone_create()
704 int bytoff, bitoff; in if_clone_destroy() local
743 bitoff = unit - (bytoff << 3); in if_clone_destroy()
744 KASSERT((ifc->ifc_units[bytoff] & (1 << bitoff)) != 0, in if_clone_destroy()
746 ifc->ifc_units[bytoff] &= ~(1 << bitoff); in if_clone_destroy()
804 int bytoff, bitoff; in if_clone_attach() local
842 bitoff = unit - (bytoff << 3); in if_clone_attach()
843 ifc->ifc_units[bytoff] |= (unsigned char)(1 << bitoff); in if_clone_attach()