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 Drxgk.c358 hdr->epoch = htonl(call->conn->proto.epoch); in rxgk_secure_packet_integrity()
401 hdr->epoch = htonl(call->conn->proto.epoch); in rxgk_secure_packet_encrypted()
490 hdr->epoch = htonl(call->conn->proto.epoch); in rxgk_verify_packet_integrity()
555 if (ntohl(hdr.epoch) != call->conn->proto.epoch || in rxgk_verify_packet_encrypted()
661 whdr->epoch = htonl(conn->proto.epoch); in rxgk_issue_challenge()
798 h.whdr.epoch = htonl(conn->proto.epoch); in rxgk_insert_response_header()
841 __be32 epoch; in rxgk_construct_authenticator() member
873 b.epoch = htonl(conn->proto.epoch); in rxgk_construct_authenticator()
1084 u32 app_len, call_count, level, epoch, cid, i; in rxgk_do_verify_authenticator() local
1104 epoch = ntohl(*p++); in rxgk_do_verify_authenticator()
[all …]
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 Doutput.c174 whdr->epoch = htonl(call->conn->proto.epoch); in rxrpc_fill_out_ack()
394 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_abort_packet()
551 whdr->epoch = htonl(call->conn->proto.epoch); in rxrpc_prepare_data_packet()
766 whdr.epoch = htonl(conn->proto.epoch); in rxrpc_send_conn_abort()
833 .epoch = htonl(sp->hdr.epoch), in rxrpc_reject_packet()
892 whdr.epoch = htonl(peer->local->rxnet->epoch); in rxrpc_send_keepalive()
H A Dlocal_event.c56 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
H A Drxkad.c219 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security()
667 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
825 h.whdr.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge()
838 h.resp.encrypted.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge()
1199 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()
H A Dconn_event.c139 pkt.whdr.epoch = htonl(conn->proto.epoch); in rxrpc_conn_retransmit_call()
H A Dconn_object.c116 if (conn->proto.epoch != sp->hdr.epoch || in rxrpc_find_client_connection_rcu()
/linux/fs/smb/server/
H A Doplock.h30 __le16 epoch; member
50 unsigned short epoch; member
79 __le16 epoch; member
H A Doplock.c108 lease->epoch = le16_to_cpu(lctx->epoch) + 1; in alloc_lease()
520 lease->epoch++; in same_client_has_lease()
532 lease->epoch++; in same_client_has_lease()
539 lease->epoch++; in same_client_has_lease()
763 rsp->Epoch = br_info->epoch; in __smb2_lease_break_noti()
815 br_info->epoch = cpu_to_le16(++lease->epoch); in smb2_lease_break_noti()
817 br_info->epoch = 0; in smb2_lease_break_noti()
1029 lease2->epoch = lease1->epoch; in copy_lease()
1185 !lctx->epoch)) in smb_grant_oplock()
1443 buf->lcontext.Epoch = cpu_to_le16(lease->epoch); in create_lease_buf()
[all …]
/linux/net/ceph/
H A Dosd_client.c458 dest->epoch = src->epoch; in target_copy()
1534 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1600 t->epoch = osdc->osdmap->epoch; in calc_target()
1608 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
2158 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2230 __le32 epoch; in encode_request_finish() member
2270 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2339 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2356 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2368 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
[all …]
H A Ddebugfs.c43 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show()
71 seq_printf(s, "epoch %u barrier %u flags 0x%x\n", map->epoch, in osdmap_show()
201 seq_printf(s, "]/%d\te%u\t", t->acting.primary, t->epoch); in dump_target()
H A Dosdmap.c25 map->epoch, &vaf); in osdmap_info()
1656 u32 epoch = 0; in osdmap_decode() local
1672 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode()
1786 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1793 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode()
1961 u32 epoch = 0; in osdmap_apply_incremental() local
1981 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
1982 BUG_ON(epoch != map->epoch+1); in osdmap_apply_incremental()
2019 map->epoch++; in osdmap_apply_incremental()
2096 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
[all …]
H A Dceph_common.c807 have_monmap = client->monc.monmap && client->monc.monmap->epoch; in __ceph_open_session()
811 have_osdmap = client->osdc.osdmap && client->osdc.osdmap->epoch; in __ceph_open_session()
868 if (client->osdc.osdmap->epoch >= newest_epoch) in ceph_wait_for_latest_osdmap()
/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/fs/fuse/
H A Ddir.c388 if (entry->d_time < atomic_read(&fc->epoch)) in fuse_dentry_revalidate()
611 int err, epoch; in fuse_lookup() local
619 epoch = atomic_read(&fc->epoch); in fuse_lookup()
642 entry->d_time = epoch; in fuse_lookup()
825 int epoch, err; in fuse_create_open() local
831 epoch = atomic_read(&fm->fc->epoch); in fuse_create_open()
900 entry->d_time = epoch; in fuse_create_open()
981 int epoch, err; in create_new_entry() local
986 epoch = atomic_read(&fm->fc->epoch); in create_new_entry()
1030 d->d_time = epoch; in create_new_entry()
[all …]
/linux/fs/smb/client/
H A Dsmb2ops.c1469 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid()
4043 __u16 epoch, bool *purge_cache) in smb2_downgrade_oplock() argument
4050 __u16 epoch, bool *purge_cache);
4055 __u16 epoch, bool *purge_cache) in smb3_downgrade_oplock() argument
4058 __u16 old_epoch = cinode->epoch; in smb3_downgrade_oplock()
4061 if (epoch > old_epoch) { in smb3_downgrade_oplock()
4063 cinode->epoch = epoch; in smb3_downgrade_oplock()
4072 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock()
4078 __u16 epoch, bool *purge_cache) in smb2_set_oplock_level() argument
4102 __u16 epoch, bool *purge_cache) in smb21_set_oplock_level() argument
[all …]
H A Dtrace.h1308 __u16 epoch,
1313 TP_ARGS(lease_state, flags, epoch, tid, sesid, lease_key_low, lease_key_high),
1317 __field(__u16, epoch)
1326 __entry->epoch = epoch;
1334 __entry->lease_key_low, __entry->lease_state, __entry->flags, __entry->epoch)
1341 __u16 epoch, \
1346 TP_ARGS(lease_state, flags, epoch, tid, sesid, lease_key_low, lease_key_high))
/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/drivers/block/drbd/
H A Ddrbd_worker.c1383 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write() argument
1387 connection->send.current_epoch_nr = epoch; in re_init_if_first_write()
1393 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier() argument
1398 if (connection->send.current_epoch_nr != epoch) { in maybe_send_barrier()
1401 connection->send.current_epoch_nr = epoch; in maybe_send_barrier()
1423 maybe_send_barrier(connection, req->epoch); in w_send_out_of_sync()
1451 re_init_if_first_write(connection, req->epoch); in w_send_dblock()
1452 maybe_send_barrier(connection, req->epoch); in w_send_dblock()
1486 maybe_send_barrier(connection, req->epoch); in w_send_read_req()
/linux/arch/s390/kvm/
H A Dvsie.c509 scb_s->epoch = scb_o->epoch; in shadow_scb()
1302 scb_s->epoch += vcpu->kvm->arch.epoch; in register_shadow_scb()
1306 if (scb_s->epoch < vcpu->kvm->arch.epoch) in register_shadow_scb()

123