/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | rtc.c | 28 * Further, generic code is really, really tied to a 1900 epoch. This is 39 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() 46 __setup("epoch=", specifiy_epoch); 51 int epoch, year, ctrl; in init_rtc_epoch() local 54 /* The epoch was specified on the command-line. */ in init_rtc_epoch() 58 /* Detect the epoch i in init_rtc_epoch() [all...] |
/kernel/linux/linux-6.6/arch/alpha/kernel/ |
H A D | rtc.c | 28 * Further, generic code is really, really tied to a 1900 epoch. This is 39 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() 46 __setup("epoch=", specifiy_epoch); 51 int epoch, year, ctrl; in init_rtc_epoch() local 54 /* The epoch was specified on the command-line. */ in init_rtc_epoch() 58 /* Detect the epoch i in init_rtc_epoch() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A 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()
|
/kernel/linux/linux-5.10/include/linux/ceph/ |
H A D | mon_client.h | 20 u32 epoch; member 98 u32 have; /* epoch */ 125 * epoch @epoch, and also call in when we receive a map. We will 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-6.6/include/linux/ceph/ |
H A D | mon_client.h | 20 u32 epoch; member 98 u32 have; /* epoch */ 125 * epoch @epoch, and also call in when we receive a map. We will 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/net/ceph/ |
H A D | mon_client.c | 47 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() 347 * @epoch: X for "every map since X", or 0 for "just the latest" 350 u32 epoch, bool continuous) in __ceph_monc_want_map() 352 __le64 start = cpu_to_le64(epoch); in __ceph_monc_want_map() 355 dout("%s %s epoch in __ceph_monc_want_map() 349 __ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, bool continuous) __ceph_monc_want_map() argument 370 ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, bool continuous) ceph_monc_want_map() argument 388 __ceph_monc_got_map(struct ceph_mon_client *monc, int sub, u32 epoch) __ceph_monc_got_map() argument 403 ceph_monc_got_map(struct ceph_mon_client *monc, int sub, u32 epoch) ceph_monc_got_map() argument 425 ceph_monc_wait_osdmap(struct ceph_mon_client *monc, u32 epoch, unsigned long timeout) ceph_monc_wait_osdmap() argument [all...] |
/kernel/linux/linux-6.6/net/rxrpc/ |
H A D | conn_service.c | 15 * attacker as the client gets to pick the epoch and cid values and would know 30 k.epoch = sp->hdr.epoch; in rxrpc_find_service_conn_rcu() 107 /* The old connection is from an outdated epoch. */ in rxrpc_publish_service_conn() 157 conn->proto.epoch = sp->hdr.epoch; in rxrpc_new_incoming_connection()
|
H A D | net_ns.c | 40 get_random_bytes(&rxnet->epoch, sizeof(rxnet->epoch)); in rxrpc_init_net() 41 rxnet->epoch |= RXRPC_RANDOM_EPOCH; in rxrpc_init_net()
|
H A D | local_event.c | 56 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
|
H A D | protocol.h | 22 __be32 epoch; /* client boot timestamp */ member 166 __be32 epoch; /* current epoch */ member
|
H A D | output.c | 290 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_abort_packet() 541 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_conn_abort() 625 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_reject_packet() 663 whdr.epoch = htonl(peer->local->rxnet->epoch); in rxrpc_send_keepalive()
|
H A D | txbuf.c | 37 txb->wire.epoch = htonl(call->conn->proto.epoch); in rxrpc_alloc_txbuf()
|
H A D | rxkad.c | 211 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security() 649 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge() 708 whdr.epoch = htonl(hdr->epoch); in rxkad_send_response() 835 resp->encrypted.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge() 1110 if (ntohl(response->encrypted.epoch) != conn->proto.epoch || in rxkad_verify_response()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A 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()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
H A D | net_ns.c | 49 get_random_bytes(&rxnet->epoch, sizeof(rxnet->epoch)); in rxrpc_init_net() 50 rxnet->epoch |= RXRPC_RANDOM_EPOCH; in rxrpc_init_net()
|
H A D | conn_service.c | 21 * attacker as the client gets to pick the epoch and cid values and would know 36 k.epoch = sp->hdr.epoch; in rxrpc_find_service_conn_rcu() 113 /* The old connection is from an outdated epoch. */ in rxrpc_publish_service_conn() 167 conn->proto.epoch = sp->hdr.epoch; in rxrpc_new_incoming_connection()
|
H A D | output.c | 207 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() [all...] |
H A D | protocol.h | 22 __be32 epoch; /* client boot timestamp */ member 173 __be32 epoch; /* current epoch */ member
|
H A D | local_event.c | 47 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
|
H A D | rxkad.c | 128 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()
|
H A D | conn_object.c | 95 k.epoch = sp->hdr.epoch; in rxrpc_find_connection_rcu() 123 if (conn->proto.epoch != k.epoch || in rxrpc_find_connection_rcu()
|
H A D | conn_event.c | 76 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call() 230 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_abort_connection()
|
/kernel/linux/linux-6.6/fs/smb/server/ |
H A D | oplock.h | 37 __le16 epoch; member 57 unsigned short epoch; member 88 __le16 epoch; member
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | mon_client.c | 78 u32 epoch; in ceph_monmap_decode() local 91 ceph_decode_32_safe(p, end, epoch, e_inval); in ceph_monmap_decode() 115 dout("%s fsid %pU epoch %u num_mon %d\n", __func__, &fsid, epoch, in ceph_monmap_decode() 126 monmap->epoch = epoch; in ceph_monmap_decode() 418 * @epoch: X for "every map since X", or 0 for "just the latest" 421 u32 epoch, bool continuous) in __ceph_monc_want_map() 423 __le64 start = cpu_to_le64(epoch); in __ceph_monc_want_map() 426 dout("%s %s epoch in __ceph_monc_want_map() 420 __ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, bool continuous) __ceph_monc_want_map() argument 441 ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, bool continuous) ceph_monc_want_map() argument 459 __ceph_monc_got_map(struct ceph_mon_client *monc, int sub, u32 epoch) __ceph_monc_got_map() argument 474 ceph_monc_got_map(struct ceph_mon_client *monc, int sub, u32 epoch) ceph_monc_got_map() argument 496 ceph_monc_wait_osdmap(struct ceph_mon_client *monc, u32 epoch, unsigned long timeout) ceph_monc_wait_osdmap() argument [all...] |
/kernel/linux/linux-5.10/drivers/block/drbd/ |
H A D | drbd_receiver.c | 1352 * drbd_may_finish_epoch() - Applies an epoch_event to the epoch's state, eventually finishes it. 1354 * @epoch: Epoch object. 1358 struct drbd_epoch *epoch, in drbd_may_finish_epoch() 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 in drbd_may_finish_epoch() 1357 drbd_may_finish_epoch(struct drbd_connection *connection, struct drbd_epoch *epoch, enum epoch_event ev) drbd_may_finish_epoch() argument 1774 struct drbd_epoch *epoch; receive_Barrier() local [all...] |