| /linux/drivers/gpu/drm/i915/gt/ |
| H A 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/include/net/ |
| H A D | netdev_lock.h | 23 if (dev->reg_state == NETREG_REGISTERED || in netdev_assert_locked_or_invisible() 24 dev->reg_state == NETREG_UNREGISTERING) in netdev_assert_locked_or_invisible() 78 if (dev->reg_state == NETREG_REGISTERED || in netdev_ops_assert_locked_or_invisible() 79 dev->reg_state == NETREG_UNREGISTERING) in netdev_ops_assert_locked_or_invisible()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | reg_bounds.c | 653 struct reg_state { struct 658 static void print_reg_state(struct reg_state *r, const char *sfx) in print_reg_state() argument 691 static void reg_state_refine(struct reg_state *r, enum num_t t, struct range x, const char *ctx) in reg_state_refine() 709 /* now see if we can derive anything new from updated reg_state's ranges */ in reg_state_refine() 729 static void reg_state_set_const(struct reg_state *rs, enum num_t t, u64 val) in reg_state_set_const() 740 static void reg_state_cond(enum num_t t, struct reg_state *x, struct reg_state *y, enum op op, in reg_state_cond() 741 struct reg_state *newx, struct reg_state *newy, const char *ctx) in reg_state_cond() 745 struct reg_state x in reg_state_cond() [all...] |
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | aqua_vanjaram.c | 890 int reg_state) in aqua_vanjaram_read_usr_state() argument 904 switch (reg_state) { in aqua_vanjaram_read_usr_state() 958 enum amdgpu_reg_state reg_state, void *buf, in aqua_vanjaram_get_reg_state() argument 963 switch (reg_state) { in aqua_vanjaram_get_reg_state()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | ipoib_tx.c | 94 if (unlikely(dev->reg_state != NETREG_REGISTERED)) in hfi1_ipoib_check_queue_stopped() 624 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) { in hfi1_ipoib_sdma_sleep() 664 if (likely(txq->priv->netdev->reg_state == NETREG_REGISTERED)) in hfi1_ipoib_sdma_wakeup() 677 if (likely(dev->reg_state == NETREG_REGISTERED) && in hfi1_ipoib_flush_txq()
|
| /linux/net/openvswitch/ |
| H A D | vport-netdev.c | 190 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
|
| /linux/net/caif/ |
| H A D | caif_usb.c | 138 if (what == NETDEV_UNREGISTER && dev->reg_state >= NETREG_UNREGISTERED) in cfusbl_device_notify()
|
| /linux/drivers/net/netdevsim/ |
| H A D | udp_tunnels.c | 110 if (dev->reg_state == NETREG_REGISTERED) { in nsim_udp_tunnels_info_reset_write()
|
| /linux/net/core/ |
| H A D | dev.c | 824 if (!napi || READ_ONCE(napi->dev->reg_state) != NETREG_REGISTERED) { in netdev_napi_by_id_lock() 1047 if (dev->reg_state > NETREG_REGISTERED || in __netdev_put_lock() 1061 if (dev->reg_state > NETREG_REGISTERED || in __netdev_put_lock_ops_compat() 3180 if (dev->reg_state == NETREG_REGISTERED || in netif_set_real_num_tx_queues() 3181 dev->reg_state == NETREG_UNREGISTERING) { in netif_set_real_num_tx_queues() 3230 if (dev->reg_state == NETREG_REGISTERED) { in netif_set_real_num_rx_queues() 6442 if (READ_ONCE(skb->dev->reg_state) == NETREG_UNREGISTERING) { in flush_backlog() 6452 if (READ_ONCE(skb->dev->reg_state) == NETREG_UNREGISTERING) { in flush_backlog() 11295 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED); in register_netdevice() 11396 WRITE_ONCE(dev->reg_state, ret ? NETREG_UNREGISTERED : NETREG_REGISTERED); in register_netdevice() [all …]
|
| /linux/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 134 enum:8 reg_state
|
| /linux/net/sched/ |
| H A D | sch_generic.c | 588 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_on() 607 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_off() 625 if (dev->reg_state == NETREG_UNINITIALIZED) in netif_carrier_event()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_pci_func.c | 347 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
|
| /linux/net/8021q/ |
| H A D | vlan_core.c | 363 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()
|
| H A D | vlan.c | 502 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
|
| /linux/net/bridge/ |
| H A D | br_device.c | 232 if (dev->reg_state != NETREG_REGISTERED) in br_set_mac_address()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_devlink.c | 446 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down() 482 if (bp->dev->reg_state == NETREG_UNREGISTERED) { in bnxt_dl_reload_down()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 5387 struct bpf_func_state *reg_state, in check_stack_read_fixed_off() argument 5395 int insn_flags = insn_stack_access_flags(reg_state->frameno, spi); in check_stack_read_fixed_off() 5398 stype = reg_state->stack[spi].slot_type; in check_stack_read_fixed_off() 5399 reg = ®_state->stack[spi].spilled_ptr; in check_stack_read_fixed_off() 5403 err = bpf_mark_stack_read(env, reg_state->frameno, env->insn_idx, BIT(spi)); in check_stack_read_fixed_off() 5407 if (is_spilled_reg(®_state->stack[spi])) { in check_stack_read_fixed_off() 5505 mark_reg_stack_read(env, reg_state, off, off + size, dst_regno); in check_stack_read_fixed_off() 5524 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) in reg_state() function 5546 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read_var_off() 5578 struct bpf_reg_state *reg = reg_state(env, ptr_regno); in check_stack_read() [all …]
|
| /linux/drivers/net/bonding/ |
| H A D | bond_options.c | 836 if (!ret && (bond->dev->reg_state == NETREG_REGISTERED)) in __bond_opt_set_notify() 929 if (bond->dev->reg_state == NETREG_REGISTERED) { in bond_option_mode_set()
|
| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | main.c | 1009 if (dev->reg_state != NETREG_REGISTERED) in lbs_stop_card()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | net_driver.h | 1118 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_bond.c | 808 if (net_dev->reg_state >= NETREG_UNREGISTERING) { in hns_roce_bond_upper_event()
|
| /linux/drivers/net/ethernet/netronome/nfp/abm/ |
| H A D | qdisc.c | 299 netdev->reg_state == NETREG_UNREGISTERING) in nfp_abm_qdisc_clear_mq()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 1220 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
|
| /linux/drivers/net/ethernet/marvell/octeon_ep_vf/ |
| H A D | octep_vf_main.c | 1168 if (netdev->reg_state == NETREG_REGISTERED) in octep_vf_remove()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvlan_main.c | 763 if (dev->reg_state != NETREG_UNREGISTERING) in ipvlan_device_event()
|