Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/alpha/kernel/
Drtc.c39 unsigned long epoch = simple_strtoul(str, NULL, 0); in specifiy_epoch() local
40 if (epoch < 1900) in specifiy_epoch()
41 printk("Ignoring invalid user specified epoch %lu\n", epoch); in specifiy_epoch()
43 rtc_epoch = epoch; in specifiy_epoch()
51 int epoch, year, ctrl; in init_rtc_epoch() local
65 epoch = 1900; in init_rtc_epoch()
67 epoch = 2000; in init_rtc_epoch()
70 epoch = 1980; in init_rtc_epoch()
73 epoch = 1952; in init_rtc_epoch()
75 rtc_epoch = epoch; in init_rtc_epoch()
[all …]
/Linux-v4.19/include/linux/ceph/
Dmon_client.h20 u32 epoch; member
129 bool ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch,
131 void ceph_monc_got_map(struct ceph_mon_client *monc, int sub, u32 epoch);
134 extern int ceph_monc_wait_osdmap(struct ceph_mon_client *monc, u32 epoch,
/Linux-v4.19/net/ceph/
Dmon_client.c47 u32 epoch, num_mon; in ceph_monmap_decode() local
58 epoch = ceph_decode_32(&p); in ceph_monmap_decode()
69 m->epoch = epoch; in ceph_monmap_decode()
75 dout("monmap_decode epoch %d, num_mon %d\n", m->epoch, in ceph_monmap_decode()
337 u32 epoch, bool continuous) in __ceph_monc_want_map() argument
339 __le64 start = cpu_to_le64(epoch); in __ceph_monc_want_map()
343 epoch, continuous); in __ceph_monc_want_map()
357 bool ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, in ceph_monc_want_map() argument
363 need_request = __ceph_monc_want_map(monc, sub, epoch, continuous); in ceph_monc_want_map()
376 u32 epoch) in __ceph_monc_got_map() argument
[all …]
Dosd_client.c449 dest->epoch = src->epoch; in target_copy()
1407 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1433 t->epoch = osdc->osdmap->epoch; in calc_target()
1441 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
1968 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2040 __le32 epoch; in encode_request_finish() member
2080 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2149 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2166 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2178 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
[all …]
Dosdmap.c1449 u32 epoch = 0; in osdmap_decode() local
1465 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode()
1572 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1579 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode()
1725 u32 epoch = 0; in osdmap_apply_incremental() local
1745 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
1746 BUG_ON(epoch != map->epoch+1); in osdmap_apply_incremental()
1783 map->epoch++; in osdmap_apply_incremental()
1860 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
1867 err, epoch, (int)(*p - start), *p, start, end); in osdmap_apply_incremental()
Ddebugfs.c42 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
66 seq_printf(s, "epoch %u barrier %u flags 0x%x\n", map->epoch, in osdmap_show()
193 seq_printf(s, "]/%d\te%u\t", t->acting.primary, t->epoch); in dump_target()
/Linux-v4.19/drivers/char/
Drtc.c201 static unsigned long epoch = 1900; /* year corresponding to 0x00 */ variable
571 yrs -= epoch; in rtc_do_ioctl()
682 return put_user(epoch, (unsigned long __user *)arg); in rtc_do_ioctl()
695 epoch = arg; in rtc_do_ioctl()
985 epoch = 2000; in rtc_init()
988 epoch = 1980; in rtc_init()
991 epoch = 1952; in rtc_init()
995 epoch = 2000; in rtc_init()
999 epoch = 1900; in rtc_init()
1005 guess, epoch); in rtc_init()
[all …]
/Linux-v4.19/net/rxrpc/
Dconn_service.c34 k.epoch = sp->hdr.epoch; in rxrpc_find_service_conn_rcu()
161 conn->proto.epoch = sp->hdr.epoch; in rxrpc_new_incoming_connection()
Doutput.c150 pkt->whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_ack_packet()
276 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_abort_packet()
330 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_data_packet()
567 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_reject_packets()
610 whdr.epoch = htonl(peer->local->rxnet->epoch); in rxrpc_send_keepalive()
Dnet_ns.c53 get_random_bytes(&rxnet->epoch, sizeof(rxnet->epoch)); in rxrpc_init_net()
54 rxnet->epoch |= RXRPC_RANDOM_EPOCH; in rxrpc_init_net()
Dprotocol.h26 __be32 epoch; /* client boot timestamp */ member
168 __be32 epoch; /* current epoch */ member
Dlocal_event.c51 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
Dconn_object.c100 k.epoch = sp->hdr.epoch; in rxrpc_find_connection_rcu()
128 if (conn->proto.epoch != k.epoch || in rxrpc_find_connection_rcu()
Drxkad.c125 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security()
644 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
704 whdr.epoch = htonl(hdr->epoch); in rxkad_send_response()
832 resp->encrypted.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge()
1129 if (ntohl(response->encrypted.epoch) != conn->proto.epoch) in rxkad_verify_response()
Dconn_event.c72 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call()
224 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_abort_connection()
/Linux-v4.19/drivers/rtc/
Drtc-vr41xx.c82 static unsigned long epoch = 1970; /* Jan 1 1970 00:00:00 */ variable
126 epoch_sec = mktime64(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_read_time()
138 epoch_sec = mktime64(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()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-class-rtc51 Valid time range for the RTC, as seconds from epoch, formatted
59 (RO) RTC-provided time as the number of seconds since the epoch
89 epoch by default, or if there's a leading +, seconds in the
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_gpu_error.c442 const unsigned long epoch) in error_print_request() argument
450 jiffies_to_msecs(erq->jiffies - epoch), in error_print_request()
466 const unsigned long epoch) in error_print_engine() argument
537 jiffies_to_msecs(ee->hangcheck_timestamp - epoch), in error_print_engine()
539 ee->hangcheck_timestamp == epoch ? "; epoch" : ""); in error_print_engine()
544 error_print_request(m, " ", &ee->execlist[n], epoch); in error_print_engine()
663 err_printf(m, "Epoch: %lu jiffies (%u HZ)\n", error->epoch, HZ); in i915_error_state_to_str()
667 jiffies_to_msecs(error->capture - error->epoch)); in i915_error_state_to_str()
728 error_print_engine(m, &error->engine[i], error->epoch); in i915_error_state_to_str()
789 error->epoch); in i915_error_state_to_str()
[all …]
/Linux-v4.19/drivers/input/misc/
Dhp_sdc_rtc.c57 static unsigned long epoch = 2000; variable
449 tm.tm_mday, epoch); in hp_sdc_rtc_proc_show()
637 return put_user (epoch, (unsigned long *)arg); in hp_sdc_rtc_ioctl()
649 epoch = arg; in hp_sdc_rtc_ioctl()
/Linux-v4.19/fs/cifs/
Dsmb2ops.c1017 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid()
2286 unsigned int epoch, bool *purge_cache) in smb2_set_oplock_level() argument
2309 unsigned int epoch, bool *purge_cache) in smb21_set_oplock_level() argument
2338 unsigned int epoch, bool *purge_cache) in smb3_set_oplock_level() argument
2342 smb21_set_oplock_level(cinode, oplock, epoch, purge_cache); in smb3_set_oplock_level()
2348 (epoch - cinode->epoch > 0)) in smb3_set_oplock_level()
2351 (epoch - cinode->epoch > 1)) in smb3_set_oplock_level()
2354 (epoch - cinode->epoch > 1)) in smb3_set_oplock_level()
2357 (epoch - cinode->epoch > 0)) in smb3_set_oplock_level()
2361 (epoch - cinode->epoch > 0)) in smb3_set_oplock_level()
[all …]
/Linux-v4.19/Documentation/filesystems/ext4/ondisk/
Dinodes.rst54 - Last access time, in seconds since the epoch. However, if the EA\_INODE
60 - Last inode change time, in seconds since the epoch. However, if the
67 - Last data modification time, in seconds since the epoch. However, if the
74 - Deletion Time, in seconds since the epoch.
160 - File creation time, in seconds since the epoch.
496 are 32-bit signed integers that represent seconds since the Unix epoch
516 We use the 32-bit signed time value plus (2^32 \* (extra epoch bits)).
523 * - Extra epoch bits
573 incorrectly use the extra epoch bits 1,1 for dates between 1901 and
/Linux-v4.19/drivers/block/drbd/
Ddrbd_receiver.c1369 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument
1380 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()
1384 atomic_dec(&epoch->active); in drbd_may_finish_epoch()
1387 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch()
1395 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch()
1396 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch()
1399 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()
1405 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch()
1406 dec_unacked(epoch->connection); in drbd_may_finish_epoch()
1409 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()
/Linux-v4.19/arch/s390/kvm/
Dvsie.c303 scb_s->epoch = scb_o->epoch; in shadow_scb()
960 scb_s->epoch += vcpu->kvm->arch.epoch; in register_shadow_scb()
964 if (scb_s->epoch < vcpu->kvm->arch.epoch) in register_shadow_scb()
/Linux-v4.19/drivers/crypto/caam/
Dpdb.h364 u16 epoch; member
388 u16 epoch; member

123