Searched refs:reg_state (Results 1 - 25 of 74) sorted by last modified time

123

/linux-master/net/8021q/
H A Dvlan_core.c363 if (err && dev->reg_state != NETREG_UNREGISTERING)
/linux-master/kernel/bpf/
H A Dverifier.c2110 * ranges as u64. Currently reg_state can't represent two segments per
4781 struct bpf_func_state *reg_state,
4789 int insn_flags = insn_stack_access_flags(reg_state->frameno, spi);
4791 stype = reg_state->stack[spi].slot_type;
4792 reg = &reg_state->stack[spi].spilled_ptr;
4796 if (is_spilled_reg(&reg_state->stack[spi])) {
4899 mark_reg_stack_read(env, reg_state, off, off + size, dst_regno);
4918 static struct bpf_reg_state *reg_state(struct bpf_verifier_env *env, int regno) function
4940 struct bpf_reg_state *reg = reg_state(env, ptr_regno);
4971 struct bpf_reg_state *reg = reg_state(en
4779 check_stack_read_fixed_off(struct bpf_verifier_env *env, struct bpf_func_state *reg_state, int off, int size, int dst_regno) argument
[all...]
/linux-master/drivers/s390/net/
H A Dqeth_core_main.c5357 if (card->dev->reg_state != NETREG_REGISTERED)
H A Dlcs.c2055 if (card->dev->reg_state != NETREG_UNINITIALIZED)
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c2008 adapter->netdev->reg_state == NETREG_REGISTERED &&
2016 if (adapter->netdev->reg_state != NETREG_REGISTERED) {
5167 if (netdev->reg_state == NETREG_REGISTERED)
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c11618 if (bp->dev->reg_state == NETREG_UNREGISTERED)
/linux-master/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c1286 if (intf->ndev->reg_state == NETREG_REGISTERED)
/linux-master/net/sched/
H A Dsch_generic.c580 if (dev->reg_state == NETREG_UNINITIALIZED)
599 if (dev->reg_state == NETREG_UNINITIALIZED)
617 if (dev->reg_state == NETREG_UNINITIALIZED)
/linux-master/net/core/
H A Ddev.c2889 if (dev->reg_state == NETREG_REGISTERED ||
2890 dev->reg_state == NETREG_UNREGISTERING) {
2938 if (dev->reg_state == NETREG_REGISTERED) {
5849 if (skb->dev->reg_state == NETREG_UNREGISTERING) {
5858 if (skb->dev->reg_state == NETREG_UNREGISTERING) {
6489 if (dev->reg_state >= NETREG_REGISTERED)
10189 BUG_ON(dev->reg_state != NETREG_UNINITIALIZED);
10285 WRITE_ONCE(dev->reg_state, ret ? NETREG_UNREGISTERED : NETREG_REGISTERED);
10374 dev->reg_state = NETREG_DUMMY;
10569 if (unlikely(dev->reg_state !
[all...]
H A Dxdp.c140 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) {
152 if (xdp_rxq->reg_state == REG_STATE_UNUSED)
157 xdp_rxq->reg_state = REG_STATE_UNREGISTERED;
177 if (xdp_rxq->reg_state == REG_STATE_UNUSED) {
182 if (xdp_rxq->reg_state == REG_STATE_REGISTERED) {
194 xdp_rxq->reg_state = REG_STATE_REGISTERED;
201 xdp_rxq->reg_state = REG_STATE_UNUSED;
207 return (xdp_rxq->reg_state == REG_STATE_REGISTERED);
356 if (xdp_rxq->reg_state != REG_STATE_REGISTERED) {
816 if (dev->reg_state
[all...]
H A Drtnetlink.c4088 if (dev->reg_state != NETREG_REGISTERED)
/linux-master/drivers/net/
H A Dtun.c684 tun->dev->reg_state == NETREG_REGISTERED)
1447 if (tun->dev->reg_state != NETREG_REGISTERED)
H A Dxen-netfront.c2444 if (dev->reg_state == NETREG_UNINITIALIZED) {
2659 if (info->netdev->reg_state == NETREG_REGISTERED)
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c2345 if (port->ndev && port->ndev->reg_state == NETREG_REGISTERED)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c5332 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED;
5522 if (netdev->reg_state != NETREG_REGISTERED)
5540 if (priv->netdev->reg_state == NETREG_REGISTERED)
5799 if (netdev->reg_state != NETREG_REGISTERED)
5814 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED;
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Daqua_vanjaram.c983 int reg_state)
997 switch (reg_state) {
1051 enum amdgpu_reg_state reg_state, void *buf,
1056 switch (reg_state) {
981 aqua_vanjaram_read_usr_state(struct amdgpu_device *adev, void *buf, size_t max_size, int reg_state) argument
1050 aqua_vanjaram_get_reg_state(struct amdgpu_device *adev, enum amdgpu_reg_state reg_state, void *buf, size_t max_size) argument
H A Damdgpu_device.c205 BIN_ATTR(reg_state, 0444, amdgpu_sysfs_reg_state_get, NULL,
H A Damdgpu.h621 enum amdgpu_reg_state reg_state, void *buf,
/linux-master/include/linux/
H A Dnetdevice.h1926 * @reg_state: Register/unregister state machine
2306 u8 reg_state; member in struct:net_device
2410 WARN_ON((dev)->reg_state != NETREG_UNINITIALIZED); \
5171 u8 reg_state = READ_ONCE(dev->reg_state); local
5173 switch (reg_state) {
5182 WARN_ONCE(1, "%s: unknown reg_state %d\n", dev->name, reg_state);
/linux-master/drivers/iio/light/
H A Dstk3310.c112 struct regmap_field *reg_state; member in struct:stk3310_data
451 ret = regmap_field_write(data->reg_state, state);
/linux-master/drivers/infiniband/core/
H A Ddevice.c2247 if (res && res->reg_state != NETREG_REGISTERED) {
/linux-master/drivers/gpu/drm/i915/
H A Di915_perf.c2459 u32 *reg_state = ce->lrc_reg_state; local
2462 reg_state[ctx_oactxctrl + 1] =
2468 reg_state[ctx_flexeu0 + i * 2 + 1] =
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c626 struct reg_state { struct
631 static void print_reg_state(struct reg_state *r, const char *sfx)
664 static void reg_state_refine(struct reg_state *r, enum num_t t, struct range x, const char *ctx)
682 /* now see if we can derive anything new from updated reg_state's ranges */
702 static void reg_state_set_const(struct reg_state *rs, enum num_t t, u64 val)
713 static void reg_state_cond(enum num_t t, struct reg_state *x, struct reg_state *y, enum op op,
714 struct reg_state *newx, struct reg_state *newy, const char *ctx)
718 struct reg_state x
[all...]
/linux-master/net/ipv6/
H A Droute.c6295 dev->reg_state != NETREG_UNREGISTERED) {
/linux-master/net/ethtool/
H A Dnetlink.c44 dev->reg_state == NETREG_UNREGISTERING) {

Completed in 617 milliseconds

123