Searched refs:old_time (Results 1 - 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | server_writeback.c | 39 unsigned long old_time, now; in hmdfs_server_check_writeback() local 42 old_time = hswb->last_reset_time; in hmdfs_server_check_writeback() 45 if (time_after(now, old_time + HZ) && in hmdfs_server_check_writeback() 46 cmpxchg(&hswb->last_reset_time, old_time, now) == old_time) { in hmdfs_server_check_writeback() 61 writepage_speed = dirty_nr_pages / ((now - old_time) / HZ); in hmdfs_server_check_writeback()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | server_writeback.c | 39 unsigned long old_time, now; in hmdfs_server_check_writeback() local 42 old_time = hswb->last_reset_time; in hmdfs_server_check_writeback() 45 if (time_after(now, old_time + HZ) && in hmdfs_server_check_writeback() 46 cmpxchg(&hswb->last_reset_time, old_time, now) == old_time) { in hmdfs_server_check_writeback() 61 writepage_speed = dirty_nr_pages / ((now - old_time) / HZ); in hmdfs_server_check_writeback()
|
/kernel/linux/linux-5.10/fs/sysv/ |
H A D | inode.c | 38 u32 time = (u32)ktime_get_real_seconds(), old_time; in sysv_sync_fs() local 47 old_time = fs32_to_cpu(sbi, *sbi->s_sb_time); in sysv_sync_fs() 49 if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38u - old_time)) in sysv_sync_fs()
|
/kernel/linux/linux-6.6/fs/sysv/ |
H A D | inode.c | 38 u32 time = (u32)ktime_get_real_seconds(), old_time; in sysv_sync_fs() local 47 old_time = fs32_to_cpu(sbi, *sbi->s_sb_time); in sysv_sync_fs() 49 if (*sbi->s_sb_state == cpu_to_fs32(sbi, 0x7c269d38u - old_time)) in sysv_sync_fs()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.h | 90 u64 old_time; member
|
H A D | bnxt_ptp.c | 107 WRITE_ONCE(ptp->old_time, ptp->current_time); in bnxt_ptp_get_current_time() 167 WRITE_ONCE(ptp->old_time, ptp->current_time); in bnxt_ptp_update_current_time() 749 BNXT_READ_TIME64(ptp, time, ptp->old_time); in bnxt_get_rx_ts_p5() 972 WRITE_ONCE(ptp->old_time, ptp->current_time); in bnxt_ptp_init()
|
/kernel/linux/linux-6.6/include/linux/iio/ |
H A D | iio-gts-helper.h | 197 int old_time, int new_time,
|
/kernel/liteos_a/fs/fat/os_adapt/ |
H A D | fatfs.c | 2043 DWORD old_time = combine_time(&(df[0].fno)); in get_oldest_time() local 2048 if (time < old_time) { in get_oldest_time() 2049 old_time = time; in get_oldest_time() 2053 *oldest_time = old_time; in get_oldest_time() 2064 DWORD old_time = -1; in fscheck() local 2076 if (time < old_time) { in fscheck() 2077 old_time = time; in fscheck() 2087 if (time < old_time) { in fscheck() 2090 index = get_oldest_time(df, &old_time, CHECK_FILE_NUM); in fscheck()
|
/kernel/linux/linux-6.6/drivers/iio/ |
H A D | industrialio-gts-helper.c | 1036 * @old_time: Selector corresponding previously set time 1055 int old_time, int new_time, in iio_gts_find_new_gain_by_old_gain_time() 1068 ret = iio_gts_get_scale_linear(gts, old_gain, old_time, &scale); in iio_gts_find_new_gain_by_old_gain_time() 1054 iio_gts_find_new_gain_by_old_gain_time(struct iio_gts *gts, int old_gain, int old_time, int new_time, int *new_gain) iio_gts_find_new_gain_by_old_gain_time() argument
|
Completed in 9 milliseconds