Home
last modified time | relevance | path

Searched refs:priv_flags (Results 1 – 25 of 177) sorted by relevance

12345678

/linux/drivers/misc/vmw_vmci/
A Dvmci_datagram.c32 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 Dvmci_doorbell.c40 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 Dvmci_context.c80 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 Dvmci_queue_pair.c153 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 Dvmci_queue_pair.h143 u32 flags, u32 priv_flags,
157 u32 peer, u32 flags, u32 priv_flags,
A Dvmci_doorbell.h38 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
/linux/include/linux/
A Dvmw_vmci_api.h28 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 Dnetdevice.h1983 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 Ddpc.c85 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 Dfailover.c83 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 Dprivflags.c15 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 Dax88796c_ioctl.c155 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 Daq_ethtool.c888 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 Daq_nic.c382 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 Dbr_if.c116 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 Dnet_failover.c402 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 Docteon_device.h584 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 Dhdlc.c51 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 Dvport-netdev.c108 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 Dvport-internal_dev.c103 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 Dipvlan_l3s.c208 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 Dvlan_netlink.c170 dev->priv_flags |= (real_dev->priv_flags & IFF_XMIT_DST_RELEASE); in vlan_newlink()
A Dvlan.c334 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 Dethtool.c944 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 Diavf_ethtool.c459 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()

Completed in 96 milliseconds

12345678