/Linux-v5.15/drivers/gpu/drm/i915/gt/ |
D | intel_lrc_reg.h | 33 #define ASSIGN_CTX_PDP(ppgtt, reg_state, n) do { \ argument 34 u32 *reg_state__ = (reg_state); \ 40 #define ASSIGN_CTX_PML4(ppgtt, reg_state) do { \ argument 41 u32 *reg_state__ = (reg_state); \
|
/Linux-v5.15/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 114 WARN_ON(ppriv->dev->reg_state != NETREG_REGISTERED); in __ipoib_vlan_add() 181 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_add() 202 if (result && ndev->reg_state == NETREG_UNINITIALIZED) in ipoib_vlan_add() 235 if (dev->reg_state == NETREG_REGISTERED) { in ipoib_vlan_delete_task() 259 if (pdev->reg_state != NETREG_REGISTERED) { in ipoib_vlan_delete()
|
/Linux-v5.15/net/core/ |
D | xdp.c | 123 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_unreg_mem_model() 143 if (xdp_rxq->reg_state == REG_STATE_UNUSED) in xdp_rxq_info_unreg() 146 WARN(!(xdp_rxq->reg_state == REG_STATE_REGISTERED), "Driver BUG"); in xdp_rxq_info_unreg() 150 xdp_rxq->reg_state = REG_STATE_UNREGISTERED; in xdp_rxq_info_unreg() 164 if (xdp_rxq->reg_state == REG_STATE_UNUSED) { in xdp_rxq_info_reg() 169 if (xdp_rxq->reg_state == REG_STATE_REGISTERED) { in xdp_rxq_info_reg() 185 xdp_rxq->reg_state = REG_STATE_REGISTERED; in xdp_rxq_info_reg() 192 xdp_rxq->reg_state = REG_STATE_UNUSED; in xdp_rxq_info_unused() 198 return (xdp_rxq->reg_state == REG_STATE_REGISTERED); in xdp_rxq_info_is_reg() 272 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) { in xdp_rxq_info_reg_mem_model()
|
D | dev.c | 2912 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues() 2913 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues() 2959 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues() 5748 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog() 5758 if (skb->dev->reg_state == NETREG_UNREGISTERING) { in flush_backlog() 10215 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice() 10308 dev->reg_state = NETREG_UNREGISTERED; in register_netdevice() 10311 dev->reg_state = NETREG_REGISTERED; in register_netdevice() 10389 dev->reg_state = NETREG_DUMMY; in init_dummy_netdev() 10579 if (unlikely(dev->reg_state != NETREG_UNREGISTERING)) { in netdev_run_todo() [all …]
|
D | net-sysfs.c | 37 return dev->reg_state <= NETREG_REGISTERED; in dev_isalive() 1838 BUG_ON(dev->reg_state != NETREG_RELEASED); in netdev_release()
|
/Linux-v5.15/drivers/infiniband/core/ |
D | roce_gid_mgmt.c | 344 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv4_ips() 389 if (ndev->reg_state >= NETREG_UNREGISTERING) in enum_netdev_ipv6_ips() 770 if (ndev->reg_state < NETREG_UNREGISTERED) in netdevice_event() 778 if (ndev->reg_state == NETREG_REGISTERED) { in netdevice_event()
|
/Linux-v5.15/drivers/gpu/drm/i915/gvt/ |
D | scheduler.c | 83 u32 *reg_state, bool save) in sr_oa_regs() argument 103 workload->oactxctrl = reg_state[ctx_oactxctrl + 1]; in sr_oa_regs() 108 workload->flex_mmio[i] = reg_state[state_offset + 1]; in sr_oa_regs() 111 reg_state[ctx_oactxctrl] = in sr_oa_regs() 113 reg_state[ctx_oactxctrl + 1] = workload->oactxctrl; in sr_oa_regs() 119 reg_state[state_offset] = mmio; in sr_oa_regs() 120 reg_state[state_offset + 1] = workload->flex_mmio[i]; in sr_oa_regs()
|
D | mmio_context.c | 461 const u32 *reg_state = ce->lrc_reg_state; in is_inhibit_context() local 466 (reg_state[CTX_CONTEXT_CONTROL_VAL] & inhibit_mask); in is_inhibit_context()
|
/Linux-v5.15/net/phonet/ |
D | pn_dev.c | 120 if ((dev->reg_state == NETREG_REGISTERED) && in phonet_device_get() 215 if ((pnd->netdev->reg_state != NETREG_REGISTERED) || in phonet_address_lookup()
|
/Linux-v5.15/drivers/infiniband/hw/hfi1/ |
D | ipoib_tx.c | 106 if (unlikely(dev->reg_state != NETREG_REGISTERED)) in hfi1_ipoib_check_queue_stopped() 637 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) { in hfi1_ipoib_sdma_sleep() 677 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) in hfi1_ipoib_sdma_wakeup() 690 if (likely(dev->reg_state == NETREG_REGISTERED) && in hfi1_ipoib_flush_txq()
|
/Linux-v5.15/net/openvswitch/ |
D | vport-netdev.c | 175 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
|
/Linux-v5.15/include/net/ |
D | xdp.h | 60 u32 reg_state; member
|
/Linux-v5.15/drivers/iio/light/ |
D | stk3310.c | 111 struct regmap_field *reg_state; member 430 ret = regmap_field_write(data->reg_state, state); in stk3310_set_state()
|
/Linux-v5.15/net/sched/ |
D | sch_generic.c | 526 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on() 545 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off() 563 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_event()
|
/Linux-v5.15/drivers/net/bonding/ |
D | bond_options.c | 731 if (!ret && (bond->dev->reg_state == NETREG_REGISTERED)) in __bond_opt_set_notify() 827 if (bond->dev->reg_state == NETREG_REGISTERED) { in bond_option_mode_set() 1268 if (bond->dev->reg_state == NETREG_REGISTERED) in bond_option_xmit_hash_policy_set()
|
/Linux-v5.15/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_pci_func.c | 345 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
|
/Linux-v5.15/drivers/staging/rtl8712/ |
D | usb_intf.c | 602 if (pnetdev->reg_state != NETREG_UNINITIALIZED) in r871xu_dev_remove()
|
/Linux-v5.15/net/8021q/ |
D | vlan_core.c | 363 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()
|
D | vlan.c | 483 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
|
/Linux-v5.15/net/bridge/ |
D | br_device.c | 239 if (dev->reg_state != NETREG_REGISTERED) in br_set_mac_address()
|
/Linux-v5.15/drivers/net/ethernet/sfc/falcon/ |
D | net_driver.h | 906 return efx->net_dev->reg_state == NETREG_REGISTERED; in ef4_dev_registered()
|
/Linux-v5.15/kernel/bpf/ |
D | verifier.c | 2914 struct bpf_func_state *reg_state, in check_stack_read_fixed_off() argument 2923 stype = reg_state->stack[spi].slot_type; in check_stack_read_fixed_off() 2924 reg = ®_state->stack[spi].spilled_ptr; in check_stack_read_fixed_off() 2982 mark_reg_stack_read(env, reg_state, off, off + size, dst_regno); in check_stack_read_fixed_off() 2998 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state() function 3020 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read_var_off() 3051 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read() 3112 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_write() 3476 return __is_pointer_value(env->allow_ptr_leaks, reg_state(env, regno)); in is_pointer_value() 3481 const struct bpf_reg_state *reg = reg_state(env, regno); in is_ctx_reg() [all …]
|
/Linux-v5.15/include/linux/ |
D | netdevice.h | 2190 } reg_state:8; member 5257 return dev->reg_state == NETREG_UNREGISTERING; in netdev_unregistering() 5262 switch (dev->reg_state) { in netdev_reg_state() 5271 WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, dev->reg_state); in netdev_reg_state()
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | net_driver.h | 1133 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
|
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/abm/ |
D | qdisc.c | 299 netdev->reg_state == NETREG_UNREGISTERING) in nfp_abm_qdisc_clear_mq()
|