Home
last modified time | relevance | path

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

123

/linux/arch/alpha/kernel/
H A 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/include/linux/ceph/
H A 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/net/rxrpc/
H A 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()
H A Dnet_ns.c40 get_random_bytes(&rxnet->epoch, sizeof(rxnet->epoch)); in rxrpc_init_net()
41 rxnet->epoch |= RXRPC_RANDOM_EPOCH; in rxrpc_init_net()
H A Dtxbuf.c64 whdr->epoch = htonl(call->conn->proto.epoch); in rxrpc_alloc_data_txbuf()
141 whdr->epoch = htonl(call->conn->proto.epoch); in rxrpc_alloc_ack_txbuf()
H A Dlocal_event.c56 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
H A Doutput.c293 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_abort_packet()
542 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_conn_abort()
626 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_reject_packet()
664 whdr.epoch = htonl(peer->local->rxnet->epoch); in rxrpc_send_keepalive()
H A Dprotocol.h22 __be32 epoch; /* client boot timestamp */ member
166 __be32 epoch; /* current epoch */ member
H A Drxkad.c211 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security()
651 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
710 whdr.epoch = htonl(hdr->epoch); in rxkad_send_response()
836 resp->encrypted.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge()
1111 if (ntohl(response->encrypted.epoch) != conn->proto.epoch || in rxkad_verify_response()
H A Dconn_client.c174 conn->proto.epoch = local->rxnet->epoch; in rxrpc_alloc_client_connection()
220 conn->proto.epoch != rxnet->epoch) in rxrpc_may_reuse_conn()
/linux/net/ceph/
H A Dmon_client.c78 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()
421 u32 epoch, bool continuous) in __ceph_monc_want_map() argument
423 __le64 start = cpu_to_le64(epoch); in __ceph_monc_want_map()
427 epoch, continuous); in __ceph_monc_want_map()
441 bool ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, in ceph_monc_want_map() argument
447 need_request = __ceph_monc_want_map(monc, sub, epoch, continuous); in ceph_monc_want_map()
460 u32 epoch) in __ceph_monc_got_map() argument
[all …]
H A Dosd_client.c481 dest->epoch = src->epoch; in target_copy()
1557 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1623 t->epoch = osdc->osdmap->epoch; in calc_target()
1631 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
2181 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2253 __le32 epoch; in encode_request_finish() member
2293 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2362 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2379 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2391 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
[all …]
H A Dosdmap.c25 map->epoch, &vaf); in osdmap_info()
1670 u32 epoch = 0; in osdmap_decode() local
1686 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode()
1800 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1807 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode()
1969 u32 epoch = 0; in osdmap_apply_incremental() local
1989 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
1990 BUG_ON(epoch != map->epoch+1); in osdmap_apply_incremental()
2027 map->epoch++; in osdmap_apply_incremental()
2104 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
[all …]
H A 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()
/linux/fs/smb/server/
H A Doplock.h30 __le16 epoch; member
50 unsigned short epoch; member
81 __le16 epoch; member
H A Doplock.c109 lease->epoch = le16_to_cpu(lctx->epoch) + 1; in alloc_lease()
533 lease->epoch++; in same_client_has_lease()
545 lease->epoch++; in same_client_has_lease()
552 lease->epoch++; in same_client_has_lease()
772 rsp->Epoch = br_info->epoch; in __smb2_lease_break_noti()
824 br_info->epoch = cpu_to_le16(++lease->epoch); in smb2_lease_break_noti()
826 br_info->epoch = 0; in smb2_lease_break_noti()
1040 lease2->epoch in find_same_lease_key()
[all...]
/linux/Documentation/ABI/testing/
H A 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/Documentation/filesystems/ext4/
H A 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
H A Dsuper.rst79 - Mount time, in seconds since the epoch.
83 - Write time, in seconds since the epoch.
111 - Time of last check, in seconds since the epoch.
263 - When the filesystem was created, in seconds since the epoch.
363 - First time an error happened, in seconds since the epoch.
383 - Time of most recent error, in seconds since the epoch.
/linux/drivers/block/drbd/
H A Ddrbd_receiver.c1360 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument
1371 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()
1375 atomic_dec(&epoch->active); in drbd_may_finish_epoch()
1378 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch()
1386 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch()
1387 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch()
1390 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()
1396 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch()
1397 dec_unacked(epoch->connection); in drbd_may_finish_epoch()
1400 if (connection->current_epoch != epoch) { in drbd_may_finish_epoch()
[all …]
H A 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()
/linux/fs/smb/client/
H A Dsmb2ops.c1445 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid()
3927 unsigned int epoch, bool *purge_cache) in smb2_downgrade_oplock() argument
3934 unsigned int epoch, bool *purge_cache);
3939 unsigned int epoch, bool *purge_cache) in smb3_downgrade_oplock() argument
3942 unsigned int old_epoch = cinode->epoch; in smb3_downgrade_oplock()
3945 if (epoch > old_epoch) { in smb3_downgrade_oplock()
3947 cinode->epoch = epoch; in smb3_downgrade_oplock()
3956 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock()
3962 unsigned int epoch, boo in smb2_set_oplock_level() argument
3986 smb21_set_oplock_level(struct cifsInodeInfo * cinode,__u32 oplock,unsigned int epoch,bool * purge_cache) smb21_set_oplock_level() argument
4023 smb3_set_oplock_level(struct cifsInodeInfo * cinode,__u32 oplock,unsigned int epoch,bool * purge_cache) smb3_set_oplock_level() argument
4137 smb2_parse_lease_buf(void * buf,unsigned int * epoch,char * lease_key) smb2_parse_lease_buf() argument
4148 smb3_parse_lease_buf(void * buf,unsigned int * epoch,char * lease_key) smb3_parse_lease_buf() argument
[all...]
/linux/drivers/input/misc/
H A Dhp_sdc_rtc.c56 static unsigned long epoch = 2000; variable
284 &tm, &tm, epoch); in hp_sdc_rtc_proc_show()
/linux/drivers/crypto/caam/
H A Dpdb.h364 u16 epoch; member
388 u16 epoch; member
/linux/arch/s390/kvm/
H A Dvsie.c474 scb_s->epoch = scb_o->epoch; in shadow_scb()
1260 scb_s->epoch += vcpu->kvm->arch.epoch; in register_shadow_scb()
1264 if (scb_s->epoch < vcpu->kvm->arch.epoch) in register_shadow_scb()

123