• Home
  • Raw
  • Download

Lines Matching refs:d

31 static ssize_t store_bridge_parm(struct device *d,  in store_bridge_parm()  argument
35 struct net_bridge *br = to_bridge(d); in store_bridge_parm()
52 static ssize_t show_forward_delay(struct device *d, in show_forward_delay() argument
55 struct net_bridge *br = to_bridge(d); in show_forward_delay()
59 static ssize_t store_forward_delay(struct device *d, in store_forward_delay() argument
63 return store_bridge_parm(d, buf, len, br_set_forward_delay); in store_forward_delay()
68 static ssize_t show_hello_time(struct device *d, struct device_attribute *attr, in show_hello_time() argument
72 jiffies_to_clock_t(to_bridge(d)->hello_time)); in show_hello_time()
75 static ssize_t store_hello_time(struct device *d, in store_hello_time() argument
79 return store_bridge_parm(d, buf, len, br_set_hello_time); in store_hello_time()
84 static ssize_t show_max_age(struct device *d, struct device_attribute *attr, in show_max_age() argument
88 jiffies_to_clock_t(to_bridge(d)->max_age)); in show_max_age()
91 static ssize_t store_max_age(struct device *d, struct device_attribute *attr, in store_max_age() argument
94 return store_bridge_parm(d, buf, len, br_set_max_age); in store_max_age()
98 static ssize_t show_ageing_time(struct device *d, in show_ageing_time() argument
101 struct net_bridge *br = to_bridge(d); in show_ageing_time()
111 static ssize_t store_ageing_time(struct device *d, in store_ageing_time() argument
115 return store_bridge_parm(d, buf, len, set_ageing_time); in store_ageing_time()
120 static ssize_t show_stp_state(struct device *d, in show_stp_state() argument
123 struct net_bridge *br = to_bridge(d); in show_stp_state()
128 static ssize_t store_stp_state(struct device *d, in store_stp_state() argument
132 struct net_bridge *br = to_bridge(d); in store_stp_state()
153 static ssize_t show_group_fwd_mask(struct device *d, in show_group_fwd_mask() argument
156 struct net_bridge *br = to_bridge(d); in show_group_fwd_mask()
161 static ssize_t store_group_fwd_mask(struct device *d, in store_group_fwd_mask() argument
165 struct net_bridge *br = to_bridge(d); in store_group_fwd_mask()
186 static ssize_t show_priority(struct device *d, struct device_attribute *attr, in show_priority() argument
189 struct net_bridge *br = to_bridge(d); in show_priority()
200 static ssize_t store_priority(struct device *d, struct device_attribute *attr, in store_priority() argument
203 return store_bridge_parm(d, buf, len, set_priority); in store_priority()
207 static ssize_t show_root_id(struct device *d, struct device_attribute *attr, in show_root_id() argument
210 return br_show_bridge_id(buf, &to_bridge(d)->designated_root); in show_root_id()
214 static ssize_t show_bridge_id(struct device *d, struct device_attribute *attr, in show_bridge_id() argument
217 return br_show_bridge_id(buf, &to_bridge(d)->bridge_id); in show_bridge_id()
221 static ssize_t show_root_port(struct device *d, struct device_attribute *attr, in show_root_port() argument
224 return sprintf(buf, "%d\n", to_bridge(d)->root_port); in show_root_port()
228 static ssize_t show_root_path_cost(struct device *d, in show_root_path_cost() argument
231 return sprintf(buf, "%d\n", to_bridge(d)->root_path_cost); in show_root_path_cost()
235 static ssize_t show_topology_change(struct device *d, in show_topology_change() argument
238 return sprintf(buf, "%d\n", to_bridge(d)->topology_change); in show_topology_change()
242 static ssize_t show_topology_change_detected(struct device *d, in show_topology_change_detected() argument
246 struct net_bridge *br = to_bridge(d); in show_topology_change_detected()
252 static ssize_t show_hello_timer(struct device *d, in show_hello_timer() argument
255 struct net_bridge *br = to_bridge(d); in show_hello_timer()
260 static ssize_t show_tcn_timer(struct device *d, struct device_attribute *attr, in show_tcn_timer() argument
263 struct net_bridge *br = to_bridge(d); in show_tcn_timer()
268 static ssize_t show_topology_change_timer(struct device *d, in show_topology_change_timer() argument
272 struct net_bridge *br = to_bridge(d); in show_topology_change_timer()
278 static ssize_t show_gc_timer(struct device *d, struct device_attribute *attr, in show_gc_timer() argument
281 struct net_bridge *br = to_bridge(d); in show_gc_timer()
286 static ssize_t show_group_addr(struct device *d, in show_group_addr() argument
289 struct net_bridge *br = to_bridge(d); in show_group_addr()
296 static ssize_t store_group_addr(struct device *d, in store_group_addr() argument
300 struct net_bridge *br = to_bridge(d); in store_group_addr()
330 static ssize_t store_flush(struct device *d, in store_flush() argument
334 struct net_bridge *br = to_bridge(d); in store_flush()
345 static ssize_t show_multicast_router(struct device *d, in show_multicast_router() argument
348 struct net_bridge *br = to_bridge(d); in show_multicast_router()
352 static ssize_t store_multicast_router(struct device *d, in store_multicast_router() argument
356 return store_bridge_parm(d, buf, len, br_multicast_set_router); in store_multicast_router()
361 static ssize_t show_multicast_snooping(struct device *d, in show_multicast_snooping() argument
365 struct net_bridge *br = to_bridge(d); in show_multicast_snooping()
369 static ssize_t store_multicast_snooping(struct device *d, in store_multicast_snooping() argument
373 return store_bridge_parm(d, buf, len, br_multicast_toggle); in store_multicast_snooping()
378 static ssize_t show_multicast_querier(struct device *d, in show_multicast_querier() argument
382 struct net_bridge *br = to_bridge(d); in show_multicast_querier()
386 static ssize_t store_multicast_querier(struct device *d, in store_multicast_querier() argument
390 return store_bridge_parm(d, buf, len, br_multicast_set_querier); in store_multicast_querier()
395 static ssize_t show_hash_elasticity(struct device *d, in show_hash_elasticity() argument
398 struct net_bridge *br = to_bridge(d); in show_hash_elasticity()
408 static ssize_t store_hash_elasticity(struct device *d, in store_hash_elasticity() argument
412 return store_bridge_parm(d, buf, len, set_elasticity); in store_hash_elasticity()
417 static ssize_t show_hash_max(struct device *d, struct device_attribute *attr, in show_hash_max() argument
420 struct net_bridge *br = to_bridge(d); in show_hash_max()
424 static ssize_t store_hash_max(struct device *d, struct device_attribute *attr, in store_hash_max() argument
427 return store_bridge_parm(d, buf, len, br_multicast_set_hash_max); in store_hash_max()
432 static ssize_t show_multicast_last_member_count(struct device *d, in show_multicast_last_member_count() argument
436 struct net_bridge *br = to_bridge(d); in show_multicast_last_member_count()
446 static ssize_t store_multicast_last_member_count(struct device *d, in store_multicast_last_member_count() argument
450 return store_bridge_parm(d, buf, len, set_last_member_count); in store_multicast_last_member_count()
457 struct device *d, struct device_attribute *attr, char *buf) in show_multicast_startup_query_count() argument
459 struct net_bridge *br = to_bridge(d); in show_multicast_startup_query_count()
470 struct device *d, struct device_attribute *attr, const char *buf, in store_multicast_startup_query_count() argument
473 return store_bridge_parm(d, buf, len, set_startup_query_count); in store_multicast_startup_query_count()
480 struct device *d, struct device_attribute *attr, char *buf) in show_multicast_last_member_interval() argument
482 struct net_bridge *br = to_bridge(d); in show_multicast_last_member_interval()
494 struct device *d, struct device_attribute *attr, const char *buf, in store_multicast_last_member_interval() argument
497 return store_bridge_parm(d, buf, len, set_last_member_interval); in store_multicast_last_member_interval()
504 struct device *d, struct device_attribute *attr, char *buf) in show_multicast_membership_interval() argument
506 struct net_bridge *br = to_bridge(d); in show_multicast_membership_interval()
518 struct device *d, struct device_attribute *attr, const char *buf, in store_multicast_membership_interval() argument
521 return store_bridge_parm(d, buf, len, set_membership_interval); in store_multicast_membership_interval()
527 static ssize_t show_multicast_querier_interval(struct device *d, in show_multicast_querier_interval() argument
531 struct net_bridge *br = to_bridge(d); in show_multicast_querier_interval()
542 static ssize_t store_multicast_querier_interval(struct device *d, in store_multicast_querier_interval() argument
546 return store_bridge_parm(d, buf, len, set_querier_interval); in store_multicast_querier_interval()
552 static ssize_t show_multicast_query_interval(struct device *d, in show_multicast_query_interval() argument
556 struct net_bridge *br = to_bridge(d); in show_multicast_query_interval()
567 static ssize_t store_multicast_query_interval(struct device *d, in store_multicast_query_interval() argument
571 return store_bridge_parm(d, buf, len, set_query_interval); in store_multicast_query_interval()
578 struct device *d, struct device_attribute *attr, char *buf) in show_multicast_query_response_interval() argument
580 struct net_bridge *br = to_bridge(d); in show_multicast_query_response_interval()
593 struct device *d, struct device_attribute *attr, const char *buf, in store_multicast_query_response_interval() argument
596 return store_bridge_parm(d, buf, len, set_query_response_interval); in store_multicast_query_response_interval()
603 struct device *d, struct device_attribute *attr, char *buf) in show_multicast_startup_query_interval() argument
605 struct net_bridge *br = to_bridge(d); in show_multicast_startup_query_interval()
618 struct device *d, struct device_attribute *attr, const char *buf, in store_multicast_startup_query_interval() argument
621 return store_bridge_parm(d, buf, len, set_startup_query_interval); in store_multicast_startup_query_interval()
629 struct device *d, struct device_attribute *attr, char *buf) in show_nf_call_iptables() argument
631 struct net_bridge *br = to_bridge(d); in show_nf_call_iptables()
642 struct device *d, struct device_attribute *attr, const char *buf, in store_nf_call_iptables() argument
645 return store_bridge_parm(d, buf, len, set_nf_call_iptables); in store_nf_call_iptables()
651 struct device *d, struct device_attribute *attr, char *buf) in show_nf_call_ip6tables() argument
653 struct net_bridge *br = to_bridge(d); in show_nf_call_ip6tables()
664 struct device *d, struct device_attribute *attr, const char *buf, in store_nf_call_ip6tables() argument
667 return store_bridge_parm(d, buf, len, set_nf_call_ip6tables); in store_nf_call_ip6tables()
673 struct device *d, struct device_attribute *attr, char *buf) in show_nf_call_arptables() argument
675 struct net_bridge *br = to_bridge(d); in show_nf_call_arptables()
686 struct device *d, struct device_attribute *attr, const char *buf, in store_nf_call_arptables() argument
689 return store_bridge_parm(d, buf, len, set_nf_call_arptables); in store_nf_call_arptables()
695 static ssize_t show_vlan_filtering(struct device *d, in show_vlan_filtering() argument
699 struct net_bridge *br = to_bridge(d); in show_vlan_filtering()
703 static ssize_t store_vlan_filtering(struct device *d, in store_vlan_filtering() argument
707 return store_bridge_parm(d, buf, len, br_vlan_filter_toggle); in store_vlan_filtering()