Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 13 of 13) sorted by relevance

/drivers/staging/lustre/lustre/mdc/
Dmdc_lib.c307 static void mdc_ioepoch_pack(struct mdt_ioepoch *epoch, in mdc_ioepoch_pack() argument
310 epoch->mio_handle = op_data->op_handle; in mdc_ioepoch_pack()
311 epoch->mio_unused1 = 0; in mdc_ioepoch_pack()
312 epoch->mio_unused2 = 0; in mdc_ioepoch_pack()
313 epoch->mio_padding = 0; in mdc_ioepoch_pack()
441 struct mdt_ioepoch *epoch; in mdc_rename_pack() local
444 epoch = req_capsule_client_get(&req->rq_pill, &RMF_MDT_EPOCH); in mdc_rename_pack()
445 mdc_ioepoch_pack(epoch, op_data); in mdc_rename_pack()
475 struct mdt_ioepoch *epoch; in mdc_close_pack() local
478 epoch = req_capsule_client_get(&req->rq_pill, &RMF_MDT_EPOCH); in mdc_close_pack()
[all …]
Dmdc_request.c550 struct mdt_ioepoch *epoch; in mdc_replay_open() local
553 epoch = req_capsule_client_get(&close_req->rq_pill, in mdc_replay_open()
555 LASSERT(epoch); in mdc_replay_open()
558 LASSERT(!memcmp(&old, &epoch->mio_handle, sizeof(old))); in mdc_replay_open()
560 epoch->mio_handle = body->mbo_handle; in mdc_replay_open()
/drivers/char/
Drtc.c209 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()
1091 epoch = 2000; in rtc_init()
1094 epoch = 1980; in rtc_init()
1097 epoch = 1952; in rtc_init()
1101 epoch = 2000; in rtc_init()
1105 epoch = 1900; in rtc_init()
1111 guess, epoch); in rtc_init()
[all …]
/drivers/rtc/
Drtc-vr41xx.c82 static unsigned long epoch = 1970; /* Jan 1 1970 00:00:00 */ variable
126 epoch_sec = mktime(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_read_time()
138 epoch_sec = mktime(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_set_time()
197 return put_user(epoch, (unsigned long __user *)arg); in vr41xx_rtc_ioctl()
202 epoch = arg; in vr41xx_rtc_ioctl()
/drivers/input/misc/
Dhp_sdc_rtc.c57 static unsigned long epoch = 2000; variable
449 tm.tm_mday, epoch); in hp_sdc_rtc_proc_show()
649 return put_user (epoch, (unsigned long *)arg); in hp_sdc_rtc_ioctl()
661 epoch = arg; in hp_sdc_rtc_ioctl()
/drivers/block/drbd/
Ddrbd_receiver.c1368 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument
1379 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()
1383 atomic_dec(&epoch->active); in drbd_may_finish_epoch()
1386 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch()
1394 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch()
1395 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch()
1398 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()
1404 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch()
1405 dec_unacked(epoch->connection); in drbd_may_finish_epoch()
1408 if (connection->current_epoch != epoch) { in drbd_may_finish_epoch()
[all …]
Ddrbd_worker.c1414 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write() argument
1418 connection->send.current_epoch_nr = epoch; in re_init_if_first_write()
1424 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier() argument
1429 if (connection->send.current_epoch_nr != epoch) { in maybe_send_barrier()
1432 connection->send.current_epoch_nr = epoch; in maybe_send_barrier()
1454 maybe_send_barrier(connection, req->epoch); in w_send_out_of_sync()
1482 re_init_if_first_write(connection, req->epoch); in w_send_dblock()
1483 maybe_send_barrier(connection, req->epoch); in w_send_dblock()
1517 maybe_send_barrier(connection, req->epoch); in w_send_read_req()
Ddrbd_req.c70 req->epoch = 0; in drbd_req_new()
274 req->epoch == atomic_read(&first_peer_device(device)->connection->current_tle_nr)) in drbd_req_complete()
1375 req->epoch = atomic_read(&first_peer_device(device)->connection->current_tle_nr); in drbd_send_and_submit()
1668 if (net_req->epoch == connection->send.current_epoch_nr) { in net_timeout_reached()
Ddrbd_int.h308 unsigned int epoch; member
411 struct drbd_epoch *epoch; /* for writes */ member
Ddrbd_main.c216 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()
Ddrbd_debugfs.c103 req->epoch, in seq_print_one_request()
/drivers/crypto/caam/
Dpdb.h364 u16 epoch; member
388 u16 epoch; member
/drivers/block/
Drbd.c5730 if (rbdc->client->osdc.osdmap->epoch < newest_epoch) { in rbd_add_get_pool_id()