/kernel/linux/linux-5.10/net/dsa/ |
D | switch.c | 17 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time() argument 22 for (i = 0; i < ds->num_ports; ++i) { in dsa_switch_fastest_ageing_time() 23 struct dsa_port *dp = dsa_to_port(ds, i); in dsa_switch_fastest_ageing_time() 32 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() argument 39 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min) in dsa_switch_ageing_time() 41 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max) in dsa_switch_ageing_time() 47 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 49 if (ds->ops->set_ageing_time) in dsa_switch_ageing_time() 50 return ds->ops->set_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 55 static bool dsa_switch_mtu_match(struct dsa_switch *ds, int port, in dsa_switch_mtu_match() argument [all …]
|
D | port.c | 35 struct raw_notifier_head *nh = &dp->ds->dst->nh; in dsa_port_notify() 46 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 50 return ds->ops->port_stp_state_set ? 0 : -EOPNOTSUPP; in dsa_port_set_state() 52 if (ds->ops->port_stp_state_set) in dsa_port_set_state() 53 ds->ops->port_stp_state_set(ds, port, state); in dsa_port_set_state() 55 if (ds->ops->port_fast_age) { in dsa_port_set_state() 66 ds->ops->port_fast_age(ds, port); in dsa_port_set_state() 85 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 89 if (ds->ops->port_enable) { in dsa_port_enable_rt() 90 err = ds->ops->port_enable(ds, port, phy); in dsa_port_enable_rt() [all …]
|
D | dsa2.c | 34 if (dp->ds->index != sw_index) in dsa_switch_find() 37 return dp->ds; in dsa_switch_find() 148 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 152 dst = ds->dst; in dsa_link_touch() 173 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 174 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table() 315 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_port_devlink_setup() 317 struct devlink *dl = dp->ds->devlink; in dsa_port_devlink_setup() 399 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local 401 if (ds->ops->devlink_info_get) in dsa_devlink_info_get() [all …]
|
D | master.c | 15 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs_len() local 30 if (ds->ops->get_regs_len) { in dsa_master_get_regs_len() 31 len = ds->ops->get_regs_len(ds, port); in dsa_master_get_regs_len() 45 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs() local 66 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_master_get_regs() 67 len = ds->ops->get_regs_len(ds, port); in dsa_master_get_regs() 71 ds->ops->get_regs(ds, port, cpu_regs, data); in dsa_master_get_regs() 81 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_stats() local 90 if (ds->ops->get_ethtool_stats) in dsa_master_get_ethtool_stats() 91 ds->ops->get_ethtool_stats(ds, port, data + count); in dsa_master_get_ethtool_stats() [all …]
|
D | dsa.c | 178 struct dsa_switch *ds = p->dp->ds; in dsa_skb_defer_rx_timestamp() local 193 if (likely(ds->ops->port_rxtstamp)) in dsa_skb_defer_rx_timestamp() 194 return ds->ops->port_rxtstamp(ds, p->dp->index, skb, type); in dsa_skb_defer_rx_timestamp() 228 if (unlikely(cpu_dp->ds->untag_bridge_pvid)) { in dsa_switch_rcv() 252 static bool dsa_is_port_initialized(struct dsa_switch *ds, int p) in dsa_is_port_initialized() argument 254 const struct dsa_port *dp = dsa_to_port(ds, p); in dsa_is_port_initialized() 259 int dsa_switch_suspend(struct dsa_switch *ds) in dsa_switch_suspend() argument 264 for (i = 0; i < ds->num_ports; i++) { in dsa_switch_suspend() 265 if (!dsa_is_port_initialized(ds, i)) in dsa_switch_suspend() 268 ret = dsa_slave_suspend(dsa_to_port(ds, i)->slave); in dsa_switch_suspend() [all …]
|
D | slave.c | 28 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() local 30 if (ds->phys_mii_mask & (1 << addr)) in dsa_slave_phy_read() 31 return ds->ops->phy_read(ds, addr, reg); in dsa_slave_phy_read() 38 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() local 40 if (ds->phys_mii_mask & (1 << addr)) in dsa_slave_phy_write() 41 return ds->ops->phy_write(ds, addr, reg, val); in dsa_slave_phy_write() 46 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init() argument 48 ds->slave_mii_bus->priv = (void *)ds; in dsa_slave_mii_bus_init() 49 ds->slave_mii_bus->name = "dsa slave smi"; in dsa_slave_mii_bus_init() 50 ds->slave_mii_bus->read = dsa_slave_phy_read; in dsa_slave_mii_bus_init() [all …]
|
D | tag_8021q.c | 84 u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port) in dsa_8021q_tx_vid() argument 86 return DSA_8021Q_DIR_TX | DSA_8021Q_SWITCH_ID(ds->index) | in dsa_8021q_tx_vid() 94 u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port) in dsa_8021q_rx_vid() argument 96 return DSA_8021Q_DIR_RX | DSA_8021Q_SWITCH_ID(ds->index) | in dsa_8021q_rx_vid() 101 u16 dsa_8021q_rx_vid_subvlan(struct dsa_switch *ds, int port, u16 subvlan) in dsa_8021q_rx_vid_subvlan() argument 103 return DSA_8021Q_DIR_RX | DSA_8021Q_SWITCH_ID(ds->index) | in dsa_8021q_rx_vid_subvlan() 152 struct dsa_port *dp = dsa_to_port(ctx->ds, port); in dsa_8021q_vid_apply() 155 return ctx->ops->vlan_add(ctx->ds, dp->index, vid, flags); in dsa_8021q_vid_apply() 157 return ctx->ops->vlan_del(ctx->ds, dp->index, vid); in dsa_8021q_vid_apply() 215 int upstream = dsa_upstream_port(ctx->ds, port); in dsa_8021q_setup_port() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | dabtree.c | 31 struct xchk_da_btree *ds, in xchk_da_process_error() argument 35 struct xfs_scrub *sc = ds->sc; in xchk_da_process_error() 52 trace_xchk_file_op_error(sc, ds->dargs.whichfork, in xchk_da_process_error() 53 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error() 54 ds->state->path.blk[level].blkno), in xchk_da_process_error() 67 struct xchk_da_btree *ds, in xchk_da_set_corrupt() argument 70 struct xfs_scrub *sc = ds->sc; in xchk_da_set_corrupt() 74 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt() 75 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt() 76 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() [all …]
|
D | attr.c | 243 struct xchk_da_btree *ds, in xchk_xattr_entry() argument 253 struct xfs_mount *mp = ds->state->mp; in xchk_xattr_entry() 254 unsigned long *usedmap = xchk_xattr_usedmap(ds->sc); in xchk_xattr_entry() 262 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 266 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 272 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 283 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 289 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 292 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 294 if (!xchk_xattr_set_map(ds->sc, usedmap, nameidx, namesize)) in xchk_xattr_entry() [all …]
|
/kernel/linux/linux-5.10/include/net/ |
D | dsa.h | 207 struct dsa_switch *ds; member 339 static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) in dsa_to_port() argument 341 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port() 345 if (dp->ds == ds && dp->index == p) in dsa_to_port() 351 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) in dsa_is_unused_port() argument 353 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_UNUSED; in dsa_is_unused_port() 356 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() argument 358 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_CPU; in dsa_is_cpu_port() 361 static inline bool dsa_is_dsa_port(struct dsa_switch *ds, int p) in dsa_is_dsa_port() argument 363 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_DSA; in dsa_is_dsa_port() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | dock.c | 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() argument 82 list_add_tail(&dd->list, &ds->dependent_devices); in add_dock_dependent_device() 132 struct dock_station *ds; in find_dock_station() local 134 list_for_each_entry(ds, &dock_stations, sibling) in find_dock_station() 135 if (ds->handle == handle) in find_dock_station() 136 return ds; in find_dock_station() 150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() argument 154 list_for_each_entry(dd, &ds->dependent_devices, list) in find_dock_dependent_device() 164 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 166 if (ds && !find_dock_dependent_device(ds, adev)) in register_dock_dependent_device() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/ |
D | dsa_loop.c | 50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) in dsa_loop_setup_devlink_resources() argument 53 struct dsa_loop_priv *ps = ds->priv; in dsa_loop_setup_devlink_resources() 60 err = dsa_devlink_resource_register(ds, "VTU", ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources() 67 dsa_devlink_resource_occ_get_register(ds, in dsa_loop_setup_devlink_resources() 74 dsa_devlink_resources_unregister(ds); in dsa_loop_setup_devlink_resources() 78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol() argument 82 dev_dbg(ds->dev, "%s: port: %d\n", __func__, port); in dsa_loop_get_protocol() 87 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup() argument 89 struct dsa_loop_priv *ps = ds->priv; in dsa_loop_setup() 92 for (i = 0; i < ds->num_ports; i++) in dsa_loop_setup() [all …]
|
D | bcm_sf2.c | 36 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports() argument 38 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_num_active_ports() 41 for (port = 0; port < ds->num_ports; port++) { in bcm_sf2_num_active_ports() 42 if (dsa_is_cpu_port(ds, port)) in bcm_sf2_num_active_ports() 51 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() argument 53 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_recalc_clock() 64 ports_active = bcm_sf2_num_active_ports(ds); in bcm_sf2_recalc_clock() 78 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() argument 80 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_imp_setup() 105 b53_brcm_hdr_setup(ds, port); in bcm_sf2_imp_setup() [all …]
|
D | mv88e6060.c | 45 static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds, in mv88e6060_get_tag_protocol() argument 121 if (dsa_is_unused_port(priv->ds, p)) in mv88e6060_setup_port() 130 dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port() 145 (dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port() 146 dsa_user_ports(priv->ds) : in mv88e6060_setup_port() 147 BIT(dsa_to_port(priv->ds, p)->cpu_dp->index))); in mv88e6060_setup_port() 187 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup() argument 189 struct mv88e6060_priv *priv = ds->priv; in mv88e6060_setup() 193 priv->ds = ds; in mv88e6060_setup() 225 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read() argument [all …]
|
D | mt7530.c | 384 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup() argument 386 struct mt7530_priv *priv = ds->priv; in mt7530_pad_clk_setup() 503 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup() argument 599 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() argument 601 struct mt7530_priv *priv = ds->priv; in mt7530_mib_reset() 607 static int mt7530_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7530_phy_read() argument 609 struct mt7530_priv *priv = ds->priv; in mt7530_phy_read() 614 static int mt7530_phy_write(struct dsa_switch *ds, int port, int regnum, in mt7530_phy_write() argument 617 struct mt7530_priv *priv = ds->priv; in mt7530_phy_write() 796 mt7531_ind_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7531_ind_phy_read() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/ |
D | felix.c | 27 static enum dsa_tag_protocol felix_get_tag_protocol(struct dsa_switch *ds, in felix_get_tag_protocol() argument 34 static int felix_set_ageing_time(struct dsa_switch *ds, in felix_set_ageing_time() argument 37 struct ocelot *ocelot = ds->priv; in felix_set_ageing_time() 44 static int felix_fdb_dump(struct dsa_switch *ds, int port, in felix_fdb_dump() argument 47 struct ocelot *ocelot = ds->priv; in felix_fdb_dump() 52 static int felix_fdb_add(struct dsa_switch *ds, int port, in felix_fdb_add() argument 55 struct ocelot *ocelot = ds->priv; in felix_fdb_add() 60 static int felix_fdb_del(struct dsa_switch *ds, int port, in felix_fdb_del() argument 63 struct ocelot *ocelot = ds->priv; in felix_fdb_del() 69 static int felix_mdb_prepare(struct dsa_switch *ds, int port, in felix_mdb_prepare() argument [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-bio-prison-v1.c | 287 struct dm_deferred_set *ds; member 302 struct dm_deferred_set *ds; in dm_deferred_set_create() local 304 ds = kmalloc(sizeof(*ds), GFP_KERNEL); in dm_deferred_set_create() 305 if (!ds) in dm_deferred_set_create() 308 spin_lock_init(&ds->lock); in dm_deferred_set_create() 309 ds->current_entry = 0; in dm_deferred_set_create() 310 ds->sweeper = 0; in dm_deferred_set_create() 312 ds->entries[i].ds = ds; in dm_deferred_set_create() 313 ds->entries[i].count = 0; in dm_deferred_set_create() 314 INIT_LIST_HEAD(&ds->entries[i].work_items); in dm_deferred_set_create() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_devlink.c | 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in sja1105_region_static_config_snapshot() local 42 struct sja1105_private *priv = ds->priv; in sja1105_region_static_config_snapshot() 77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) in sja1105_setup_devlink_regions() argument 80 struct sja1105_private *priv = ds->priv; in sja1105_setup_devlink_regions() 94 region = dsa_devlink_region_create(ds, ops, 1, size); in sja1105_setup_devlink_regions() 109 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() argument 112 struct sja1105_private *priv = ds->priv; in sja1105_teardown_devlink_regions() 131 struct dsa_switch *ds = priv->ds; in sja1105_best_effort_vlan_filtering_set() local 139 for (port = 0; port < ds->num_ports; port++) { in sja1105_best_effort_vlan_filtering_set() 143 if (!dsa_is_user_port(ds, port)) in sja1105_best_effort_vlan_filtering_set() [all …]
|
D | sja1105_ptp.h | 88 int sja1105_ptp_clock_register(struct dsa_switch *ds); 90 void sja1105_ptp_clock_unregister(struct dsa_switch *ds); 98 int sja1105_get_ts_info(struct dsa_switch *ds, int port, 101 void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, 104 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, 107 bool sja1105_port_txtstamp(struct dsa_switch *ds, int port, 110 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr); 112 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr); 114 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, 117 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, [all …]
|
D | sja1105_main.c | 130 if (i == dsa_upstream_port(priv->ds, i)) { in sja1105_init_mac_settings() 152 if (dsa_is_unused_port(priv->ds, port)) in sja1105_supports_sgmii() 185 if (dsa_is_unused_port(priv->ds, i)) in sja1105_init_mii_settings() 316 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local 333 for (port = 0; port < ds->num_ports; port++) { in sja1105_init_static_vlan() 336 if (dsa_is_unused_port(ds, port)) in sja1105_init_static_vlan() 350 if (dsa_is_cpu_port(ds, port)) in sja1105_init_static_vlan() 389 unsigned int upstream = dsa_upstream_port(priv->ds, i); in sja1105_init_l2_forwarding() 481 .switchid = priv->ds->index, in sja1105_init_general_params() 499 .host_port = dsa_upstream_port(priv->ds, 0), in sja1105_init_general_params() [all …]
|
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
D | shm_test_004.cpp | 38 struct shmid_ds ds = { 0 }; in Testcase() local 49 ret = shmctl(shmid, IPC_STAT, &ds); in Testcase() 51 ICUNIT_GOTO_EQUAL(ds.shm_segsz, PAGE_SIZE, ds.shm_segsz, ERROR_OUT); in Testcase() 52 ICUNIT_GOTO_EQUAL(ds.shm_nattch, 1, ds.shm_nattch, ERROR_OUT); in Testcase() 53 ICUNIT_GOTO_EQUAL(ds.shm_cpid, getpid(), ds.shm_cpid, ERROR_OUT); in Testcase() 54 ICUNIT_GOTO_EQUAL(ds.shm_lpid, getpid(), ds.shm_lpid, ERROR_OUT); in Testcase() 55 ICUNIT_GOTO_EQUAL(ds.shm_perm.uid, getuid(), ds.shm_perm.uid, ERROR_OUT); in Testcase() 57 ret = shmctl(shmid, SHM_STAT, &ds); in Testcase() 61 ds.shm_perm.uid = getuid(); in Testcase() 62 ds.shm_perm.gid = getgid(); in Testcase() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/b53/ |
D | b53_priv.h | 103 struct dsa_switch *ds; member 231 dsa_unregister_switch(dev->ds); in b53_switch_remove() 318 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port); 319 int b53_configure_vlan(struct dsa_switch *ds); 320 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, 322 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data); 323 int b53_get_sset_count(struct dsa_switch *ds, int port, int sset); 324 void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data); 325 int b53_br_join(struct dsa_switch *ds, int port, struct net_device *bridge); 326 void b53_br_leave(struct dsa_switch *ds, int port, struct net_device *bridge); [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/ |
D | ksz_common.c | 76 if (dsa_is_unused_port(dev->ds, i)) in ksz_mib_read_work() 87 const struct dsa_port *dp = dsa_to_port(dev->ds, i); in ksz_mib_read_work() 111 int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz_phy_read16() argument 113 struct ksz_device *dev = ds->priv; in ksz_phy_read16() 122 int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz_phy_write16() argument 124 struct ksz_device *dev = ds->priv; in ksz_phy_write16() 132 void ksz_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, in ksz_mac_link_down() argument 135 struct ksz_device *dev = ds->priv; in ksz_mac_link_down() 146 int ksz_sset_count(struct dsa_switch *ds, int port, int sset) in ksz_sset_count() argument 148 struct ksz_device *dev = ds->priv; in ksz_sset_count() [all …]
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | devlink.c | 31 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_get() argument 34 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_get() 53 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_set() argument 56 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_set() 81 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_params() argument 83 return dsa_devlink_params_register(ds, mv88e6xxx_devlink_params, in mv88e6xxx_setup_devlink_params() 87 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_params() argument 89 dsa_devlink_params_unregister(ds, mv88e6xxx_devlink_params, in mv88e6xxx_teardown_devlink_params() 176 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_resources() argument 179 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_setup_devlink_resources() [all …]
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | pnfs_nfs.c | 85 cinfo->ds->nwritten--; in pnfs_generic_clear_request_commit() 252 cinfo->ds->nwritten -= ret; in pnfs_bucket_scan_ds_commit_list() 253 cinfo->ds->ncommitting += ret; in pnfs_bucket_scan_ds_commit_list() 279 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_scan_commit_lists() 332 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_recover_commit_reqs() 387 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_search_commit_reqs() 410 cinfo->ds->ncommitting--; in pnfs_bucket_get_committing() 512 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_commit_pagelist() 565 print_ds(struct nfs4_pnfs_ds *ds) in print_ds() argument 567 if (ds == NULL) { in print_ds() [all …]
|