Lines Matching refs:prop
164 struct smc_clc_msg_proposal_prefix *prop) in smc_clc_prfx_set4_rcu() argument
175 prop->prefix_len = inet_mask_len(ifa->ifa_mask); in smc_clc_prfx_set4_rcu()
176 prop->outgoing_subnet = ifa->ifa_address & ifa->ifa_mask; in smc_clc_prfx_set4_rcu()
185 struct smc_clc_msg_proposal_prefix *prop, in smc_clc_prfx_set6_rcu() argument
206 prop->ipv6_prefixes_cnt = cnt; in smc_clc_prfx_set6_rcu()
215 struct smc_clc_msg_proposal_prefix *prop, in smc_clc_prfx_set() argument
241 rc = smc_clc_prfx_set4_rcu(dst, addr->sin_addr.s_addr, prop); in smc_clc_prfx_set()
245 prop); in smc_clc_prfx_set()
248 rc = smc_clc_prfx_set6_rcu(dst, prop, ipv6_prfx); in smc_clc_prfx_set()
259 struct smc_clc_msg_proposal_prefix *prop) in smc_clc_prfx_match4_rcu() argument
267 if (prop->prefix_len == inet_mask_len(ifa->ifa_mask) && in smc_clc_prfx_match4_rcu()
268 inet_ifa_match(prop->outgoing_subnet, ifa)) in smc_clc_prfx_match4_rcu()
277 struct smc_clc_msg_proposal_prefix *prop) in smc_clc_prfx_match6_rcu() argument
288 ipv6_prfx = (struct smc_clc_ipv6_prefix *)((u8 *)prop + sizeof(*prop)); in smc_clc_prfx_match6_rcu()
289 max = min_t(u8, prop->ipv6_prefixes_cnt, SMC_CLC_MAX_V6_PREFIX); in smc_clc_prfx_match6_rcu()
306 struct smc_clc_msg_proposal_prefix *prop) in smc_clc_prfx_match() argument
320 if (!prop->ipv6_prefixes_cnt) in smc_clc_prfx_match()
321 rc = smc_clc_prfx_match4_rcu(dst->dev, prop); in smc_clc_prfx_match()
323 rc = smc_clc_prfx_match6_rcu(dst->dev, prop); in smc_clc_prfx_match()