Searched refs:prefs (Results 1 – 7 of 7) sorted by relevance
/linux/fs/afs/ |
H A D | addr_prefs.c | 218 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 D | proc.c | 178 pref = &preflist->prefs[i]; in afs_proc_addr_prefs_show()
|
H A D | internal.h | 95 struct afs_addr_preference prefs[] __counted_by(max_prefs);
|
/linux/include/net/ |
H A D | ip6_route.h | 130 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 D | ipv6_stubs.h | 97 unsigned int prefs,
|
/linux/drivers/of/ |
H A D | unittest.c | 554 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 D | addrconf.c | 1534 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()
|