Home
last modified time | relevance | path

Searched refs:fls (Results 1 – 25 of 334) sorted by relevance

12345678910>>...14

/Linux-v5.4/fs/nfs/flexfilelayout/
Dflexfilelayout.c249 static void ff_layout_free_mirror_array(struct nfs4_ff_layout_segment *fls) in ff_layout_free_mirror_array() argument
253 if (fls->mirror_array) { in ff_layout_free_mirror_array()
254 for (i = 0; i < fls->mirror_array_cnt; i++) { in ff_layout_free_mirror_array()
258 ff_layout_put_mirror(fls->mirror_array[i]); in ff_layout_free_mirror_array()
260 kfree(fls->mirror_array); in ff_layout_free_mirror_array()
261 fls->mirror_array = NULL; in ff_layout_free_mirror_array()
283 static void _ff_layout_free_lseg(struct nfs4_ff_layout_segment *fls) in _ff_layout_free_lseg() argument
285 if (fls) { in _ff_layout_free_lseg()
286 ff_layout_free_mirror_array(fls); in _ff_layout_free_lseg()
287 kfree(fls); in _ff_layout_free_lseg()
[all …]
Dflexfilelayout.h144 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-v5.4/arch/unicore32/include/asm/
Dbitops.h22 static inline int fls(unsigned int x) in fls() function
32 #define __fls(x) (fls(x) - 1)
33 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); })
/Linux-v5.4/drivers/mtd/nand/
Dbbt.c25 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()
/Linux-v5.4/include/asm-generic/bitops/
Dfls64.h23 return fls(h) + 32; in fls64()
24 return fls(x); in fls64()
Dbuiltin-fls.h12 static __always_inline int fls(unsigned int x) in fls() function
Dfls.h13 static __always_inline int fls(unsigned int x) in fls() function
/Linux-v5.4/tools/include/asm-generic/bitops/
Dfls64.h23 return fls(h) + 32; in fls64()
24 return fls(x); in fls64()
Dfls.h13 static __always_inline int fls(unsigned int x) in fls() function
/Linux-v5.4/arch/sparc/lib/
Dfls.S14 ENTRY(fls)
66 ENDPROC(fls)
67 EXPORT_SYMBOL(fls)
/Linux-v5.4/arch/csky/include/asm/
Dbitops.h43 static __always_inline int fls(unsigned int x) in fls() function
58 return fls(x) - 1; in __fls()
/Linux-v5.4/arch/arc/include/asm/
Dbitops.h312 static inline __attribute__ ((const)) int fls(unsigned int x) in fls() function
328 return fls(x) - 1; in __fls()
335 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); })
355 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function
/Linux-v5.4/lib/
Dclz_ctz.c27 return 32 - fls(val); in __clzsi2()
37 return 32 - fls((int)val); in __clzdi2()
/Linux-v5.4/lib/math/
Dreciprocal_div.c19 l = fls(d - 1); in reciprocal_value()
38 l = fls(d - 1); in reciprocal_value_adv()
Ddiv64.c112 int n = fls(high); in div64_u64_rem()
150 int n = fls(high); in div64_u64()
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_bch.c117 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init()
126 m = fls(1+8*eccsize); in nand_bch_init()
192 nand->ecc.strength = (eccbytes * 8) / fls(8 * eccsize); in nand_bch_init()
Dnand_jedec.c92 1 << (fls(le32_to_cpu(p->pages_per_block)) - 1); in nand_jedec_detect()
103 1 << (fls(le32_to_cpu(p->blocks_per_lun)) - 1); in nand_jedec_detect()
/Linux-v5.4/include/linux/
Dbitops.h54 order = fls(count); in get_bitmask_order()
170 return fls(l); in fls_long()
178 order = fls(count) - 1; in get_count_order()
Dcount_zeros.h26 return BITS_PER_LONG - fls(x); in count_leading_zeros()
/Linux-v5.4/drivers/misc/sgi-gru/
Dgrutlbpurge.c303 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-v5.4/drivers/clk/ti/
Dmux.c214 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()
/Linux-v5.4/arch/openrisc/include/asm/bitops/
Dfls.h14 static inline int fls(unsigned int x) in fls() function
/Linux-v5.4/drivers/irqchip/
Dirq-dw-apb-ictl.c119 nrirqs = 32 + fls(reg); in dw_apb_ictl_init()
121 nrirqs = fls(readl_relaxed(iobase + APB_INT_ENABLE_L)); in dw_apb_ictl_init()
/Linux-v5.4/arch/c6x/include/asm/
Dbitops.h54 static inline int fls(unsigned int x) in fls() function
/Linux-v5.4/include/asm-generic/
Dgetorder.h44 return fls(size); in get_order()

12345678910>>...14