Home
last modified time | relevance | path

Searched defs:attr (Results 1 – 25 of 76) sorted by relevance

1234

/net/bridge/
Dbr_sysfs_br.c53 struct device_attribute *attr, char *buf) in forward_delay_show()
60 struct device_attribute *attr, in forward_delay_store()
67 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show()
75 struct device_attribute *attr, const char *buf, in hello_time_store()
82 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show()
89 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store()
97 struct device_attribute *attr, char *buf) in ageing_time_show()
117 struct device_attribute *attr, in ageing_time_store()
125 struct device_attribute *attr, char *buf) in stp_state_show()
133 struct device_attribute *attr, const char *buf, in stp_state_store()
[all …]
Dbr_sysfs_if.c24 struct attribute attr; member
227 struct attribute *attr, char *buf) in brport_show()
239 struct attribute *attr, in brport_store()
/net/core/
Dnet-sysfs.c44 struct device_attribute *attr, char *buf, in netdev_show()
79 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
115 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
130 struct device_attribute *attr, in name_assign_type_show()
144 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
159 struct device_attribute *attr, char *buf) in broadcast_show()
175 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
182 struct device_attribute *attr, char *buf) in carrier_show()
193 struct device_attribute *attr, char *buf) in speed_show()
212 struct device_attribute *attr, char *buf) in duplex_show()
[all …]
/net/802/
Dgarp.c140 static int garp_attr_cmp(const struct garp_attr *attr, in garp_attr_cmp()
154 struct garp_attr *attr; in garp_attr_lookup() local
174 struct garp_attr *attr; in garp_attr_create() local
203 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy()
212 struct garp_attr *attr; in garp_attr_destroy_all() local
291 const struct garp_attr *attr, in garp_pdu_append_attr()
327 struct garp_attr *attr, enum garp_event event) in garp_attr_event()
363 struct garp_attr *attr; in garp_request_join() local
383 struct garp_attr *attr; in garp_request_leave() local
399 struct garp_attr *attr; in garp_gid_event() local
[all …]
Dmrp.c229 static int mrp_attr_cmp(const struct mrp_attr *attr, in mrp_attr_cmp()
243 struct mrp_attr *attr; in mrp_attr_lookup() local
263 struct mrp_attr *attr; in mrp_attr_create() local
292 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy()
301 struct mrp_attr *attr; in mrp_attr_destroy_all() local
408 const struct mrp_attr *attr, in mrp_pdu_append_vecattr_event()
485 struct mrp_attr *attr, enum mrp_event event) in mrp_attr_event()
540 struct mrp_attr *attr; in mrp_request_join() local
565 struct mrp_attr *attr; in mrp_request_leave() local
585 struct mrp_attr *attr; in mrp_mad_event() local
[all …]
/net/atm/
Datm_sysfs.c14 struct device_attribute *attr, char *buf) in show_type()
22 struct device_attribute *attr, char *buf) in show_address()
30 struct device_attribute *attr, char *buf) in show_atmaddress()
59 struct device_attribute *attr, char *buf) in show_atmindex()
67 struct device_attribute *attr, char *buf) in show_carrier()
76 struct device_attribute *attr, char *buf) in show_link_rate()
/net/batman-adv/
Dsysfs.c244 const char *attr_name, atomic_t *attr) in batadv_store_bool_attr()
281 struct attribute *attr, in __batadv_store_bool_attr()
298 atomic_t *attr) in batadv_store_uint_attr()
336 const struct attribute *attr, in __batadv_store_uint_attr()
350 struct attribute *attr, char *buff) in batadv_show_bat_algo()
364 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode()
389 struct attribute *attr, char *buff, in batadv_store_gw_mode()
457 struct attribute *attr, char *buff) in batadv_show_gw_bwidth()
470 struct attribute *attr, char *buff, in batadv_store_gw_bwidth()
491 struct attribute *attr, char *buff) in batadv_show_isolation_mark()
[all …]
Dsysfs.h39 struct attribute attr; member
/net/bluetooth/
Dhci_sysfs.c27 struct device_attribute *attr, char *buf) in show_link_type()
34 struct device_attribute *attr, char *buf) in show_link_address()
140 struct device_attribute *attr, char *buf) in show_type()
147 struct device_attribute *attr, char *buf) in show_name()
161 struct device_attribute *attr, char *buf) in show_address()
/net/openvswitch/
Dflow_netlink.c381 static int __parse_flow_nlattrs(const struct nlattr *attr, in __parse_flow_nlattrs()
426 static int parse_flow_mask_nlattrs(const struct nlattr *attr, in parse_flow_mask_nlattrs()
433 static int parse_flow_nlattrs(const struct nlattr *attr, in parse_flow_nlattrs()
491 static int vxlan_tun_opt_from_nlattr(const struct nlattr *attr, in vxlan_tun_opt_from_nlattr()
547 static int ip_tun_from_nlattr(const struct nlattr *attr, in ip_tun_from_nlattr()
1136 static void nlattr_set(struct nlattr *attr, u8 val, in nlattr_set()
1154 static void mask_set_nlattr(struct nlattr *attr, u8 val) in mask_set_nlattr()
1319 static size_t get_ufid_len(const struct nlattr *attr, bool log) in get_ufid_len()
1339 bool ovs_nla_get_ufid(struct sw_flow_id *sfid, const struct nlattr *attr, in ovs_nla_get_ufid()
1367 u32 ovs_nla_get_ufid_flags(const struct nlattr *attr) in ovs_nla_get_ufid_flags()
[all …]
Dactions.c114 const struct nlattr *attr) in add_deferred_actions()
775 struct sw_flow_key *key, const struct nlattr *attr, in output_userspace()
827 struct sw_flow_key *key, const struct nlattr *attr, in sample()
883 const struct nlattr *attr) in execute_hash()
1031 const struct nlattr *attr, int len) in do_execute_actions()
/net/switchdev/
Dswitchdev.c184 int switchdev_port_attr_get(struct net_device *dev, struct switchdev_attr *attr) in switchdev_port_attr_get()
221 const struct switchdev_attr *attr, in __switchdev_port_attr_set()
256 const struct switchdev_attr *attr) in switchdev_port_attr_set_now()
301 const struct switchdev_attr *attr = data; in switchdev_port_attr_set_deferred() local
311 const struct switchdev_attr *attr) in switchdev_port_attr_set_defer()
331 const struct switchdev_attr *attr) in switchdev_port_attr_set()
760 struct switchdev_attr attr = { in switchdev_port_bridge_getlink() local
781 struct switchdev_attr attr = { in switchdev_port_br_setflag() local
816 struct nlattr *attr; in switchdev_port_br_setlink_protinfo() local
854 struct nlattr *attr; in switchdev_port_br_afspec() local
[all …]
/net/netfilter/
Dnfnetlink_cthelper.c76 const struct nlattr *attr) in nfnl_cthelper_parse_tuple()
98 nfnl_cthelper_from_nlattr(struct nlattr *attr, struct nf_conn *ct) in nfnl_cthelper_from_nlattr()
136 const struct nlattr *attr) in nfnl_cthelper_expect_policy()
167 const struct nlattr *attr) in nfnl_cthelper_parse_expect_policy()
274 const struct nlattr *attr) in nfnl_cthelper_update_policy_one()
333 const struct nlattr *attr) in nfnl_cthelper_update_policy()
Dxt_IDLETIMER.c55 struct attribute attr; member
66 struct idletimer_tg_attr attr; member
187 static ssize_t idletimer_tg_show(struct kobject *kobj, struct attribute *attr, in idletimer_tg_show()
Dnf_conntrack_netlink.c905 ctnetlink_parse_tuple_ip(struct nlattr *attr, struct nf_conntrack_tuple *tuple) in ctnetlink_parse_tuple_ip()
935 ctnetlink_parse_tuple_proto(struct nlattr *attr, in ctnetlink_parse_tuple_proto()
966 ctnetlink_parse_zone(const struct nlattr *attr, in ctnetlink_parse_zone()
982 ctnetlink_parse_tuple_zone(struct nlattr *attr, enum ctattr_type type, in ctnetlink_parse_tuple_zone()
1065 ctnetlink_parse_help(const struct nlattr *attr, char **helper_name, in ctnetlink_parse_help()
1387 const struct nlattr *attr) in ctnetlink_parse_nat_setup()
1564 const struct nlattr *attr = cda[CTA_PROTOINFO]; in ctnetlink_change_protoinfo() local
1589 change_seq_adj(struct nf_ct_seqadj *seq, const struct nlattr * const attr) in change_seq_adj()
2329 ctnetlink_glue_parse(const struct nlattr *attr, struct nf_conn *ct) in ctnetlink_glue_parse()
2362 ctnetlink_glue_attach_expect(const struct nlattr *attr, struct nf_conn *ct, in ctnetlink_glue_attach_expect()
[all …]
/net/netfilter/ipset/
Dip_set_core.c833 const struct nlattr * const attr[]) in ip_set_none()
841 const struct nlattr * const attr[]) in ip_set_create()
984 const struct nlattr * const attr[]) in ip_set_destroy()
1060 const struct nlattr * const attr[]) in ip_set_flush()
1100 const struct nlattr * const attr[]) in ip_set_rename()
1150 const struct nlattr * const attr[]) in ip_set_swap()
1223 const struct nlattr *attr; in dump_attrs() local
1238 struct nlattr *attr = (void *)nlh + min_len; in dump_init() local
1421 const struct nlattr * const attr[]) in ip_set_dump()
1508 const struct nlattr * const attr[]) in ip_set_uadd()
[all …]
/net/rfkill/
Dcore.c585 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
620 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
629 static ssize_t index_show(struct device *dev, struct device_attribute *attr, in index_show()
639 struct device_attribute *attr, char *buf) in persistent_show()
647 static ssize_t hard_show(struct device *dev, struct device_attribute *attr, in hard_show()
656 static ssize_t soft_show(struct device *dev, struct device_attribute *attr, in soft_show()
664 static ssize_t soft_store(struct device *dev, struct device_attribute *attr, in soft_store()
699 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
707 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
733 static ssize_t claim_show(struct device *dev, struct device_attribute *attr, in claim_show()
/net/wireless/
Dsysfs.c41 struct device_attribute *attr, in name_show()
49 struct device_attribute *attr, in addresses_show()
/net/8021q/
Dvlan_netlink.c34 static inline int vlan_validate_qos_map(struct nlattr *attr) in vlan_validate_qos_map()
94 struct nlattr *attr; in vlan_changelink() local
/net/tipc/
Dnetlink.c151 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr) in tipc_nlmsg_parse()
/net/ipv4/
Dinet_diag.c123 struct nlattr *attr; in inet_sk_diag_fill() local
240 int attr; in inet_sk_diag_fill() local
724 static int inet_diag_bc_audit(const struct nlattr *attr, in inet_diag_bc_audit()
1055 struct nlattr *attr; in inet_diag_rcv_msg_compat() local
1086 struct nlattr *attr; in inet_diag_handler_cmd() local
1111 struct nlattr *attr; in inet_diag_handler_get_info() local
Dip_tunnel_core.c233 static int ip_tun_build_state(struct net_device *dev, struct nlattr *attr, in ip_tun_build_state()
328 static int ip6_tun_build_state(struct net_device *dev, struct nlattr *attr, in ip6_tun_build_state()
/net/dsa/
Ddsa.c85 struct device_attribute *attr, char *buf) in temp1_input_show()
99 struct device_attribute *attr, char *buf) in temp1_max_show()
112 struct device_attribute *attr, const char *buf, in temp1_max_store()
131 struct device_attribute *attr, char *buf) in temp1_max_alarm_show()
153 struct attribute *attr, int index) in dsa_hwmon_attrs_visible()
/net/sched/
Dsch_netem.c706 static int get_dist_table(struct Qdisc *sch, const struct nlattr *attr) in get_dist_table()
740 static void get_correlation(struct netem_sched_data *q, const struct nlattr *attr) in get_correlation()
749 static void get_reorder(struct netem_sched_data *q, const struct nlattr *attr) in get_reorder()
757 static void get_corrupt(struct netem_sched_data *q, const struct nlattr *attr) in get_corrupt()
765 static void get_rate(struct netem_sched_data *q, const struct nlattr *attr) in get_rate()
779 static int get_loss_clg(struct netem_sched_data *q, const struct nlattr *attr) in get_loss_clg()
/net/decnet/
Ddn_fib.c148 static int dn_fib_count_nhs(const struct nlattr *attr) in dn_fib_count_nhs()
163 static int dn_fib_get_nhs(struct dn_fib_info *fi, const struct nlattr *attr, in dn_fib_get_nhs()
294 struct nlattr *attr; in dn_fib_create_info() local

1234