| /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 __mtk_rtc_read_time(struct mt6397_rtc * rtc,struct rtc_time * tm,int * sec) __mtk_rtc_read_time() argument 87 mtk_rtc_read_time(struct device * dev,struct rtc_time * tm) mtk_rtc_read_time() argument 106 mtk_rtc_set_time(struct device * dev,struct rtc_time * tm) mtk_rtc_set_time() argument 139 struct rtc_time *tm = &alm->time; mtk_rtc_read_alarm() local 179 struct rtc_time *tm = &alm->time; mtk_rtc_set_alarm() local [all...] |
| 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() argument 43 static void as3722_reg_to_time(u8 *rbuff, struct rtc_time *tm) in as3722_reg_to_time() argument 54 as3722_rtc_read_time(struct device * dev,struct rtc_time * tm) as3722_rtc_read_time() argument 71 as3722_rtc_set_time(struct device * dev,struct rtc_time * tm) as3722_rtc_set_time() argument [all...] |
| H A D | rtc-rk808.c | 68 static time64_t nov2dec_transitions(struct rtc_time *tm) in nov2dec_transitions() argument 73 static void rockchip_to_gregorian(struct rtc_time *tm) in rockchip_to_gregorian() argument 80 static void gregorian_to_rockchip(struct rtc_time *tm) in gregorian_to_rockchip() argument 96 rk808_rtc_readtime(struct device * dev,struct rtc_time * tm) rk808_rtc_readtime() argument 146 rk808_rtc_set_time(struct device * dev,struct rtc_time * tm) rk808_rtc_set_time() argument [all...] |
| H A D | rtc-pl031.c | 118 struct rtc_time *tm, unsigned long *st_time, in pl031_stv2_tm_to_time() argument 152 pl031_stv2_time_to_tm(unsigned long st_time,unsigned long bcd_year,struct rtc_time * tm) pl031_stv2_time_to_tm() argument 168 pl031_stv2_read_time(struct device * dev,struct rtc_time * tm) pl031_stv2_read_time() argument 178 pl031_stv2_set_time(struct device * dev,struct rtc_time * tm) pl031_stv2_set_time() argument 245 pl031_read_time(struct device * dev,struct rtc_time * tm) pl031_read_time() argument 254 pl031_set_time(struct device * dev,struct rtc_time * tm) pl031_set_time() argument [all...] |
| H A D | rtc-max8907.c | 57 static void regs_to_tm(u8 *regs, struct rtc_time *tm) in regs_to_tm() argument 77 tm_to_regs(struct rtc_time * tm,u8 * regs) tm_to_regs() argument 93 max8907_rtc_read_time(struct device * dev,struct rtc_time * tm) max8907_rtc_read_time() argument 109 max8907_rtc_set_time(struct device * dev,struct rtc_time * tm) max8907_rtc_set_time() argument [all...] |
| H A D | rtc-rzn1.c | 86 rzn1_rtc_get_time_snapshot(struct rzn1_rtc * rtc,struct rtc_time * tm) rzn1_rtc_get_time_snapshot() argument 102 rzn1_rtc_read_time(struct device * dev,struct rtc_time * tm) rzn1_rtc_read_time() argument 123 rzn1_rtc_set_time(struct device * dev,struct rtc_time * tm) rzn1_rtc_set_time() argument 200 struct rtc_time *tm = &rtc->tm_alarm, tm_now; rzn1_rtc_alarm_irq_enable() local 239 struct rtc_time *tm = &alrm->time; rzn1_rtc_read_alarm() local 281 struct rtc_time *tm = &alrm->time, tm_now; rzn1_rtc_set_alarm() local [all...] |
| 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() argument 170 s3c_rtc_write_time(struct s3c_rtc * info,const struct rtc_time * tm) s3c_rtc_write_time() argument 190 s3c_rtc_gettime(struct device * dev,struct rtc_time * tm) s3c_rtc_gettime() argument 207 s3c_rtc_settime(struct device * dev,struct rtc_time * tm) s3c_rtc_settime() argument 277 struct rtc_time *tm = &alrm->time; s3c_rtc_setalarm() local [all...] |
| 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() argument 208 s5m8767_tm_to_data(struct rtc_time * tm,u8 * data) s5m8767_tm_to_data() argument 332 s5m_rtc_read_time(struct device * dev,struct rtc_time * tm) s5m_rtc_read_time() argument 371 s5m_rtc_set_time(struct device * dev,struct rtc_time * tm) s5m_rtc_set_time() argument 444 struct rtc_time tm; s5m_rtc_stop_alarm() local 483 struct rtc_time tm; s5m_rtc_start_alarm() local [all...] |
| H A D | rtc-mt2712.c | 139 struct rtc_time *tm, int *sec) in __mt2712_rtc_read_time() argument 157 static int mt2712_rtc_read_time(struct device *dev, struct rtc_time *tm) in mt2712_rtc_read_time() argument 172 mt2712_rtc_set_time(struct device * dev,struct rtc_time * tm) mt2712_rtc_set_time() argument 196 struct rtc_time *tm = &alm->time; mt2712_rtc_read_alarm() local 234 struct rtc_time *tm = &alm->time; mt2712_rtc_set_alarm() local [all...] |
| 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() argument 88 static int lpc24xx_rtc_read_time(struct device *dev, struct rtc_time *tm) in lpc24xx_rtc_read_time() argument 112 struct rtc_time *tm = &wkalrm->time; lpc24xx_rtc_read_alarm() local 132 struct rtc_time *tm = &wkalrm->time; lpc24xx_rtc_set_alarm() local [all...] |
| H A D | rtc-mpc5121.c | 88 struct rtc_time *tm) in mpc5121_rtc_update_smh() argument 101 static int mpc5121_rtc_read_time(struct device *dev, struct rtc_time *tm) in mpc5121_rtc_read_time() argument 123 static int mpc5121_rtc_set_time(struct device *dev, struct rtc_time *tm) in mpc5121_rtc_set_time() argument 145 mpc5200_rtc_read_time(struct device * dev,struct rtc_time * tm) mpc5200_rtc_read_time() argument 172 mpc5200_rtc_set_time(struct device * dev,struct rtc_time * tm) mpc5200_rtc_set_time() argument [all...] |
| /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 118 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; TEST_F() local 294 struct rtc_time tm; TEST_F() local 359 struct rtc_time tm; global() variable 426 struct rtc_time tm; global() variable [all...] |