Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 25 of 60) 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 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 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 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_insert_response_header()
838 h.resp.encrypted.epoch = htonl(conn->proto.epoch); in rxkad_insert_response_header()
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_object.c116 if (conn->proto.epoch != sp->hdr.epoch || in rxrpc_find_client_connection_rcu()
/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.c458 dest->epoch = src->epoch; in target_copy()
1533 (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()
2164 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2236 __le32 epoch; in encode_request_finish() member
2276 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2345 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2362 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2374 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
[all …]
H A Dosdmap.c25 map->epoch, &vaf); in osdmap_info()
1659 u32 epoch = 0; in osdmap_decode() local
1675 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode()
1789 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1796 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode()
1964 u32 epoch = 0; in osdmap_apply_incremental() local
1984 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
1989 if (epoch != map->epoch + 1) in osdmap_apply_incremental()
2024 map->epoch++; in osdmap_apply_incremental()
2101 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
[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 Dceph_common.c806 have_monmap = client->monc.monmap && client->monc.monmap->epoch; in __ceph_open_session()
810 have_osdmap = client->osdc.osdmap && client->osdc.osdmap->epoch; in __ceph_open_session()
867 if (client->osdc.osdmap->epoch >= newest_epoch) in ceph_wait_for_latest_osdmap()
/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/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/drivers/block/drbd/
H A Ddrbd_receiver.c1172 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument
1183 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch()
1187 atomic_dec(&epoch->active); in drbd_may_finish_epoch()
1190 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch()
1198 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch()
1199 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch()
1202 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch()
1208 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch()
1209 dec_unacked(epoch->connection); in drbd_may_finish_epoch()
1212 if (connection->current_epoch != epoch) { in drbd_may_finish_epoch()
[all …]
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/fs/fuse/
H A Ddir.c394 if (entry->d_time < atomic_read(&fc->epoch)) in fuse_dentry_revalidate()
610 int err, epoch; in fuse_lookup() local
618 epoch = atomic_read(&fc->epoch); in fuse_lookup()
641 entry->d_time = epoch; in fuse_lookup()
824 int epoch, err; in fuse_create_open() local
830 epoch = atomic_read(&fm->fc->epoch); in fuse_create_open()
899 entry->d_time = epoch; in fuse_create_open()
980 int epoch, err; in create_new_entry() local
985 epoch = atomic_read(&fm->fc->epoch); in create_new_entry()
1029 d->d_time = epoch; in create_new_entry()
[all …]
/linux/fs/smb/client/
H A Dsmb2ops.c1471 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid()
4058 __u16 epoch, bool *purge_cache) in smb2_downgrade_oplock() argument
4066 __u16 epoch, bool *purge_cache);
4071 __u16 epoch, bool *purge_cache) in smb3_downgrade_oplock() argument
4074 __u16 old_epoch = cinode->epoch; in smb3_downgrade_oplock()
4077 if (epoch > old_epoch) { in smb3_downgrade_oplock()
4079 cinode->epoch = epoch; in smb3_downgrade_oplock()
4088 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock()
4094 __u16 epoch, bool *purge_cache) in smb2_set_oplock_level() argument
4118 __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

123