Home
last modified time | relevance | path

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

/linux/fs/afs/
H A Ddir_search.c49 iter->loop_check = nblocks * (AFS_DIR_SLOTS_PER_BLOCK - AFS_DIR_RESV_BLOCKS); in afs_dir_reset_iter()
140 unsigned int blnum = entry / AFS_DIR_SLOTS_PER_BLOCK; in afs_dir_search_bucket()
141 unsigned int slot = entry % AFS_DIR_SLOTS_PER_BLOCK; in afs_dir_search_bucket()
157 if (slot + iter->nr_slots <= AFS_DIR_SLOTS_PER_BLOCK && in afs_dir_search_bucket()
H A Ddir_edit.c184 d < AFS_DIR_SLOTS_PER_BLOCK; in afs_dir_scan_block()
222 AFS_DIR_SLOTS_PER_BLOCK, in afs_edit_init_block()
225 AFS_DIR_SLOTS_PER_BLOCK - AFS_DIR_RESV_BLOCKS0; in afs_edit_init_block()
230 AFS_DIR_SLOTS_PER_BLOCK - AFS_DIR_RESV_BLOCKS; in afs_edit_init_block()
357 entry = b * AFS_DIR_SLOTS_PER_BLOCK + slot; in afs_edit_dir_add()
433 b = entry / AFS_DIR_SLOTS_PER_BLOCK; in afs_edit_dir_remove()
434 slot = entry % AFS_DIR_SLOTS_PER_BLOCK; in afs_edit_dir_remove()
478 unsigned int pb = iter.prev_entry / AFS_DIR_SLOTS_PER_BLOCK; in afs_edit_dir_remove()
479 unsigned int ps = iter.prev_entry % AFS_DIR_SLOTS_PER_BLOCK; in afs_edit_dir_remove()
H A Dxdr_fs.h38 #define AFS_DIR_SLOTS_PER_BLOCK 64 macro
95 union afs_xdr_dirent dirents[AFS_DIR_SLOTS_PER_BLOCK];
H A Ddir.c378 base = blknum * AFS_DIR_SLOTS_PER_BLOCK; in afs_dir_iterate_block()
385 for (unsigned int slot = hdr; slot < AFS_DIR_SLOTS_PER_BLOCK; slot = next) { in afs_dir_iterate_block()
412 if (next > AFS_DIR_SLOTS_PER_BLOCK) { in afs_dir_iterate_block()