Lines Matching refs:meta
155 static void afs_edit_init_block(union afs_xdr_dir_block *meta, in afs_edit_init_block() argument
166 memset(block->meta.alloc_ctrs, in afs_edit_init_block()
168 sizeof(block->meta.alloc_ctrs)); in afs_edit_init_block()
169 meta->meta.alloc_ctrs[0] = in afs_edit_init_block()
174 meta->meta.alloc_ctrs[block_num] = in afs_edit_init_block()
190 union afs_xdr_dir_block *meta, *block; in afs_edit_dir_add() local
222 meta = &meta_page->blocks[0]; in afs_edit_dir_add()
259 (b < AFS_DIR_BLOCKS_WITH_CTR) ? meta->meta.alloc_ctrs[b] : 99, in afs_edit_dir_add()
266 afs_edit_init_block(meta, block, b); in afs_edit_dir_add()
272 meta->meta.alloc_ctrs[b] >= need_slots) { in afs_edit_dir_add()
298 afs_edit_init_block(meta, meta, 0); in afs_edit_dir_add()
303 block = meta; in afs_edit_dir_add()
330 meta->meta.alloc_ctrs[b] -= need_slots; in afs_edit_dir_add()
369 union afs_xdr_dir_block *meta, *block; in afs_edit_dir_remove() local
400 meta = &meta_page->blocks[0]; in afs_edit_dir_remove()
424 meta->meta.alloc_ctrs[b] <= AFS_DIR_SLOTS_PER_BLOCK - 1 - need_slots) { in afs_edit_dir_remove()
462 meta->meta.alloc_ctrs[b] += need_slots; in afs_edit_dir_remove()