Home
last modified time | relevance | path

Searched refs:entry_count (Results 1 – 25 of 83) sorted by relevance

1234

/linux/drivers/scsi/elx/efct/
A Defct_hw_queues.c137 eq->entry_count = entry_count; in efct_hw_new_eq()
170 cq->entry_count = entry_count; in efct_hw_new_cq()
176 cq->entry_count, eq->queue)) { in efct_hw_new_cq()
178 eq->instance, eq->entry_count); in efct_hw_new_cq()
193 u32 num_cqs, u32 entry_count) in efct_hw_new_cq_set() argument
215 cq->entry_count = entry_count; in efct_hw_new_cq_set()
255 mq->entry_count = entry_count; in efct_hw_new_mq()
287 wq->entry_count = entry_count; in efct_hw_new_wq()
295 wq->entry_count, cq->queue)) { in efct_hw_new_wq()
335 rq->entry_count = entry_count; in efct_hw_new_rq_set()
[all …]
A Defct_hw.h473 u32 entry_count; member
485 u32 entry_count; member
503 u32 entry_count; member
517 u32 entry_count; member
543 u32 entry_count; member
737 struct hw_eq *efct_hw_new_eq(struct efct_hw *hw, u32 entry_count);
738 struct hw_cq *efct_hw_new_cq(struct hw_eq *eq, u32 entry_count);
741 u32 num_cqs, u32 entry_count);
742 struct hw_mq *efct_hw_new_mq(struct hw_cq *cq, u32 entry_count);
744 *efct_hw_new_wq(struct hw_cq *cq, u32 entry_count);
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_kvdl.c53 unsigned int entry_count, u32 *p_entry_index) in mlxsw_sp_kvdl_alloc() argument
60 entry_count, p_entry_index); in mlxsw_sp_kvdl_alloc()
68 unsigned int entry_count, int entry_index) in mlxsw_sp_kvdl_free() argument
74 entry_count, entry_index); in mlxsw_sp_kvdl_free()
80 unsigned int entry_count, in mlxsw_sp_kvdl_alloc_count_query() argument
86 entry_count, p_alloc_count); in mlxsw_sp_kvdl_alloc_count_query()
A Dspectrum2_kvdl.c147 unsigned int entry_count, in mlxsw_sp2_kvdl_alloc() argument
150 unsigned int size = entry_count * mlxsw_sp_kvdl_entry_size(type); in mlxsw_sp2_kvdl_alloc()
159 unsigned int entry_count, in mlxsw_sp2_kvdl_free() argument
162 unsigned int size = entry_count * mlxsw_sp_kvdl_entry_size(type); in mlxsw_sp2_kvdl_free()
172 unsigned int entry_count, in mlxsw_sp2_kvdl_alloc_size_query() argument
175 *p_alloc_count = entry_count; in mlxsw_sp2_kvdl_alloc_size_query()
A Dspectrum1_kvdl.c148 unsigned int entry_count, in mlxsw_sp1_kvdl_alloc() argument
157 part = mlxsw_sp1_kvdl_alloc_size_part(kvdl, entry_count); in mlxsw_sp1_kvdl_alloc()
166 unsigned int entry_count, int entry_index) in mlxsw_sp1_kvdl_free() argument
180 unsigned int entry_count, in mlxsw_sp1_kvdl_alloc_size_query() argument
186 part = mlxsw_sp1_kvdl_alloc_size_part(kvdl, entry_count); in mlxsw_sp1_kvdl_alloc_size_query()
/linux/drivers/md/dm-vdo/
A Dencodings.h342 __le16 entry_count; member
365 u8 entry_count; member
394 journal_entry_count_t entry_count; member
505 __le16 entry_count; member
1026 .entry_count = __cpu_to_le16(header->entry_count), in vdo_pack_recovery_block_header()
1050 .entry_count = __le16_to_cpu(packed->entry_count), in vdo_unpack_recovery_block_header()
1115 point->entry_count++; in vdo_advance_journal_point()
1118 point->entry_count = 0; in vdo_advance_journal_point()
1134 (first->entry_count < second->entry_count))); in vdo_before_journal_point()
1178 packed->entry_count = __cpu_to_le16(header->entry_count); in vdo_pack_slab_journal_block_header()
[all …]
A Drepair.c49 journal_entry_count_t entry_count; member
91 size_t entry_count; member
663 point->entry_count = 0; in increment_recovery_point()
711 (first->entry_count < second->entry_count)); in before_recovery_point()
858 if (repair->entry_count == 0) { in vdo_replay_into_slab_journals()
869 .entry_count = 0, in vdo_replay_into_slab_journals()
874 .entry_count = 0, in vdo_replay_into_slab_journals()
1388 sector->entry_count, in extract_entries_from_block()
1460 .entry_count = 0, in extract_new_mappings()
1514 .entry_count = 0, in compute_usages()
[all …]
A Drecovery-journal.c235 return (block->entry_count == 0); in is_block_empty()
932 block->sector->entry_count = 0; in set_active_sector()
967 block->entry_count = 0; in advance_tail()
1093 .entry_count = block->entry_count, in assign_entry()
1103 block->entry_count++; in assign_entry()
1151 for (i = block->entry_count; i < journal->entries_per_block; i++) in recycle_journal_block()
1158 if (block->entry_count > 0) in recycle_journal_block()
1182 journal->commit_point.entry_count, in continue_committed_waiter()
1184 data_vio->recovery_journal_point.entry_count); in continue_committed_waiter()
1342 packed_entry = &block->sector->entries[block->sector->entry_count++]; in add_queued_recovery_entries()
[all …]
A Dslab-depot.c92 header->entry_count = 0; in initialize_tail_block()
885 recovery_point.entry_count *= 2; in expand_journal_point()
887 recovery_point.entry_count++; in expand_journal_point()
1699 .entry_count = header->entry_count, in add_entry_from_waiter()
1703 if (header->entry_count == 0) { in add_entry_from_waiter()
1819 if (header->entry_count == 0) { in add_entries()
2190 (first.entry_count == second.entry_count)); in journal_points_equal()
2782 .entry_count = 0, in apply_block_entries()
2787 while (entry_point.entry_count < entry_count) { in apply_block_entries()
2810 entry_point.entry_count++; in apply_block_entries()
[all …]
/linux/fs/reiserfs/
A Ditem_ops.c475 for (i = 0; i < dir_u->entry_count; i++) { in direntry_create_vi()
495 for (k = 0; k < dir_u->entry_count; k++) in direntry_create_vi()
534 if (entries == dir_u->entry_count) { in direntry_check_left()
537 dir_u->entry_count); in direntry_check_left()
562 BUG_ON(entries == dir_u->entry_count); in direntry_check_right()
566 && entries > dir_u->entry_count - 2) in direntry_check_right()
567 entries = dir_u->entry_count - 2; in direntry_check_right()
583 from = dir_u->entry_count - count; in direntry_part_size()
596 return dir_u->entry_count; in direntry_unit_num()
607 printk("%d entries: ", dir_u->entry_count); in direntry_print_vi()
[all …]
A Ddo_balan.c713 int entry_count; in balance_leaf_paste_right_shift_dirent() local
717 entry_count = ih_entry_count(item_head(tbS0, tb->item_pos)); in balance_leaf_paste_right_shift_dirent()
720 if (entry_count - tb->rbytes < tb->pos_in_item) { in balance_leaf_paste_right_shift_dirent()
723 RFALSE(tb->rbytes - 1 >= entry_count || !tb->insert_size[0], in balance_leaf_paste_right_shift_dirent()
735 paste_entry_position = tb->pos_in_item - entry_count + in balance_leaf_paste_right_shift_dirent()
1018 int entry_count = ih_entry_count(aux_ih); in balance_leaf_new_nodes_paste_dirent() local
1021 if (entry_count - tb->sbytes[i] < tb->pos_in_item && in balance_leaf_new_nodes_paste_dirent()
1022 tb->pos_in_item <= entry_count) { in balance_leaf_new_nodes_paste_dirent()
1027 RFALSE(tb->sbytes[i] - 1 >= entry_count, in balance_leaf_new_nodes_paste_dirent()
1029 tb->sbytes[i] - 1, entry_count); in balance_leaf_new_nodes_paste_dirent()
[all …]
/linux/drivers/scsi/
A Dqla1280.h563 uint8_t entry_count; /* Entry count. */ member
595 uint8_t entry_count; /* Entry count. */ member
616 uint8_t entry_count; /* Entry count. */ member
636 uint8_t entry_count; /* Entry count. */ member
661 uint8_t entry_count; /* Entry count. */ member
682 uint8_t entry_count; /* Entry count. */ member
710 uint8_t entry_count; /* Entry count. */ member
735 uint8_t entry_count; /* Entry count. */ member
761 uint8_t entry_count; /* Entry count. */ member
782 uint8_t entry_count; /* Entry count. */ member
[all …]
/linux/drivers/of/
A Dof_numa.c81 int entry_count; in of_numa_parse_distance_map_v1() local
92 entry_count = of_property_count_u32_elems(map, "distance-matrix"); in of_numa_parse_distance_map_v1()
93 if (entry_count <= 0) { in of_numa_parse_distance_map_v1()
98 for (i = 0; i + 2 < entry_count; i += 3) { in of_numa_parse_distance_map_v1()
/linux/kernel/
A Dasync.c81 static atomic_t entry_count; variable
142 atomic_dec(&entry_count); in async_run_entry_fn()
174 atomic_inc(&entry_count); in __async_schedule_node_domain()
214 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in async_schedule_node_domain()
267 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in async_schedule_dev_nocall()
/linux/drivers/net/dsa/sja1105/
A Dsja1105_vl.c352 if (table->entry_count) { in sja1105_init_virtual_links()
354 table->entry_count = 0; in sja1105_init_virtual_links()
359 if (table->entry_count) { in sja1105_init_virtual_links()
361 table->entry_count = 0; in sja1105_init_virtual_links()
366 if (table->entry_count) { in sja1105_init_virtual_links()
368 table->entry_count = 0; in sja1105_init_virtual_links()
373 if (table->entry_count) { in sja1105_init_virtual_links()
375 table->entry_count = 0; in sja1105_init_virtual_links()
459 table->entry_count = max_sharindx; in sja1105_init_virtual_links()
468 table->entry_count = max_sharindx; in sja1105_init_virtual_links()
[all …]
A Dsja1105_tas.c184 if (table->entry_count) { in sja1105_init_scheduling()
186 table->entry_count = 0; in sja1105_init_scheduling()
191 if (table->entry_count) { in sja1105_init_scheduling()
193 table->entry_count = 0; in sja1105_init_scheduling()
198 if (table->entry_count) { in sja1105_init_scheduling()
200 table->entry_count = 0; in sja1105_init_scheduling()
205 if (table->entry_count) { in sja1105_init_scheduling()
207 table->entry_count = 0; in sja1105_init_scheduling()
235 table->entry_count = num_entries; in sja1105_init_scheduling()
257 table->entry_count = SJA1105_MAX_SCHEDULE_PARAMS_COUNT; in sja1105_init_scheduling()
[all …]
A Dsja1105_main.c209 if (table->entry_count) { in sja1105_init_mac_settings()
211 table->entry_count = 0; in sja1105_init_mac_settings()
260 if (table->entry_count) { in sja1105_init_mii_settings()
262 table->entry_count = 0; in sja1105_init_mii_settings()
358 table->entry_count = 0; in sja1105_init_static_fdb()
369 table->entry_count = 1; in sja1105_init_static_fdb()
438 table->entry_count = 0; in sja1105_init_l2_lookup_params()
481 table->entry_count = 0; in sja1105_init_static_vlan()
489 table->entry_count = 1; in sja1105_init_static_vlan()
523 table->entry_count = 0; in sja1105_init_l2_forwarding()
[all …]
A Dsja1105_static_config.c1037 if (tables[BLK_IDX_RETAGGING].entry_count) in static_config_check_memory_size()
1054 if (tables[BLK_IDX_SCHEDULE].entry_count) { in sja1105_static_config_check_valid()
1135 if (!table->entry_count) in sja1105_static_config_pack()
1139 header.len = table->entry_count * in sja1105_static_config_pack()
1183 if (table->entry_count) in sja1105_static_config_get_length()
1909 if (config->tables[i].entry_count) { in sja1105_static_config_free()
1911 config->tables[i].entry_count = 0; in sja1105_static_config_free()
1921 if (i > table->entry_count) in sja1105_table_delete_entry()
1925 (table->entry_count - i) * entry_size); in sja1105_table_delete_entry()
1927 table->entry_count--; in sja1105_table_delete_entry()
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_fw.h440 uint8_t entry_count; /* Entry count. */ member
477 uint8_t entry_count; /* Entry count. */ member
518 uint8_t entry_count; /* Entry count. */ member
565 uint8_t entry_count; /* Entry count. */ member
604 uint8_t entry_count; /* Entry count. */ member
673 uint8_t entry_count; /* Entry count. */ member
1034 uint8_t entry_count; member
1758 uint8_t entry_count; member
1790 uint8_t entry_count; member
1817 uint8_t entry_count; member
[all …]
A Dqla_mr.h21 uint8_t entry_count; /* Entry count. */ member
56 uint8_t entry_count; /* Entry count. */ member
84 uint8_t entry_count; /* Entry count. */ member
94 uint8_t entry_count; /* Entry count. */ member
119 uint8_t entry_count; /* Entry count. */ member
139 uint8_t entry_count; /* Entry count. */ member
164 uint8_t entry_count; /* Entry count. */ member
A Dqla_nvme.h47 uint8_t entry_count; /* Entry count. */ member
86 uint8_t entry_count; member
114 uint8_t entry_count; member
A Dqla_target.h132 uint8_t entry_count; /* Entry count. */ member
204 uint8_t entry_count; /* Entry count. */ member
355 uint8_t entry_count; /* Entry count. */ member
399 uint8_t entry_count; /* Entry count. */ member
453 uint8_t entry_count; /* Entry count. */ member
501 uint8_t entry_count; /* Entry count. */ member
534 uint8_t entry_count; /* Entry count. */ member
571 uint8_t entry_count; /* Entry count. */ member
617 uint8_t entry_count; /* Entry count. */ member
647 uint8_t entry_count; /* Entry count. */ member
/linux/drivers/scsi/lpfc/
A Dlpfc_debugfs.h350 if (idx >= q->entry_count) in lpfc_debug_dump_qe()
391 int idx, entry_count; in lpfc_debug_dump_q() local
403 q->entry_size, q->entry_count, in lpfc_debug_dump_q()
405 entry_count = q->entry_count; in lpfc_debug_dump_q()
406 for (idx = 0; idx < entry_count; idx++) in lpfc_debug_dump_q()
/linux/drivers/gpu/drm/imagination/
A Dpvr_mmu.c867 u16 entry_count; member
1039 u16 entry_count; member
1215 u16 entry_count; member
1488 ++l2_table->entry_count; in pvr_page_table_l2_insert()
1519 --l2_table->entry_count; in pvr_page_table_l2_remove()
1549 ++op_ctx->curr_page.l1_table->entry_count; in pvr_page_table_l1_insert()
1582 if (--op_ctx->curr_page.l1_table->entry_count == 0) { in pvr_page_table_l1_remove()
1614 ++op_ctx->curr_page.l0_table->entry_count; in pvr_page_table_l0_insert()
1642 if (--op_ctx->curr_page.l0_table->entry_count == 0) { in pvr_page_table_l0_remove()
/linux/drivers/md/dm-vdo/indexer/
A Ddelta-index.h271 size_t __must_check uds_compute_delta_index_size(u32 entry_count, u32 mean_delta,
274 u32 uds_get_delta_index_page_count(u32 entry_count, u32 list_count, u32 mean_delta,

Completed in 100 milliseconds

1234