Home
last modified time | relevance | path

Searched refs:new_flags (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/uts/common/io/dls/
H A Ddls.c247 dls_promisc(dld_str_t *dsp, uint32_t new_flags) in dls_promisc() argument
254 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 …]
/titanic_50/usr/src/uts/common/io/dld/
H A Ddld_proto.c578 uint32_t new_flags, promisc_saved; in proto_promiscon_req() local
595 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() local
670 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 …]
/titanic_50/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam.c528 uint_t new_flags; in dcam_open() local
549 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()
/titanic_50/usr/src/uts/common/inet/ip/
H A Dip_ndp.c2951 uint16_t new_flags = 0; in ndp_sioc_update() local
2969 new_flags = nce->nce_common->ncec_flags; in ndp_sioc_update()
2973 new_flags |= NCE_F_ISROUTER; in ndp_sioc_update()
2976 new_flags &= ~NCE_F_ISROUTER; in ndp_sioc_update()
2985 new_flags |= NCE_F_STATIC; in ndp_sioc_update()
2989 new_flags |= NCE_F_ANYCAST; in ndp_sioc_update()
2992 new_flags &= ~NCE_F_ANYCAST; in ndp_sioc_update()
3006 new_flags, in ndp_sioc_update()
3019 if (old_flags & NCE_F_ISROUTER && !(new_flags & NCE_F_ISROUTER)) { in ndp_sioc_update()
3038 ncec->ncec_flags = new_flags; in ndp_sioc_update()
H A Dip_if.c15787 uint64_t new_flags; in ip_sioctl_slifname() local
15851 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()
/titanic_50/usr/src/uts/common/io/comstar/stmf/
H A Dlun_map.c404 uint32_t new_flags = 0; in stmf_add_lu_to_session() local
413 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()