Home
last modified time | relevance | path

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

12345

/net/bridge/
Dbr_sysfs_br.c68 struct device_attribute *attr, char *buf) in forward_delay_show()
81 struct device_attribute *attr, in forward_delay_store()
88 static ssize_t hello_time_show(struct device *d, struct device_attribute *attr, in hello_time_show()
102 struct device_attribute *attr, const char *buf, in hello_time_store()
109 static ssize_t max_age_show(struct device *d, struct device_attribute *attr, in max_age_show()
122 static ssize_t max_age_store(struct device *d, struct device_attribute *attr, in max_age_store()
130 struct device_attribute *attr, char *buf) in ageing_time_show()
143 struct device_attribute *attr, in ageing_time_store()
151 struct device_attribute *attr, char *buf) in stp_state_show()
165 struct device_attribute *attr, const char *buf, in stp_state_store()
[all …]
Dbr_mrp_netlink.c31 static int br_mrp_instance_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_instance_parse()
76 struct nlattr *attr, in br_mrp_port_state_parse()
105 struct nlattr *attr, in br_mrp_port_role_parse()
134 static int br_mrp_ring_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_state_parse()
168 static int br_mrp_ring_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_role_parse()
205 static int br_mrp_start_test_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_start_test_parse()
248 static int br_mrp_in_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_state_parse()
284 static int br_mrp_in_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_role_parse()
325 struct nlattr *attr, in br_mrp_start_in_test_parse()
357 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) in br_mrp_parse()
Dbr_cfm_netlink.c90 static int br_mep_create_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_create_parse()
130 static int br_mep_delete_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_delete_parse()
153 static int br_mep_config_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_config_parse()
195 static int br_cc_config_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_config_parse()
236 static int br_cc_peer_mep_add_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_peer_mep_add_parse()
263 static int br_cc_peer_mep_remove_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_peer_mep_remove_parse()
290 static int br_cc_rdi_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_rdi_parse()
317 static int br_cc_ccm_tx_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_ccm_tx_parse()
380 struct nlattr *attr, int cmd, struct netlink_ext_ack *extack) in br_cfm_parse()
Dbr_mrp_switchdev.c216 struct switchdev_attr attr = { in br_mrp_port_switchdev_set_state() local
231 struct switchdev_attr attr = { in br_mrp_port_switchdev_set_role() local
/net/core/
Dnet-sysfs.c43 struct device_attribute *attr, char *buf, in netdev_show()
78 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()
176 static ssize_t carrier_store(struct device *dev, struct device_attribute *attr, in carrier_store()
191 struct device_attribute *attr, char *buf) in carrier_show()
203 struct device_attribute *attr, char *buf) in speed_show()
229 struct device_attribute *attr, char *buf) in duplex_show()
[all …]
Dselftests.c55 struct net_packet_attrs *attr) in net_test_get_skb()
241 struct net_packet_attrs *attr) in __net_test_loopback()
315 struct net_packet_attrs attr = { }; in net_test_phy_loopback_udp() local
323 struct net_packet_attrs attr = { }; in net_test_phy_loopback_udp_mtu() local
332 struct net_packet_attrs attr = { }; in net_test_phy_loopback_tcp() 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 type_show()
23 struct device_attribute *attr, char *buf) in address_show()
31 struct device_attribute *attr, char *buf) in atmaddress_show()
54 struct device_attribute *attr, char *buf) in atmindex_show()
62 struct device_attribute *attr, char *buf) in carrier_show()
71 struct device_attribute *attr, char *buf) in link_rate_show()
/net/ethtool/
Dnetlink.h51 struct nlattr *attr; in ethnl_put_strz() local
73 static inline void ethnl_update_u32(u32 *dst, const struct nlattr *attr, in ethnl_update_u32()
99 static inline void ethnl_update_u8(u8 *dst, const struct nlattr *attr, in ethnl_update_u8()
125 static inline void ethnl_update_bool32(u32 *dst, const struct nlattr *attr, in ethnl_update_bool32()
153 const struct nlattr *attr, bool *mod) in ethnl_update_binary()
176 static inline void ethnl_update_bitfield32(u32 *dst, const struct nlattr *attr, in ethnl_update_bitfield32()
Dbitset.c237 struct nlattr *attr; in ethnl_put_bitset32() local
430 const struct nlattr *attr, struct nlattr **tb, in ethnl_update_bitset32_verbose()
553 const struct nlattr *attr, ethnl_string_array_t names, in ethnl_update_bitset32()
605 unsigned int nbits, const struct nlattr *attr, in ethnl_parse_bitset()
772 const struct nlattr *attr, ethnl_string_array_t names, in ethnl_update_bitset()
826 const struct nlattr *attr, ethnl_string_array_t names, in ethnl_update_bitset()
/net/openvswitch/
Dflow_netlink.c464 static int __parse_flow_nlattrs(const struct nlattr *attr, in __parse_flow_nlattrs()
509 static int parse_flow_mask_nlattrs(const struct nlattr *attr, in parse_flow_mask_nlattrs()
516 int parse_flow_nlattrs(const struct nlattr *attr, const struct nlattr *a[], in parse_flow_nlattrs()
573 static int vxlan_tun_opt_from_nlattr(const struct nlattr *attr, in vxlan_tun_opt_from_nlattr()
656 static int ip_tun_from_nlattr(const struct nlattr *attr, in ip_tun_from_nlattr()
1283 int nsh_hdr_from_nlattr(const struct nlattr *attr, in nsh_hdr_from_nlattr()
1337 int nsh_key_from_nlattr(const struct nlattr *attr, in nsh_key_from_nlattr()
1377 static int nsh_key_put_from_nlattr(const struct nlattr *attr, in nsh_key_put_from_nlattr()
1737 static void nlattr_set(struct nlattr *attr, u8 val, in nlattr_set()
1755 static void mask_set_nlattr(struct nlattr *attr, u8 val) in mask_set_nlattr()
[all …]
/net/sunrpc/
Dsysfs.c90 struct kobj_attribute *attr, in rpc_sysfs_xprt_dstaddr_show()
104 struct kobj_attribute *attr, in rpc_sysfs_xprt_srcaddr_show()
126 struct kobj_attribute *attr, in rpc_sysfs_xprt_info_show()
154 struct kobj_attribute *attr, in rpc_sysfs_xprt_state_show()
201 struct kobj_attribute *attr, in rpc_sysfs_xprt_switch_info_show()
220 struct kobj_attribute *attr, in rpc_sysfs_xprt_dstaddr_store()
278 struct kobj_attribute *attr, in rpc_sysfs_xprt_state_change()
/net/netfilter/ipset/
Dip_set_core.c1040 const struct nlattr * const attr[]) in ip_set_none()
1046 const struct nlattr * const attr[]) in ip_set_create()
1197 const struct nlattr * const attr[]) in ip_set_destroy()
1287 const struct nlattr * const attr[]) in ip_set_flush()
1325 const struct nlattr * const attr[]) in ip_set_rename()
1373 const struct nlattr * const attr[]) in ip_set_swap()
1476 const struct nlattr *attr; in dump_attrs() local
1499 struct nlattr *attr = (void *)nlh + min_len; in ip_set_dump_start() local
1686 const struct nlattr * const attr[]) in ip_set_dump()
1787 const struct nlattr * const attr[], in ip_set_ad()
[all …]
/net/ipv4/
Dip_tunnel_core.c469 static int ip_tun_parse_opts_geneve(struct nlattr *attr, in ip_tun_parse_opts_geneve()
506 static int ip_tun_parse_opts_vxlan(struct nlattr *attr, in ip_tun_parse_opts_vxlan()
534 static int ip_tun_parse_opts_erspan(struct nlattr *attr, in ip_tun_parse_opts_erspan()
583 static int ip_tun_parse_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_parse_opts()
640 static int ip_tun_get_optlen(struct nlattr *attr, in ip_tun_get_optlen()
646 static int ip_tun_set_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_set_opts()
652 static int ip_tun_build_state(struct net *net, struct nlattr *attr, in ip_tun_build_state()
939 static int ip6_tun_build_state(struct net *net, struct nlattr *attr, in ip6_tun_build_state()
Dnetlink.c10 int rtm_getroute_parse_ip_proto(struct nlattr *attr, u8 *ip_proto, u8 family, in rtm_getroute_parse_ip_proto()
/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.c164 const struct nlattr *attr, in nft_tunnel_obj_ip_init()
193 const struct nlattr *attr, in nft_tunnel_obj_ip6_init()
229 static int nft_tunnel_obj_vxlan_init(const struct nlattr *attr, in nft_tunnel_obj_vxlan_init()
258 static int nft_tunnel_obj_erspan_init(const struct nlattr *attr, in nft_tunnel_obj_erspan_init()
311 static int nft_tunnel_obj_geneve_init(const struct nlattr *attr, in nft_tunnel_obj_geneve_init()
355 const struct nlattr *attr, in nft_tunnel_obj_opts_init()
/net/wireless/
Dpmsr.c415 #define PUT(tp, attr, val) \ in nl80211_pmsr_send_ftm_res() argument
423 #define PUTOPT(tp, attr, val) \ in nl80211_pmsr_send_ftm_res() argument
429 #define PUT_U64(attr, val) \ in nl80211_pmsr_send_ftm_res() argument
438 #define PUTOPT_U64(attr, val) \ in nl80211_pmsr_send_ftm_res() argument
Dsysfs.c41 struct device_attribute *attr, in name_show()
51 struct device_attribute *attr, in addresses_show()
/net/rfkill/
Dcore.c683 static ssize_t name_show(struct device *dev, struct device_attribute *attr, in name_show()
692 static ssize_t type_show(struct device *dev, struct device_attribute *attr, in type_show()
701 static ssize_t index_show(struct device *dev, struct device_attribute *attr, in index_show()
711 struct device_attribute *attr, char *buf) in persistent_show()
719 static ssize_t hard_show(struct device *dev, struct device_attribute *attr, in hard_show()
728 static ssize_t soft_show(struct device *dev, struct device_attribute *attr, in soft_show()
736 static ssize_t soft_store(struct device *dev, struct device_attribute *attr, in soft_store()
762 struct device_attribute *attr, in hard_block_reasons_show()
781 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show()
789 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store()
/net/switchdev/
Dswitchdev.c103 const struct switchdev_attr *attr, in switchdev_port_attr_notify()
129 const struct switchdev_attr *attr, in switchdev_port_attr_set_now()
139 const struct switchdev_attr *attr = data; in switchdev_port_attr_set_deferred() local
151 const struct switchdev_attr *attr) in switchdev_port_attr_set_defer()
168 const struct switchdev_attr *attr, in switchdev_port_attr_set()
758 const struct switchdev_attr *attr, in __switchdev_handle_port_attr_set()
800 const struct switchdev_attr *attr, in switchdev_handle_port_attr_set()
/net/batman-adv/
Dnetlink.c166 struct nlattr *attr = nlmsg_find_attr(nlh, GENL_HDRLEN, attrtype); in batadv_netlink_get_ifindex() local
202 static int batadv_netlink_set_mesh_ap_isolation(struct nlattr *attr, in batadv_netlink_set_mesh_ap_isolation()
442 struct nlattr *attr; in batadv_netlink_set_mesh() local
933 struct nlattr *attr; in batadv_netlink_set_hardif() local
1144 struct nlattr *attr; in batadv_netlink_set_vlan() 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()

12345