Searched refs:nr_fids (Results 1 – 2 of 2) sorted by relevance
482 u16 nr_fids, fid_index; in mlxsw_sp_fid_8021d_index_alloc() local484 nr_fids = fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_8021d_index_alloc()485 fid_index = find_first_zero_bit(fid_family->fids_bitmap, nr_fids); in mlxsw_sp_fid_8021d_index_alloc()486 if (fid_index == nr_fids) in mlxsw_sp_fid_8021d_index_alloc()1056 u16 nr_fids = tmpl->end_index - tmpl->start_index + 1; in mlxsw_sp_fid_family_register() local1066 fid_family->fids_bitmap = bitmap_zalloc(nr_fids, GFP_KERNEL); in mlxsw_sp_fid_family_register()
101 unsigned short nr_fids; member611 if (cookie->nr_fids < 50) { in afs_lookup_filldir()612 cookie->fids[cookie->nr_fids].vnode = ino; in afs_lookup_filldir()613 cookie->fids[cookie->nr_fids].unique = dtype; in afs_lookup_filldir()614 cookie->nr_fids++; in afs_lookup_filldir()625 ret = cookie->nr_fids >= 50 ? -1 : 0; in afs_lookup_filldir()763 cookie->nr_fids = 2; /* slot 0 is saved for the fid we actually want in afs_do_lookup()799 op->nr_files = cookie->nr_fids; in afs_do_lookup()