Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_bit.h44 return ffs(v) - 1; in xfs_lowbit32()
54 n = ffs(w); in xfs_lowbit64()
58 n = ffs(w); in xfs_lowbit64()
Dxfs_bit.c105 return result + ffs(tmp) - 1; in xfs_next_bit()
/fs/squashfs/
Dxz_wrapper.c61 n = ffs(opts->dict_size) - 1; in squashfs_xz_comp_opts()
/fs/ntfs/
Dsuper.c759 vol->sector_size_bits = ffs(vol->sector_size) - 1; in parse_ntfs_boot_sector()
772 sectors_per_cluster_bits = ffs(b->bpb.sectors_per_cluster) - 1; in parse_ntfs_boot_sector()
779 vol->cluster_size_bits = ffs(vol->cluster_size) - 1; in parse_ntfs_boot_sector()
795 (ffs(clusters_per_mft_record) - 1); in parse_ntfs_boot_sector()
804 vol->mft_record_size_bits = ffs(vol->mft_record_size) - 1; in parse_ntfs_boot_sector()
835 (ffs(clusters_per_index_record) - 1); in parse_ntfs_boot_sector()
845 vol->index_record_size_bits = ffs(vol->index_record_size) - 1; in parse_ntfs_boot_sector()
Dinode.c864 ffs(ni->itype.index.block_size) - 1; in ntfs_read_locked_inode()
1085 ffs(ni->itype. in ntfs_read_locked_inode()
1367 ffs(ni->itype.compressed. in ntfs_read_locked_attr_inode()
1574 ni->itype.index.block_size_bits = ffs(ni->itype.index.block_size) - 1; in ntfs_read_locked_index_inode()
Dattrib.c1732 ffs(ni->itype.compressed.block_size) - in ntfs_attr_make_non_resident()
/fs/ceph/
Dioctl.c251 ci->i_nr_by_mode[ffs(CEPH_FILE_MODE_LAZY)]++; in ceph_ioctl_lazyio()
Dcaps.c991 const int PIN_SHIFT = ffs(CEPH_FILE_MODE_PIN); in __ceph_caps_file_wanted()
992 const int RD_SHIFT = ffs(CEPH_FILE_MODE_RD); in __ceph_caps_file_wanted()
993 const int WR_SHIFT = ffs(CEPH_FILE_MODE_WR); in __ceph_caps_file_wanted()
994 const int LAZY_SHIFT = ffs(CEPH_FILE_MODE_LAZY); in __ceph_caps_file_wanted()
/fs/affs/
Dbitmap.c206 bit = ffs(tmp & mask) - 1; in affs_alloc_block()
/fs/hfsplus/
Dbtree.c237 tree->node_size_shift = ffs(size) - 1; in hfs_btree_open()
/fs/hfs/
Dbtree.c119 tree->node_size_shift = ffs(size) - 1; in hfs_btree_open()
/fs/orangefs/
Dorangefs-utils.c320 inode->i_blkbits = ffs(new_op->downcall.resp.getattr. in orangefs_inode_getattr()
/fs/xfs/
Dxfs_super.c1237 parsing_mp->m_allocsize_log = ffs(size) - 1; in xfs_fs_parse_param()
1602 sb->s_blocksize_bits = ffs(sb->s_blocksize) - 1; in xfs_fs_fill_super()
Dxfs_log_recover.c339 bufblks = 1 << ffs(nbblks); in xlog_find_verify_cycle()
1538 bufblks = 1 << ffs(blocks); in xlog_write_log_records()
/fs/ubifs/
Ddebug.c2571 unsigned int from, to, ffs = chance(1, 2); in corrupt_data() local
2579 ffs ? "0xFFs" : "random data"); in corrupt_data()
2581 if (ffs) in corrupt_data()
/fs/fat/
Dinode.c1700 sbi->cluster_bits = ffs(sbi->cluster_size) - 1; in fat_fill_super()
1762 sbi->dir_per_block_bits = ffs(sbi->dir_per_block) - 1; in fat_fill_super()
/fs/gfs2/
Dops_fstype.c183 if (sb->sb_bsize_shift != ffs(sb->sb_bsize) - 1) { in gfs2_check_sb()
/fs/ocfs2/cluster/
Dheartbeat.c1552 *ret_bits = ffs(bytes) - 1; in o2hb_read_block_input()
/fs/ext4/
Dmballoc.c791 max = ffs(first | border) - 1; in ext4_mb_mark_free_simple()