Home
last modified time | relevance | path

Searched refs:ffs (Results 1 – 16 of 16) sorted by relevance

/fs/xfs/
Dxfs_bit.h56 return ffs(v) - 1; in xfs_lowbit32()
66 n = ffs(w); in xfs_lowbit64()
69 if (w && (n = ffs(w))) in xfs_lowbit64()
Dxfs_bit.c119 return result + ffs(tmp) - 1; in xfs_next_bit()
Dxfs_super.c276 iosizelog = ffs(iosize) - 1; in xfs_parseargs()
285 iosizelog = ffs(iosize) - 1; in xfs_parseargs()
1479 sb->s_blocksize_bits = ffs(sb->s_blocksize) - 1; in xfs_fs_fill_super()
Dxfs_buf.c1604 btp->bt_sshift = ffs(sectorsize) - 1; in xfs_setsize_buftarg_flags()
Dxfs_log_recover.c462 bufblks = 1 << ffs(nbblks); in xlog_find_verify_cycle()
1249 bufblks = 1 << ffs(blocks); in xlog_write_log_records()
/fs/squashfs/
Dxz_wrapper.c74 n = ffs(opts->dict_size) - 1; in squashfs_xz_comp_opts()
/fs/ntfs/
Dsuper.c772 vol->sector_size_bits = ffs(vol->sector_size) - 1; in parse_ntfs_boot_sector()
785 sectors_per_cluster_bits = ffs(b->bpb.sectors_per_cluster) - 1; in parse_ntfs_boot_sector()
792 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector()
808 (ffs(clusters_per_mft_record) - 1); in parse_ntfs_boot_sector()
817 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1; in parse_ntfs_boot_sector()
848 (ffs(clusters_per_index_record) - 1); in parse_ntfs_boot_sector()
858 vol->index_record_size_bits = ffs(vol->index_record_size) - 1; in parse_ntfs_boot_sector()
Dinode.c891 ffs(ni->itype.index.block_size) - 1; in ntfs_read_locked_inode()
1111 ffs(ni->itype. in ntfs_read_locked_inode()
1393 ffs(ni->itype.compressed. in ntfs_read_locked_attr_inode()
1600 ni->itype.index.block_size_bits = ffs(ni->itype.index.block_size) - 1; in ntfs_read_locked_index_inode()
Dattrib.c1722 ffs(ni->itype.compressed.block_size) - in ntfs_attr_make_non_resident()
/fs/affs/
Dbitmap.c206 bit = ffs(tmp & mask) - 1; in affs_alloc_block()
/fs/hfsplus/
Dbtree.c124 tree->node_size_shift = ffs(size) - 1; in hfs_btree_open()
/fs/hfs/
Dbtree.c118 tree->node_size_shift = ffs(size) - 1; in hfs_btree_open()
/fs/fat/
Dinode.c1371 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
1430 sbi->dir_per_block_bits = ffs(sbi->dir_per_block) - 1; in fat_fill_super()
/fs/ubifs/
Ddebug.c2563 unsigned int from, to, ffs = chance(1, 2); in corrupt_data() local
2571 ffs ? "0xFFs" : "random data"); in corrupt_data()
2573 if (ffs) in corrupt_data()
/fs/ocfs2/cluster/
Dheartbeat.c1527 *ret_bits = ffs(bytes) - 1; in o2hb_read_block_input()
/fs/ext4/
Dmballoc.c679 max = ffs(first | border) - 1; in ext4_mb_mark_free_simple()