Home
last modified time | relevance | path

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

/linux-6.6.21/arch/ia64/mm/
Dtlb.c39 unsigned long max_bits; /* log2 of largest supported purge page-size */ member
327 (nbits < purge.max_bits)) in __flush_tlb_range()
329 if (nbits > purge.max_bits) in __flush_tlb_range()
330 nbits = purge.max_bits; in __flush_tlb_range()
383 purge.max_bits = ia64_fls(purge.mask); in ia64_tlb_init()
/linux-6.6.21/fs/udf/
Dballoc.c36 int max_bits, off, count; in read_block_bitmap() local
48 max_bits = sb->s_blocksize * 8; in read_block_bitmap()
51 count = min(max_bits - off, bitmap->s_nr_groups); in read_block_bitmap()
61 count = bitmap->s_nr_groups - bitmap_nr * max_bits + in read_block_bitmap()
63 count = min(count, max_bits); in read_block_bitmap()
/linux-6.6.21/fs/nilfs2/
Dthe_nilfs.c387 unsigned int max_bits; in nilfs_max_size() local
390 max_bits = blkbits + NILFS_BMAP_KEY_BIT; /* bmap size limit */ in nilfs_max_size()
391 if (max_bits < 64) in nilfs_max_size()
392 res = min_t(unsigned long long, res, (1ULL << max_bits) - 1); in nilfs_max_size()
/linux-6.6.21/fs/ocfs2/
Dioctl.c445 unsigned int max_bits, num_clusters; in ocfs2_info_freefrag_scan_chain() local
482 max_bits = le16_to_cpu(bg->bg_bits); in ocfs2_info_freefrag_scan_chain()
489 if ((offset + ffg->iff_chunksize) > max_bits) in ocfs2_info_freefrag_scan_chain()
490 num_clusters = max_bits - offset; in ocfs2_info_freefrag_scan_chain()
Dsuballoc.c203 unsigned int max_bits; in ocfs2_validate_gd_parent() local
213 max_bits = le16_to_cpu(di->id2.i_chain.cl_cpg) * le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_validate_gd_parent()
214 if (le16_to_cpu(gd->bg_bits) > max_bits) { in ocfs2_validate_gd_parent()
1485 unsigned int max_bits, gd_cluster_off; in ocfs2_cluster_group_search() local
1490 max_bits = le16_to_cpu(gd->bg_bits); in ocfs2_cluster_group_search()
1500 if ((gd_cluster_off + max_bits) > in ocfs2_cluster_group_search()
1502 max_bits = OCFS2_I(inode)->ip_clusters - gd_cluster_off; in ocfs2_cluster_group_search()
1506 OCFS2_I(inode)->ip_clusters, max_bits); in ocfs2_cluster_group_search()
1511 max_bits, res); in ocfs2_cluster_group_search()
/linux-6.6.21/fs/btrfs/
Dfree-space-cache.c1958 unsigned long max_bits = 0; in search_bitmap() local
1989 } else if (extent_bits > max_bits) { in search_bitmap()
1990 max_bits = extent_bits; in search_bitmap()
2001 *bytes = (u64)(max_bits) * ctl->unit; in search_bitmap()
3326 unsigned long max_bits = 0; in btrfs_bitmap_cluster() local
3352 if (found_bits > max_bits) in btrfs_bitmap_cluster()
3353 max_bits = found_bits; in btrfs_bitmap_cluster()
3356 if (next_zero - i > max_bits) in btrfs_bitmap_cluster()
3357 max_bits = next_zero - i; in btrfs_bitmap_cluster()
3362 entry->max_extent_size = (u64)max_bits * ctl->unit; in btrfs_bitmap_cluster()
/linux-6.6.21/arch/mips/cavium-octeon/
Docteon-irq.c2134 int max_bits; member
2220 if (hw >= host_data->max_bits) { in octeon_irq_cib_map()
2261 for (i = 0; i < host_data->max_bits; i++) { in octeon_irq_cib_handler()
2332 host_data->max_bits = val; in octeon_irq_init_cib()
2334 cib_domain = irq_domain_add_linear(ciu_node, host_data->max_bits, in octeon_irq_init_cib()
2352 host_data->raw_reg, host_data->max_bits); in octeon_irq_init_cib()
/linux-6.6.21/lib/
Dtest_scanf.c270 static u32 __init next_test_random(u32 max_bits) in next_test_random() argument
272 u32 n_bits = hweight32(prandom_u32_state(&rnd_state)) % (max_bits + 1); in next_test_random()
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm.h463 unsigned max_bits);
Damdgpu_vm.c2018 unsigned max_bits) in amdgpu_vm_adjust_size() argument
2020 unsigned int max_size = 1 << (max_bits - 30); in amdgpu_vm_adjust_size()
2081 min((unsigned)amdgpu_vm_block_size, max_bits in amdgpu_vm_adjust_size()
/linux-6.6.21/drivers/mtd/nand/raw/
Dfsmc_nand.c465 static int count_written_bits(u8 *buff, int size, int max_bits) in count_written_bits() argument
471 if (written_bits > max_bits) in count_written_bits()
/linux-6.6.21/arch/x86/kvm/
Dx86.c11575 int pending_vec, max_bits; in __set_sregs() local
11585 max_bits = KVM_NR_INTERRUPTS; in __set_sregs()
11587 (const unsigned long *)sregs->interrupt_bitmap, max_bits); in __set_sregs()
11589 if (pending_vec < max_bits) { in __set_sregs()