Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/afs/
Ddir_edit.c194 unsigned int need_slots, nr_blocks, b; in afs_edit_dir_add() local
218 need_slots = round_up(12 + name->len + 1 + 4, AFS_DIR_DIRENT_SIZE); in afs_edit_dir_add()
219 need_slots /= AFS_DIR_DIRENT_SIZE; in afs_edit_dir_add()
272 meta->meta.alloc_ctrs[b] >= need_slots) { in afs_edit_dir_add()
276 slot = afs_find_contig_bits(block, need_slots); in afs_edit_dir_add()
321 afs_set_contig_bits(block, slot, need_slots); in afs_edit_dir_add()
330 meta->meta.alloc_ctrs[b] -= need_slots; in afs_edit_dir_add()
372 unsigned int need_slots, nr_blocks, b; in afs_edit_dir_remove() local
396 need_slots = round_up(12 + name->len + 1 + 4, AFS_DIR_DIRENT_SIZE); in afs_edit_dir_remove()
397 need_slots /= AFS_DIR_DIRENT_SIZE; in afs_edit_dir_remove()
[all …]