Searched refs:need_slots (Results 1 – 1 of 1) sorted by relevance
194 unsigned int need_slots, nr_blocks, b; in afs_edit_dir_add() local218 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() local396 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 …]