/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 252 static void ff_layout_free_mirror_array(struct nfs4_ff_layout_segment *fls) in ff_layout_free_mirror_array() argument 256 for (i = 0; i < fls->mirror_array_cnt; i++) in ff_layout_free_mirror_array() 257 ff_layout_put_mirror(fls->mirror_array[i]); in ff_layout_free_mirror_array() 260 static void _ff_layout_free_lseg(struct nfs4_ff_layout_segment *fls) in _ff_layout_free_lseg() argument 262 if (fls) { in _ff_layout_free_lseg() 263 ff_layout_free_mirror_array(fls); in _ff_layout_free_lseg() 264 kfree(fls); in _ff_layout_free_lseg() 346 static void ff_layout_sort_mirrors(struct nfs4_ff_layout_segment *fls) in ff_layout_sort_mirrors() argument 350 for (i = 0; i < fls->mirror_array_cnt - 1; i++) { in ff_layout_sort_mirrors() 351 for (j = i + 1; j < fls->mirror_array_cnt; j++) in ff_layout_sort_mirrors() [all …]
|
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()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/ |
D | bbt.c | 25 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_init() 77 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_get_block_status() 110 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_set_block_status()
|
/kernel/linux/linux-5.10/arch/arc/include/asm/ |
D | bitops.h | 256 static inline __attribute__ ((const)) int fls(unsigned int x) in fls() function 272 return fls(x) - 1; in __fls() 279 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) 299 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function
|
/kernel/linux/linux-5.10/include/asm-generic/bitops/ |
D | fls64.h | 23 return fls(h) + 32; in fls64() 24 return fls(x); in fls64()
|
D | builtin-fls.h | 12 static __always_inline int fls(unsigned int x) in fls() function
|
D | fls.h | 13 static __always_inline int fls(unsigned int x) in fls() function
|
/kernel/linux/linux-5.10/tools/include/asm-generic/bitops/ |
D | fls64.h | 23 return fls(h) + 32; in fls64() 24 return fls(x); in fls64()
|
D | fls.h | 13 static __always_inline int fls(unsigned int x) in fls() function
|
/kernel/linux/linux-5.10/arch/sparc/lib/ |
D | fls.S | 14 ENTRY(fls) 66 ENDPROC(fls) 67 EXPORT_SYMBOL(fls)
|
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
D | bitops.h | 43 static __always_inline int fls(unsigned int x) in fls() function 58 return fls(x) - 1; in __fls()
|
/kernel/linux/linux-5.10/lib/ |
D | clz_ctz.c | 27 return 32 - fls(val); in __clzsi2() 37 return 32 - fls((int)val); in __clzdi2()
|
/kernel/linux/linux-5.10/lib/math/ |
D | reciprocal_div.c | 20 l = fls(d - 1); in reciprocal_value() 39 l = fls(d - 1); in reciprocal_value_adv()
|
D | div64.c | 112 int n = fls(high); in div64_u64_rem() 150 int n = fls(high); in div64_u64()
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
D | nand_bch.c | 117 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init() 126 m = fls(1+8*eccsize); in nand_bch_init() 193 nand->ecc.strength = (eccbytes * 8) / fls(8 * eccsize); in nand_bch_init()
|
D | nand_jedec.c | 103 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_jedec_detect() 114 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_jedec_detect()
|
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | bitops.h | 69 order = fls(count); in get_bitmask_order() 185 return fls(l); in fls_long() 194 return fls(--count); in get_count_order()
|
D | count_zeros.h | 26 return BITS_PER_LONG - fls(x); in count_leading_zeros()
|
/kernel/linux/linux-5.10/drivers/clk/ti/ |
D | mux.c | 214 mask = (1 << fls(mask)) - 1; in of_mux_clk_setup() 252 mux->mask = (1 << fls(mux->mask)) - 1; in ti_clk_build_component_mux() 284 mux->mask = (1 << fls(mux->mask)) - 1; in of_ti_composite_mux_clk_setup()
|
/kernel/linux/linux-5.10/arch/openrisc/include/asm/bitops/ |
D | fls.h | 14 static inline int fls(unsigned int x) in fls() function
|
/kernel/linux/linux-5.10/arch/c6x/include/asm/ |
D | bitops.h | 54 static inline int fls(unsigned int x) in fls() function
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | getorder.h | 44 return fls(size); in get_order()
|
/kernel/linux/linux-5.10/arch/mips/rb532/ |
D | irq.c | 224 group = 21 + (fls(ip) - 32); in plat_irq_dispatch() 230 pend = 39 + (fls(pend) - 32); in plat_irq_dispatch()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | intel_sseu_debugfs.c | 187 for (s = 0; s < fls(sseu->slice_mask); s++) in bdw_sseu_device_status() 194 for (s = 0; s < fls(sseu->slice_mask); s++) { in bdw_sseu_device_status() 216 for (s = 0; s < fls(sseu->slice_mask); s++) { in i915_print_sseu_info()
|