Home
last modified time | relevance | path

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

/linux/arch/ia64/mm/
A 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/fs/nilfs2/
A Dthe_nilfs.c348 unsigned int max_bits; in nilfs_max_size() local
351 max_bits = blkbits + NILFS_BMAP_KEY_BIT; /* bmap size limit */ in nilfs_max_size()
352 if (max_bits < 64) in nilfs_max_size()
353 res = min_t(unsigned long long, res, (1ULL << max_bits) - 1); in nilfs_max_size()
/linux/fs/ocfs2/
A 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()
A 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()
1488 unsigned int max_bits, gd_cluster_off; in ocfs2_cluster_group_search() local
1493 max_bits = le16_to_cpu(gd->bg_bits); in ocfs2_cluster_group_search()
1503 if ((gd_cluster_off + max_bits) > in ocfs2_cluster_group_search()
1505 max_bits = OCFS2_I(inode)->ip_clusters - gd_cluster_off; in ocfs2_cluster_group_search()
1509 OCFS2_I(inode)->ip_clusters, max_bits); in ocfs2_cluster_group_search()
1514 max_bits, res); in ocfs2_cluster_group_search()
/linux/fs/btrfs/
A Dfree-space-cache.c1825 unsigned long max_bits = 0; in search_bitmap() local
1856 } else if (extent_bits > max_bits) { in search_bitmap()
1857 max_bits = extent_bits; in search_bitmap()
1868 *bytes = (u64)(max_bits) * ctl->unit; in search_bitmap()
3202 unsigned long max_bits = 0; in btrfs_bitmap_cluster() local
3226 if (found_bits > max_bits) in btrfs_bitmap_cluster()
3227 max_bits = found_bits; in btrfs_bitmap_cluster()
3230 if (next_zero - i > max_bits) in btrfs_bitmap_cluster()
3231 max_bits = next_zero - i; in btrfs_bitmap_cluster()
3236 entry->max_extent_size = (u64)max_bits * ctl->unit; in btrfs_bitmap_cluster()
/linux/arch/mips/cavium-octeon/
A Docteon-irq.c2124 int max_bits; member
2210 if (hw >= host_data->max_bits) { in octeon_irq_cib_map()
2251 for (i = 0; i < host_data->max_bits; i++) { in octeon_irq_cib_handler()
2324 host_data->max_bits = val; in octeon_irq_init_cib()
2326 cib_domain = irq_domain_add_linear(ciu_node, host_data->max_bits, in octeon_irq_init_cib()
2344 host_data->raw_reg, host_data->max_bits); in octeon_irq_init_cib()
/linux/lib/
A 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/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_vm.h442 unsigned max_bits);
A Damdgpu_vm.c2816 unsigned max_bits) in amdgpu_vm_adjust_size() argument
2818 unsigned int max_size = 1 << (max_bits - 30); in amdgpu_vm_adjust_size()
2879 min((unsigned)amdgpu_vm_block_size, max_bits in amdgpu_vm_adjust_size()
/linux/drivers/mtd/nand/raw/
A 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/arch/x86/kvm/
A Dx86.c10605 int pending_vec, max_bits; in __set_sregs() local
10615 max_bits = KVM_NR_INTERRUPTS; in __set_sregs()
10617 (const unsigned long *)sregs->interrupt_bitmap, max_bits); in __set_sregs()
10619 if (pending_vec < max_bits) { in __set_sregs()

Completed in 65 milliseconds