Searched refs:nr_fids (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/afs/ |
D | dir.c | 102 unsigned short nr_fids; member 576 if (cookie->nr_fids < 50) { in afs_lookup_filldir() 577 cookie->fids[cookie->nr_fids].vnode = ino; in afs_lookup_filldir() 578 cookie->fids[cookie->nr_fids].unique = dtype; in afs_lookup_filldir() 579 cookie->nr_fids++; in afs_lookup_filldir() 590 ret = cookie->nr_fids >= 50 ? -1 : 0; in afs_lookup_filldir() 620 cookie->nr_fids = 1; /* slot 0 is saved for the fid we actually want */ in afs_do_lookup() 652 cookie->statuses = kcalloc(cookie->nr_fids, sizeof(struct afs_file_status), in afs_do_lookup() 657 cookie->callbacks = kcalloc(cookie->nr_fids, sizeof(struct afs_callback), in afs_do_lookup() 683 cookie->nr_fids, NULL); in afs_do_lookup() [all …]
|
D | fsclient.c | 2313 unsigned int nr_fids, in afs_fs_inline_bulk_status() argument 2321 key_serial(fc->key), fids[0].vid, fids[1].vnode, nr_fids); in afs_fs_inline_bulk_status() 2324 (2 + nr_fids * 3) * 4, in afs_fs_inline_bulk_status() 2336 call->count2 = nr_fids; in afs_fs_inline_bulk_status() 2341 *bp++ = htonl(nr_fids); in afs_fs_inline_bulk_status() 2342 for (i = 0; i < nr_fids; i++) { in afs_fs_inline_bulk_status()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_fid.c | 403 u16 nr_fids, fid_index; in mlxsw_sp_fid_8021d_index_alloc() local 405 nr_fids = fid_family->end_index - fid_family->start_index + 1; in mlxsw_sp_fid_8021d_index_alloc() 406 fid_index = find_first_zero_bit(fid_family->fids_bitmap, nr_fids); in mlxsw_sp_fid_8021d_index_alloc() 407 if (fid_index == nr_fids) in mlxsw_sp_fid_8021d_index_alloc() 846 u16 nr_fids = tmpl->end_index - tmpl->start_index + 1; in mlxsw_sp_fid_family_register() local 856 fid_family->fids_bitmap = kcalloc(BITS_TO_LONGS(nr_fids), in mlxsw_sp_fid_family_register()
|