Home
last modified time | relevance | path

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

123

/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()
495 hdr->epoch = htonl(call->conn->proto.epoch); in rxgk_verify_packet_integrity()
563 if (ntohl(hdr->epoch) != call->conn->proto.epoch || in rxgk_verify_packet_encrypted()
669 whdr->epoch = htonl(conn->proto.epoch); in rxgk_issue_challenge()
849 __be32 epoch; rxgk_construct_authenticator() member
1093 u32 app_len, call_count, level, epoch, cid, i; rxgk_verify_authenticator() local
[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 Dlocal_event.c56 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
H A Doutput.c172 whdr->epoch = htonl(call->conn->proto.epoch); in rxrpc_fill_out_ack()
392 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 Drxkad.c194 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security()
532 whdr.epoch = htonl(conn->proto.epoch); in rxkad_verify_packet_2()
655 h.whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
668 h.resp.encrypted.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge()
1020 if (ntohl(response->encrypted.epoch) != conn->proto.epoch || in rxkad_decrypt_ticket()
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 %u\n", __func__, &fsid, epoch, in ceph_monmap_decode()
126 monmap->epoch = epoch; in ceph_monmap_decode()
423 u32 epoch, bool continuous) in __ceph_monc_want_map() argument
425 __le64 start = cpu_to_le64(epoch); in __ceph_monc_want_map()
429 epoch, continuous); in __ceph_monc_want_map()
443 bool ceph_monc_want_map(struct ceph_mon_client *monc, int sub, u32 epoch, in ceph_monc_want_map() argument
449 need_request = __ceph_monc_want_map(monc, sub, epoch, continuous); in ceph_monc_want_map()
462 u32 epoch) in __ceph_monc_got_map() argument
[all …]
H A Dosd_client.c459 dest->epoch = src->epoch; in target_copy()
1534 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1601 t->epoch = osdc->osdmap->epoch; in calc_target()
1609 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
2165 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2237 __le32 epoch; in encode_request_finish() member
2277 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2346 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2363 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2375 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()
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()
1978 u32 epoch = 0; in osdmap_apply_incremental() local
1998 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
2003 if (epoch != map->epoch + 1) in osdmap_apply_incremental()
2038 map->epoch++; in osdmap_apply_incremental()
2115 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental()
[all …]
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/fuse/
H A Dreaddir.c166 int epoch; in fuse_direntplus_link() local
196 epoch = atomic_read(&fc->epoch); in fuse_direntplus_link()
263 fuse_dentry_set_epoch(dentry, epoch); in fuse_direntplus_link()
491 fi->rdc.epoch = 0; in fuse_rdc_reset()
533 fi->rdc.epoch = atomic_read(&fc->epoch); in fuse_readdir_cached()
548 fi->rdc.epoch != atomic_read(&fc->epoch)) { in fuse_readdir_cached()
/linux/fs/smb/server/
H A Doplock.h30 __le16 epoch; member
51 unsigned short epoch; member
88 __le16 epoch; member
H A Doplock.c189 lease->epoch = lctx->version == 2 ? le16_to_cpu(lctx->epoch) + 1 : 0; in alloc_lease()
705 lease->epoch++; in same_client_has_lease()
718 lease->epoch++; in same_client_has_lease()
727 lease->epoch++; in same_client_has_lease()
1051 rsp->Epoch = br_info->epoch; in __smb2_lease_break_noti()
1149 lease->epoch++; in smb2_lease_break_noti()
1150 br_info->epoch = cpu_to_le16(lease->epoch); in smb2_lease_break_noti()
1152 br_info->epoch = 0; in smb2_lease_break_noti()
2002 buf->lcontext.Epoch = cpu_to_le16(lease->epoch); in create_lease_buf()
2071 lreq->epoch = lc->lcontext.Epoch; in parse_lease_state()
/linux/tools/testing/selftests/bpf/libarena/selftests/
H A Dtest_parallel_spmc.bpf.c154 int spmc_quiesce_on_owner(u64 epoch) in spmc_quiesce_on_owner() argument
161 if (smp_load_acquire(&owner_epoch) >= epoch) in spmc_quiesce_on_owner()
171 int spmc_quiesce_on_stealer(u64 epoch) in spmc_quiesce_on_stealer() argument
177 target = STEALER_EPOCH(epoch); in spmc_quiesce_on_stealer()
/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/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/fs/smb/client/
H A Dsmb2ops.c1501 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid()
4421 __u16 epoch, bool *purge_cache) in smb21_set_oplock_level()
4429 __u16 epoch, bool *purge_cache); in smb21_set_oplock_level()
4434 __u16 epoch, bool *purge_cache) in smb21_set_oplock_level()
4437 __u16 old_epoch = cinode->epoch; in smb21_set_oplock_level()
4440 if (epoch > old_epoch) { in smb21_set_oplock_level()
4442 cinode->epoch = epoch; in smb21_set_oplock_level()
4451 else if (old_state == new_state && (epoch - old_epoch > 1))
4457 __u16 epoch, boo in smb3_set_oplock_level()
4357 smb2_downgrade_oplock(struct TCP_Server_Info * server,struct cifsInodeInfo * cinode,__u32 oplock,__u16 epoch,bool * purge_cache) smb2_downgrade_oplock() argument
4370 smb3_downgrade_oplock(struct TCP_Server_Info * server,struct cifsInodeInfo * cinode,__u32 oplock,__u16 epoch,bool * purge_cache) smb3_downgrade_oplock() argument
4393 smb2_set_oplock_level(struct cifsInodeInfo * cinode,__u32 oplock,__u16 epoch,bool * purge_cache) smb2_set_oplock_level() argument
4417 smb21_set_oplock_level(struct cifsInodeInfo * cinode,__u32 oplock,__u16 epoch,bool * purge_cache) smb21_set_oplock_level() argument
4454 smb3_set_oplock_level(struct cifsInodeInfo * cinode,__u32 oplock,__u16 epoch,bool * purge_cache) smb3_set_oplock_level() argument
4573 smb2_parse_lease_buf(void * buf,__u16 * epoch,char * lease_key) smb2_parse_lease_buf() argument
4589 smb3_parse_lease_buf(void * buf,__u16 * epoch,char * lease_key) smb3_parse_lease_buf() argument
[all...]
H A Dtrace.h1461 __u16 epoch,
1466 TP_ARGS(lease_state, flags, epoch, tid, sesid, lease_key_low, lease_key_high),
1470 __field(__u16, epoch)
1479 __entry->epoch = epoch;
1487 __entry->lease_key_low, __entry->lease_state, __entry->flags, __entry->epoch)
1494 __u16 epoch, \
1499 TP_ARGS(lease_state, flags, epoch, tid, sesid, lease_key_low, lease_key_high))
/linux/drivers/crypto/caam/
H A Dpdb.h364 u16 epoch; member
388 u16 epoch; member

123