Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/clocksource/
A 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.3-rc2/arch/mips/loongson2ef/common/cs5536/
A 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.3-rc2/kernel/trace/
A 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.3-rc2/arch/mips/loongson32/common/
A 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.3-rc2/lib/
A 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.3-rc2/drivers/net/ethernet/microsoft/mana/
A 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.3-rc2/drivers/md/
A Ddm-thin-metadata.c2035 dm_block_t old_count; in __resize_space_map() local
2037 r = dm_sm_get_nr_blocks(sm, &old_count); in __resize_space_map()
2041 if (new_count == old_count) in __resize_space_map()
2044 if (new_count < old_count) { in __resize_space_map()
2049 return dm_sm_extend(sm, new_count - old_count); in __resize_space_map()
/linux-6.3-rc2/drivers/net/ethernet/qlogic/netxen/
A 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.3-rc2/scripts/kconfig/
A 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.3-rc2/include/trace/events/
A Dbtrfs.h1939 __field( int, old_count )
1952 __entry->old_count = oldref->count;
1963 __entry->old_count, __entry->mod_count,
1964 __entry->old_count + __entry->mod_count,
/linux-6.3-rc2/drivers/scsi/qla2xxx/
A 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()
A 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.3-rc2/drivers/scsi/qla4xxx/
A 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.3-rc2/mm/
A Dhugetlb.c3467 unsigned long old_count = count; in set_max_huge_pages() local
3476 if (count < old_count) in set_max_huge_pages()

Completed in 59 milliseconds