Searched refs:max_bits (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/arch/ia64/mm/ |
D | tlb.c | 39 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/ |
D | balloc.c | 36 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/ |
D | the_nilfs.c | 387 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/ |
D | ioctl.c | 445 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()
|
D | suballoc.c | 203 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/ |
D | free-space-cache.c | 1958 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/ |
D | octeon-irq.c | 2134 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/ |
D | test_scanf.c | 270 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/ |
D | amdgpu_vm.h | 463 unsigned max_bits);
|
D | amdgpu_vm.c | 2018 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/ |
D | fsmc_nand.c | 465 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/ |
D | x86.c | 11575 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()
|