Home
last modified time | relevance | path

Searched refs:entry_count (Results 1 - 25 of 143) sorted by relevance

123456

/kernel/linux/linux-6.6/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()
192 efct_hw_new_cq_set(struct hw_eq *eqs[], struct hw_cq *cqs[], u32 num_cqs, u32 entry_count) efct_hw_new_cq_set() argument
244 efct_hw_new_mq(struct hw_cq *cq, u32 entry_count) efct_hw_new_mq() argument
275 efct_hw_new_wq(struct hw_cq *cq, u32 entry_count) efct_hw_new_wq() argument
310 efct_hw_new_rq_set(struct hw_cq *cqs[], struct hw_rq *rqs[], u32 num_rq_pairs, u32 entry_count) efct_hw_new_rq_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...]
/kernel/linux/linux-5.10/arch/x86/um/
H A Dldt.c62 if (!ldt->entry_count) in read_ldt()
69 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) { in read_ldt()
79 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount; in read_ldt()
155 if (ldt_info.entry_number >= ldt->entry_count && in write_ldt()
157 for (i=ldt->entry_count/LDT_ENTRIES_PER_PAGE; in write_ldt()
178 ldt->entry_count = (i + 1) * LDT_ENTRIES_PER_PAGE; in write_ldt()
181 if (ldt->entry_count <= ldt_info.entry_number) in write_ldt()
182 ldt->entry_count = ldt_info.entry_number + 1; in write_ldt()
184 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) in write_ldt()
326 new_mm->arch.ldt.entry_count in init_new_ldt()
[all...]
/kernel/linux/linux-6.6/arch/x86/um/
H A Dldt.c62 if (!ldt->entry_count) in read_ldt()
69 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) { in read_ldt()
79 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount; in read_ldt()
155 if (ldt_info.entry_number >= ldt->entry_count && in write_ldt()
157 for (i=ldt->entry_count/LDT_ENTRIES_PER_PAGE; in write_ldt()
178 ldt->entry_count = (i + 1) * LDT_ENTRIES_PER_PAGE; in write_ldt()
181 if (ldt->entry_count <= ldt_info.entry_number) in write_ldt()
182 ldt->entry_count = ldt_info.entry_number + 1; in write_ldt()
184 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) in write_ldt()
326 new_mm->arch.ldt.entry_count in init_new_ldt()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_kvdl.c53 unsigned int entry_count, u32 *p_entry_index) in mlxsw_sp_kvdl_alloc()
60 entry_count, p_entry_index); in mlxsw_sp_kvdl_alloc()
68 unsigned int entry_count, int entry_index) in mlxsw_sp_kvdl_free()
74 entry_count, entry_index); in mlxsw_sp_kvdl_free()
80 unsigned int entry_count, in mlxsw_sp_kvdl_alloc_count_query()
86 entry_count, p_alloc_count); in mlxsw_sp_kvdl_alloc_count_query()
51 mlxsw_sp_kvdl_alloc(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, u32 *p_entry_index) mlxsw_sp_kvdl_alloc() argument
66 mlxsw_sp_kvdl_free(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, int entry_index) mlxsw_sp_kvdl_free() argument
78 mlxsw_sp_kvdl_alloc_count_query(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, unsigned int *p_alloc_count) mlxsw_sp_kvdl_alloc_count_query() argument
H A Dspectrum2_kvdl.c146 unsigned int entry_count, in mlxsw_sp2_kvdl_alloc()
149 unsigned int size = entry_count * mlxsw_sp_kvdl_entry_size(type); in mlxsw_sp2_kvdl_alloc()
158 unsigned int entry_count, in mlxsw_sp2_kvdl_free()
161 unsigned int size = entry_count * mlxsw_sp_kvdl_entry_size(type); in mlxsw_sp2_kvdl_free()
171 unsigned int entry_count, in mlxsw_sp2_kvdl_alloc_size_query()
174 *p_alloc_count = entry_count; in mlxsw_sp2_kvdl_alloc_size_query()
144 mlxsw_sp2_kvdl_alloc(struct mlxsw_sp *mlxsw_sp, void *priv, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, u32 *p_entry_index) mlxsw_sp2_kvdl_alloc() argument
156 mlxsw_sp2_kvdl_free(struct mlxsw_sp *mlxsw_sp, void *priv, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, int entry_index) mlxsw_sp2_kvdl_free() argument
168 mlxsw_sp2_kvdl_alloc_size_query(struct mlxsw_sp *mlxsw_sp, void *priv, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, unsigned int *p_alloc_count) mlxsw_sp2_kvdl_alloc_size_query() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_kvdl.c53 unsigned int entry_count, u32 *p_entry_index) in mlxsw_sp_kvdl_alloc()
60 entry_count, p_entry_index); in mlxsw_sp_kvdl_alloc()
68 unsigned int entry_count, int entry_index) in mlxsw_sp_kvdl_free()
74 entry_count, entry_index); in mlxsw_sp_kvdl_free()
80 unsigned int entry_count, in mlxsw_sp_kvdl_alloc_count_query()
86 entry_count, p_alloc_count); in mlxsw_sp_kvdl_alloc_count_query()
51 mlxsw_sp_kvdl_alloc(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, u32 *p_entry_index) mlxsw_sp_kvdl_alloc() argument
66 mlxsw_sp_kvdl_free(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, int entry_index) mlxsw_sp_kvdl_free() argument
78 mlxsw_sp_kvdl_alloc_count_query(struct mlxsw_sp *mlxsw_sp, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, unsigned int *p_alloc_count) mlxsw_sp_kvdl_alloc_count_query() argument
H A Dspectrum2_kvdl.c147 unsigned int entry_count, in mlxsw_sp2_kvdl_alloc()
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()
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()
175 *p_alloc_count = entry_count; in mlxsw_sp2_kvdl_alloc_size_query()
145 mlxsw_sp2_kvdl_alloc(struct mlxsw_sp *mlxsw_sp, void *priv, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, u32 *p_entry_index) mlxsw_sp2_kvdl_alloc() argument
157 mlxsw_sp2_kvdl_free(struct mlxsw_sp *mlxsw_sp, void *priv, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, int entry_index) mlxsw_sp2_kvdl_free() argument
169 mlxsw_sp2_kvdl_alloc_size_query(struct mlxsw_sp *mlxsw_sp, void *priv, enum mlxsw_sp_kvdl_entry_type type, unsigned int entry_count, unsigned int *p_alloc_count) mlxsw_sp2_kvdl_alloc_size_query() argument
/kernel/linux/linux-5.10/fs/reiserfs/
H A Ditem_ops.c478 dir_u->entry_count = ih_entry_count(vi->vi_ih) + in direntry_create_vi()
482 for (i = 0; i < dir_u->entry_count; i++) { in direntry_create_vi()
490 size += (dir_u->entry_count * sizeof(short)); in direntry_create_vi()
502 for (k = 0; k < dir_u->entry_count; k++) in direntry_create_vi()
532 for (i = start_skip; i < dir_u->entry_count - end_skip; i++) { in direntry_check_left()
541 if (entries == dir_u->entry_count) { in direntry_check_left()
543 "free space %d, entry_count %d", free, in direntry_check_left()
544 dir_u->entry_count); in direntry_check_left()
561 for (i = dir_u->entry_count - 1; i >= 0; i--) { in direntry_check_right()
569 BUG_ON(entries == dir_u->entry_count); in direntry_check_right()
[all...]
/kernel/linux/linux-6.6/fs/reiserfs/
H A Ditem_ops.c478 dir_u->entry_count = ih_entry_count(vi->vi_ih) + in direntry_create_vi()
482 for (i = 0; i < dir_u->entry_count; i++) { in direntry_create_vi()
490 size += (dir_u->entry_count * sizeof(short)); in direntry_create_vi()
502 for (k = 0; k < dir_u->entry_count; k++) in direntry_create_vi()
532 for (i = start_skip; i < dir_u->entry_count - end_skip; i++) { in direntry_check_left()
541 if (entries == dir_u->entry_count) { in direntry_check_left()
543 "free space %d, entry_count %d", free, in direntry_check_left()
544 dir_u->entry_count); in direntry_check_left()
561 for (i = dir_u->entry_count - 1; i >= 0; i--) { in direntry_check_right()
569 BUG_ON(entries == dir_u->entry_count); in direntry_check_right()
[all...]
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c339 if (table->entry_count) { in sja1105_init_virtual_links()
341 table->entry_count = 0; in sja1105_init_virtual_links()
346 if (table->entry_count) { in sja1105_init_virtual_links()
348 table->entry_count = 0; in sja1105_init_virtual_links()
353 if (table->entry_count) { in sja1105_init_virtual_links()
355 table->entry_count = 0; in sja1105_init_virtual_links()
360 if (table->entry_count) { in sja1105_init_virtual_links()
362 table->entry_count = 0; in sja1105_init_virtual_links()
378 table->entry_count = num_virtual_links; in sja1105_init_virtual_links()
444 table->entry_count in sja1105_init_virtual_links()
[all...]
H A Dsja1105_tas.c183 if (table->entry_count) { in sja1105_init_scheduling()
185 table->entry_count = 0; in sja1105_init_scheduling()
190 if (table->entry_count) { in sja1105_init_scheduling()
192 table->entry_count = 0; in sja1105_init_scheduling()
197 if (table->entry_count) { in sja1105_init_scheduling()
199 table->entry_count = 0; in sja1105_init_scheduling()
204 if (table->entry_count) { in sja1105_init_scheduling()
206 table->entry_count = 0; in sja1105_init_scheduling()
234 table->entry_count = num_entries; in sja1105_init_scheduling()
247 table->entry_count in sja1105_init_scheduling()
[all...]
H A Dsja1105_static_config.c671 if (tables[BLK_IDX_VL_FORWARDING_PARAMS].entry_count) { in static_config_check_memory_size()
677 if (tables[BLK_IDX_RETAGGING].entry_count) in static_config_check_memory_size()
693 (tables[blk_idx].entry_count == tables[blk_idx].ops->max_entry_count) in sja1105_static_config_check_valid()
695 if (tables[BLK_IDX_SCHEDULE].entry_count) { in sja1105_static_config_check_valid()
700 if (tables[BLK_IDX_SCHEDULE_ENTRY_POINTS].entry_count == 0) in sja1105_static_config_check_valid()
709 if (tables[BLK_IDX_VL_LOOKUP].entry_count) { in sja1105_static_config_check_valid()
716 for (i = 0; i < tables[BLK_IDX_VL_LOOKUP].entry_count; i++) { in sja1105_static_config_check_valid()
723 if (tables[BLK_IDX_VL_POLICING].entry_count == 0 && in sja1105_static_config_check_valid()
727 if (tables[BLK_IDX_VL_FORWARDING].entry_count == 0 && in sja1105_static_config_check_valid()
731 if (tables[BLK_IDX_VL_FORWARDING_PARAMS].entry_count in sja1105_static_config_check_valid()
[all...]
/kernel/linux/linux-6.6/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 in sja1105_init_virtual_links()
[all...]
H A Dsja1105_main.c76 count = priv->static_config.tables[BLK_IDX_VLAN_LOOKUP].entry_count; in sja1105_is_vlan_configured()
207 if (table->entry_count) { in sja1105_init_mac_settings()
209 table->entry_count = 0; in sja1105_init_mac_settings()
217 table->entry_count = table->ops->max_entry_count; in sja1105_init_mac_settings()
258 if (table->entry_count) { in sja1105_init_mii_settings()
260 table->entry_count = 0; in sja1105_init_mii_settings()
269 table->entry_count = table->ops->max_entry_count; in sja1105_init_mii_settings()
354 if (table->entry_count) { in sja1105_init_static_fdb()
356 table->entry_count = 0; in sja1105_init_static_fdb()
367 table->entry_count 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 in sja1105_init_scheduling()
[all...]
/kernel/linux/linux-5.10/drivers/of/
H A Dof_numa.c80 int entry_count; in of_numa_parse_distance_map_v1() local
91 entry_count = of_property_count_u32_elems(map, "distance-matrix"); in of_numa_parse_distance_map_v1()
92 if (entry_count <= 0) { in of_numa_parse_distance_map_v1()
97 for (i = 0; i + 2 < entry_count; i += 3) { in of_numa_parse_distance_map_v1()
/kernel/linux/linux-6.6/drivers/of/
H A Dof_numa.c80 int entry_count; in of_numa_parse_distance_map_v1() local
91 entry_count = of_property_count_u32_elems(map, "distance-matrix"); in of_numa_parse_distance_map_v1()
92 if (entry_count <= 0) { in of_numa_parse_distance_map_v1()
97 for (i = 0; i + 2 < entry_count; i += 3) { in of_numa_parse_distance_map_v1()
/kernel/linux/linux-5.10/drivers/scsi/
H A Dqla1280.h510 uint8_t entry_count; /* Entry count. */ member
538 uint8_t entry_count; /* Entry count. */ member
564 uint8_t entry_count; /* Entry count. */ member
596 uint8_t entry_count; /* Entry count. */ member
617 uint8_t entry_count; /* Entry count. */ member
637 uint8_t entry_count; /* Entry count. */ member
662 uint8_t entry_count; /* Entry count. */ member
683 uint8_t entry_count; /* Entry count. */ member
711 uint8_t entry_count; /* Entry count. */ member
736 uint8_t entry_count; /* Entr member
762 uint8_t entry_count; /* Entry count. */ global() member
783 uint8_t entry_count; /* Entry count. */ global() member
806 uint8_t entry_count; /* Entry count. */ global() member
839 uint8_t entry_count; /* Entry count. */ global() member
869 uint8_t entry_count; /* Entry count. */ global() member
899 uint8_t entry_count; /* Entry count. */ global() member
[all...]
/kernel/linux/linux-6.6/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; /* Entr member
761 uint8_t entry_count; /* Entry count. */ global() member
782 uint8_t entry_count; /* Entry count. */ global() member
805 uint8_t entry_count; /* Entry count. */ global() member
838 uint8_t entry_count; /* Entry count. */ global() member
868 uint8_t entry_count; /* Entry count. */ global() member
898 uint8_t entry_count; /* Entry count. */ global() member
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dasync.c79 static atomic_t entry_count; variable
140 atomic_dec(&entry_count); in async_run_entry_fn()
172 atomic_inc(&entry_count); in __async_schedule_node_domain()
212 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in async_schedule_node_domain()
265 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in async_schedule_dev_nocall()
/kernel/linux/linux-6.6/kernel/
H A Dasync.c79 static atomic_t entry_count; variable
140 atomic_dec(&entry_count); in async_run_entry_fn()
172 atomic_inc(&entry_count); in __async_schedule_node_domain()
212 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in async_schedule_node_domain()
265 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in async_schedule_dev_nocall()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_nvme.h42 uint8_t entry_count; /* Entry count. */ member
78 uint8_t entry_count; member
106 uint8_t entry_count; member
H 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
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dqla_nvme.h47 uint8_t entry_count; /* Entry count. */ member
86 uint8_t entry_count; member
114 uint8_t entry_count; member

Completed in 24 milliseconds

123456