/linux-6.1.9/drivers/misc/vmw_vmci/ |
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 …]
|
D | vmci_doorbell.c | 40 u32 priv_flags; member 85 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags) in vmci_dbell_get_priv_flags() argument 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() 264 static int dbell_notify_as_guest(struct vmci_handle handle, u32 priv_flags) in dbell_notify_as_guest() argument 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 [all …]
|
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() 1184 flags = context->priv_flags; in vmci_context_get_priv_flags()
|
D | vmci_queue_pair.h | 143 u32 flags, u32 priv_flags, 157 u32 peer, u32 flags, u32 priv_flags,
|
D | vmci_queue_pair.c | 153 u32 priv_flags; member 1100 u32 priv_flags) in qp_alloc_guest_work() argument 1111 if (priv_flags != VMCI_NO_PRIVILEGE_FLAGS) in qp_alloc_guest_work() 1285 u32 priv_flags, in qp_broker_create() argument 1351 !!(context->priv_flags & VMCI_PRIVILEGE_FLAG_RESTRICTED); in qp_broker_create() 1353 !!(priv_flags & VMCI_PRIVILEGE_FLAG_TRUSTED); in qp_broker_create() 1514 u32 priv_flags, in qp_broker_attach() argument 1549 if ((context->priv_flags & VMCI_PRIVILEGE_FLAG_RESTRICTED) && in qp_broker_attach() 1558 (!(priv_flags & VMCI_PRIVILEGE_FLAG_TRUSTED))) in qp_broker_attach() 1699 u32 priv_flags, in qp_broker_alloc() argument [all …]
|
D | vmci_doorbell.h | 38 int vmci_dbell_get_priv_flags(struct vmci_handle handle, u32 *priv_flags);
|
/linux-6.1.9/drivers/net/can/flexcan/ |
D | flexcan-ethtool.c | 53 u32 priv_flags = 0; in flexcan_get_priv_flags() local 56 priv_flags |= FLEXCAN_PRIV_FLAGS_RX_RTR; in flexcan_get_priv_flags() 58 return priv_flags; in flexcan_get_priv_flags() 61 static int flexcan_set_priv_flags(struct net_device *ndev, u32 priv_flags) in flexcan_set_priv_flags() argument 66 if (priv_flags & FLEXCAN_PRIV_FLAGS_RX_RTR) { in flexcan_set_priv_flags() 85 if (!(priv_flags & FLEXCAN_PRIV_FLAGS_RX_RTR) && in flexcan_set_priv_flags()
|
/linux-6.1.9/include/linux/ |
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);
|
D | netdevice.h | 2047 unsigned long long priv_flags; member 2476 return dev->priv_flags & IFF_PHONY_HEADROOM ? 0 : dev->needed_headroom; in netdev_get_fwd_headroom() 4982 return dev->priv_flags & IFF_MACSEC; in netif_is_macsec() 4987 return dev->priv_flags & IFF_MACVLAN; in netif_is_macvlan() 4992 return dev->priv_flags & IFF_MACVLAN_PORT; in netif_is_macvlan_port() 4997 return dev->flags & IFF_MASTER && dev->priv_flags & IFF_BONDING; in netif_is_bond_master() 5002 return dev->flags & IFF_SLAVE && dev->priv_flags & IFF_BONDING; in netif_is_bond_slave() 5007 return dev->priv_flags & IFF_SUPP_NOFCS; in netif_supports_nofcs() 5012 return dev->priv_flags & IFF_L3MDEV_RX_HANDLER; in netif_has_l3_rx_handler() 5017 return dev->priv_flags & IFF_L3MDEV_MASTER; in netif_is_l3_master() [all …]
|
/linux-6.1.9/drivers/pci/pcie/ |
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-6.1.9/net/core/ |
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-6.1.9/net/ethtool/ |
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-6.1.9/drivers/net/ethernet/asix/ |
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-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ethtool.c | 902 return aq_nic->aq_nic_cfg.priv_flags; in aq_ethtool_get_priv_flags() 909 u32 priv_flags; in aq_ethtool_set_priv_flags() local 913 priv_flags = cfg->priv_flags; in aq_ethtool_set_priv_flags() 918 if (hweight32((flags | priv_flags) & AQ_HW_LOOPBACK_MASK) > 1) { in aq_ethtool_set_priv_flags() 923 cfg->priv_flags = flags; in aq_ethtool_set_priv_flags() 925 if ((priv_flags ^ flags) & BIT(AQ_HW_LOOPBACK_DMA_NET)) { in aq_ethtool_set_priv_flags() 931 } else if ((priv_flags ^ flags) & AQ_HW_LOOPBACK_MASK) { in aq_ethtool_set_priv_flags()
|
/linux-6.1.9/net/bridge/ |
D | br_if.c | 125 if (!br_promisc_port(p) || !(p->dev->priv_flags & IFF_UNICAST_FLT)) in br_port_clear_promisc() 364 dev->priv_flags &= ~IFF_BRIDGE_PORT; in del_nbp() 592 if (dev->priv_flags & IFF_DONT_BRIDGE) { in br_add_if() 629 dev->priv_flags |= IFF_BRIDGE_PORT; in br_add_if() 640 if (!br_promisc_port(p) && (p->dev->priv_flags & IFF_UNICAST_FLT)) { in br_add_if() 709 dev->priv_flags &= ~IFF_BRIDGE_PORT; in br_add_if()
|
D | br_vlan.c | 115 v->priv_flags |= BR_VLFLAG_ADDED_BY_SWITCHDEV; in __vlan_vid_add() 153 if (!(v->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV)) in __vlan_vid_del() 223 if (v->priv_flags & BR_VLFLAG_PER_PORT_STATS) in nbp_vlan_rcu_free() 316 v->priv_flags |= BR_VLFLAG_PER_PORT_STATS; in __vlan_add() 329 v->priv_flags |= BR_VLFLAG_GLOBAL_MCAST_ENABLED; in __vlan_add() 962 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto() 979 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto() 992 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto() 1000 if (vlan->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in __br_vlan_set_proto() 1490 else if (v->priv_flags & BR_VLFLAG_ADDED_BY_SWITCHDEV) in br_vlan_fill_forward_path_mode()
|
/linux-6.1.9/drivers/net/ |
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-6.1.9/drivers/net/ethernet/cavium/liquidio/ |
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-6.1.9/drivers/net/wan/ |
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-6.1.9/net/openvswitch/ |
D | vport-netdev.c | 108 vport->dev->priv_flags |= IFF_OVS_DATAPATH; in ovs_netdev_link() 147 vport->dev->priv_flags &= ~IFF_OVS_DATAPATH; in ovs_netdev_detach_dev()
|
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-6.1.9/drivers/net/ipvlan/ |
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-6.1.9/net/8021q/ |
D | vlan_netlink.c | 170 dev->priv_flags |= (real_dev->priv_flags & IFF_XMIT_DST_RELEASE); in vlan_newlink()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
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-6.1.9/drivers/net/ethernet/intel/iavf/ |
D | iavf_ethtool.c | 467 const struct iavf_priv_flags *priv_flags; in iavf_get_priv_flags() local 469 priv_flags = &iavf_gstrings_priv_flags[i]; in iavf_get_priv_flags() 471 if (priv_flags->flag & adapter->flags) in iavf_get_priv_flags() 493 const struct iavf_priv_flags *priv_flags; in iavf_set_priv_flags() local 495 priv_flags = &iavf_gstrings_priv_flags[i]; in iavf_set_priv_flags() 498 new_flags |= priv_flags->flag; in iavf_set_priv_flags() 500 new_flags &= ~(priv_flags->flag); in iavf_set_priv_flags() 502 if (priv_flags->read_only && in iavf_set_priv_flags()
|