Home
last modified time | relevance | path

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

123

/Linux-v5.4/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-v5.4/drivers/gpu/drm/i915/
Di915_globals.c21 static atomic_t epoch; variable
24 int epoch; member
43 if (park.epoch == atomic_read(&epoch)) in __i915_globals_park()
106 park.epoch = atomic_inc_return(&epoch); in i915_globals_park()
112 atomic_inc(&epoch); in i915_globals_unpark()
119 atomic_inc(&epoch); in i915_globals_exit()
Di915_gpu_error.c453 const unsigned long epoch) in error_print_request() argument
465 jiffies_to_msecs(erq->jiffies - epoch), in error_print_request()
480 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()
678 err_printf(m, "Epoch: %lu jiffies (%u HZ)\n", error->epoch, HZ); in __err_print_to_sgl()
682 jiffies_to_msecs(error->capture - error->epoch)); in __err_print_to_sgl()
738 error_print_engine(m, ee, error->epoch); in __err_print_to_sgl()
766 error->epoch); in __err_print_to_sgl()
[all …]
/Linux-v5.4/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-v5.4/net/ceph/
Dmon_client.c47 u32 epoch, num_mon; in ceph_monmap_decode() local
58 epoch = ceph_decode_32(&p); in ceph_monmap_decode()
68 m->epoch = epoch; in ceph_monmap_decode()
80 dout("monmap_decode epoch %d, num_mon %d\n", m->epoch, in ceph_monmap_decode()
348 u32 epoch, bool continuous) in __ceph_monc_want_map() argument
350 __le64 start = cpu_to_le64(epoch); in __ceph_monc_want_map()
354 epoch, continuous); in __ceph_monc_want_map()
368 bool ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, in ceph_monc_want_map() argument
374 need_request = __ceph_monc_want_map(monc, sub, epoch, continuous); in ceph_monc_want_map()
387 u32 epoch) in __ceph_monc_got_map() argument
[all …]
Dosd_client.c452 dest->epoch = src->epoch; in target_copy()
1497 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1522 t->epoch = osdc->osdmap->epoch; in calc_target()
1530 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
2061 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2133 __le32 epoch; in encode_request_finish() member
2173 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2242 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2259 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2271 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
[all …]
Dosdmap.c1465 u32 epoch = 0; in osdmap_decode() local
1481 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode()
1588 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1595 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode()
1746 u32 epoch = 0; in osdmap_apply_incremental() local
1766 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
1767 BUG_ON(epoch != map->epoch+1); in osdmap_apply_incremental()
1804 map->epoch++; in osdmap_apply_incremental()
1881 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
1888 err, epoch, (int)(*p - start), *p, start, end); in osdmap_apply_incremental()
/Linux-v5.4/drivers/char/
Drtc.c197 static unsigned long epoch = 1900; /* year corresponding to 0x00 */ variable
567 yrs -= epoch; in rtc_do_ioctl()
678 return put_user(epoch, (unsigned long __user *)arg); in rtc_do_ioctl()
691 epoch = arg; in rtc_do_ioctl()
981 epoch = 2000; in rtc_init()
984 epoch = 1980; in rtc_init()
987 epoch = 1952; in rtc_init()
991 epoch = 2000; in rtc_init()
995 epoch = 1900; in rtc_init()
1001 guess, epoch); in rtc_init()
[all …]
/Linux-v5.4/drivers/rtc/
Drtc-vr41xx.c69 static unsigned long epoch = 1970; /* Jan 1 1970 00:00:00 */ variable
113 epoch_sec = mktime64(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_read_time()
125 epoch_sec = mktime64(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_set_time()
181 return put_user(epoch, (unsigned long __user *)arg); in vr41xx_rtc_ioctl()
186 epoch = arg; in vr41xx_rtc_ioctl()
/Linux-v5.4/net/rxrpc/
Dconn_service.c30 k.epoch = sp->hdr.epoch; in rxrpc_find_service_conn_rcu()
157 conn->proto.epoch = sp->hdr.epoch; in rxrpc_new_incoming_connection()
Dnet_ns.c49 get_random_bytes(&rxnet->epoch, sizeof(rxnet->epoch)); in rxrpc_init_net()
50 rxnet->epoch |= RXRPC_RANDOM_EPOCH; in rxrpc_init_net()
Doutput.c161 pkt->whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_ack_packet()
287 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_abort_packet()
340 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_data_packet()
591 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_reject_packets()
634 whdr.epoch = htonl(peer->local->rxnet->epoch); in rxrpc_send_keepalive()
Dprotocol.h22 __be32 epoch; /* client boot timestamp */ member
173 __be32 epoch; /* current epoch */ member
Dlocal_event.c47 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
Dconn_object.c97 k.epoch = sp->hdr.epoch; in rxrpc_find_connection_rcu()
125 if (conn->proto.epoch != k.epoch || in rxrpc_find_connection_rcu()
Drxkad.c128 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security()
670 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
730 whdr.epoch = htonl(hdr->epoch); in rxkad_send_response()
863 resp->encrypted.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge()
1159 if (ntohl(response->encrypted.epoch) != conn->proto.epoch) in rxkad_verify_response()
Dconn_event.c68 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call()
222 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_abort_connection()
/Linux-v5.4/fs/afs/
Dcmservice.c121 call->epoch = rxrpc_kernel_get_epoch(call->net->socket, call->rxcall); in afs_cm_incoming_call()
161 if (server->cm_epoch == call->epoch) in afs_record_cm_probe()
173 server->cm_epoch = call->epoch; in afs_record_cm_probe()
174 server->probe.cm_epoch = call->epoch; in afs_record_cm_probe()
179 call->epoch != server->probe.cm_epoch && in afs_record_cm_probe()
186 if (!server->probe.cm_probed || call->epoch == server->cm_epoch) in afs_record_cm_probe()
/Linux-v5.4/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-v5.4/drivers/input/misc/
Dhp_sdc_rtc.c57 static unsigned long epoch = 2000; variable
447 &tm, &tm, epoch); in hp_sdc_rtc_proc_show()
635 return put_user (epoch, (unsigned long *)arg); in hp_sdc_rtc_ioctl()
647 epoch = arg; in hp_sdc_rtc_ioctl()
/Linux-v5.4/Documentation/filesystems/ext4/
Dinodes.rst55 - Last access time, in seconds since the epoch. However, if the EA\_INODE
61 - Last inode change time, in seconds since the epoch. However, if the
68 - Last data modification time, in seconds since the epoch. However, if the
75 - Deletion Time, in seconds since the epoch.
161 - File creation time, in seconds since the epoch.
499 are 32-bit signed integers that represent seconds since the Unix epoch
519 We use the 32-bit signed time value plus (2^32 \* (extra epoch bits)).
526 * - Extra epoch bits
576 incorrectly use the extra epoch bits 1,1 for dates between 1901 and
/Linux-v5.4/drivers/block/drbd/
Ddrbd_receiver.c1357 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument
1368 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()
1372 atomic_dec(&epoch->active); in drbd_may_finish_epoch()
1375 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch()
1383 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch()
1384 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch()
1387 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()
1393 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch()
1394 dec_unacked(epoch->connection); in drbd_may_finish_epoch()
1397 if (connection->current_epoch != epoch) { in drbd_may_finish_epoch()
[all …]
/Linux-v5.4/fs/cifs/
Dsmb2ops.c772 &oparms.fid->epoch, in open_shroot()
1317 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid()
3304 unsigned int epoch, bool *purge_cache) in smb2_set_oplock_level() argument
3327 unsigned int epoch, bool *purge_cache) in smb21_set_oplock_level() argument
3338 return smb2_set_oplock_level(cinode, oplock, epoch, in smb21_set_oplock_level()
3363 unsigned int epoch, bool *purge_cache) in smb3_set_oplock_level() argument
3367 smb21_set_oplock_level(cinode, oplock, epoch, purge_cache); in smb3_set_oplock_level()
3373 (epoch - cinode->epoch > 0)) in smb3_set_oplock_level()
3376 (epoch - cinode->epoch > 1)) in smb3_set_oplock_level()
3379 (epoch - cinode->epoch > 1)) in smb3_set_oplock_level()
[all …]
/Linux-v5.4/drivers/crypto/caam/
Dpdb.h364 u16 epoch; member
388 u16 epoch; member
/Linux-v5.4/arch/s390/kvm/
Dvsie.c467 scb_s->epoch = scb_o->epoch; in shadow_scb()
1137 scb_s->epoch += vcpu->kvm->arch.epoch; in register_shadow_scb()
1141 if (scb_s->epoch < vcpu->kvm->arch.epoch) in register_shadow_scb()

123