Home
last modified time | relevance | path

Searched refs:prefs (Results 1 – 7 of 7) sorted by relevance

/linux/fs/afs/
H A Daddr_prefs.c218 size = struct_size(preflist, prefs, max_prefs); in afs_insert_address_pref()
229 memcpy(preflist->prefs + index + 1, old->prefs + index, in afs_insert_address_pref()
232 memcpy(preflist->prefs, old->prefs, sizeof(*pref) * index); in afs_insert_address_pref()
235 memmove(preflist->prefs + index + 1, preflist->prefs + index, in afs_insert_address_pref()
239 preflist->prefs[index] = *pref; in afs_insert_address_pref()
287 cmp = afs_cmp_address_pref(&pref, &preflist->prefs[i]); in afs_add_address_pref()
295 preflist->prefs[i].prio = pref.prio; in afs_add_address_pref()
317 memmove(preflist->prefs + index, preflist->prefs + index + 1, in afs_delete_address_pref()
318 sizeof(preflist->prefs[0]) * (preflist->nr - index - 1)); in afs_delete_address_pref()
361 cmp = afs_cmp_address_pref(&pref, &preflist->prefs[i]); in afs_del_address_pref()
[all …]
H A Dproc.c178 pref = &preflist->prefs[i]; in afs_proc_addr_prefs_show()
H A Dinternal.h95 struct afs_addr_preference prefs[] __counted_by(max_prefs);
/linux/include/net/
H A Dip6_route.h130 unsigned int prefs, int l3mdev_index, in ip6_route_get_saddr() argument
147 err = ipv6_dev_get_saddr(net, same_vrf ? dev : l3mdev, daddr, prefs, saddr); in ip6_route_get_saddr()
H A Dipv6_stubs.h97 unsigned int prefs,
/linux/drivers/of/
H A Dunittest.c554 unsigned int prefs[6]; in of_unittest_parse_phandle_with_args_map() local
574 prefs[i] = OF_KREF_READ(p[i]); in of_unittest_parse_phandle_with_args_map()
697 unittest(prefs[i] == OF_KREF_READ(p[i]), in of_unittest_parse_phandle_with_args_map()
699 i, prefs[i], OF_KREF_READ(p[i])); in of_unittest_parse_phandle_with_args_map()
/linux/net/ipv6/
H A Daddrconf.c1534 unsigned int prefs; member
1653 int prefhome = !(dst->prefs & IPV6_PREFER_SRC_COA); in ipv6_get_saddr_eval()
1674 int preftmp = dst->prefs & (IPV6_PREFER_SRC_PUBLIC|IPV6_PREFER_SRC_TMP) ? in ipv6_get_saddr_eval()
1675 !!(dst->prefs & IPV6_PREFER_SRC_TMP) : in ipv6_get_saddr_eval()
1808 const struct in6_addr *daddr, unsigned int prefs, in ipv6_dev_get_saddr() argument
1825 dst.prefs = prefs; in ipv6_dev_get_saddr()