Searched refs:new_flags (Results 1 – 6 of 6) sorted by relevance
247 dls_promisc(dld_str_t *dsp, uint32_t new_flags) in dls_promisc() argument254 ASSERT(!(new_flags & ~(DLS_PROMISC_SAP | DLS_PROMISC_MULTI | in dls_promisc()261 if (new_flags == DLS_PROMISC_MULTI) in dls_promisc()264 if (dsp->ds_promisc == 0 && new_flags != 0) { in dls_promisc()269 dsp->ds_promisc = new_flags; in dls_promisc()272 (new_flags != DLS_PROMISC_SAP) ? 0 : in dls_promisc()284 } else if (dsp->ds_promisc != 0 && new_flags == 0) { in dls_promisc()288 dsp->ds_promisc = new_flags; in dls_promisc()299 } else if (dsp->ds_promisc == DLS_PROMISC_SAP && new_flags != 0 && in dls_promisc()300 new_flags != dsp->ds_promisc) { in dls_promisc()[all …]
578 uint32_t new_flags, promisc_saved; in proto_promiscon_req() local595 new_flags = promisc_saved = dsp->ds_promisc; in proto_promiscon_req()598 new_flags |= DLS_PROMISC_SAP; in proto_promiscon_req()602 new_flags |= DLS_PROMISC_MULTI; in proto_promiscon_req()606 new_flags |= DLS_PROMISC_PHYS; in proto_promiscon_req()623 err = dls_promisc(dsp, new_flags); in proto_promiscon_req()653 uint32_t new_flags; in proto_promiscoff_req() local670 new_flags = dsp->ds_promisc; in proto_promiscoff_req()677 new_flags &= ~DLS_PROMISC_SAP; in proto_promiscoff_req()685 new_flags &= ~DLS_PROMISC_MULTI; in proto_promiscoff_req()[all …]
528 uint_t new_flags; in dcam_open() local549 new_flags = 0; in dcam_open()562 new_flags |= DCAM1394_FLAG_OPEN_CONTROL; in dcam_open()569 new_flags |= DCAM1394_FLAG_OPEN_CAPTURE; in dcam_open()572 new_flags |= DCAM1394_FLAG_OPEN; in dcam_open()573 softc_p->flags |= new_flags; in dcam_open()
2949 uint16_t new_flags = 0; in ndp_sioc_update() local2967 new_flags = nce->nce_common->ncec_flags; in ndp_sioc_update()2971 new_flags |= NCE_F_ISROUTER; in ndp_sioc_update()2974 new_flags &= ~NCE_F_ISROUTER; in ndp_sioc_update()2983 new_flags |= NCE_F_STATIC; in ndp_sioc_update()2987 new_flags |= NCE_F_ANYCAST; in ndp_sioc_update()2990 new_flags &= ~NCE_F_ANYCAST; in ndp_sioc_update()3004 new_flags, in ndp_sioc_update()3017 if (old_flags & NCE_F_ISROUTER && !(new_flags & NCE_F_ISROUTER)) { in ndp_sioc_update()3036 ncec->ncec_flags = new_flags; in ndp_sioc_update()
15787 uint64_t new_flags; in ip_sioctl_slifname() local15851 new_flags = in ip_sioctl_slifname()15854 if ((new_flags ^ (IFF_IPV6|IFF_IPV4)) == 0) { in ip_sioctl_slifname()15863 if ((new_flags & IFF_IPV6) != 0) { in ip_sioctl_slifname()15871 if ((new_flags & IFF_BROADCAST) != 0) in ip_sioctl_slifname()
404 uint32_t new_flags = 0; in stmf_add_lu_to_session() local413 new_flags = ISS_GOT_INITIAL_LUNS; in stmf_add_lu_to_session()429 new_flags |= ISS_LUN_INVENTORY_CHANGED; in stmf_add_lu_to_session()431 atomic_or_32(&iss->iss_flags, new_flags); in stmf_add_lu_to_session()