Home
last modified time | relevance | path

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

/linux-6.12.1/fs/afs/
Ddir_edit.c213 unsigned int need_slots, nr_blocks, b; in afs_edit_dir_add() local
234 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() local
403 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 …]