Home
last modified time | relevance | path

Searched refs:reg_state (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_lrc_reg.h33 #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 Dnetdev_lock.h23 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 Dreg_bounds.c653 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 Daqua_vanjaram.c890 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 Dipoib_tx.c94 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 Dvport-netdev.c190 if (vport->dev->reg_state == NETREG_REGISTERED) in ovs_netdev_tunnel_destroy()
/linux/net/caif/
H A Dcaif_usb.c138 if (what == NETDEV_UNREGISTER && dev->reg_state >= NETREG_UNREGISTERED) in cfusbl_device_notify()
/linux/drivers/net/netdevsim/
H A Dudp_tunnels.c110 if (dev->reg_state == NETREG_REGISTERED) { in nsim_udp_tunnels_info_reset_write()
/linux/net/core/
H A Ddev.c824 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 Dnet_device.rst134 enum:8 reg_state
/linux/net/sched/
H A Dsch_generic.c588 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 Daq_pci_func.c347 if (self->ndev->reg_state == NETREG_REGISTERED) in aq_pci_remove()
/linux/net/8021q/
H A Dvlan_core.c363 if (err && dev->reg_state != NETREG_UNREGISTERING) in __vlan_vid_del()
H A Dvlan.c502 if (dev->reg_state != NETREG_UNREGISTERING) in vlan_device_event()
/linux/net/bridge/
H A Dbr_device.c232 if (dev->reg_state != NETREG_REGISTERED) in br_set_mac_address()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_devlink.c446 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 Dverifier.c5387 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 = &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(&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 Dbond_options.c836 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 Dmain.c1009 if (dev->reg_state != NETREG_REGISTERED) in lbs_stop_card()
/linux/drivers/net/ethernet/sfc/siena/
H A Dnet_driver.h1118 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_bond.c808 if (net_dev->reg_state >= NETREG_UNREGISTERING) { in hns_roce_bond_upper_event()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dqdisc.c299 netdev->reg_state == NETREG_UNREGISTERING) in nfp_abm_qdisc_clear_mq()
/linux/drivers/net/ethernet/sfc/
H A Dnet_driver.h1220 return efx->net_dev->reg_state == NETREG_REGISTERED; in efx_dev_registered()
/linux/drivers/net/ethernet/marvell/octeon_ep_vf/
H A Doctep_vf_main.c1168 if (netdev->reg_state == NETREG_REGISTERED) in octep_vf_remove()
/linux/drivers/net/ipvlan/
H A Dipvlan_main.c763 if (dev->reg_state != NETREG_UNREGISTERING) in ipvlan_device_event()

12