Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/arch/x86/um/
Dldt.c60 if (!ldt->entry_count) in read_ldt()
67 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) { in read_ldt()
77 for (i=0; i<ldt->entry_count/LDT_ENTRIES_PER_PAGE && bytecount; in read_ldt()
153 if (ldt_info.entry_number >= ldt->entry_count && in write_ldt()
155 for (i=ldt->entry_count/LDT_ENTRIES_PER_PAGE; in write_ldt()
176 ldt->entry_count = (i + 1) * LDT_ENTRIES_PER_PAGE; in write_ldt()
179 if (ldt->entry_count <= ldt_info.entry_number) in write_ldt()
180 ldt->entry_count = ldt_info.entry_number + 1; in write_ldt()
182 if (ldt->entry_count <= LDT_DIRECT_ENTRIES) in write_ldt()
324 new_mm->arch.ldt.entry_count = 0; in init_new_ldt()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
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()
Dspectrum2_kvdl.c146 unsigned int entry_count, in mlxsw_sp2_kvdl_alloc() argument
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() argument
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() argument
174 *p_alloc_count = entry_count; in mlxsw_sp2_kvdl_alloc_size_query()
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()
Dspectrum.h718 unsigned int entry_count, u32 *p_entry_index);
721 unsigned int entry_count, int entry_index);
724 unsigned int entry_count,
733 unsigned int entry_count, u32 *p_entry_index);
736 unsigned int entry_count, int entry_index);
739 unsigned int entry_count,
/kernel/linux/linux-5.10/fs/reiserfs/
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()
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()
573 && entries > dir_u->entry_count - 2) in direntry_check_right()
[all …]
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()
725 "rbytes=%d, entry_count=%d", tb->rbytes, entry_count); 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()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
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; /* Entry count. */ member
[all …]
/kernel/linux/linux-5.10/drivers/of/
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/net/dsa/sja1105/
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 = max_sharindx; in sja1105_init_virtual_links()
[all …]
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 = SJA1105_MAX_SCHEDULE_ENTRY_POINTS_PARAMS_COUNT; in sja1105_init_scheduling()
[all …]
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 == 0 && in sja1105_static_config_check_valid()
[all …]
Dsja1105_main.c114 if (table->entry_count) { in sja1105_init_mac_settings()
116 table->entry_count = 0; in sja1105_init_mac_settings()
124 table->entry_count = SJA1105_NUM_PORTS; in sja1105_init_mac_settings()
169 if (table->entry_count) { in sja1105_init_mii_settings()
171 table->entry_count = 0; in sja1105_init_mii_settings()
180 table->entry_count = SJA1105_MAX_XMII_PARAMS_COUNT; in sja1105_init_mii_settings()
233 if (table->entry_count) { in sja1105_init_static_fdb()
235 table->entry_count = 0; in sja1105_init_static_fdb()
279 if (table->entry_count) { in sja1105_init_l2_lookup_params()
281 table->entry_count = 0; in sja1105_init_l2_lookup_params()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_fw.h439 uint8_t entry_count; /* Entry count. */ member
476 uint8_t entry_count; /* Entry count. */ member
514 uint8_t entry_count; /* Entry count. */ member
561 uint8_t entry_count; /* Entry count. */ member
600 uint8_t entry_count; /* Entry count. */ member
668 uint8_t entry_count; /* Entry count. */ member
697 uint8_t entry_count; /* Entry count. */ member
733 uint8_t entry_count; /* Entry count. */ member
775 uint8_t entry_count; /* Entry count. */ member
831 uint8_t entry_count; /* Entry count. */ member
[all …]
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
Dqla_nvme.h42 uint8_t entry_count; /* Entry count. */ member
78 uint8_t entry_count; member
106 uint8_t entry_count; member
Dqla_target.h132 uint8_t entry_count; /* Entry count. */ member
203 uint8_t entry_count; /* Entry count. */ member
350 uint8_t entry_count; /* Entry count. */ member
394 uint8_t entry_count; /* Entry count. */ member
439 uint8_t entry_count; /* Entry count. */ member
487 uint8_t entry_count; /* Entry count. */ member
520 uint8_t entry_count; /* Entry count. */ member
557 uint8_t entry_count; /* Entry count. */ member
603 uint8_t entry_count; /* Entry count. */ member
633 uint8_t entry_count; /* Entry count. */ member
Dqla_iocb.c416 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla2x00_start_scsi()
1695 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla24xx_start_scsi()
1883 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla24xx_dif_start_scsi()
2029 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla2xxx_start_scsi_mq()
2232 cmd_pkt->entry_count = (uint8_t)req_cnt; in qla2xxx_dif_start_scsi_mq()
2337 wrt_reg_byte((u8 __force __iomem *)&pkt->entry_count, req_cnt); in __qla2x00_alloc_iocbs()
2340 pkt->entry_count = req_cnt; in __qla2x00_alloc_iocbs()
2531 tsk->entry_count = 1; in qla24xx_tm_iocb()
2716 els_iocb->entry_count = 1; in qla24xx_els_logo_iocb()
3060 els_iocb->entry_count = 1; in qla24xx_els_iocb()
[all …]
Dqla_def.h1845 uint8_t entry_count; /* Entry count. */ member
1859 uint8_t entry_count; /* Entry count. */ member
1888 uint8_t entry_count; /* Entry count. */ member
1917 uint8_t entry_count; /* Entry count. */ member
1938 uint8_t entry_count; /* Entry count. */ member
1951 uint8_t entry_count; /* Entry count. */ member
2037 uint8_t entry_count; /* Entry count. */ member
2128 uint8_t entry_count; /* Entry count. */ member
2141 uint8_t entry_count; /* Entry count. */ member
2154 uint8_t entry_count; /* Entry count. */ member
[all …]
/kernel/linux/linux-5.10/kernel/
Dasync.c79 static atomic_t entry_count; variable
140 atomic_dec(&entry_count); in async_run_entry_fn()
179 if (!entry || atomic_read(&entry_count) > MAX_WORK) { in async_schedule_node_domain()
205 atomic_inc(&entry_count); in async_schedule_node_domain()
/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_debugfs.h341 if (idx >= q->entry_count) in lpfc_debug_dump_qe()
382 int idx, entry_count; in lpfc_debug_dump_q() local
394 q->entry_size, q->entry_count, in lpfc_debug_dump_q()
396 entry_count = q->entry_count; in lpfc_debug_dump_q()
397 for (idx = 0; idx < entry_count; idx++) in lpfc_debug_dump_q()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Desi.c66 for (i = 0; i < systab->entry_count; i++) { in esi_init()
102 for (i = 0; i < esi_systab->entry_count; i++) { in ia64_esi_call()
154 for (i = 0; i < esi_systab->entry_count; i++) { in ia64_esi_call_phys()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_trace_buffer.h63 uint32_t entry_count; member
/kernel/linux/linux-5.10/arch/x86/um/asm/
Dmm_context.h29 int entry_count; member
/kernel/linux/linux-5.10/drivers/acpi/apei/
Deinj.c258 if (trigger_tab->entry_count != in einj_check_trigger_header()
274 for (i = 0; i < trigger_tab->entry_count; i++) { in einj_get_trigger_parameter_region()
320 if (!trigger_tab->entry_count) in __einj_error_trigger()
345 trigger_entry, trigger_tab->entry_count); in __einj_error_trigger()

123