Searched refs:epoch (Results 1 – 9 of 9) sorted by relevance
/drivers/char/ |
D | rtc.c | 209 static unsigned long epoch = 1900; /* year corresponding to 0x00 */ variable 584 yrs -= epoch; in rtc_do_ioctl() 695 return put_user(epoch, (unsigned long __user *)arg); in rtc_do_ioctl() 708 epoch = arg; in rtc_do_ioctl() 1092 epoch = 2000; in rtc_init() 1095 epoch = 1980; in rtc_init() 1098 epoch = 1952; in rtc_init() 1102 epoch = 2000; in rtc_init() 1106 epoch = 1900; in rtc_init() 1112 guess, epoch); in rtc_init() [all …]
|
/drivers/rtc/ |
D | rtc-vr41xx.c | 82 static unsigned long epoch = 1970; /* Jan 1 1970 00:00:00 */ variable 143 epoch_sec = mktime(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_read_time() 155 epoch_sec = mktime(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_set_time() 214 return put_user(epoch, (unsigned long __user *)arg); in vr41xx_rtc_ioctl() 219 epoch = arg; in vr41xx_rtc_ioctl()
|
/drivers/block/drbd/ |
D | drbd_receiver.c | 362 peer_req->epoch = NULL; in drbd_alloc_peer_req() 1185 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument 1196 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch() 1200 atomic_dec(&epoch->active); in drbd_may_finish_epoch() 1203 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch() 1211 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch() 1212 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch() 1215 drbd_send_b_ack(epoch->tconn, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch() 1221 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch() 1222 dec_unacked(epoch->tconn); in drbd_may_finish_epoch() [all …]
|
D | drbd_worker.c | 1305 static void re_init_if_first_write(struct drbd_tconn *tconn, unsigned int epoch) in re_init_if_first_write() argument 1309 tconn->send.current_epoch_nr = epoch; in re_init_if_first_write() 1314 static void maybe_send_barrier(struct drbd_tconn *tconn, unsigned int epoch) in maybe_send_barrier() argument 1319 if (tconn->send.current_epoch_nr != epoch) { in maybe_send_barrier() 1322 tconn->send.current_epoch_nr = epoch; in maybe_send_barrier() 1342 maybe_send_barrier(tconn, req->epoch); in w_send_out_of_sync() 1368 re_init_if_first_write(tconn, req->epoch); in w_send_dblock() 1369 maybe_send_barrier(tconn, req->epoch); in w_send_dblock() 1398 maybe_send_barrier(tconn, req->epoch); in w_send_read_req()
|
D | drbd_req.c | 77 req->epoch = 0; in drbd_req_new() 276 req->epoch == atomic_read(&mdev->tconn->current_tle_nr)) in drbd_req_complete() 1114 req->epoch = atomic_read(&mdev->tconn->current_tle_nr); in drbd_send_and_submit()
|
D | drbd_int.h | 567 unsigned int epoch; member 614 struct drbd_epoch *epoch; /* for writes */ member
|
D | drbd_main.c | 216 expect_epoch = req->epoch; in tl_release() 219 if (r->epoch != expect_epoch) in tl_release() 252 if (req->epoch == expect_epoch) in tl_release() 255 if (req->epoch != expect_epoch) in tl_release()
|
/drivers/input/misc/ |
D | hp_sdc_rtc.c | 57 static unsigned long epoch = 2000; variable 446 tm.tm_mday, epoch); in hp_sdc_rtc_proc_show() 646 return put_user (epoch, (unsigned long *)arg); in hp_sdc_rtc_ioctl() 658 epoch = arg; in hp_sdc_rtc_ioctl()
|
/drivers/crypto/caam/ |
D | pdb.h | 284 u16 epoch; member 308 u16 epoch; member
|