Searched refs:epoch (Results 1 – 14 of 14) sorted by relevance
/drivers/gpu/drm/i915/ |
D | i915_globals.c | 21 static atomic_t epoch; variable 27 int epoch; member 51 park.epoch = atomic_inc_return(&epoch); in __i915_globals_queue_rcu() 63 if (park.epoch != atomic_read(&epoch)) { in __i915_globals_park() 138 atomic_inc(&epoch); in i915_globals_unpark()
|
/drivers/rtc/ |
D | rtc-vr41xx.c | 73 static unsigned long epoch = 1970; /* Jan 1 1970 00:00:00 */ variable 117 epoch_sec = mktime64(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_read_time() 129 epoch_sec = mktime64(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_set_time() 185 return put_user(epoch, (unsigned long __user *)arg); in vr41xx_rtc_ioctl() 188 return put_user(epoch, (unsigned int __user *)arg); in vr41xx_rtc_ioctl() 194 epoch = arg; in vr41xx_rtc_ioctl()
|
/drivers/block/drbd/ |
D | drbd_receiver.c | 1358 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument 1369 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch() 1373 atomic_dec(&epoch->active); in drbd_may_finish_epoch() 1376 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch() 1384 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch() 1385 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch() 1388 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch() 1394 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch() 1395 dec_unacked(epoch->connection); in drbd_may_finish_epoch() 1398 if (connection->current_epoch != epoch) { in drbd_may_finish_epoch() [all …]
|
D | drbd_worker.c | 1402 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write() argument 1406 connection->send.current_epoch_nr = epoch; in re_init_if_first_write() 1412 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier() argument 1417 if (connection->send.current_epoch_nr != epoch) { in maybe_send_barrier() 1420 connection->send.current_epoch_nr = epoch; in maybe_send_barrier() 1442 maybe_send_barrier(connection, req->epoch); in w_send_out_of_sync() 1470 re_init_if_first_write(connection, req->epoch); in w_send_dblock() 1471 maybe_send_barrier(connection, req->epoch); in w_send_dblock() 1505 maybe_send_barrier(connection, req->epoch); in w_send_read_req()
|
D | drbd_req.c | 40 req->epoch = 0; in drbd_req_new() 245 req->epoch == atomic_read(&first_peer_device(device)->connection->current_tle_nr)) in drbd_req_complete() 1346 req->epoch = atomic_read(&first_peer_device(device)->connection->current_tle_nr); in drbd_send_and_submit() 1639 if (net_req->epoch == connection->send.current_epoch_nr) { in net_timeout_reached()
|
D | drbd_int.h | 294 unsigned int epoch; member 397 struct drbd_epoch *epoch; /* for writes */ member
|
D | drbd_main.c | 205 expect_epoch = req->epoch; in tl_release() 208 if (r->epoch != expect_epoch) in tl_release() 241 if (req->epoch == expect_epoch) { in tl_release() 247 if (req->epoch != expect_epoch) in tl_release()
|
D | drbd_debugfs.c | 103 req->epoch, in seq_print_one_request()
|
/drivers/input/misc/ |
D | hp_sdc_rtc.c | 56 static unsigned long epoch = 2000; variable 284 &tm, &tm, epoch); in hp_sdc_rtc_proc_show()
|
/drivers/crypto/caam/ |
D | pdb.h | 364 u16 epoch; member 388 u16 epoch; member
|
/drivers/scsi/ |
D | myrs.h | 558 unsigned int epoch; /* Bytes 16-19 */ member 900 unsigned int epoch; member
|
D | myrs.c | 2113 unsigned int epoch = cs->fwstat_buf->epoch; in myrs_monitor() local 2163 if (epoch == cs->epoch && in myrs_monitor()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_mcp.c | 1894 mdump_retain.epoch, in qed_mcp_handle_critical_error()
|
D | qed_hsi.h | 12373 u32 epoch; member
|