Home
last modified time | relevance | path

Searched refs:nr_fids (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/fs/afs/
Ddir.c102 unsigned short nr_fids; member
654 if (cookie->nr_fids < 50) { in afs_lookup_filldir()
655 cookie->fids[cookie->nr_fids].vnode = ino; in afs_lookup_filldir()
656 cookie->fids[cookie->nr_fids].unique = dtype; in afs_lookup_filldir()
657 cookie->nr_fids++; in afs_lookup_filldir()
668 return cookie->nr_fids < 50; in afs_lookup_filldir()
804 cookie->nr_fids = 2; /* slot 0 is saved for the fid we actually want in afs_do_lookup()
840 op->nr_files = cookie->nr_fids; in afs_do_lookup()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_fid.c797 u16 nr_fids, fid_index; in mlxsw_sp_fid_8021d_index_alloc() local
799 nr_fids = fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_8021d_index_alloc()
800 fid_index = find_first_zero_bit(fid_family->fids_bitmap, nr_fids); in mlxsw_sp_fid_8021d_index_alloc()
801 if (fid_index == nr_fids) in mlxsw_sp_fid_8021d_index_alloc()
1744 u16 nr_fids = tmpl->end_index - tmpl->start_index + 1; in mlxsw_sp_fid_family_register() local
1754 fid_family->fids_bitmap = bitmap_zalloc(nr_fids, GFP_KERNEL); in mlxsw_sp_fid_family_register()