Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/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.1.9/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.1.9/arch/mips/loongson32/common/
Dtime.c67 static int old_count; in ls1x_clocksource_read() local
98 if (count < old_count && jifs == old_jifs) in ls1x_clocksource_read()
99 count = old_count; in ls1x_clocksource_read()
101 old_count = count; in ls1x_clocksource_read()
/linux-6.1.9/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.1.9/drivers/net/ethernet/microsoft/mana/
Dmana_ethtool.c232 unsigned int old_count = apc->num_queues; in mana_set_channels() local
249 apc->num_queues = old_count; in mana_set_channels()
/linux-6.1.9/drivers/md/
Ddm-thin-metadata.c2029 dm_block_t old_count; in __resize_space_map() local
2031 r = dm_sm_get_nr_blocks(sm, &old_count); in __resize_space_map()
2035 if (new_count == old_count) in __resize_space_map()
2038 if (new_count < old_count) { in __resize_space_map()
2043 return dm_sm_extend(sm, new_count - old_count); in __resize_space_map()
/linux-6.1.9/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.1.9/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.1.9/include/trace/events/
Dbtrfs.h1858 __field( int, old_count )
1871 __entry->old_count = oldref->count;
1882 __entry->old_count, __entry->mod_count,
1883 __entry->old_count + __entry->mod_count,
/linux-6.1.9/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.1.9/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.1.9/mm/
Dhugetlb.c3457 unsigned long old_count = count; in set_max_huge_pages() local
3466 if (count < old_count) in set_max_huge_pages()