| /linux/drivers/md/persistent-data/ |
| H A D | dm-transaction-manager.c | 106 static int is_shadow(struct dm_transaction_manager *tm, dm_block_t b) in is_shadow() 135 static void insert_shadow(struct dm_transaction_manager *tm, dm_block_t b) in insert_shadow() 164 static void wipe_shadow_table(struct dm_transaction_manager *tm) in wipe_shadow_table() 186 struct dm_transaction_manager *tm; in dm_tm_create() local 208 struct dm_transaction_manager *tm; in dm_tm_create_non_blocking_clone() local 220 void dm_tm_destroy(struct dm_transaction_manager *tm) in dm_tm_destroy() 232 int dm_tm_pre_commit(struct dm_transaction_manager *tm) in dm_tm_pre_commit() 247 int dm_tm_commit(struct dm_transaction_manager *tm, struct dm_block *root) in dm_tm_commit() 259 int dm_tm_new_block(struct dm_transaction_manager *tm, in dm_tm_new_block() 288 static int __shadow_block(struct dm_transaction_manager *tm, dm_block_t orig, in __shadow_block() [all …]
|
| /linux/include/linux/ |
| H A D | time.h | 36 struct tm { struct 41 int tm_sec; argument 43 int tm_min; argument 45 int tm_hour; argument 47 int tm_mday; argument 49 int tm_mon; argument 51 long tm_year; argument 53 int tm_wday; argument 55 int tm_yday; argument
|
| /linux/drivers/rtc/ |
| H A D | interface.c | 23 static void rtc_add_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_add_offset() 46 static void rtc_subtract_offset(struct rtc_device *rtc, struct rtc_time *tm) in rtc_subtract_offset() 67 static int rtc_valid_range(struct rtc_device *rtc, struct rtc_time *tm) in rtc_valid_range() 84 static int __rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in __rtc_read_time() 110 int rtc_read_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_read_time() 126 int rtc_set_time(struct rtc_device *rtc, struct rtc_time *tm) in rtc_set_time() 452 struct rtc_time tm; in __rtc_set_alarm() local 649 struct rtc_time tm; in rtc_update_irq_enable() local 873 struct rtc_time tm; in rtc_timer_enqueue() local 973 struct rtc_time tm; in rtc_timer_do_work() local
|
| H A D | lib.c | 52 void rtc_time64_to_tm(time64_t time, struct rtc_time *tm) in rtc_time64_to_tm() 159 int rtc_valid_tm(struct rtc_time *tm) in rtc_valid_tm() 180 time64_t rtc_tm_to_time64(struct rtc_time *tm) in rtc_tm_to_time64() 190 ktime_t rtc_tm_to_ktime(struct rtc_time tm) in rtc_tm_to_ktime()
|
| H A D | rtc-mt6397.c | 62 struct rtc_time *tm, int *sec) in __mtk_rtc_read_time() 87 static int mtk_rtc_read_time(struct device *dev, struct rtc_time *tm) in mtk_rtc_read_time() 106 static int mtk_rtc_set_time(struct device *dev, struct rtc_time *tm) in mtk_rtc_set_time() 139 struct rtc_time *tm = &alm->time; in mtk_rtc_read_alarm() local 179 struct rtc_time *tm = &alm->time; in mtk_rtc_set_alarm() local
|
| H A D | rtc-opal.c | 21 static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) in opal_to_tm() 34 static void tm_to_opal(struct rtc_time *tm, u32 *y_m_d, u64 *h_m_s_ms) in tm_to_opal() 46 static int opal_get_rtc_time(struct device *dev, struct rtc_time *tm) in opal_get_rtc_time() 80 static int opal_set_rtc_time(struct device *dev, struct rtc_time *tm) in opal_set_rtc_time()
|
| H A D | rtc-as3722.c | 33 static void as3722_time_to_reg(u8 *rbuff, struct rtc_time *tm) in as3722_time_to_reg() 43 static void as3722_reg_to_time(u8 *rbuff, struct rtc_time *tm) in as3722_reg_to_time() 54 static int as3722_rtc_read_time(struct device *dev, struct rtc_time *tm) in as3722_rtc_read_time() 71 static int as3722_rtc_set_time(struct device *dev, struct rtc_time *tm) in as3722_rtc_set_time()
|
| H A D | rtc-rk808.c | 68 static time64_t nov2dec_transitions(struct rtc_time *tm) in nov2dec_transitions() 73 static void rockchip_to_gregorian(struct rtc_time *tm) in rockchip_to_gregorian() 80 static void gregorian_to_rockchip(struct rtc_time *tm) in gregorian_to_rockchip() 96 static int rk808_rtc_readtime(struct device *dev, struct rtc_time *tm) in rk808_rtc_readtime() 146 static int rk808_rtc_set_time(struct device *dev, struct rtc_time *tm) in rk808_rtc_set_time()
|
| H A D | rtc-pl031.c | 118 struct rtc_time *tm, unsigned long *st_time, in pl031_stv2_tm_to_time() 152 struct rtc_time *tm) in pl031_stv2_time_to_tm() 168 static int pl031_stv2_read_time(struct device *dev, struct rtc_time *tm) in pl031_stv2_read_time() 178 static int pl031_stv2_set_time(struct device *dev, struct rtc_time *tm) in pl031_stv2_set_time() 245 static int pl031_read_time(struct device *dev, struct rtc_time *tm) in pl031_read_time() 254 static int pl031_set_time(struct device *dev, struct rtc_time *tm) in pl031_set_time()
|
| H A D | rtc-max8907.c | 57 static void regs_to_tm(u8 *regs, struct rtc_time *tm) in regs_to_tm() 77 static void tm_to_regs(struct rtc_time *tm, u8 *regs) in tm_to_regs() 93 static int max8907_rtc_read_time(struct device *dev, struct rtc_time *tm) in max8907_rtc_read_time() 109 static int max8907_rtc_set_time(struct device *dev, struct rtc_time *tm) in max8907_rtc_set_time()
|
| H A D | rtc-s3c.c | 130 static int s3c_rtc_read_time(struct s3c_rtc *info, struct rtc_time *tm) in s3c_rtc_read_time() 170 static int s3c_rtc_write_time(struct s3c_rtc *info, const struct rtc_time *tm) in s3c_rtc_write_time() 190 static int s3c_rtc_gettime(struct device *dev, struct rtc_time *tm) in s3c_rtc_gettime() 207 static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm) in s3c_rtc_settime() 277 struct rtc_time *tm = &alrm->time; in s3c_rtc_setalarm() local
|
| H A D | rtc-wm8350.c | 31 static int wm8350_rtc_readtime(struct device *dev, struct rtc_time *tm) in wm8350_rtc_readtime() 90 static int wm8350_rtc_settime(struct device *dev, struct rtc_time *tm) in wm8350_rtc_settime() 142 struct rtc_time *tm = &alrm->time; in wm8350_rtc_readalarm() local 246 struct rtc_time *tm = &alrm->time; in wm8350_rtc_setalarm() local
|
| H A D | rtc-s5m.c | 187 static void s5m8767_data_to_tm(u8 *data, struct rtc_time *tm, in s5m8767_data_to_tm() 208 static int s5m8767_tm_to_data(struct rtc_time *tm, u8 *data) in s5m8767_tm_to_data() 332 static int s5m_rtc_read_time(struct device *dev, struct rtc_time *tm) in s5m_rtc_read_time() 371 static int s5m_rtc_set_time(struct device *dev, struct rtc_time *tm) in s5m_rtc_set_time() 444 struct rtc_time tm; in s5m_rtc_stop_alarm() local 483 struct rtc_time tm; in s5m_rtc_start_alarm() local
|
| H A D | rtc-mt2712.c | 139 struct rtc_time *tm, int *sec) in __mt2712_rtc_read_time() 157 static int mt2712_rtc_read_time(struct device *dev, struct rtc_time *tm) in mt2712_rtc_read_time() 172 static int mt2712_rtc_set_time(struct device *dev, struct rtc_time *tm) in mt2712_rtc_set_time() 196 struct rtc_time *tm = &alm->time; in mt2712_rtc_read_alarm() local 234 struct rtc_time *tm = &alm->time; in mt2712_rtc_set_alarm() local
|
| H A D | rtc-au1xxx.c | 28 static int au1xtoy_rtc_read_time(struct device *dev, struct rtc_time *tm) in au1xtoy_rtc_read_time() 39 static int au1xtoy_rtc_set_time(struct device *dev, struct rtc_time *tm) in au1xtoy_rtc_set_time()
|
| H A D | rtc-ps3.c | 29 static int ps3_get_time(struct device *dev, struct rtc_time *tm) in ps3_get_time() 35 static int ps3_set_time(struct device *dev, struct rtc_time *tm) in ps3_set_time()
|
| H A D | rtc-lpc24xx.c | 67 static int lpc24xx_rtc_set_time(struct device *dev, struct rtc_time *tm) in lpc24xx_rtc_set_time() 88 static int lpc24xx_rtc_read_time(struct device *dev, struct rtc_time *tm) in lpc24xx_rtc_read_time() 112 struct rtc_time *tm = &wkalrm->time; in lpc24xx_rtc_read_alarm() local 132 struct rtc_time *tm = &wkalrm->time; in lpc24xx_rtc_set_alarm() local
|
| H A D | rtc-mpc5121.c | 88 struct rtc_time *tm) in mpc5121_rtc_update_smh() 101 static int mpc5121_rtc_read_time(struct device *dev, struct rtc_time *tm) in mpc5121_rtc_read_time() 123 static int mpc5121_rtc_set_time(struct device *dev, struct rtc_time *tm) in mpc5121_rtc_set_time() 145 static int mpc5200_rtc_read_time(struct device *dev, struct rtc_time *tm) in mpc5200_rtc_read_time() 172 static int mpc5200_rtc_set_time(struct device *dev, struct rtc_time *tm) in mpc5200_rtc_set_time()
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | smttimer.c | 34 struct smt_timer *tm ; in smt_timer_stop() local 58 struct smt_timer *tm ; in smt_timer_start() local 115 struct smt_timer *tm ; in timer_done() local
|
| /linux/arch/sh/boards/mach-sh03/ |
| H A D | rtc.c | 41 static int sh03_rtc_gettimeofday(struct device *dev, struct rtc_time *tm) in sh03_rtc_gettimeofday() 89 static int set_rtc_mmss(struct rtc_time *tm) in set_rtc_mmss() 123 static int sh03_rtc_settimeofday(struct device *dev, struct rtc_time *tm) in sh03_rtc_settimeofday()
|
| /linux/net/sched/ |
| H A D | em_text.c | 31 struct text_match *tm = EM_TEXT_PRIV(m); in em_text_match() local 53 struct text_match *tm; in em_text_change() local 115 struct text_match *tm = EM_TEXT_PRIV(m); in em_text_dump() local
|
| /linux/drivers/xen/ |
| H A D | efi.c | 44 static efi_status_t xen_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc) in xen_efi_get_time() 66 static efi_status_t xen_efi_set_time(efi_time_t *tm) in xen_efi_set_time() 81 efi_time_t *tm) in xen_efi_get_wakeup_time() 102 static efi_status_t xen_efi_set_wakeup_time(efi_bool_t enabled, efi_time_t *tm) in xen_efi_set_wakeup_time()
|
| /linux/arch/powerpc/platforms/powernv/ |
| H A D | opal-rtc.c | 22 static void __init opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) in opal_to_tm() 36 struct rtc_time tm; in opal_get_boot_time() local
|
| /linux/tools/testing/selftests/rtc/ |
| H A D | rtctest.c | 225 struct rtc_time tm; in TEST_F() local 294 struct rtc_time tm; in TEST_F() local 359 struct rtc_time tm; variable 426 struct rtc_time tm; variable
|
| /linux/arch/sh/boards/mach-dreamcast/ |
| H A D | rtc.c | 33 static int aica_rtc_gettimeofday(struct device *dev, struct rtc_time *tm) in aica_rtc_gettimeofday() 61 static int aica_rtc_settimeofday(struct device *dev, struct rtc_time *tm) in aica_rtc_settimeofday()
|