Home
last modified time | relevance | path

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

12

/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.c1244 rq->entry_count, in efct_hw_rx_allocate()
1254 i, rq->hdr->id, rq->entry_count, hdr_size); in efct_hw_rx_allocate()
1260 rq->entry_count, in efct_hw_rx_allocate()
1269 i, rq->data->id, rq->entry_count, payload_size); in efct_hw_rx_allocate()
1288 count += hw->hw_rq[i]->entry_count; in efct_hw_rx_post()
1302 for (i = 0; i < rq->entry_count - 1; i++) { in efct_hw_rx_post()
1334 rq->entry_count); in efct_hw_rx_free()
1337 rq->entry_count); in efct_hw_rx_free()
/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()
H A Dspectrum.h803 unsigned int entry_count, u32 *p_entry_index);
806 unsigned int entry_count, int entry_index);
809 unsigned int entry_count,
818 unsigned int entry_count, u32 *p_entry_index);
821 unsigned int entry_count, int entry_index);
824 unsigned int entry_count,
/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/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/net/dsa/sja1105/
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 …]
H A Dsja1105_devlink.c29 table->entry_count = table->ops->max_entry_count; in sja1105_static_config_get_max_size()
/linux/drivers/scsi/qla2xxx/
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; /* Entr member
[all...]
H A Dqla_edif.h61 uint8_t entry_count; /* Entry count. */ member
H A Dqla_tmpl.h18 __le32 entry_count; member
/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/gpu/drm/imagination/
H A Dpvr_mmu.c874 u16 entry_count; member
1046 u16 entry_count; member
1222 u16 entry_count; member
1495 ++l2_table->entry_count; in pvr_page_table_l2_insert()
1526 --l2_table->entry_count; in pvr_page_table_l2_remove()
1556 ++op_ctx->curr_page.l1_table->entry_count; in pvr_page_table_l1_insert()
1589 if (--op_ctx->curr_page.l1_table->entry_count == 0) { in pvr_page_table_l1_remove()
1621 ++op_ctx->curr_page.l0_table->entry_count; in pvr_page_table_l0_insert()
1649 if (--op_ctx->curr_page.l0_table->entry_count == 0) { in pvr_page_table_l0_remove()
/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
/linux/Documentation/gpu/nova/core/
H A Dfwsec.rst57 | | | - entry_count: N | | |
117 | | | | - entry_count: N | | | |
/linux/drivers/acpi/apei/
H A Deinj-core.c376 if (trigger_tab->entry_count != in einj_check_trigger_header()
392 for (i = 0; i < trigger_tab->entry_count; i++) { in einj_get_trigger_parameter_region()
451 if (!trigger_tab.entry_count) in __einj_error_trigger()
480 trigger_entry, trigger_tab.entry_count); in __einj_error_trigger()
/linux/drivers/md/dm-vdo/
H A Drecovery-journal.h134 journal_entry_count_t entry_count; member
/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c277 idx = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_wq_put()
388 if (((q->host_index + 1) % q->entry_count) == q->hba_index) in lpfc_sli4_mq_put()
395 q->host_index = ((q->host_index + 1) % q->entry_count); in lpfc_sli4_mq_put()
424 q->hba_index = ((q->hba_index + 1) % q->entry_count); in lpfc_sli4_mq_release()
576 eq->host_index = ((eq->host_index + 1) % eq->entry_count); in __lpfc_sli4_consume_eqe()
711 cq->host_index = ((cq->host_index + 1) % cq->entry_count); in __lpfc_sli4_consume_cqe()
814 if (((hq_put_index + 1) % hq->entry_count) == hq->hba_index) in lpfc_sli4_rq_put()
820 hq->host_index = ((hq_put_index + 1) % hq->entry_count); in lpfc_sli4_rq_put()
821 dq->host_index = ((dq_put_index + 1) % dq->entry_count); in lpfc_sli4_rq_put()
863 hq->hba_index = ((hq->hba_index + 1) % hq->entry_count); in lpfc_sli4_rq_release()
15867 lpfc_sli4_queue_alloc(struct lpfc_hba * phba,uint32_t page_size,uint32_t entry_size,uint32_t entry_count,int cpu) lpfc_sli4_queue_alloc() argument
[all...]
H A Dlpfc_sli.h321 uint32_t entry_count; /* max # of entries in HBQ */ member
/linux/fs/f2fs/
H A Dcheckpoint.c1023 unsigned int entry_count; in f2fs_recover_orphan_inodes()
1033 entry_count = le32_to_cpu(footer->entry_count); in f2fs_recover_orphan_inodes()
1034 if (entry_count > F2FS_ORPHANS_PER_BLOCK(sbi)) { in f2fs_recover_orphan_inodes()
1036 entry_count); in f2fs_recover_orphan_inodes()
1044 for (j = 0; j < entry_count; j++) { in f2fs_recover_orphan_inodes()
1103 footer->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
1115 footer->entry_count = cpu_to_le32(nentries); in write_orphan_inodes()
1045 unsigned int entry_count; f2fs_recover_orphan_inodes() local
/linux/drivers/net/ethernet/mscc/
H A Docelot_vcap.c62 if ((sel & VCAP_SEL_ENTRY) && ix >= vcap->entry_count) in vcap_cmd()
85 vcap_cmd(ocelot, vcap, vcap->entry_count - row - 1, cmd, sel); in vcap_row_cmd()
1323 ocelot_target_write(ocelot, vcap->target, vcap->entry_count, in ocelot_vcap_init_one()
1356 vcap->entry_count = ocelot_target_read(ocelot, vcap->target, in ocelot_vcap_detect_constants()
1389 vcap->action_count = vcap->entry_count + num_default_actions; in ocelot_vcap_detect_constants()

12