Searched refs:fls64 (Results 1 – 18 of 18) sorted by relevance
19 static __always_inline int fls64(__u64 x) in fls64() function27 static __always_inline int fls64(__u64 x) in fls64() function
32 return BITS_PER_LONG - fls64(x); in count_leading_zeros()
36 return fls64(n) - 1; in __ilog2_u64()
165 return fls64(l); in fls_long()
168 return fls64(feature) - 1; in find_next_netdev_feature()
46 return fls64(size); in get_order()
36 return 64 - fls64(val); in __clzdi2()
55 m = 1ULL << ((fls64(x) - 1) & ~1ULL); in int_sqrt64()
38 return fls64(v) - 1; in xfs_highbit64()
33 order = fls64(size); in pci_epc_mem_get_order()
18 u64 sz = 1ULL << fls64(size - 1); in cdns_pcie_set_outbound_region()
73 u64 sz = 1ULL << fls64(size - 1); in rockchip_pcie_prog_ep_ob_atu()181 sz = 1ULL << fls64(sz - 1); in rockchip_pcie_ep_set_bar()
97 sz = 1ULL << fls64(sz - 1); in cdns_pcie_ep_set_bar()
1229 win_size = (1ULL << (fls64(size)-1)) | in advk_pcie_probe()
448 return (fls64(route) + TB_ROUTE_SHIFT - 1) / TB_ROUTE_SHIFT; in tb_route_length()
333 fls64(dma_mask), dma_handle) != 0) { in xen_swiotlb_alloc_coherent()
359 return sprintf(buf, "%d\n", fls64(pdev->dma_mask)); in dma_mask_bits_show()367 return sprintf(buf, "%d\n", fls64(dev->coherent_dma_mask)); in consistent_dma_mask_bits_show()
563 msb = fls64(number); in add_token_u64()