Home
last modified time | relevance | path

Searched refs:old_count (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/drivers/clocksource/
Di8253.c31 static int old_count; in i8253_read() local
77 if (count > old_count && jifs == old_jifs) in i8253_read()
78 count = old_count; in i8253_read()
80 old_count = count; in i8253_read()
Dtimer-loongson1-pwm.c164 static int old_count; in ls1x_clocksource_read() local
195 if (count < old_count && jifs == old_jifs) in ls1x_clocksource_read()
196 count = old_count; in ls1x_clocksource_read()
198 old_count = count; in ls1x_clocksource_read()
/linux-6.12.1/arch/mips/loongson2ef/common/cs5536/
Dcs5536_mfgpt.c146 static int old_count; in mfgpt_read() local
177 if (count < old_count && jifs == old_jifs) in mfgpt_read()
178 count = old_count; in mfgpt_read()
180 old_count = count; in mfgpt_read()
/linux-6.12.1/kernel/trace/
Dtrace_functions.c463 long old_count; in update_traceon_count() local
495 old_count = *count; in update_traceon_count()
497 if (old_count <= 0) in update_traceon_count()
514 *count = old_count - 1; in update_traceon_count()
601 long old_count; in ftrace_stacktrace_count() local
620 old_count = *count; in ftrace_stacktrace_count()
622 if (!old_count) in ftrace_stacktrace_count()
625 new_count = old_count - 1; in ftrace_stacktrace_count()
626 new_count = cmpxchg(count, old_count, new_count); in ftrace_stacktrace_count()
627 if (new_count == old_count) in ftrace_stacktrace_count()
[all …]
/linux-6.12.1/lib/
Dtest_parman.c96 unsigned long old_count; in test_parman_resize() local
104 old_count = test_parman->prio_array_limit; in test_parman_resize()
105 if (new_count > old_count) in test_parman_resize()
106 memset(&prio_array[old_count], 0, in test_parman_resize()
107 ITEM_PTRS_SIZE(new_count - old_count)); in test_parman_resize()
/linux-6.12.1/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c347 unsigned int old_count = apc->num_queues; in mana_set_channels() local
365 apc->num_queues = old_count; in mana_set_channels()
/linux-6.12.1/drivers/md/
Ddm-thin-metadata.c2031 dm_block_t old_count; in __resize_space_map() local
2033 r = dm_sm_get_nr_blocks(sm, &old_count); in __resize_space_map()
2037 if (new_count == old_count) in __resize_space_map()
2040 if (new_count < old_count) { in __resize_space_map()
2045 return dm_sm_extend(sm, new_count - old_count); in __resize_space_map()
/linux-6.12.1/scripts/kconfig/
Dexpr.c209 int old_count; in expr_eq() local
235 old_count = trans_count; in expr_eq()
239 trans_count = old_count; in expr_eq()
/linux-6.12.1/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c872 u32 count, old_count; in netxen_need_fw_reset() local
888 old_count = NXRD32(adapter, NETXEN_PEG_ALIVE_COUNTER); in netxen_need_fw_reset()
900 if (count != old_count) in netxen_need_fw_reset()
905 if (count == old_count) in netxen_need_fw_reset()
/linux-6.12.1/include/trace/events/
Dbtrfs.h1935 __field( int, old_count )
1948 __entry->old_count = oldref->count;
1959 __entry->old_count, __entry->mod_count,
1960 __entry->old_count + __entry->mod_count,
/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_nx2.c1390 uint32_t old_count = 0, count = 0; in qla8044_device_bootstrap() local
1398 old_count = qla8044_rd_direct(vha, in qla8044_device_bootstrap()
1406 if (count != old_count) { in qla8044_device_bootstrap()
Dqla_nx.c2817 uint32_t old_count, count; in qla82xx_device_bootstrap() local
2828 old_count = qla82xx_rd_32(ha, QLA82XX_PEG_ALIVE_COUNTER); in qla82xx_device_bootstrap()
2832 if (count != old_count) { in qla82xx_device_bootstrap()
/linux-6.12.1/drivers/scsi/qla4xxx/
Dql4_nx.c3250 uint32_t old_count, count; in qla4_8xxx_device_bootstrap() local
3260 old_count = qla4_8xxx_rd_direct(ha, QLA8XXX_PEG_ALIVE_COUNTER); in qla4_8xxx_device_bootstrap()
3265 if (count != old_count) { in qla4_8xxx_device_bootstrap()
/linux-6.12.1/mm/
Dhugetlb.c3630 unsigned long old_count = count; in set_max_huge_pages() local
3641 if (count < old_count) in set_max_huge_pages()