Searched refs:level_shift (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/arch/powerpc/platforms/powernv/ |
| H A D | pci-ioda-tce.c | 295 unsigned long offset = 0, level_shift, total_allocated = 0; in pnv_pci_ioda2_table_alloc_pages() local 311 level_shift = entries_shift + 3; in pnv_pci_ioda2_table_alloc_pages() 312 level_shift = max_t(unsigned int, level_shift, PAGE_SHIFT); in pnv_pci_ioda2_table_alloc_pages() 314 if ((level_shift - 3) * levels + page_shift >= 55) in pnv_pci_ioda2_table_alloc_pages() 318 addr = pnv_pci_ioda2_table_do_alloc_pages(nid, level_shift, in pnv_pci_ioda2_table_alloc_pages() 336 uas = pnv_pci_ioda2_table_do_alloc_pages(nid, level_shift, in pnv_pci_ioda2_table_alloc_pages() 349 tbl->it_level_size = 1ULL << (level_shift - 3); in pnv_pci_ioda2_table_alloc_pages() 362 1ULL << (level_shift - 3), levels - 1); in pnv_pci_ioda2_table_alloc_pages() 365 1ULL << (level_shift - 3), levels - 1); in pnv_pci_ioda2_table_alloc_pages()
|
| /linux-6.15/security/keys/ |
| H A D | keyring.c | 165 const unsigned level_shift = ASSOC_ARRAY_LEVEL_STEP; in hash_key_type_and_desc() local 204 hash |= (hash >> (ASSOC_ARRAY_KEY_CHUNK_SIZE - level_shift)) | 1; in hash_key_type_and_desc() 206 hash = (hash + (hash << level_shift)) & ~fan_mask; in hash_key_type_and_desc()
|