| /OK3568_Linux_fs/kernel/fs/nfs/flexfilelayout/ |
| H A 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 …]
|
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/arc/include/asm/ |
| H A 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
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/arch/sparc/lib/ |
| H A D | fls.S | 14 ENTRY(fls) 66 ENDPROC(fls) 67 EXPORT_SYMBOL(fls)
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/ |
| H A D | mali_osk_math.c | 21 return 32 - fls(input); in _mali_osk_clz() 26 return fls(input); in _mali_osk_fls()
|
| /OK3568_Linux_fs/u-boot/include/asm-generic/bitops/ |
| H A D | fls64.h | 22 return fls(h) + 32; in fls64() 23 return fls(x); in fls64()
|
| /OK3568_Linux_fs/kernel/tools/include/asm-generic/bitops/ |
| H A D | fls64.h | 23 return fls(h) + 32; in fls64() 24 return fls(x); in fls64()
|
| /OK3568_Linux_fs/kernel/include/asm-generic/bitops/ |
| H A D | fls64.h | 23 return fls(h) + 32; in fls64() 24 return fls(x); in fls64()
|
| /OK3568_Linux_fs/kernel/arch/csky/include/asm/ |
| H A D | bitops.h | 43 static __always_inline int fls(unsigned int x) in fls() function 58 return fls(x) - 1; in __fls()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/ |
| H A D | bbt.c | 45 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_read_bbt() 115 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_write_bbt() 240 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_init() 348 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_get_block_status() 387 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_bbt_set_block_status()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | clz_ctz.c | 27 return 32 - fls(val); in __clzsi2() 37 return 32 - fls((int)val); in __clzdi2()
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | sfc_nand_mtd_bbt.c | 44 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_read_bbt() 128 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in nanddev_write_bbt() 269 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in snanddev_bbt_init() 377 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in snanddev_bbt_get_block_status() 417 unsigned int bits_per_block = fls(NAND_BBT_BLOCK_NUM_STATUS); in snanddev_bbt_set_block_status()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A 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()
|
| H 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()
|
| /OK3568_Linux_fs/kernel/lib/math/ |
| H A D | reciprocal_div.c | 20 l = fls(d - 1); in reciprocal_value() 39 l = fls(d - 1); in reciprocal_value_adv()
|
| H A D | div64.c | 112 int n = fls(high); in div64_u64_rem() 150 int n = fls(high); in div64_u64()
|
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | nand_bch.c | 122 eccbytes = DIV_ROUND_UP(eccstrength * fls(8 * eccsize), 8); in nand_bch_init() 131 m = fls(1+8*eccsize); in nand_bch_init() 211 nand->ecc.strength = (eccbytes * 8) / fls(8 * eccsize); in nand_bch_init()
|
| /OK3568_Linux_fs/kernel/drivers/misc/sgi-gru/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/clk/ti/ |
| H 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()
|
| /OK3568_Linux_fs/u-boot/arch/powerpc/include/asm/ |
| H A D | bitops.h | 170 static __inline__ int fls(unsigned int x) in fls() function 192 return fls(h) + 32; in fls64() 193 return fls(x); in fls64()
|
| /OK3568_Linux_fs/u-boot/include/linux/ |
| H A D | bitops.h | 148 # define fls generic_fls macro 154 return fls(l); in fls_long()
|
| /OK3568_Linux_fs/u-boot/lib/ |
| H A D | div64.c | 105 int n = 1 + fls(high); in div64_u64_rem() 143 int n = 1 + fls(high); in div64_u64()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H 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) 373 ss_ctrl = OP_CMD_BYTES(1) | OP_CMD_BUSW(fls(op->cmd.buswidth) - 1); in mxic_spi_mem_exec_op() 377 OP_ADDR_BUSW(fls(op->addr.buswidth) - 1); in mxic_spi_mem_exec_op() 383 ss_ctrl |= OP_DATA_BUSW(fls(op->data.buswidth) - 1); in mxic_spi_mem_exec_op()
|