Searched refs:max_prefs (Results 1 – 3 of 3) sorted by relevance
| /linux/fs/afs/ |
| H A D | addr_prefs.c | 210 size_t size, max_prefs; in afs_insert_address_pref() local 212 _enter("{%u/%u/%u},%u", preflist->ipv6_off, preflist->nr, preflist->max_prefs, index); in afs_insert_address_pref() 216 if (preflist->nr >= preflist->max_prefs) { in afs_insert_address_pref() 217 max_prefs = preflist->max_prefs + 1; in afs_insert_address_pref() 218 size = struct_size(preflist, prefs, max_prefs); in afs_insert_address_pref() 220 max_prefs = min_t(size_t, (size - sizeof(*preflist)) / sizeof(*pref), 255); in afs_insert_address_pref() 225 preflist->max_prefs = max_prefs; in afs_insert_address_pref() 311 _enter("{%u/%u/%u},%u", preflist->ipv6_off, preflist->nr, preflist->max_prefs, index); in afs_delete_address_pref() 386 int ret, argc, max_prefs; in afs_proc_addr_prefs_write() local 395 max_prefs = old->nr + 1; in afs_proc_addr_prefs_write() [all …]
|
| H A D | internal.h | 95 u8 max_prefs; /* Number of prefs allocated */ member 96 struct afs_addr_preference prefs[] __counted_by(max_prefs);
|
| H A D | proc.c | 175 preflist->version, preflist->ipv6_off, preflist->nr, preflist->max_prefs); in afs_proc_addr_prefs_show()
|