Home
last modified time | relevance | path

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

12345

/net/bridge/
Dbr_sysfs_br.c56 struct device_attribute *attr, char *buf) in forward_delay_show()
63 struct device_attribute *attr, in forward_delay_store()
70 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show()
78 struct device_attribute *attr, const char *buf, in hello_time_store()
85 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show()
92 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store()
100 struct device_attribute *attr, char *buf) in ageing_time_show()
112 struct device_attribute *attr, in ageing_time_store()
120 struct device_attribute *attr, char *buf) in stp_state_show()
135 struct device_attribute *attr, const char *buf, in stp_state_store()
[all …]
Dbr_sysfs_if.c21 struct attribute attr; member
295 struct attribute *attr, char *buf) in brport_show()
307 struct attribute *attr, in brport_store()
/net/batman-adv/
Dsysfs.c50 static void batadv_sysfs_deprecated(struct attribute *attr) in batadv_sysfs_deprecated()
320 const char *attr_name, atomic_t *attr, in batadv_store_bool_attr()
362 struct attribute *attr, in __batadv_store_bool_attr()
381 atomic_t *attr) in batadv_store_uint_attr()
422 const struct attribute *attr, in __batadv_store_uint_attr()
438 struct attribute *attr, char *buff) in batadv_show_bat_algo()
453 static ssize_t batadv_show_gw_mode(struct kobject *kobj, struct attribute *attr, in batadv_show_gw_mode()
487 struct attribute *attr, char *buff, in batadv_store_gw_mode()
567 struct attribute *attr, char *buff) in batadv_show_gw_sel_class()
587 struct attribute *attr, char *buff, in batadv_store_gw_sel_class()
[all …]
Dnetlink.c165 struct nlattr *attr = nlmsg_find_attr(nlh, GENL_HDRLEN, attrtype); in batadv_netlink_get_ifindex() local
201 static int batadv_netlink_set_mesh_ap_isolation(struct nlattr *attr, in batadv_netlink_set_mesh_ap_isolation()
443 struct nlattr *attr; in batadv_netlink_set_mesh() local
928 struct nlattr *attr; in batadv_netlink_set_hardif() local
1127 struct nlattr *attr; in batadv_netlink_set_vlan() local
/net/802/
Dgarp.c137 static int garp_attr_cmp(const struct garp_attr *attr, in garp_attr_cmp()
151 struct garp_attr *attr; in garp_attr_lookup() local
171 struct garp_attr *attr; in garp_attr_create() local
200 static void garp_attr_destroy(struct garp_applicant *app, struct garp_attr *attr) in garp_attr_destroy()
209 struct garp_attr *attr; in garp_attr_destroy_all() local
288 const struct garp_attr *attr, in garp_pdu_append_attr()
324 struct garp_attr *attr, enum garp_event event) in garp_attr_event()
360 struct garp_attr *attr; in garp_request_join() local
380 struct garp_attr *attr; in garp_request_leave() local
396 struct garp_attr *attr; in garp_gid_event() local
[all …]
Dmrp.c226 static int mrp_attr_cmp(const struct mrp_attr *attr, in mrp_attr_cmp()
240 struct mrp_attr *attr; in mrp_attr_lookup() local
260 struct mrp_attr *attr; in mrp_attr_create() local
289 static void mrp_attr_destroy(struct mrp_applicant *app, struct mrp_attr *attr) in mrp_attr_destroy()
298 struct mrp_attr *attr; in mrp_attr_destroy_all() local
404 const struct mrp_attr *attr, in mrp_pdu_append_vecattr_event()
481 struct mrp_attr *attr, enum mrp_event event) in mrp_attr_event()
536 struct mrp_attr *attr; in mrp_request_join() local
561 struct mrp_attr *attr; in mrp_request_leave() local
581 struct mrp_attr *attr; in mrp_mad_event() local
[all …]
/net/atm/
Datm_sysfs.c15 struct device_attribute *attr, char *buf) in show_type()
23 struct device_attribute *attr, char *buf) in show_address()
31 struct device_attribute *attr, char *buf) in show_atmaddress()
60 struct device_attribute *attr, char *buf) in show_atmindex()
68 struct device_attribute *attr, char *buf) in show_carrier()
77 struct device_attribute *attr, char *buf) in show_link_rate()
/net/core/
Dnet-sysfs.c41 struct device_attribute *attr, char *buf, in netdev_show()
76 static ssize_t netdev_store(struct device *dev, struct device_attribute *attr, in netdev_store()
113 static ssize_t iflink_show(struct device *dev, struct device_attribute *attr, in iflink_show()
128 struct device_attribute *attr, in name_assign_type_show()
142 static ssize_t address_show(struct device *dev, struct device_attribute *attr, in address_show()
157 struct device_attribute *attr, char *buf) in broadcast_show()
174 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
189 struct device_attribute *attr, char *buf) in carrier_show()
201 struct device_attribute *attr, char *buf) in speed_show()
227 struct device_attribute *attr, char *buf) in duplex_show()
[all …]
Ddrop_monitor.c328 struct nlattr *attr; in net_dm_hw_entry_put() local
352 struct nlattr *attr; in net_dm_hw_entries_put() local
577 struct nlattr *attr; in net_dm_packet_report_in_port_put() local
604 struct nlattr *attr; in net_dm_packet_report_fill() local
741 struct nlattr *attr; in net_dm_hw_packet_report_fill() local
1368 struct nlattr *attr; in net_dm_stats_put() local
1412 struct nlattr *attr; in net_dm_hw_stats_put() local
/net/openvswitch/
Dflow_netlink.c461 static int __parse_flow_nlattrs(const struct nlattr *attr, in __parse_flow_nlattrs()
506 static int parse_flow_mask_nlattrs(const struct nlattr *attr, in parse_flow_mask_nlattrs()
513 int parse_flow_nlattrs(const struct nlattr *attr, const struct nlattr *a[], in parse_flow_nlattrs()
570 static int vxlan_tun_opt_from_nlattr(const struct nlattr *attr, in vxlan_tun_opt_from_nlattr()
653 static int ip_tun_from_nlattr(const struct nlattr *attr, in ip_tun_from_nlattr()
1280 int nsh_hdr_from_nlattr(const struct nlattr *attr, in nsh_hdr_from_nlattr()
1334 int nsh_key_from_nlattr(const struct nlattr *attr, in nsh_key_from_nlattr()
1374 static int nsh_key_put_from_nlattr(const struct nlattr *attr, in nsh_key_put_from_nlattr()
1719 static void nlattr_set(struct nlattr *attr, u8 val, in nlattr_set()
1737 static void mask_set_nlattr(struct nlattr *attr, u8 val) in mask_set_nlattr()
[all …]
/net/switchdev/
Dswitchdev.c103 const struct switchdev_attr *attr, in switchdev_port_attr_notify()
130 const struct switchdev_attr *attr) in switchdev_port_attr_set_now()
165 const struct switchdev_attr *attr = data; in switchdev_port_attr_set_deferred() local
177 const struct switchdev_attr *attr) in switchdev_port_attr_set_defer()
197 const struct switchdev_attr *attr) in switchdev_port_attr_set()
566 const struct switchdev_attr *attr, in __switchdev_handle_port_attr_set()
604 const struct switchdev_attr *attr, in switchdev_handle_port_attr_set()
/net/netfilter/ipset/
Dip_set_core.c889 const struct nlattr * const attr[], in ip_set_none()
897 const struct nlattr * const attr[], in ip_set_create()
1048 const struct nlattr * const attr[], in ip_set_destroy()
1138 const struct nlattr * const attr[], in ip_set_flush()
1178 const struct nlattr * const attr[], in ip_set_rename()
1228 const struct nlattr * const attr[], in ip_set_swap()
1308 const struct nlattr *attr; in dump_attrs() local
1331 struct nlattr *attr = (void *)nlh + min_len; in ip_set_dump_start() local
1519 const struct nlattr * const attr[], in ip_set_dump()
1621 const struct nlattr * const attr[], in ip_set_ad()
[all …]
/net/netfilter/
Dnfnetlink_cthelper.c73 const struct nlattr *attr) in nfnl_cthelper_parse_tuple()
96 nfnl_cthelper_from_nlattr(struct nlattr *attr, struct nf_conn *ct) in nfnl_cthelper_from_nlattr()
134 const struct nlattr *attr) in nfnl_cthelper_expect_policy()
169 const struct nlattr *attr) in nfnl_cthelper_parse_expect_policy()
286 const struct nlattr *attr) in nfnl_cthelper_update_policy_one()
357 const struct nlattr *attr) in nfnl_cthelper_update_policy()
Dnft_tunnel.c162 const struct nlattr *attr, in nft_tunnel_obj_ip_init()
191 const struct nlattr *attr, in nft_tunnel_obj_ip6_init()
227 static int nft_tunnel_obj_vxlan_init(const struct nlattr *attr, in nft_tunnel_obj_vxlan_init()
256 static int nft_tunnel_obj_erspan_init(const struct nlattr *attr, in nft_tunnel_obj_erspan_init()
309 const struct nlattr *attr, in nft_tunnel_obj_opts_init()
Dnfnetlink.c204 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_msg() local
421 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_batch() local
531 struct nlattr *attr = (void *)nlh + min_len; in nfnetlink_rcv_skb_batch() local
Dnf_tables_api.c1061 const struct nlattr *attr; in nf_tables_newtable() local
1235 const struct nlattr *attr; in nf_tables_deltable() local
1618 static struct nft_stats __percpu *nft_stats_alloc(const struct nlattr *attr) in nft_stats_alloc()
2053 const struct nlattr *attr; in nf_tables_newchain() local
2144 const struct nlattr *attr; in nf_tables_delchain() local
2321 int nft_expr_dump(struct sk_buff *skb, unsigned int attr, in nft_expr_dump()
4005 const struct nlattr *attr; in nf_tables_delset() local
4518 const struct nlattr *attr, u32 *flags) in nft_setelem_parse_flags()
4534 struct nft_data *key, struct nlattr *attr) in nft_setelem_parse_key()
4554 struct nlattr *attr) in nft_setelem_parse_data()
[all …]
/net/wireless/
Dpmsr.c362 #define PUT(tp, attr, val) \ in nl80211_pmsr_send_ftm_res() argument
370 #define PUTOPT(tp, attr, val) \ in nl80211_pmsr_send_ftm_res() argument
376 #define PUT_U64(attr, val) \ in nl80211_pmsr_send_ftm_res() argument
385 #define PUTOPT_U64(attr, val) \ in nl80211_pmsr_send_ftm_res() argument
Dsysfs.c40 struct device_attribute *attr, in name_show()
50 struct device_attribute *attr, in addresses_show()
/net/rfkill/
Dcore.c669 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
678 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
687 static ssize_t index_show(struct device *dev, struct device_attribute *attr, in index_show()
697 struct device_attribute *attr, char *buf) in persistent_show()
705 static ssize_t hard_show(struct device *dev, struct device_attribute *attr, in hard_show()
714 static ssize_t soft_show(struct device *dev, struct device_attribute *attr, in soft_show()
722 static ssize_t soft_store(struct device *dev, struct device_attribute *attr, in soft_store()
757 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
765 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
/net/ipv4/
Dnetlink.c10 int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family, in rtm_getroute_parse_ip_proto()
Dinet_diag.c185 struct nlattr *attr; in inet_sk_diag_fill() local
288 int attr; in inet_sk_diag_fill() local
780 static int inet_diag_bc_audit(const struct nlattr *attr, in inet_diag_bc_audit()
1126 struct nlattr *attr; in inet_diag_rcv_msg_compat() local
1157 struct nlattr *attr; in inet_diag_handler_cmd() local
1182 struct nlattr *attr; in inet_diag_handler_get_info() local
/net/8021q/
Dvlan_netlink.c31 static inline int vlan_validate_qos_map(struct nlattr *attr) in vlan_validate_qos_map()
110 struct nlattr *attr; in vlan_changelink() local
/net/sched/
Dsch_netem.c776 static int get_dist_table(struct disttable **tbl, const struct nlattr *attr) in get_dist_table()
798 static void get_slot(struct netem_sched_data *q, const struct nlattr *attr) in get_slot()
820 static void get_correlation(struct netem_sched_data *q, const struct nlattr *attr) in get_correlation()
829 static void get_reorder(struct netem_sched_data *q, const struct nlattr *attr) in get_reorder()
837 static void get_corrupt(struct netem_sched_data *q, const struct nlattr *attr) in get_corrupt()
845 static void get_rate(struct netem_sched_data *q, const struct nlattr *attr) in get_rate()
859 static int get_loss_clg(struct netem_sched_data *q, const struct nlattr *attr) in get_loss_clg()
/net/sctp/
Ddiag.c73 struct nlattr *attr; in inet_diag_msg_sctpladdrs_fill() local
98 struct nlattr *attr; in inet_diag_msg_sctpaddrs_fill() local
183 struct nlattr *attr; in inet_sctp_diag_fill() local
/net/tipc/
Dnetlink.c272 int tipc_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr ***attr) in tipc_nlmsg_parse()

12345