Home
last modified time | relevance | path

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

123

/linux/drivers/scsi/elx/efct/
H A Defct_hw_queues.c128 efct_hw_new_eq(struct efct_hw *hw, u32 entry_count) in efct_hw_new_eq() argument
137 eq->entry_count = entry_count; in efct_hw_new_eq()
142 if (sli_queue_alloc(&hw->sli, SLI4_QTYPE_EQ, eq->queue, entry_count, in efct_hw_new_eq()
154 eq->queue->id, eq->entry_count); in efct_hw_new_eq()
159 efct_hw_new_cq(struct hw_eq *eq, u32 entry_count) in efct_hw_new_cq() argument
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()
187 cq->queue->id, cq->entry_count); in efct_hw_new_cq()
193 u32 num_cqs, u32 entry_count) in efct_hw_new_cq_set() argument
[all …]
H 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/md/dm-vdo/
H A Dencodings.h315 journal_entry_count_t entry_count; /* Number of entries written */ member
342 __le16 entry_count; member
365 u8 entry_count; member
394 journal_entry_count_t entry_count; member
484 journal_entry_count_t entry_count; member
505 __le16 entry_count; member
966 return sector->entry_count <= RECOVERY_JOURNAL_ENTRIES_PER_SECTOR; in vdo_is_valid_recovery_journal_sector()
969 return sector->entry_count <= RECOVERY_JOURNAL_1_ENTRIES_IN_LAST_SECTOR; in vdo_is_valid_recovery_journal_sector()
971 return sector->entry_count <= RECOVERY_JOURNAL_1_ENTRIES_PER_SECTOR; in vdo_is_valid_recovery_journal_sector()
1026 .entry_count = __cpu_to_le16(header->entry_count), in vdo_pack_recovery_block_header()
[all …]
H A Drepair.c49 journal_entry_count_t entry_count; member
91 size_t entry_count; member
585 repair->leaf_pages = vdo_compute_block_map_page_count(map->entry_count); in rebuild_from_leaves()
587 .slot = map->entry_count % VDO_BLOCK_MAP_ENTRIES_PER_PAGE, in rebuild_from_leaves()
660 if (++point->entry_count < RECOVERY_JOURNAL_ENTRIES_PER_SECTOR) in increment_recovery_point()
663 point->entry_count = 0; in increment_recovery_point()
711 (first->entry_count < second->entry_count)); in before_recovery_point()
741 return vdo_unpack_recovery_journal_entry(&sector->entries[point->entry_count]); in get_entry()
858 if (repair->entry_count == 0) { in vdo_replay_into_slab_journals()
869 .entry_count = 0, in vdo_replay_into_slab_journals()
[all …]
H A Drecovery-journal.c235 return (block->entry_count == 0); in is_block_empty()
246 return ((block == NULL) || (block->journal->entries_per_block == block->entry_count)); in is_block_full()
934 block->sector->entry_count = 0; in set_active_sector()
969 block->entry_count = 0; in advance_tail()
1097 .entry_count = block->entry_count, in assign_entry()
1107 block->entry_count++; in assign_entry()
1155 for (i = block->entry_count; i < journal->entries_per_block; i++) in recycle_journal_block()
1162 if (block->entry_count > 0) in recycle_journal_block()
1188 journal->commit_point.entry_count, in continue_committed_waiter()
1190 data_vio->recovery_journal_point.entry_count); in continue_committed_waiter()
[all …]
H A Dslab-depot.c92 header->entry_count = 0; in initialize_tail_block()
117 journal_entry_count_t count = journal->tail_header.entry_count; in block_is_full()
139 (slab->journal.tail_header.entry_count == 0)); in is_slab_journal_blank()
666 VDO_ASSERT_LOG_ONLY(journal->tail_header.entry_count == 0, in reopen_slab_journal()
751 int unused_entries = journal->entries_per_block - header->entry_count; in write_slab_journal_block()
807 if ((journal->tail_header.entry_count == 0) && must_make_entries_to_flush(journal)) { in commit_tail()
817 (journal->tail_header.entry_count == 0)) { in commit_tail()
852 journal_entry_count_t entry_number = tail_header->entry_count++; in encode_slab_journal_entry()
885 recovery_point.entry_count *= 2; in expand_journal_point()
887 recovery_point.entry_count++; in expand_journal_point()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H 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()
H 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()
H 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/scsi/
H A Dqla1280.h509 uint8_t entry_count; /* Entry count. */ member
537 uint8_t entry_count; /* Entry count. */ member
563 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
[all …]
/linux/drivers/net/dsa/sja1105/
H 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()
391 table->entry_count = num_virtual_links; in sja1105_init_virtual_links()
459 table->entry_count = max_sharindx; in sja1105_init_virtual_links()
[all …]
H A Dsja1105_main.c77 count = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entry_count; in sja1105_is_vlan_configured()
208 if (table->entry_count) { in sja1105_init_mac_settings()
210 table->entry_count = 0; in sja1105_init_mac_settings()
218 table->entry_count = table->ops->max_entry_count; in sja1105_init_mac_settings()
259 if (table->entry_count) { in sja1105_init_mii_settings()
261 table->entry_count = 0; in sja1105_init_mii_settings()
270 table->entry_count = table->ops->max_entry_count; in sja1105_init_mii_settings()
355 if (table->entry_count) { in sja1105_init_static_fdb()
357 table->entry_count = 0; in sja1105_init_static_fdb()
368 table->entry_count = 1; in sja1105_init_static_fdb()
[all …]
H 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()
248 table->entry_count = SJA1105_MAX_SCHEDULE_ENTRY_POINTS_PARAMS_COUNT; in sja1105_init_scheduling()
[all …]
H A Dsja1105_static_config.c1027 if (tables[BLK_IDX_VL_FORWARDING_PARAMS].entry_count) { in static_config_check_memory_size()
1033 if (tables[BLK_IDX_RETAGGING].entry_count) in static_config_check_memory_size()
1048 (tables[blk_idx].entry_count == tables[blk_idx].ops->max_entry_count) in sja1105_static_config_check_valid()
1050 if (tables[BLK_IDX_SCHEDULE].entry_count) { in sja1105_static_config_check_valid()
1054 if (tables[BLK_IDX_SCHEDULE_ENTRY_POINTS].entry_count == 0) in sja1105_static_config_check_valid()
1063 if (tables[BLK_IDX_VL_LOOKUP].entry_count) { in sja1105_static_config_check_valid()
1070 for (i = 0; i < tables[BLK_IDX_VL_LOOKUP].entry_count; i++) { in sja1105_static_config_check_valid()
1077 if (tables[BLK_IDX_VL_POLICING].entry_count == 0 && in sja1105_static_config_check_valid()
1081 if (tables[BLK_IDX_VL_FORWARDING].entry_count == 0 && in sja1105_static_config_check_valid()
1085 if (tables[BLK_IDX_VL_FORWARDING_PARAMS].entry_count == 0 && in sja1105_static_config_check_valid()
[all …]
/linux/drivers/scsi/qla2xxx/
H 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
702 uint8_t entry_count; /* Entry count. */ member
738 uint8_t entry_count; /* Entry count. */ member
780 uint8_t entry_count; /* Entry count. */ member
837 uint8_t entry_count; /* Entry count. */ member
[all …]
H A Dqla_nvme.h47 uint8_t entry_count; /* Entry count. */ member
86 uint8_t entry_count; member
114 uint8_t entry_count; member
H A Dqla_target.h132 uint8_t entry_count; /* Entry count. */ member
205 uint8_t entry_count; /* Entry count. */ member
356 uint8_t entry_count; /* Entry count. */ member
400 uint8_t entry_count; /* Entry count. */ member
454 uint8_t entry_count; /* Entry count. */ member
502 uint8_t entry_count; /* Entry count. */ member
535 uint8_t entry_count; /* Entry count. */ member
572 uint8_t entry_count; /* Entry count. */ member
618 uint8_t entry_count; /* Entry count. */ member
648 uint8_t entry_count; /* Entry count. */ member
H A Dqla_iocb.c419 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla2x00_start_scsi()
1654 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla24xx_start_scsi()
1856 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla24xx_dif_start_scsi()
2021 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla2xxx_start_scsi_mq()
2239 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla2xxx_dif_start_scsi_mq()
2351 wrt_reg_byte((u8 __force __iomem *)&pkt->entry_count, req_cnt); in __qla2x00_alloc_iocbs()
2354 pkt->entry_count = req_cnt; in __qla2x00_alloc_iocbs()
2554 tsk->entry_count = 1; in qla24xx_tm_iocb()
2802 els_iocb->entry_count = 1; in qla24xx_els_logo_iocb()
3147 els_iocb->entry_count = 1; in qla_els_pt_iocb()
[all …]
H A Dqla_def.h1961 uint8_t entry_count; /* Entry count. */ member
1975 uint8_t entry_count; /* Entry count. */ member
2004 uint8_t entry_count; /* Entry count. */ member
2033 uint8_t entry_count; /* Entry count. */ member
2054 uint8_t entry_count; /* Entry count. */ member
2067 uint8_t entry_count; /* Entry count. */ member
2153 uint8_t entry_count; /* Entry count. */ member
2250 uint8_t entry_count; /* Entry count. */ member
2263 uint8_t entry_count; /* Entry count. */ member
2276 uint8_t entry_count; /* Entry count. */ member
[all …]
/linux/kernel/
H 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/of/
H 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/drivers/soc/qcom/
H A Dqcom_stats.c193 u32 entry_count; in qcom_ddr_stats_show() local
196 entry_count = readl_relaxed(reg + DDR_STATS_NUM_MODES_ADDR); in qcom_ddr_stats_show()
197 if (entry_count > DDR_STATS_MAX_NUM_MODES) in qcom_ddr_stats_show()
217 memcpy_fromio(data, reg, sizeof(struct ddr_stats_entry) * entry_count); in qcom_ddr_stats_show()
219 for (i = 0; i < entry_count; i++) in qcom_ddr_stats_show()
/linux/lib/tests/
H A Dtest_fprobe.c16 static u32 entry_only_count, entry_count, exit_count; variable
216 entry_count++; in fprobe_entry_multi_handler()
239 entry_only_count = entry_count = exit_count = 0; in check_fprobe_multi()
246 KUNIT_EXPECT_EQ(test, 1, entry_count); in check_fprobe_multi()
/linux/drivers/md/dm-vdo/indexer/
H 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,
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_trace_buffer.h63 uint32_t entry_count; member

123