/Linux-v4.19/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 249 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 …]
|
/Linux-v4.19/arch/unicore32/include/asm/ |
D | bitops.h | 25 static inline int fls(int x) in fls() function 35 #define __fls(x) (fls(x) - 1) 36 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); })
|
/Linux-v4.19/drivers/mtd/nand/ |
D | bbt.c | 25 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_init() 76 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_get_block_status() 109 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_set_block_status()
|
D | core.c | 206 fls(memorg->pages_per_eraseblock - 1); in nanddev_init() 207 nand->rowconv.lun_addr_shift = fls(memorg->eraseblocks_per_lun - 1) + in nanddev_init()
|
/Linux-v4.19/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(int x) in fls() function
|
/Linux-v4.19/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(int x) in fls() function
|
D | fls.h | 13 static __always_inline int fls(int x) in fls() function
|
/Linux-v4.19/arch/sparc/lib/ |
D | fls.S | 14 ENTRY(fls) 66 ENDPROC(fls) 67 EXPORT_SYMBOL(fls)
|
/Linux-v4.19/arch/arc/include/asm/ |
D | bitops.h | 315 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function 331 return fls(x) - 1; in __fls() 338 #define ffs(x) ({ unsigned long __t = (x); fls(__t & -__t); }) 358 static inline __attribute__ ((const)) int fls(unsigned long x) in fls() function
|
/Linux-v4.19/lib/ |
D | clz_ctz.c | 29 return 32 - fls(val); in __clzsi2() 39 return 32 - fls((int)val); in __clzdi2()
|
D | reciprocal_div.c | 19 l = fls(d - 1); in reciprocal_value() 38 l = fls(d - 1); in reciprocal_value_adv()
|
D | div64.c | 112 int n = 1 + fls(high); in div64_u64_rem() 150 int n = 1 + fls(high); in div64_u64()
|
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | nand_bch.c | 132 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init() 141 m = fls(1+8*eccsize); in nand_bch_init() 208 nand->ecc.strength = (eccbytes * 8) / fls(8 * eccsize); in nand_bch_init()
|
/Linux-v4.19/drivers/clk/ti/ |
D | mux.c | 153 mask = (1 << fls(mask)) - 1; in ti_clk_register_mux() 216 mask = (1 << fls(mask)) - 1; in of_mux_clk_setup() 254 mux->mask = (1 << fls(mux->mask)) - 1; in ti_clk_build_component_mux() 286 mux->mask = (1 << fls(mux->mask)) - 1; in of_ti_composite_mux_clk_setup()
|
/Linux-v4.19/include/linux/ |
D | bitops.h | 47 order = fls(count); in get_bitmask_order() 163 return fls(l); in fls_long() 171 order = fls(count) - 1; in get_count_order()
|
D | count_zeros.h | 30 return BITS_PER_LONG - fls(x); in count_leading_zeros()
|
/Linux-v4.19/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 355 n = 1 << fls(cpus - 1); in gru_tgh_flush_init() 363 shift = max(0, fls(n - 1) - fls(MAX_LOCAL_TGH - 1)); in gru_tgh_flush_init()
|
/Linux-v4.19/arch/openrisc/include/asm/bitops/ |
D | fls.h | 18 static inline int fls(int x) in fls() function
|
/Linux-v4.19/drivers/irqchip/ |
D | irq-dw-apb-ictl.c | 119 nrirqs = 32 + fls(reg); in dw_apb_ictl_init() 121 nrirqs = fls(readl_relaxed(iobase + APB_INT_ENABLE_L)); in dw_apb_ictl_init()
|
D | irq-versatile-fpga.c | 165 f->domain = irq_domain_add_simple(node, fls(valid), irq_start, in fpga_irq_init() 169 for (i = 0; i < fls(valid); i++) in fpga_irq_init()
|
/Linux-v4.19/arch/c6x/include/asm/ |
D | bitops.h | 57 static inline int fls(int x) in fls() function
|
/Linux-v4.19/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()
|
/Linux-v4.19/include/asm-generic/ |
D | getorder.h | 21 order = fls(size); in __get_order()
|