Searched refs:need_slots (Results 1 – 1 of 1) sorted by relevance
213 unsigned int need_slots, nr_blocks, b; in afs_edit_dir_add() local234 need_slots = afs_dir_calc_slots(name->len); in afs_edit_dir_add()280 meta->meta.alloc_ctrs[b] >= need_slots) { in afs_edit_dir_add()284 slot = afs_find_contig_bits(block, need_slots); in afs_edit_dir_add()329 afs_set_contig_bits(block, slot, need_slots); in afs_edit_dir_add()338 meta->meta.alloc_ctrs[b] -= need_slots; in afs_edit_dir_add()380 unsigned int need_slots, nr_blocks, b; in afs_edit_dir_remove() local403 need_slots = afs_dir_calc_slots(name->len); in afs_edit_dir_remove()427 meta->meta.alloc_ctrs[b] <= AFS_DIR_SLOTS_PER_BLOCK - 1 - need_slots) { in afs_edit_dir_remove()453 memset(de, 0, sizeof(*de) * need_slots); in afs_edit_dir_remove()[all …]