Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_keys.c17 unsigned int blocks_count; member
25 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_blocks_check()
53 mlxsw_afk->blocks_count = ops->blocks_count; in mlxsw_afk_create()
69 unsigned int blocks_count; member
111 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_count_hits()
137 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_subtract_hits()
152 for (i = 0; i < mlxsw_afk->blocks_count; i++) { in mlxsw_afk_picker_most_hits_get()
168 if (key_info->blocks_count == mlxsw_afk->max_blocks) in mlxsw_afk_picker_key_info_add()
173 key_info->element_to_block[element] = key_info->blocks_count; in mlxsw_afk_picker_key_info_add()
177 key_info->blocks[key_info->blocks_count] = in mlxsw_afk_picker_key_info_add()
[all …]
Dspectrum_acl_atcam.c296 unsigned int blocks_count; in mlxsw_sp_acl_atcam_region_type_init() local
301 blocks_count = mlxsw_afk_key_info_blocks_count_get(region->key_info); in mlxsw_sp_acl_atcam_region_type_init()
302 if (blocks_count <= 2) in mlxsw_sp_acl_atcam_region_type_init()
304 else if (blocks_count <= 4) in mlxsw_sp_acl_atcam_region_type_init()
306 else if (blocks_count <= 8) in mlxsw_sp_acl_atcam_region_type_init()
442 unsigned int blocks_count; in __mlxsw_sp_acl_atcam_entry_add() local
445 blocks_count = mlxsw_afk_key_info_blocks_count_get(region->key_info); in __mlxsw_sp_acl_atcam_entry_add()
447 aentry->ht_key.enc_key, mask, 0, blocks_count - 1); in __mlxsw_sp_acl_atcam_entry_add()
Dspectrum_acl_ctcam.c49 unsigned int blocks_count; in mlxsw_sp_acl_ctcam_region_entry_insert() local
66 blocks_count = mlxsw_afk_key_info_blocks_count_get(region->key_info); in mlxsw_sp_acl_ctcam_region_entry_insert()
68 blocks_count - 1); in mlxsw_sp_acl_ctcam_region_entry_insert()
Dspectrum_acl_flex_keys.c112 .blocks_count = ARRAY_SIZE(mlxsw_sp1_afk_blocks),
283 .blocks_count = ARRAY_SIZE(mlxsw_sp2_afk_blocks),
Dcore_acl_flex_keys.h190 unsigned int blocks_count; member
/Linux-v4.19/fs/ext4/
Dresize.c94 ext4_fsblk_t end = start + input->blocks_count; in verify_group_input()
112 input->blocks_count - 2 - overhead - sbi->s_itb_per_group; in verify_group_input()
118 "no-super", input->group, input->blocks_count, in verify_group_input()
124 else if (input->reserved_blocks > input->blocks_count / 5) in verify_group_input()
129 input->blocks_count); in verify_group_input()
278 last_blk = start_blk + group_data[src_group - group].blocks_count; in ext4_alloc_group_tables()
289 last_blk += group_data[src_group - group].blocks_count; in ext4_alloc_group_tables()
360 group_data[i].blocks_count, in ext4_alloc_group_tables()
618 ext4_mark_bitmap_end(EXT4_B2C(sbi, group_data[i].blocks_count), in setup_new_flex_group_blocks()
1338 ext4_fsblk_t blocks_count = 0; in ext4_update_super() local
[all …]
Dioctl.c1091 err |= get_user(input.blocks_count, &uinput->blocks_count); in ext4_compat_ioctl()
Dsuper.c3514 __u64 blocks_count; in ext4_fill_super() local
4017 blocks_count = sb->s_bdev->bd_inode->i_size >> sb->s_blocksize_bits; in ext4_fill_super()
4018 if (blocks_count && ext4_blocks_count(es) > blocks_count) { in ext4_fill_super()
4021 ext4_blocks_count(es), blocks_count); in ext4_fill_super()
4043 blocks_count = (ext4_blocks_count(es) - in ext4_fill_super()
4046 do_div(blocks_count, EXT4_BLOCKS_PER_GROUP(sb)); in ext4_fill_super()
4047 if (blocks_count > ((uint64_t)1<<32) - EXT4_DESC_PER_BLOCK(sb)) { in ext4_fill_super()
4056 sbi->s_groups_count = blocks_count; in ext4_fill_super()
Dext4.h533 __u32 blocks_count; /* Total number of blocks in this group */ member
544 u32 blocks_count; member
556 __u32 blocks_count; member
/Linux-v4.19/fs/nilfs2/
Dsysfs.c122 (unsigned long long)atomic64_read(&root->blocks_count)); in nilfs_snapshot_blocks_count_show()
138 NILFS_SNAPSHOT_RO_ATTR(blocks_count);
143 NILFS_SNAPSHOT_ATTR_LIST(blocks_count),
Dthe_nilfs.h246 atomic64_t blocks_count; member
Dinode.c47 atomic64_add(n, &root->blocks_count); in nilfs_inode_add_blocks()
56 atomic64_sub(n, &root->blocks_count); in nilfs_inode_sub_blocks()
Dthe_nilfs.c782 atomic64_set(&new->blocks_count, 0); in nilfs_find_or_create_root()
Dsuper.c549 atomic64_set(&root->blocks_count, in nilfs_attach_checkpoint()
Dsegment.c904 cpu_to_le64(atomic64_read(&sci->sc_root->blocks_count)); in nilfs_segctor_fill_in_checkpoint()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-fs-nilfs2258 What: /sys/fs/nilfs2/<device>/mounted_snapshots/<id>/blocks_count