Searched refs:db_count (Results 1 – 8 of 8) sorted by relevance
407 return ntb_ndev(ntb)->db_count; in amd_ntb_db_vector_count()414 if (db_vector < 0 || db_vector > ndev->db_count) in amd_ntb_db_vector_mask()758 ndev->db_count = msix_min; in ndev_init_isr()785 ndev->db_count = 1; in ndev_init_isr()802 ndev->db_count = 1; in ndev_init_isr()888 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_debugfs_read()1067 ndev->db_count = AMD_DB_CNT; in amd_init_ntb()1131 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in amd_init_dev()1145 ndev->db_count -= 1; in amd_init_dev()1146 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in amd_init_dev()
191 unsigned char db_count; member
146 int db_count; in ext2_put_super() local163 db_count = sbi->s_gdb_count; in ext2_put_super()164 for (i = 0; i < db_count; i++) in ext2_put_super()824 int db_count; in ext2_fill_super() local1083 db_count = (sbi->s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / in ext2_fill_super()1085 sbi->s_group_desc = kmalloc_array (db_count, in ext2_fill_super()1100 for (i = 0; i < db_count; i++) { in ext2_fill_super()1115 sbi->s_gdb_count = db_count; in ext2_fill_super()1208 for (i = 0; i < db_count; i++) in ext2_fill_super()
156 unsigned char db_count; member
180 ndev->db_count = GEN3_DB_COUNT; in gen3_init_ntb()217 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in gen3_init_ntb()307 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_ntb3_debugfs_read()
134 ndev->db_count = GEN4_DB_COUNT; in gen4_init_ntb()150 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in gen4_init_ntb()269 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_ntb4_debugfs_read()
556 "Doorbell Count -\t%u\n", ndev->db_count); in ndev_ntb_debugfs_read()1549 ndev->db_count = XEON_DB_COUNT; in xeon_init_ntb()1609 ndev->db_count -= 1; in xeon_init_ntb()1634 ndev->db_valid_mask = BIT_ULL(ndev->db_count) - 1; in xeon_init_ntb()1839 ndev->db_count = 0; in ndev_init_struct()
4017 unsigned int db_count; in ext4_fill_super() local4656 db_count = (sbi->s_groups_count + EXT4_DESC_PER_BLOCK(sb) - 1) / in ext4_fill_super()4659 if (le32_to_cpu(es->s_first_meta_bg) > db_count) { in ext4_fill_super()4663 le32_to_cpu(es->s_first_meta_bg), db_count); in ext4_fill_super()4668 kvmalloc_array(db_count, in ext4_fill_super()4680 for (i = 0; i < db_count; i++) { in ext4_fill_super()4685 for (i = 0; i < db_count; i++) { in ext4_fill_super()4693 db_count = i; in ext4_fill_super()4702 sbi->s_gdb_count = db_count; in ext4_fill_super()5184 for (i = 0; i < db_count; i++) in ext4_fill_super()