/linux/drivers/misc/vmw_vmci/ |
A D | vmci_datagram.c | 32 u32 priv_flags; member 52 u32 priv_flags, in dg_create_handle() argument 84 entry->priv_flags = priv_flags; in dg_create_handle() 107 u32 *priv_flags) in vmci_datagram_get_priv_flags() argument 123 *priv_flags = src_entry->priv_flags; in vmci_datagram_get_priv_flags() 126 *priv_flags = VMCI_MAX_PRIVILEGE_FLAGS; in vmci_datagram_get_priv_flags() 128 *priv_flags = vmci_context_get_priv_flags(context_id); in vmci_datagram_get_priv_flags() 206 dst_entry->priv_flags)) { in dg_dispatch_as_host() 405 u32 priv_flags, in vmci_datagram_create_handle_priv() argument 418 if (priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS) in vmci_datagram_create_handle_priv() [all …]
|
A D | vmci_doorbell.c | 40 u32 priv_flags; member 87 if (priv_flags == NULL || handle.context == VMCI_INVALID_ID) in vmci_dbell_get_priv_flags() 100 *priv_flags = entry->priv_flags; in vmci_dbell_get_priv_flags() 109 *priv_flags = vmci_context_get_priv_flags(handle.context); in vmci_dbell_get_priv_flags() 411 u32 priv_flags, in vmci_doorbell_create() argument 419 priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS) in vmci_doorbell_create() 467 entry->priv_flags = priv_flags; in vmci_doorbell_create() 579 int vmci_doorbell_notify(struct vmci_handle dst, u32 priv_flags) in vmci_doorbell_notify() argument 586 (priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS)) in vmci_doorbell_notify() 596 dst, priv_flags); in vmci_doorbell_notify() [all …]
|
A D | vmci_context.c | 80 struct vmci_ctx *vmci_ctx_create(u32 cid, u32 priv_flags, in vmci_ctx_create() argument 94 if (priv_flags & ~VMCI_PRIVILEGE_ALL_FLAGS) { in vmci_ctx_create() 96 priv_flags); in vmci_ctx_create() 146 context->priv_flags = priv_flags; in vmci_ctx_create() 201 static int ctx_fire_notification(u32 context_id, u32 priv_flags) in ctx_fire_notification() argument 230 if (vmci_deny_interaction(priv_flags, sub_ctx->priv_flags)) in ctx_fire_notification() 435 ctx_fire_notification(context->cid, context->priv_flags); in ctx_free_ctx() 616 if (context->priv_flags & VMCI_PRIVILEGE_FLAG_RESTRICTED) { in vmci_ctx_add_notification() 1187 flags = context->priv_flags; in vmci_context_get_priv_flags()
|
A D | vmci_queue_pair.c | 153 u32 priv_flags; member 1099 u32 priv_flags) in qp_alloc_guest_work() argument 1284 u32 priv_flags, in qp_broker_create() argument 1512 u32 priv_flags, in qp_broker_attach() argument 1697 u32 priv_flags, in qp_broker_alloc() argument 1775 u32 priv_flags, in qp_alloc_host_work() argument 1834 u32 priv_flags, in vmci_qp_alloc() argument 1847 flags, priv_flags); in vmci_qp_alloc() 1931 u32 priv_flags, in vmci_qp_broker_alloc() argument 2671 u32 priv_flags) in vmci_qpair_alloc() argument [all …]
|
A D | vmci_queue_pair.h | 143 u32 flags, u32 priv_flags, 157 u32 peer, u32 flags, u32 priv_flags,
|
A D | vmci_doorbell.h | 38 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
|
/linux/include/linux/ |
A D | vmw_vmci_api.h | 28 int vmci_datagram_create_handle_priv(u32 resource_id, u32 flags, u32 priv_flags, 35 u32 priv_flags, 38 int vmci_doorbell_notify(struct vmci_handle handle, u32 priv_flags); 52 u32 peer, u32 flags, u32 priv_flags);
|
A D | netdevice.h | 1983 unsigned int priv_flags; member 5132 return dev->priv_flags & IFF_MACSEC; in netif_is_macsec() 5137 return dev->priv_flags & IFF_MACVLAN; in netif_is_macvlan() 5142 return dev->priv_flags & IFF_MACVLAN_PORT; in netif_is_macvlan_port() 5157 return dev->priv_flags & IFF_SUPP_NOFCS; in netif_supports_nofcs() 5177 return dev->priv_flags & IFF_EBRIDGE; in netif_is_bridge_master() 5182 return dev->priv_flags & IFF_BRIDGE_PORT; in netif_is_bridge_port() 5187 return dev->priv_flags & IFF_OPENVSWITCH; in netif_is_ovs_master() 5202 return dev->priv_flags & IFF_TEAM; in netif_is_team_master() 5207 return dev->priv_flags & IFF_TEAM_PORT; in netif_is_team_port() [all …]
|
/linux/drivers/pci/pcie/ |
A D | dpc.c | 85 if (test_bit(PCI_DPC_RECOVERING, &pdev->priv_flags)) in dpc_completed() 122 return test_and_clear_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in pci_dpc_recovered() 149 set_bit(PCI_DPC_RECOVERING, &pdev->priv_flags); in dpc_reset_link() 165 clear_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in dpc_reset_link() 175 clear_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in dpc_reset_link() 178 set_bit(PCI_DPC_RECOVERED, &pdev->priv_flags); in dpc_reset_link() 182 clear_bit(PCI_DPC_RECOVERING, &pdev->priv_flags); in dpc_reset_link()
|
/linux/net/core/ |
A D | failover.c | 83 slave_dev->priv_flags |= (IFF_FAILOVER_SLAVE | IFF_LIVE_RENAME_OK); in failover_slave_register() 90 slave_dev->priv_flags &= ~(IFF_FAILOVER_SLAVE | IFF_LIVE_RENAME_OK); in failover_slave_register() 124 slave_dev->priv_flags &= ~(IFF_FAILOVER_SLAVE | IFF_LIVE_RENAME_OK); in failover_slave_unregister() 256 dev->priv_flags |= IFF_FAILOVER; in failover_register() 287 failover_dev->priv_flags &= ~IFF_FAILOVER; in failover_unregister()
|
/linux/net/ethtool/ |
A D | privflags.c | 15 u32 priv_flags; member 79 data->priv_flags = ops->get_priv_flags(dev); in privflags_prepare_data() 95 return ethnl_bitset32_size(&data->priv_flags, &all_flags, in privflags_reply_size() 109 &data->priv_flags, &all_flags, in privflags_fill_reply()
|
/linux/drivers/net/ethernet/asix/ |
A D | ax88796c_ioctl.c | 155 if ((ax_local->priv_flags ^ flags) & AX_CAP_COMP) in ax88796c_set_priv_flags() 159 ax_local->priv_flags = flags; in ax88796c_set_priv_flags() 168 return ax_local->priv_flags; in ax88796c_get_priv_flags()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_ethtool.c | 888 return aq_nic->aq_nic_cfg.priv_flags; in aq_ethtool_get_priv_flags() 895 u32 priv_flags; in aq_ethtool_set_priv_flags() local 899 priv_flags = cfg->priv_flags; in aq_ethtool_set_priv_flags() 904 if (hweight32((flags | priv_flags) & AQ_HW_LOOPBACK_MASK) > 1) { in aq_ethtool_set_priv_flags() 909 cfg->priv_flags = flags; in aq_ethtool_set_priv_flags() 911 if ((priv_flags ^ flags) & BIT(AQ_HW_LOOPBACK_DMA_NET)) { in aq_ethtool_set_priv_flags() 917 } else if ((priv_flags ^ flags) & AQ_HW_LOOPBACK_MASK) { in aq_ethtool_set_priv_flags()
|
A D | aq_nic.c | 382 self->ndev->priv_flags = aq_hw_caps->hw_priv_flags; in aq_nic_ndev_init() 383 self->ndev->priv_flags |= IFF_LIVE_ADDR_CHANGE; in aq_nic_ndev_init() 748 if (cfg->priv_flags & BIT(AQ_HW_LOOPBACK_DMA_NET)) { in aq_nic_xmit() 1220 !!(cfg->priv_flags & in aq_nic_set_loopback() 1225 !!(cfg->priv_flags & in aq_nic_set_loopback() 1230 !!(cfg->priv_flags & in aq_nic_set_loopback() 1235 !!(cfg->priv_flags & in aq_nic_set_loopback() 1240 !!(cfg->priv_flags & in aq_nic_set_loopback()
|
/linux/net/bridge/ |
A D | br_if.c | 116 if (!br_promisc_port(p) || !(p->dev->priv_flags & IFF_UNICAST_FLT)) in br_port_clear_promisc() 355 dev->priv_flags &= ~IFF_BRIDGE_PORT; in del_nbp() 603 if (dev->priv_flags & IFF_DONT_BRIDGE) { in br_add_if() 639 dev->priv_flags |= IFF_BRIDGE_PORT; in br_add_if() 650 if (!br_promisc_port(p) && (p->dev->priv_flags & IFF_UNICAST_FLT)) { in br_add_if() 719 dev->priv_flags &= ~IFF_BRIDGE_PORT; in br_add_if()
|
/linux/drivers/net/ |
A D | net_failover.c | 402 dst_release_flag &= primary_dev->priv_flags; in net_failover_compute_features() 418 dst_release_flag &= standby_dev->priv_flags; in net_failover_compute_features() 427 dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; in net_failover_compute_features() 430 dev->priv_flags |= IFF_XMIT_DST_RELEASE; in net_failover_compute_features() 733 failover_dev->priv_flags |= IFF_UNICAST_FLT | IFF_NO_QUEUE; in net_failover_create() 734 failover_dev->priv_flags &= ~(IFF_XMIT_DST_RELEASE | in net_failover_create()
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
A D | octeon_device.h | 584 u32 priv_flags; member 900 return !!(octdev->priv_flags & (0x1 << flag)); in lio_get_priv_flag() 907 octdev->priv_flags |= (0x1 << flag); in lio_set_priv_flag() 909 octdev->priv_flags &= ~(0x1 << flag); in lio_set_priv_flag()
|
/linux/drivers/net/wan/ |
A D | hdlc.c | 51 if (!(dev->priv_flags & IFF_WAN_HDLC)) { in hdlc_rcv() 105 if (!(dev->priv_flags & IFF_WAN_HDLC)) in hdlc_device_event() 230 dev->priv_flags = IFF_WAN_HDLC; in hdlc_setup_dev()
|
/linux/net/openvswitch/ |
A D | vport-netdev.c | 108 vport->dev->priv_flags |= IFF_OVS_DATAPATH; in ovs_netdev_link() 148 vport->dev->priv_flags &= ~IFF_OVS_DATAPATH; in ovs_netdev_detach_dev()
|
A D | vport-internal_dev.c | 103 netdev->priv_flags &= ~IFF_TX_SKB_SHARING; in do_setup() 104 netdev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_OPENVSWITCH | in do_setup()
|
/linux/drivers/net/ipvlan/ |
A D | ipvlan_l3s.c | 208 dev->priv_flags |= IFF_L3MDEV_RX_HANDLER; in ipvlan_l3s_register() 220 dev->priv_flags &= ~IFF_L3MDEV_RX_HANDLER; in ipvlan_l3s_unregister()
|
/linux/net/8021q/ |
A D | vlan_netlink.c | 170 dev->priv_flags |= (real_dev->priv_flags & IFF_XMIT_DST_RELEASE); in vlan_newlink()
|
A D | vlan.c | 334 vlandev->priv_flags &= ~IFF_XMIT_DST_RELEASE; in vlan_transfer_features() 335 vlandev->priv_flags |= (vlan->real_dev->priv_flags & IFF_XMIT_DST_RELEASE); in vlan_transfer_features()
|
/linux/drivers/net/ethernet/intel/ixgbevf/ |
A D | ethtool.c | 944 u32 priv_flags = 0; in ixgbevf_get_priv_flags() local 947 priv_flags |= IXGBEVF_PRIV_FLAGS_LEGACY_RX; in ixgbevf_get_priv_flags() 949 return priv_flags; in ixgbevf_get_priv_flags() 952 static int ixgbevf_set_priv_flags(struct net_device *netdev, u32 priv_flags) in ixgbevf_set_priv_flags() argument 958 if (priv_flags & IXGBEVF_PRIV_FLAGS_LEGACY_RX) in ixgbevf_set_priv_flags()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_ethtool.c | 459 const struct iavf_priv_flags *priv_flags; in iavf_get_priv_flags() local 461 priv_flags = &iavf_gstrings_priv_flags[i]; in iavf_get_priv_flags() 463 if (priv_flags->flag & adapter->flags) in iavf_get_priv_flags() 485 const struct iavf_priv_flags *priv_flags; in iavf_set_priv_flags() local 487 priv_flags = &iavf_gstrings_priv_flags[i]; in iavf_set_priv_flags() 490 new_flags |= priv_flags->flag; in iavf_set_priv_flags() 492 new_flags &= ~(priv_flags->flag); in iavf_set_priv_flags() 494 if (priv_flags->read_only && in iavf_set_priv_flags()
|