/linux/fs/nfs/flexfilelayout/ |
A D | flexfilelayout.c | 262 if (fls) { in _ff_layout_free_lseg() 264 kfree(fls); in _ff_layout_free_lseg() 354 swap(fls->mirror_array[i], in ff_layout_sort_mirrors() 355 fls->mirror_array[j]); in ff_layout_sort_mirrors() 399 fls = kzalloc(struct_size(fls, mirror_array, mirror_array_cnt), in ff_layout_alloc_lseg() 401 if (!fls) in ff_layout_alloc_lseg() 531 fls->flags = be32_to_cpup(p); in ff_layout_alloc_lseg() 540 ff_layout_sort_mirrors(fls); in ff_layout_alloc_lseg() 541 ret = &fls->generic_hdr; in ff_layout_alloc_lseg() 547 _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/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/drivers/mtd/nand/ |
A 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()
|
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/arch/sparc/lib/ |
A D | fls.S | 14 ENTRY(fls) 66 ENDPROC(fls) 67 EXPORT_SYMBOL(fls)
|
/linux/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
|
/linux/tools/include/asm-generic/bitops/ |
A D | fls64.h | 23 return fls(h) + 32; in fls64() 24 return fls(x); in fls64()
|
/linux/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/lib/ |
A D | clz_ctz.c | 27 return 32 - fls(val); in __clzsi2() 37 return 32 - fls((int)val); in __clzdi2()
|
/linux/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 | 114 int n = fls(high); in div64_u64_rem() 152 int n = fls(high); in div64_u64()
|
/linux/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/include/linux/ |
A D | bitops.h | 73 order = fls(count); in get_bitmask_order() 189 return fls(l); in fls_long() 198 return fls(--count); in get_count_order()
|
/linux/drivers/clk/ti/ |
A 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()
|
/linux/drivers/mtd/nand/raw/ |
A 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()
|
/linux/drivers/spi/ |
A D | spi-mxic.c | 90 #define OCTA_CRC_CHUNK(s, x) ((fls((x) / 32)) << (1 + ((s) * 16))) 129 #define DMAM_CFG_SDMA_GAP(x) (fls((x) / 8192) << 2) 387 OP_CMD_BUSW(fls(op->cmd.buswidth) - 1) | in mxic_spi_mem_exec_op() 392 OP_ADDR_BUSW(fls(op->addr.buswidth) - 1) | in mxic_spi_mem_exec_op() 399 ss_ctrl |= OP_DATA_BUSW(fls(op->data.buswidth) - 1) | in mxic_spi_mem_exec_op()
|
/linux/drivers/gpu/drm/i915/gt/ |
A 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()
|
/linux/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/sound/soc/ |
A D | soc-ops.c | 249 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw() 309 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw() 370 unsigned int mask = (1U << (fls(min + max) - 1)) - 1; in snd_soc_get_volsw_sx() 408 unsigned int mask = (1U << (fls(min + max) - 1)) - 1; in snd_soc_put_volsw_sx() 485 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_put_volsw_range() 537 unsigned int mask = (1 << fls(max)) - 1; in snd_soc_get_volsw_range()
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_mr.c | 588 fls(dev->limits.num_mtt_segs - 1)); in mthca_init_mr_table() 597 i = fls(dev->limits.fmr_reserved_mtts - 1); in mthca_init_mr_table() 640 err = mthca_buddy_init(&dev->mr_table.tavor_fmr.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 645 err = mthca_buddy_alloc(&dev->mr_table.mtt_buddy, fls(mtts - 1)); in mthca_init_mr_table() 656 i = fls(dev->limits.reserved_mtts - 1); in mthca_init_mr_table()
|
/linux/arch/openrisc/include/asm/bitops/ |
A D | fls.h | 14 static inline int fls(unsigned int x) in fls() function
|
/linux/drivers/irqchip/ |
A D | irq-dw-apb-ictl.c | 172 nrirqs = 32 + fls(reg); in dw_apb_ictl_init() 174 nrirqs = fls(readl_relaxed(iobase + APB_INT_ENABLE_L)); in dw_apb_ictl_init()
|
A D | irq-versatile-fpga.c | 173 f->domain = irq_domain_add_simple(node, fls(valid), irq_start, in fpga_irq_init() 177 for (i = 0; i < fls(valid); i++) in fpga_irq_init()
|