Searched refs:ds (Results 1 - 25 of 394) sorted by relevance

1234567891011>>

/linux-master/drivers/net/dsa/mv88e6xxx/
H A Ddevlink.h8 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds);
9 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds);
10 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds);
11 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id,
13 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id,
15 int mv88e6xxx_setup_devlink_regions_global(struct dsa_switch *ds);
16 void mv88e6xxx_teardown_devlink_regions_global(struct dsa_switch *ds);
17 int mv88e6xxx_setup_devlink_regions_port(struct dsa_switch *ds, int port);
18 void mv88e6xxx_teardown_devlink_regions_port(struct dsa_switch *ds, int port);
20 int mv88e6xxx_devlink_info_get(struct dsa_switch *ds,
[all...]
/linux-master/net/dsa/
H A Ddevlink.h11 void dsa_switch_devlink_register(struct dsa_switch *ds);
12 void dsa_switch_devlink_unregister(struct dsa_switch *ds);
13 int dsa_switch_devlink_alloc(struct dsa_switch *ds);
14 void dsa_switch_devlink_free(struct dsa_switch *ds);
H A Dswitch.c23 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, argument
28 dsa_switch_for_each_port(dp, ds)
35 static int dsa_switch_ageing_time(struct dsa_switch *ds, argument
40 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min)
43 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max)
47 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time);
49 if (ds->ops->set_ageing_time)
50 return ds
61 dsa_switch_mtu(struct dsa_switch *ds, struct dsa_notifier_mtu_info *info) argument
82 dsa_switch_bridge_join(struct dsa_switch *ds, struct dsa_notifier_bridge_info *info) argument
113 dsa_switch_bridge_leave(struct dsa_switch *ds, struct dsa_notifier_bridge_info *info) argument
162 struct dsa_switch *ds = dp->ds; local
214 struct dsa_switch *ds = dp->ds; local
261 struct dsa_switch *ds = dp->ds; local
311 struct dsa_switch *ds = dp->ds; local
354 dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
396 dsa_switch_do_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag *lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
434 dsa_switch_host_fdb_add(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
462 dsa_switch_host_fdb_del(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
490 dsa_switch_fdb_add(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
502 dsa_switch_fdb_del(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
514 dsa_switch_lag_fdb_add(struct dsa_switch *ds, struct dsa_notifier_lag_fdb_info *info) argument
532 dsa_switch_lag_fdb_del(struct dsa_switch *ds, struct dsa_notifier_lag_fdb_info *info) argument
550 dsa_switch_lag_change(struct dsa_switch *ds, struct dsa_notifier_lag_info *info) argument
563 dsa_switch_lag_join(struct dsa_switch *ds, struct dsa_notifier_lag_info *info) argument
578 dsa_switch_lag_leave(struct dsa_switch *ds, struct dsa_notifier_lag_info *info) argument
591 dsa_switch_mdb_add(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
603 dsa_switch_mdb_del(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
615 dsa_switch_host_mdb_add(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
635 dsa_switch_host_mdb_del(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
692 struct dsa_switch *ds = dp->ds; local
748 struct dsa_switch *ds = dp->ds; local
791 dsa_switch_vlan_add(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
812 dsa_switch_vlan_del(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
832 dsa_switch_host_vlan_add(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
853 dsa_switch_host_vlan_del(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
873 dsa_switch_change_tag_proto(struct dsa_switch *ds, struct dsa_notifier_tag_proto_info *info) argument
918 dsa_switch_connect_tag_proto(struct dsa_switch *ds, struct dsa_notifier_tag_proto_info *info) argument
947 dsa_switch_disconnect_tag_proto(struct dsa_switch *ds, struct dsa_notifier_tag_proto_info *info) argument
963 dsa_switch_conduit_state_change(struct dsa_switch *ds, struct dsa_notifier_conduit_state_info *info) argument
977 struct dsa_switch *ds = container_of(nb, struct dsa_switch, nb); local
1120 dsa_switch_register_notifier(struct dsa_switch *ds) argument
1127 dsa_switch_unregister_notifier(struct dsa_switch *ds) argument
[all...]
H A Ddevlink.c15 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
17 if (ds->ops->devlink_info_get)
18 return ds->ops->devlink_info_get(ds, req, extack);
27 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
29 if (!ds->ops->devlink_sb_pool_get)
32 return ds->ops->devlink_sb_pool_get(ds, sb_index, pool_index,
41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
43 if (!ds
54 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
69 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
85 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
103 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
118 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
129 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
142 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
158 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
187 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
199 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
208 dsa_devlink_params_register(struct dsa_switch *ds, const struct devlink_param *params, size_t params_count) argument
216 dsa_devlink_params_unregister(struct dsa_switch *ds, const struct devlink_param *params, size_t params_count) argument
224 dsa_devlink_resource_register(struct dsa_switch *ds, const char *resource_name, u64 resource_size, u64 resource_id, u64 parent_resource_id, const struct devlink_resource_size_params *size_params) argument
238 dsa_devlink_resources_unregister(struct dsa_switch *ds) argument
244 dsa_devlink_resource_occ_get_register(struct dsa_switch *ds, u64 resource_id, devlink_resource_occ_get_t *occ_get, void *occ_get_priv) argument
254 dsa_devlink_resource_occ_get_unregister(struct dsa_switch *ds, u64 resource_id) argument
262 dsa_devlink_region_create(struct dsa_switch *ds, const struct devlink_region_ops *ops, u32 region_max_snapshots, u64 region_size) argument
272 dsa_devlink_port_region_create(struct dsa_switch *ds, int port, const struct devlink_port_region_ops *ops, u32 region_max_snapshots, u64 region_size) argument
297 struct dsa_switch *ds = dp->ds; local
347 struct dsa_switch *ds = dp->ds; local
357 dsa_switch_devlink_register(struct dsa_switch *ds) argument
362 dsa_switch_devlink_unregister(struct dsa_switch *ds) argument
367 dsa_switch_devlink_alloc(struct dsa_switch *ds) argument
387 dsa_switch_devlink_free(struct dsa_switch *ds) argument
[all...]
H A Dport.c35 return dsa_tree_notify(dp->ds->dst, e, v);
57 struct dsa_switch *ds = dp->ds; local
59 if (!ds->ops->port_fast_age)
62 ds->ops->port_fast_age(ds, dp->index);
70 struct dsa_switch *ds = dp->ds; local
73 if (!ds->ops->port_vlan_fast_age)
76 err = ds
107 struct dsa_switch *ds = dp->ds; local
119 struct dsa_switch *ds = dp->ds; local
137 struct dsa_switch *ds = dp->ds; local
171 struct dsa_switch *ds = dp->ds; local
185 struct dsa_switch *ds = dp->ds; local
219 struct dsa_switch *ds = dp->ds; local
251 struct dsa_switch *ds = dp->ds; local
276 struct dsa_switch *ds = dp->ds; local
428 struct dsa_switch *ds = dp->ds; local
477 struct dsa_switch *ds = dp->ds; local
614 struct dsa_switch *ds = dp->ds; local
733 struct dsa_switch *ds = dp->ds; local
799 struct dsa_switch *ds = dp->ds; local
871 struct dsa_switch *ds = dp->ds; local
912 struct dsa_switch *ds = dp->ds; local
924 struct dsa_switch *ds = dp->ds; local
953 struct dsa_switch *ds = dp->ds; local
962 struct dsa_switch *ds = dp->ds; local
1160 struct dsa_switch *ds = dp->ds; local
1360 struct dsa_switch *ds = dp->ds; local
1371 struct dsa_switch *ds = dp->ds; local
1382 struct dsa_switch *ds = dp->ds; local
1393 struct dsa_switch *ds = dp->ds; local
1406 struct dsa_switch *ds = dp->ds; local
1437 struct dsa_switch *ds = dp->ds; local
1563 struct dsa_switch *ds = dp->ds; local
1576 struct dsa_switch *ds = dp->ds; local
1591 struct dsa_switch *ds = dp->ds; local
1604 struct dsa_switch *ds = dp->ds; local
1620 struct dsa_switch *ds = dp->ds; local
1642 struct dsa_switch *ds = dp->ds; local
1665 struct dsa_switch *ds = dp->ds; local
1708 struct dsa_switch *ds = dp->ds; local
1747 struct dsa_switch *ds = dp->ds; local
1780 struct dsa_switch *ds = dp->ds; local
1923 struct dsa_switch *ds = dp->ds; local
1957 struct dsa_switch *ds = dp->ds; local
1996 struct dsa_switch *ds = dp->ds; local
2015 struct dsa_switch *ds = dp->ds; local
2032 struct dsa_switch *ds = dp->ds; local
[all...]
H A Ddsa.c59 * driver by setting ds->num_lag_ids. It is perfectly legal to leave
189 if (dp->ds->index != sw_index)
192 return dp->ds;
290 struct dsa_switch *ds = dp->ds; local
294 dst = ds->dst;
315 struct dsa_switch *ds = dp->ds; local
316 struct dsa_switch_tree *dst = ds->dst;
406 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) argument
466 struct dsa_switch *ds = dp->ds; local
574 dsa_switch_setup_tag_protocol(struct dsa_switch *ds) argument
618 dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) argument
626 dsa_switch_setup(struct dsa_switch *ds) argument
690 dsa_switch_teardown(struct dsa_switch *ds) argument
1084 dsa_port_touch(struct dsa_switch *ds, int index) argument
1130 struct dsa_switch *mds, *ds = dp->ds; local
1156 struct dsa_switch *ds = dp->ds; local
1264 dsa_switch_parse_ports_of(struct dsa_switch *ds, struct device_node *dn) argument
1311 dsa_switch_parse_member_of(struct dsa_switch *ds, struct device_node *dn) argument
1341 dsa_switch_touch_ports(struct dsa_switch *ds) argument
1355 dsa_switch_parse_of(struct dsa_switch *ds, struct device_node *dn) argument
1427 dsa_switch_parse_ports(struct dsa_switch *ds, struct dsa_chip_data *cd) argument
1458 dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd) argument
1479 dsa_switch_release_ports(struct dsa_switch *ds) argument
1492 dsa_switch_probe(struct dsa_switch *ds) argument
1534 dsa_register_switch(struct dsa_switch *ds) argument
1547 dsa_switch_remove(struct dsa_switch *ds) argument
1556 dsa_unregister_switch(struct dsa_switch *ds) argument
1569 dsa_switch_shutdown(struct dsa_switch *ds) argument
1606 dsa_switch_suspend(struct dsa_switch *ds) argument
1628 dsa_switch_resume(struct dsa_switch *ds) argument
1681 dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1702 dsa_mdb_present_in_other_db(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument
[all...]
H A Dtag_8021q.c74 struct dsa_switch *ds; member in struct:dsa_8021q_context
94 return DSA_8021Q_RSV | DSA_8021Q_SWITCH_ID(dp->ds->index) |
145 struct dsa_8021q_context *ctx = dp->ds->tag_8021q_ctx;
146 struct dsa_switch *ds = dp->ds; local
153 return ds->ops->tag_8021q_vlan_add(ds, port, vid, flags);
165 err = ds->ops->tag_8021q_vlan_add(ds, port, vid, flags);
181 struct dsa_8021q_context *ctx = dp->ds
182 struct dsa_switch *ds = dp->ds; local
217 dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds, struct dsa_notifier_tag_8021q_vlan_info *info) argument
249 dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds, struct dsa_notifier_tag_8021q_vlan_info *info) argument
288 dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument
311 dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument
336 dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port) argument
366 dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port) argument
386 dsa_tag_8021q_setup(struct dsa_switch *ds) argument
405 dsa_tag_8021q_teardown(struct dsa_switch *ds) argument
415 dsa_tag_8021q_register(struct dsa_switch *ds, __be16 proto) argument
443 dsa_tag_8021q_unregister(struct dsa_switch *ds) argument
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz_ptp.h36 int ksz_ptp_clock_register(struct dsa_switch *ds);
38 void ksz_ptp_clock_unregister(struct dsa_switch *ds);
40 int ksz_get_ts_info(struct dsa_switch *ds, int port,
42 int ksz_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr);
43 int ksz_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr);
44 void ksz_port_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
46 bool ksz_port_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb,
48 int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p);
49 void ksz_ptp_irq_free(struct dsa_switch *ds, u8 p);
58 static inline int ksz_ptp_clock_register(struct dsa_switch *ds) argument
63 ksz_ptp_clock_unregister(struct dsa_switch *ds) argument
65 ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p) argument
70 ksz_ptp_irq_free(struct dsa_switch *ds, u8 p) argument
[all...]
/linux-master/include/net/
H A Ddsa.h98 int (*connect)(struct dsa_switch *ds);
99 void (*disconnect)(struct dsa_switch *ds);
178 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr))
256 struct dsa_switch *ds; member in struct:dsa_port
491 static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) argument
493 struct dsa_switch_tree *dst = ds->dst;
497 if (dp->ds == ds && dp->index == p)
529 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) argument
531 return dsa_to_port(ds,
534 dsa_is_cpu_port(struct dsa_switch *ds, int p) argument
539 dsa_is_dsa_port(struct dsa_switch *ds, int p) argument
544 dsa_is_user_port(struct dsa_switch *ds, int p) argument
589 dsa_user_ports(struct dsa_switch *ds) argument
600 dsa_cpu_ports(struct dsa_switch *ds) argument
612 dsa_routing_port(struct dsa_switch *ds, int device) argument
625 dsa_towards_port(struct dsa_switch *ds, int device, int port) argument
635 dsa_upstream_port(struct dsa_switch *ds, int port) argument
647 dsa_is_upstream_port(struct dsa_switch *ds, int port) argument
656 dsa_is_downstream_port(struct dsa_switch *ds, int port) argument
662 dsa_switch_upstream_port(struct dsa_switch *ds) argument
692 const struct dsa_switch *ds = dp->ds; local
1286 struct dsa_switch *ds; member in struct:dsa_devlink_priv
1366 dsa_switch_suspend(struct dsa_switch *ds) argument
1370 dsa_switch_resume(struct dsa_switch *ds) argument
[all...]
/linux-master/arch/x86/boot/
H A Dregs.c23 reg->ds = ds();
24 reg->es = ds();
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_tas.h53 int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port,
56 void sja1105_tas_setup(struct dsa_switch *ds);
58 void sja1105_tas_teardown(struct dsa_switch *ds);
60 void sja1105_tas_clockstep(struct dsa_switch *ds);
62 void sja1105_tas_adjfreq(struct dsa_switch *ds);
76 static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, argument
82 static inline void sja1105_tas_setup(struct dsa_switch *ds) { } argument
84 static inline void sja1105_tas_teardown(struct dsa_switch *ds) { } argument
86 static inline void sja1105_tas_clockstep(struct dsa_switch *ds) { } argument
88 static inline void sja1105_tas_adjfreq(struct dsa_switch *ds) { } argument
91 sja1105_gating_check_conflicts(struct dsa_switch *ds, int port, struct netlink_ext_ack *extack) argument
[all...]
H A Dsja1105_ptp.h93 int sja1105_ptp_clock_register(struct dsa_switch *ds);
95 void sja1105_ptp_clock_unregister(struct dsa_switch *ds);
103 int sja1105_get_ts_info(struct dsa_switch *ds, int port,
106 void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot,
109 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port,
112 void sja1105_port_txtstamp(struct dsa_switch *ds, int port,
115 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr);
117 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr);
119 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
122 int __sja1105_ptp_settime(struct dsa_switch *ds, u6
149 sja1105_ptp_clock_register(struct dsa_switch *ds) argument
154 sja1105_ptp_clock_unregister(struct dsa_switch *ds) argument
156 sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, struct sk_buff *clone) argument
161 __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, struct ptp_system_timestamp *sts) argument
167 __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, struct ptp_system_timestamp *ptp_sts) argument
173 __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta) argument
178 sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, sja1105_spi_rw_mode_t rw) argument
[all...]
H A Dsja1105_devlink.c41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
42 struct sja1105_private *priv = ds->priv;
77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) argument
80 struct sja1105_private *priv = ds->priv;
94 region = dsa_devlink_region_create(ds, ops, 1, size);
109 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) argument
112 struct sja1105_private *priv = ds->priv;
120 int sja1105_devlink_info_get(struct dsa_switch *ds, argument
124 struct sja1105_private *priv = ds->priv;
131 int sja1105_devlink_setup(struct dsa_switch *ds) argument
136 sja1105_devlink_teardown(struct dsa_switch *ds) argument
[all...]
/linux-master/drivers/acpi/
H A Ddock.c66 * @ds: Dock station.
71 static int add_dock_dependent_device(struct dock_station *ds, argument
82 list_add_tail(&dd->list, &ds->dependent_devices);
132 struct dock_station *ds; local
134 list_for_each_entry(ds, &dock_stations, sibling)
135 if (ds->handle == handle)
136 return ds;
143 * @ds: the dock station
150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) argument
154 list_for_each_entry(dd, &ds
164 struct dock_station *ds = find_dock_station(dshandle); local
207 dock_present(struct dock_station *ds) argument
224 hot_remove_dock_devices(struct dock_station *ds) argument
251 hotplug_dock_devices(struct dock_station *ds, u32 event) argument
281 dock_event(struct dock_station *ds, u32 event, int num) argument
314 handle_dock(struct dock_station *ds, int dock) argument
334 dock(struct dock_station *ds) argument
339 undock(struct dock_station *ds) argument
344 begin_dock(struct dock_station *ds) argument
349 complete_dock(struct dock_station *ds) argument
355 begin_undock(struct dock_station *ds) argument
360 complete_undock(struct dock_station *ds) argument
373 dock_in_progress(struct dock_station *ds) argument
389 handle_eject_request(struct dock_station *ds, u32 event) argument
427 struct dock_station *ds = find_dock_station(handle); local
591 struct dock_station *dock_station, ds = { NULL, }; local
[all...]
/linux-master/fs/xfs/scrub/
H A Ddabtree.c31 struct xchk_da_btree *ds,
35 struct xfs_scrub *sc = ds->sc;
53 trace_xchk_file_op_error(sc, ds->dargs.whichfork,
54 xfs_dir2_da_to_db(ds->dargs.geo,
55 ds->state->path.blk[level].blkno),
68 struct xchk_da_btree *ds,
71 struct xfs_scrub *sc = ds->sc;
75 trace_xchk_fblock_error(sc, ds->dargs.whichfork,
76 xfs_dir2_da_to_db(ds->dargs.geo,
77 ds
30 xchk_da_process_error( struct xchk_da_btree *ds, int level, int *error) argument
67 xchk_da_set_corrupt( struct xchk_da_btree *ds, int level) argument
82 xchk_da_btree_node_entry( struct xchk_da_btree *ds, int level) argument
97 xchk_da_btree_hash( struct xchk_da_btree *ds, int level, __be32 *hashp) argument
129 xchk_da_btree_ptr_ok( struct xchk_da_btree *ds, int level, xfs_dablk_t blkno) argument
217 xchk_da_btree_block_check_sibling( struct xchk_da_btree *ds, int level, int direction, xfs_dablk_t sibling) argument
277 xchk_da_btree_block_check_siblings( struct xchk_da_btree *ds, int level, struct xfs_da_blkinfo *hdr) argument
312 xchk_da_btree_block( struct xchk_da_btree *ds, int level, xfs_dablk_t blkno) argument
477 struct xchk_da_btree *ds; local
[all...]
H A Ddabtree.h31 typedef int (*xchk_da_btree_rec_fn)(struct xchk_da_btree *ds, int level);
34 bool xchk_da_process_error(struct xchk_da_btree *ds, int level, int *error);
37 void xchk_da_set_corrupt(struct xchk_da_btree *ds, int level);
39 int xchk_da_btree_hash(struct xchk_da_btree *ds, int level, __be32 *hashp);
/linux-master/fs/befs/
H A Dbtree.h7 int befs_btree_find(struct super_block *sb, const befs_data_stream *ds,
10 int befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
/linux-master/include/linux/dsa/
H A D8021q.h11 int dsa_tag_8021q_register(struct dsa_switch *ds, __be16 proto);
13 void dsa_tag_8021q_unregister(struct dsa_switch *ds);
15 int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port,
18 void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port,
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dsrcu_lockdep.sh16 ds=`date +%Y.%m.%d-%H.%M.%S`-srcu_lockdep
31 ds=$2
52 tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 5s --configs "SRCU-P" --bootargs "rcutorture.test_srcu_lockdep=$val" --trust-make --datestamp "$ds/$val" > "$T/kvm.sh.out" 2>&1
54 mv "$T/kvm.sh.out" "$RCUTORTURE/res/$ds/$val"
58 echo -n Unexpected success for > "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
63 echo -n Unexpected failure for > "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
67 grep "rcu_torture_init_srcu_lockdep: test_srcu_lockdep = " "$RCUTORTURE/res/$ds/$val/SRCU-P/console.log" | sed -e 's/^.*rcu_torture_init_srcu_lockdep://' >> "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
68 cat "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
H A Dkvm-check-branches.sh44 ds="`date +%Y.%m.%d-%H.%M.%S`-group"
49 mkdir $resdir/$ds
50 echo Results directory: $resdir/$ds
69 mkdir $resdir/$ds/$idir
70 echo $gitbr > $resdir/$ds/$idir/gitbr
71 echo $i >> $resdir/$ds/$idir/gitbr
74 git checkout $i > $resdir/$ds/$idir/git-checkout.out 2>&1
76 kvm.sh --allcpus --duration 3 --trust-make --datestamp "$ds/$idir" > $resdir/$ds/$idir/kvm.sh.out 2>&1
79 echo Run results: $resdir/$ds/
[all...]
/linux-master/drivers/net/dsa/ocelot/
H A Docelot_ext.c69 struct dsa_switch *ds; local
87 ds = kzalloc(sizeof(*ds), GFP_KERNEL);
88 if (!ds) {
94 ds->dev = dev;
95 ds->num_ports = felix->info->num_ports;
96 ds->num_tx_queues = felix->info->num_tx_queues;
98 ds->ops = &felix_switch_ops;
99 ds->priv = ocelot;
100 felix->ds
[all...]
H A Dfelix.c45 static int felix_cpu_port_for_conduit(struct dsa_switch *ds, argument
48 struct ocelot *ocelot = ds->priv;
67 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, argument
71 struct ocelot *ocelot = ds->priv;
107 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, argument
112 struct ocelot *ocelot = ds->priv;
129 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, argument
133 unsigned long cpu_ports = dsa_cpu_ports(ds);
134 struct ocelot *ocelot = ds->priv;
196 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, in argument
227 felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, u16 flags) argument
259 felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) argument
286 felix_trap_get_cpu_port(struct dsa_switch *ds, const struct ocelot_vcap_filter *trap) argument
305 felix_update_trapping_destinations(struct dsa_switch *ds, bool using_tag_8021q) argument
408 felix_tag_npi_setup(struct dsa_switch *ds) argument
430 felix_tag_npi_teardown(struct dsa_switch *ds) argument
437 felix_tag_npi_get_host_fwd_mask(struct dsa_switch *ds) argument
444 felix_tag_npi_change_conduit(struct dsa_switch *ds, int port, struct net_device *conduit, struct netlink_ext_ack *extack) argument
492 felix_tag_8021q_setup(struct dsa_switch *ds) argument
536 felix_tag_8021q_teardown(struct dsa_switch *ds) argument
559 felix_tag_8021q_get_host_fwd_mask(struct dsa_switch *ds) argument
564 felix_tag_8021q_change_conduit(struct dsa_switch *ds, int port, struct net_device *conduit, struct netlink_ext_ack *extack) argument
584 felix_set_host_flood(struct dsa_switch *ds, unsigned long mask, bool uc, bool mc, bool bc) argument
603 felix_migrate_host_flood(struct dsa_switch *ds, const struct felix_tag_proto_ops *proto_ops, const struct felix_tag_proto_ops *old_proto_ops) argument
621 felix_migrate_mdbs(struct dsa_switch *ds, const struct felix_tag_proto_ops *proto_ops, const struct felix_tag_proto_ops *old_proto_ops) argument
643 felix_tag_proto_setup_shared(struct dsa_switch *ds, const struct felix_tag_proto_ops *proto_ops, const struct felix_tag_proto_ops *old_proto_ops) argument
665 felix_change_tag_protocol(struct dsa_switch *ds, enum dsa_tag_protocol proto) argument
712 felix_get_tag_protocol(struct dsa_switch *ds, int port, enum dsa_tag_protocol mp) argument
722 felix_port_set_host_flood(struct dsa_switch *ds, int port, bool uc, bool mc) argument
744 felix_port_change_conduit(struct dsa_switch *ds, int port, struct net_device *conduit, struct netlink_ext_ack *extack) argument
754 felix_set_ageing_time(struct dsa_switch *ds, unsigned int ageing_time) argument
764 felix_port_fast_age(struct dsa_switch *ds, int port) argument
775 felix_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, void *data) argument
783 felix_fdb_add(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
804 felix_fdb_del(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
825 felix_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
838 felix_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
851 felix_mdb_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument
871 felix_mdb_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument
891 felix_bridge_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument
899 felix_pre_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags val, struct netlink_ext_ack *extack) argument
908 felix_bridge_flags(struct dsa_switch *ds, int port, struct switchdev_brport_flags val, struct netlink_ext_ack *extack) argument
922 felix_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument
932 felix_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument
940 felix_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag, struct netdev_lag_upper_info *info, struct netlink_ext_ack *extack) argument
959 felix_lag_leave(struct dsa_switch *ds, int port, struct dsa_lag lag) argument
973 felix_lag_change(struct dsa_switch *ds, int port) argument
983 felix_vlan_prepare(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument
1007 felix_vlan_filtering(struct dsa_switch *ds, int port, bool enabled, struct netlink_ext_ack *extack) argument
1015 felix_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument
1032 felix_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument
1040 felix_phylink_get_caps(struct dsa_switch *ds, int port, struct phylink_config *config) argument
1053 felix_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, const struct phylink_link_state *state) argument
1064 felix_phylink_mac_select_pcs(struct dsa_switch *ds, int port, phy_interface_t iface) argument
1078 felix_phylink_mac_link_down(struct dsa_switch *ds, int port, unsigned int link_an_mode, phy_interface_t interface) argument
1091 felix_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int link_an_mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
1109 felix_port_enable(struct dsa_switch *ds, int port, struct phy_device *phydev) argument
1151 felix_get_stats64(struct dsa_switch *ds, int port, struct rtnl_link_stats64 *stats) argument
1159 felix_get_pause_stats(struct dsa_switch *ds, int port, struct ethtool_pause_stats *pause_stats) argument
1167 felix_get_rmon_stats(struct dsa_switch *ds, int port, struct ethtool_rmon_stats *rmon_stats, const struct ethtool_rmon_hist_range **ranges) argument
1176 felix_get_eth_ctrl_stats(struct dsa_switch *ds, int port, struct ethtool_eth_ctrl_stats *ctrl_stats) argument
1184 felix_get_eth_mac_stats(struct dsa_switch *ds, int port, struct ethtool_eth_mac_stats *mac_stats) argument
1192 felix_get_eth_phy_stats(struct dsa_switch *ds, int port, struct ethtool_eth_phy_stats *phy_stats) argument
1200 felix_get_strings(struct dsa_switch *ds, int port, u32 stringset, u8 *data) argument
1208 felix_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data) argument
1215 felix_get_sset_count(struct dsa_switch *ds, int port, int sset) argument
1222 felix_get_ts_info(struct dsa_switch *ds, int port, struct ethtool_ts_info *info) argument
1500 struct dsa_switch *ds = xmit_work->dp->ds; local
1528 felix_connect_tag_protocol(struct dsa_switch *ds, enum dsa_tag_protocol proto) argument
1546 felix_setup(struct dsa_switch *ds) argument
1616 felix_teardown(struct dsa_switch *ds) argument
1638 felix_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) argument
1646 felix_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) argument
1713 felix_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb, unsigned int type) argument
1760 felix_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) argument
1780 felix_change_mtu(struct dsa_switch *ds, int port, int new_mtu) argument
1797 felix_get_max_mtu(struct dsa_switch *ds, int port) argument
1804 felix_cls_flower_add(struct dsa_switch *ds, int port, struct flow_cls_offload *cls, bool ingress) argument
1821 felix_cls_flower_del(struct dsa_switch *ds, int port, struct flow_cls_offload *cls, bool ingress) argument
1829 felix_cls_flower_stats(struct dsa_switch *ds, int port, struct flow_cls_offload *cls, bool ingress) argument
1837 felix_port_policer_add(struct dsa_switch *ds, int port, struct dsa_mall_policer_tc_entry *policer) argument
1849 felix_port_policer_del(struct dsa_switch *ds, int port) argument
1856 felix_port_mirror_add(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror, bool ingress, struct netlink_ext_ack *extack) argument
1866 felix_port_mirror_del(struct dsa_switch *ds, int port, struct dsa_mall_mirror_tc_entry *mirror) argument
1874 felix_port_setup_tc(struct dsa_switch *ds, int port, enum tc_setup_type type, void *type_data) argument
1887 felix_sb_pool_get(struct dsa_switch *ds, unsigned int sb_index, u16 pool_index, struct devlink_sb_pool_info *pool_info) argument
1896 felix_sb_pool_set(struct dsa_switch *ds, unsigned int sb_index, u16 pool_index, u32 size, enum devlink_sb_threshold_type threshold_type, struct netlink_ext_ack *extack) argument
1907 felix_sb_port_pool_get(struct dsa_switch *ds, int port, unsigned int sb_index, u16 pool_index, u32 *p_threshold) argument
1917 felix_sb_port_pool_set(struct dsa_switch *ds, int port, unsigned int sb_index, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
1927 felix_sb_tc_pool_bind_get(struct dsa_switch *ds, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 *p_pool_index, u32 *p_threshold) argument
1939 felix_sb_tc_pool_bind_set(struct dsa_switch *ds, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
1952 felix_sb_occ_snapshot(struct dsa_switch *ds, unsigned int sb_index) argument
1960 felix_sb_occ_max_clear(struct dsa_switch *ds, unsigned int sb_index) argument
1968 felix_sb_occ_port_pool_get(struct dsa_switch *ds, int port, unsigned int sb_index, u16 pool_index, u32 *p_cur, u32 *p_max) argument
1978 felix_sb_occ_tc_port_bind_get(struct dsa_switch *ds, int port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u32 *p_cur, u32 *p_max) argument
1989 felix_mrp_add(struct dsa_switch *ds, int port, const struct switchdev_obj_mrp *mrp) argument
1997 felix_mrp_del(struct dsa_switch *ds, int port, const struct switchdev_obj_mrp *mrp) argument
2006 felix_mrp_add_ring_role(struct dsa_switch *ds, int port, const struct switchdev_obj_ring_role_mrp *mrp) argument
2015 felix_mrp_del_ring_role(struct dsa_switch *ds, int port, const struct switchdev_obj_ring_role_mrp *mrp) argument
2023 felix_port_get_default_prio(struct dsa_switch *ds, int port) argument
2030 felix_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio) argument
2038 felix_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp) argument
2045 felix_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio) argument
2053 felix_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio) argument
2061 felix_get_mm(struct dsa_switch *ds, int port, struct ethtool_mm_state *state) argument
2069 felix_set_mm(struct dsa_switch *ds, int port, struct ethtool_mm_cfg *cfg, struct netlink_ext_ack *extack) argument
2078 felix_get_mm_stats(struct dsa_switch *ds, int port, struct ethtool_mm_stats *stats) argument
2174 struct dsa_switch *ds = felix->ds; local
[all...]
/linux-master/drivers/net/dsa/
H A Ddsa_loop.c50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) argument
53 struct dsa_loop_priv *ps = ds->priv;
60 err = dsa_devlink_resource_register(ds, "VTU", ARRAY_SIZE(ps->vlans),
67 dsa_devlink_resource_occ_get_register(ds,
74 dsa_devlink_resources_unregister(ds);
78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, argument
82 dev_dbg(ds->dev, "%s: port: %d\n", __func__, port);
87 static int dsa_loop_setup(struct dsa_switch *ds) argument
89 struct dsa_loop_priv *ps = ds->priv;
92 for (i = 0; i < ds
101 dsa_loop_teardown(struct dsa_switch *ds) argument
106 dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) argument
114 dsa_loop_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) argument
128 dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) argument
138 dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) argument
153 dsa_loop_phy_write(struct dsa_switch *ds, int port, int regnum, u16 value) argument
169 dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument
180 dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument
187 dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument
194 dsa_loop_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, struct netlink_ext_ack *extack) argument
204 dsa_loop_port_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument
237 dsa_loop_port_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument
265 dsa_loop_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) argument
275 dsa_loop_port_max_mtu(struct dsa_switch *ds, int port) argument
313 struct dsa_switch *ds; local
353 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); local
367 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); local
[all...]
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.h40 int hellcreek_port_hwtstamp_set(struct dsa_switch *ds, int port,
42 int hellcreek_port_hwtstamp_get(struct dsa_switch *ds, int port,
45 bool hellcreek_port_rxtstamp(struct dsa_switch *ds, int port,
47 void hellcreek_port_txtstamp(struct dsa_switch *ds, int port,
50 int hellcreek_get_ts_info(struct dsa_switch *ds, int port,
/linux-master/drivers/md/
H A Ddm-bio-prison-v1.c322 struct dm_deferred_set *ds; member in struct:dm_deferred_entry
337 struct dm_deferred_set *ds; local
339 ds = kmalloc(sizeof(*ds), GFP_KERNEL);
340 if (!ds)
343 spin_lock_init(&ds->lock);
344 ds->current_entry = 0;
345 ds->sweeper = 0;
347 ds->entries[i].ds
356 dm_deferred_set_destroy(struct dm_deferred_set *ds) argument
362 dm_deferred_entry_inc(struct dm_deferred_set *ds) argument
381 __sweep(struct dm_deferred_set *ds, struct list_head *head) argument
408 dm_deferred_set_add_work(struct dm_deferred_set *ds, struct list_head *work) argument
[all...]

Completed in 264 milliseconds

1234567891011>>