Home
last modified time | relevance | path

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

12

/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()
H A Dio_thread.c154 sp->hdr.epoch = ntohl(whdr.epoch); in rxrpc_extract_header()
/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.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()
3659 u32 epoch; global() member
4139 u32 epoch; ceph_osdc_handle_map() local
[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()
1668 u32 epoch = 0; in osdmap_decode() local
1684 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode()
1798 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode()
1805 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode()
1976 u32 epoch = 0; in osdmap_apply_incremental() local
1996 epoch = ceph_decode_32(p); in osdmap_apply_incremental()
2001 if (epoch != map->epoch + 1) in osdmap_apply_incremental()
2036 map->epoch++; in osdmap_apply_incremental()
2113 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/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()
1012 rsp->Epoch = br_info->epoch; in __smb2_lease_break_noti()
1110 lease->epoch++; in smb2_lease_break_noti()
1111 br_info->epoch = cpu_to_le16(lease->epoch); in smb2_lease_break_noti()
1113 br_info->epoch = 0; in smb2_lease_break_noti()
1961 buf->lcontext.Epoch = cpu_to_le16(lease->epoch); in create_lease_buf()
2030 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/drivers/crypto/caam/
H A Dpdb.h364 u16 epoch; member
388 u16 epoch; member
/linux/fs/smb/client/
H A Dcifsglob.h360 __u16 epoch, bool *purge_cache);
555 void (*set_oplock_level)(struct cifsInodeInfo *cinode, __u32 oplock, __u16 epoch,
560 __u8 (*parse_lease_buf)(void *buf, __u16 *epoch, char *lkey);
1425 __u16 epoch; member
1564 __u16 epoch; /* used to track lease state changes */ member
/linux/drivers/scsi/
H A Dmyrs.h558 unsigned int epoch; /* Bytes 16-19 */ member
900 unsigned int epoch; member

12