Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_globals.c21 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()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-vr41xx.c73 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()
/kernel/linux/linux-5.10/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.c454 dest->epoch = src->epoch; in target_copy()
1477 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1543 t->epoch = osdc->osdmap->epoch; in calc_target()
1551 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
2100 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2172 __le32 epoch; in encode_request_finish() member
2212 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2281 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2298 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2310 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
[all …]
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()
195 seq_printf(s, "]/%d\te%u\t", t->acting.primary, t->epoch); in dump_target()
Dosdmap.c1653 u32 epoch = 0; in osdmap_decode() local
1669 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode()
1776 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1783 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode()
1934 u32 epoch = 0; in osdmap_apply_incremental() local
1954 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
1955 BUG_ON(epoch != map->epoch+1); in osdmap_apply_incremental()
1992 map->epoch++; in osdmap_apply_incremental()
2069 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
2076 err, epoch, (int)(*p - start), *p, start, end); in osdmap_apply_incremental()
/kernel/linux/linux-5.10/net/rxrpc/
Dconn_service.c36 k.epoch = sp->hdr.epoch; in rxrpc_find_service_conn_rcu()
166 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.c207 pkt->whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_ack_packet()
316 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_abort_packet()
373 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_data_packet()
605 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_reject_packets()
648 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.c95 k.epoch = sp->hdr.epoch; in rxrpc_find_connection_rcu()
123 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()
Dconn_client.c70 conn->proto.epoch = rxnet->epoch; in rxrpc_get_client_connection_id()
242 conn->proto.epoch != rxnet->epoch) in rxrpc_may_reuse_conn()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/fs/cifs/
Dsmb2ops.c822 &oparms.fid->epoch, in open_shroot()
1416 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid()
3905 unsigned int epoch, bool *purge_cache) in smb2_downgrade_oplock() argument
3912 unsigned int epoch, bool *purge_cache);
3917 unsigned int epoch, bool *purge_cache) in smb3_downgrade_oplock() argument
3920 unsigned int old_epoch = cinode->epoch; in smb3_downgrade_oplock()
3923 if (epoch > old_epoch) { in smb3_downgrade_oplock()
3925 cinode->epoch = epoch; in smb3_downgrade_oplock()
3934 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock()
3940 unsigned int epoch, bool *purge_cache) in smb2_set_oplock_level() argument
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dhp_sdc_rtc.c56 static unsigned long epoch = 2000; variable
284 &tm, &tm, epoch); in hp_sdc_rtc_proc_show()
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_receiver.c1358 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 …]
Ddrbd_worker.c1402 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()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Dpdb.h364 u16 epoch; member
388 u16 epoch; member
/kernel/linux/linux-5.10/arch/s390/kvm/
Dvsie.c462 scb_s->epoch = scb_o->epoch; in shadow_scb()
1226 scb_s->epoch += vcpu->kvm->arch.epoch; in register_shadow_scb()
1230 if (scb_s->epoch < vcpu->kvm->arch.epoch) in register_shadow_scb()

123