Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/clocksource/
Di8253.c38 static int old_count; in i8253_read() local
84 if (count > old_count && jifs == old_jifs) in i8253_read()
85 count = old_count; in i8253_read()
87 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.6.21/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.6.21/kernel/trace/
Dtrace_functions.c450 long old_count; in update_traceon_count() local
482 old_count = *count; in update_traceon_count()
484 if (old_count <= 0) in update_traceon_count()
501 *count = old_count - 1; in update_traceon_count()
588 long old_count; in ftrace_stacktrace_count() local
607 old_count = *count; in ftrace_stacktrace_count()
609 if (!old_count) in ftrace_stacktrace_count()
612 new_count = old_count - 1; in ftrace_stacktrace_count()
613 new_count = cmpxchg(count, old_count, new_count); in ftrace_stacktrace_count()
614 if (new_count == old_count) in ftrace_stacktrace_count()
[all …]
/linux-6.6.21/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.6.21/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c295 unsigned int old_count = apc->num_queues; in mana_set_channels() local
312 apc->num_queues = old_count; in mana_set_channels()
/linux-6.6.21/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.6.21/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.6.21/scripts/kconfig/
Dexpr.c254 int res, old_count; in expr_eq() local
281 old_count = trans_count; in expr_eq()
287 trans_count = old_count; in expr_eq()
/linux-6.6.21/include/trace/events/
Dbtrfs.h1967 __field( int, old_count )
1980 __entry->old_count = oldref->count;
1991 __entry->old_count, __entry->mod_count,
1992 __entry->old_count + __entry->mod_count,
/linux-6.6.21/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.6.21/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.6.21/mm/
Dhugetlb.c3492 unsigned long old_count = count; in set_max_huge_pages() local
3501 if (count < old_count) in set_max_huge_pages()