/linux-6.3-rc2/arch/arc/include/asm/ |
A D | bitops.h | 74 static inline __attribute__ ((const)) int fls(unsigned int x) in fls() function 90 return fls(x) - 1; in __fls() 97 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) 117 static inline __attribute__ ((const)) int fls(unsigned int x) in fls() function
|
/linux-6.3-rc2/fs/nfs/flexfilelayout/ |
A D | flexfilelayout.c | 268 if (fls) { in _ff_layout_free_lseg() 270 kfree(fls); in _ff_layout_free_lseg() 360 swap(fls->mirror_array[i], in ff_layout_sort_mirrors() 361 fls->mirror_array[j]); in ff_layout_sort_mirrors() 405 fls = kzalloc(struct_size(fls, mirror_array, mirror_array_cnt), in ff_layout_alloc_lseg() 407 if (!fls) in ff_layout_alloc_lseg() 537 fls->flags = be32_to_cpup(p); in ff_layout_alloc_lseg() 546 ff_layout_sort_mirrors(fls); in ff_layout_alloc_lseg() 547 ret = &fls->generic_hdr; in ff_layout_alloc_lseg() 553 _ff_layout_free_lseg(fls); in ff_layout_alloc_lseg() [all …]
|
A D | flexfilelayout.h | 144 struct nfs4_ff_layout_segment *fls = FF_LAYOUT_LSEG(lseg); in FF_LAYOUT_COMP() local 146 if (idx < fls->mirror_array_cnt) in FF_LAYOUT_COMP() 147 return fls->mirror_array[idx]; in FF_LAYOUT_COMP()
|
/linux-6.3-rc2/drivers/mtd/nand/ |
A D | bbt.c | 25 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_init() 74 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_get_block_status() 107 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_set_block_status()
|
A D | ecc-sw-bch.c | 117 m = fls(1 + (8 * eccsize)); in nand_ecc_sw_bch_init() 215 conf->strength = code_size * 8 / fls(8 * conf->step_size); in nand_ecc_sw_bch_init_ctx() 220 fls(8 * conf->step_size), 8); in nand_ecc_sw_bch_init_ctx() 223 conf->strength = (code_size * 8) / fls(8 * conf->step_size); in nand_ecc_sw_bch_init_ctx()
|
/linux-6.3-rc2/arch/sparc/lib/ |
A D | fls.S | 14 ENTRY(fls) 66 ENDPROC(fls) 67 EXPORT_SYMBOL(fls)
|
/linux-6.3-rc2/tools/include/asm-generic/bitops/ |
A D | fls64.h | 23 return fls(h) + 32; in fls64() 24 return fls(x); in fls64()
|
A D | fls.h | 13 static __always_inline int fls(unsigned int x) in fls() function
|
/linux-6.3-rc2/include/asm-generic/bitops/ |
A D | fls64.h | 23 return fls(h) + 32; in fls64() 24 return fls(x); in fls64()
|
A D | builtin-fls.h | 12 static __always_inline int fls(unsigned int x) in fls() function
|
A D | fls.h | 13 static __always_inline int fls(unsigned int x) in fls() function
|
/linux-6.3-rc2/arch/csky/include/asm/ |
A D | bitops.h | 42 static __always_inline int fls(unsigned int x) in fls() function 57 return fls(x) - 1; in __fls()
|
/linux-6.3-rc2/lib/ |
A D | clz_ctz.c | 27 return 32 - fls(val); in __clzsi2() 37 return 32 - fls((int)val); in __clzdi2()
|
/linux-6.3-rc2/lib/math/ |
A D | reciprocal_div.c | 23 l = fls(d - 1); in reciprocal_value() 42 l = fls(d - 1); in reciprocal_value_adv()
|
A D | div64.c | 108 int n = fls(high); in div64_u64_rem() 146 int n = fls(high); in div64_u64()
|
/linux-6.3-rc2/drivers/misc/sgi-gru/ |
A D | grutlbpurge.c | 303 n = 1 << fls(cpus - 1); in gru_tgh_flush_init() 311 shift = max(0, fls(n - 1) - fls(MAX_LOCAL_TGH - 1)); in gru_tgh_flush_init()
|
/linux-6.3-rc2/drivers/clk/ti/ |
A D | mux.c | 207 mask = (1 << fls(mask)) - 1; in of_mux_clk_setup() 246 mux->mask = (1 << fls(mux->mask)) - 1; in ti_clk_build_component_mux() 278 mux->mask = (1 << fls(mux->mask)) - 1; in of_ti_composite_mux_clk_setup()
|
/linux-6.3-rc2/include/linux/ |
A D | bitops.h | 90 order = fls(count); in get_bitmask_order() 206 return fls(l); in fls_long() 215 return fls(--count); in get_count_order()
|
A D | count_zeros.h | 26 return BITS_PER_LONG - fls(x); in count_leading_zeros()
|
/linux-6.3-rc2/drivers/mtd/nand/raw/ |
A D | nand_jedec.c | 102 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_jedec_detect() 113 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_jedec_detect()
|
/linux-6.3-rc2/arch/openrisc/include/asm/bitops/ |
A D | fls.h | 14 static inline int fls(unsigned int x) in fls() function
|
/linux-6.3-rc2/arch/mips/rb532/ |
A D | irq.c | 224 group = 21 + (fls(ip) - 32); in plat_irq_dispatch() 230 pend = 39 + (fls(pend) - 32); in plat_irq_dispatch()
|
/linux-6.3-rc2/include/asm-generic/ |
A D | getorder.h | 44 return fls(size); in get_order()
|
/linux-6.3-rc2/arch/mips/loongson2ef/common/ |
A D | mem.c | 26 bit = fls(memsize + highmemsize); in prom_init_memory()
|
/linux-6.3-rc2/drivers/irqchip/ |
A D | irq-versatile-fpga.c | 179 f->domain = irq_domain_add_linear(node, fls(valid), in fpga_irq_init() 183 for (i = 0; i < fls(valid); i++) in fpga_irq_init()
|