Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 10 of 10) sorted by relevance

/net/smc/
Dsmc_clc.c97 struct smc_clc_msg_proposal_prefix *prop) in smc_clc_prfx_set4_rcu() argument
108 prop->prefix_len = inet_mask_len(ifa->ifa_mask); in smc_clc_prfx_set4_rcu()
109 prop->outgoing_subnet = ifa->ifa_address & ifa->ifa_mask; in smc_clc_prfx_set4_rcu()
118 struct smc_clc_msg_proposal_prefix *prop, in smc_clc_prfx_set6_rcu() argument
139 prop->ipv6_prefixes_cnt = cnt; in smc_clc_prfx_set6_rcu()
148 struct smc_clc_msg_proposal_prefix *prop, in smc_clc_prfx_set() argument
157 memset(prop, 0, sizeof(*prop)); in smc_clc_prfx_set()
175 rc = smc_clc_prfx_set4_rcu(dst, addr->sin_addr.s_addr, prop); in smc_clc_prfx_set()
179 prop); in smc_clc_prfx_set()
182 rc = smc_clc_prfx_set6_rcu(dst, prop, ipv6_prfx); in smc_clc_prfx_set()
[all …]
Dsmc_clc.h179 smc_get_clc_msg_smcd(struct smc_clc_msg_proposal *prop) in smc_get_clc_msg_smcd() argument
181 if (ntohs(prop->iparea_offset) != sizeof(struct smc_clc_msg_smcd)) in smc_get_clc_msg_smcd()
184 return (struct smc_clc_msg_smcd *)(prop + 1); in smc_get_clc_msg_smcd()
191 struct smc_clc_msg_proposal_prefix *prop);
/net/wireless/
Dof.c78 struct property *prop; in wiphy_read_of_freq_limits() local
91 prop = of_find_property(np, "ieee80211-freq-limit", &len); in wiphy_read_of_freq_limits()
92 if (!prop) in wiphy_read_of_freq_limits()
111 p = of_prop_next_u32(prop, p, &limit->start_freq_khz); in wiphy_read_of_freq_limits()
117 p = of_prop_next_u32(prop, p, &limit->end_freq_khz); in wiphy_read_of_freq_limits()
/net/tipc/
Dnetlink_compat.c409 struct nlattr *prop; in tipc_nl_compat_bearer_enable() local
436 prop = nla_nest_start_noflag(skb, TIPC_NLA_BEARER_PROP); in tipc_nl_compat_bearer_enable()
437 if (!prop) in tipc_nl_compat_bearer_enable()
441 nla_nest_end(skb, prop); in tipc_nl_compat_bearer_enable()
484 struct nlattr *prop[], struct nlattr *stats[]) in __fill_bc_link_stat() argument
487 nla_get_u32(prop[TIPC_NLA_PROP_WIN])); in __fill_bc_link_stat()
527 struct nlattr *prop[TIPC_NLA_PROP_MAX + 1]; in tipc_nl_compat_link_stat_dump() local
543 err = nla_parse_nested_deprecated(prop, TIPC_NLA_PROP_MAX, in tipc_nl_compat_link_stat_dump()
575 __fill_bc_link_stat(msg, prop, stats); in tipc_nl_compat_link_stat_dump()
588 nla_get_u32(prop[TIPC_NLA_PROP_PRIO])); in tipc_nl_compat_link_stat_dump()
[all …]
Dbearer.c763 struct nlattr *prop; in __tipc_nl_add_bearer() local
777 prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_BEARER_PROP); in __tipc_nl_add_bearer()
778 if (!prop) in __tipc_nl_add_bearer()
790 nla_nest_end(msg->skb, prop); in __tipc_nl_add_bearer()
805 nla_nest_cancel(msg->skb, prop); in __tipc_nl_add_bearer()
1128 struct nlattr *prop; in __tipc_nl_add_media() local
1142 prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_MEDIA_PROP); in __tipc_nl_add_media()
1143 if (!prop) in __tipc_nl_add_media()
1155 nla_nest_end(msg->skb, prop); in __tipc_nl_add_media()
1162 nla_nest_cancel(msg->skb, prop); in __tipc_nl_add_media()
Dlink.c2344 int tipc_nl_parse_link_prop(struct nlattr *prop, struct nlattr *props[]) in tipc_nl_parse_link_prop() argument
2348 err = nla_parse_nested_deprecated(props, TIPC_NLA_PROP_MAX, prop, in tipc_nl_parse_link_prop()
2451 struct nlattr *prop; in __tipc_nl_add_link() local
2482 prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_LINK_PROP); in __tipc_nl_add_link()
2483 if (!prop) in __tipc_nl_add_link()
2494 nla_nest_end(msg->skb, prop); in __tipc_nl_add_link()
2506 nla_nest_cancel(msg->skb, prop); in __tipc_nl_add_link()
2571 struct nlattr *prop; in tipc_nl_add_bc_link() local
2606 prop = nla_nest_start_noflag(msg->skb, TIPC_NLA_LINK_PROP); in tipc_nl_add_bc_link()
2607 if (!prop) in tipc_nl_add_bc_link()
[all …]
Dnode.h82 void tipc_node_apply_property(struct net *net, struct tipc_bearer *b, int prop);
Dlink.h130 int tipc_nl_parse_link_prop(struct nlattr *prop, struct nlattr *props[]);
Dnode.c2019 int prop) in tipc_node_apply_property() argument
2035 if (prop == TIPC_NLA_PROP_TOL) in tipc_node_apply_property()
2038 else if (prop == TIPC_NLA_PROP_MTU) in tipc_node_apply_property()
/net/mac80211/
Ddebugfs_key.c16 #define KEY_READ(name, prop, format_string) \ argument
23 format_string, key->prop); \