Home
last modified time | relevance | path

Searched full:epoch (Results 1 – 25 of 157) sorted by relevance

1234567

/linux-6.12.1/arch/alpha/kernel/
Drtc.c28 * Further, generic code is really, really tied to a 1900 epoch. This is
39 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()
46 __setup("epoch=", specifiy_epoch);
51 int epoch, year, ctrl; in init_rtc_epoch() local
54 /* The epoch was specified on the command-line. */ in init_rtc_epoch()
58 /* Detect the epoch in use on this computer. */ in init_rtc_epoch()
65 epoch = 1900; in init_rtc_epoch()
[all …]
/linux-6.12.1/include/linux/ceph/
Dmon_client.h20 u32 epoch; member
98 u32 have; /* epoch */
125 * epoch @epoch, and also call in when we receive a map. We will
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-6.12.1/net/sched/
Dsch_plug.c17 * next epoch speculatively.
20 * 1.At epoch i, start_buffer(i)
21 * 2. At end of epoch i (i.e. after 50ms):
24 * 3. While speculatively executing epoch(i+1), asynchronously replicate
28 * TCQ_PLUG_BUFFER (epoch i)
29 * .. TCQ_PLUG_BUFFER (epoch i+1)
30 * ....TCQ_PLUG_RELEASE_ONE (epoch i)
31 * ......TCQ_PLUG_BUFFER (epoch i+2)
69 * executing epoch.
74 * epoch. These will be released when we receive a
/linux-6.12.1/net/rxrpc/
Dconn_service.c15 * attacker as the client gets to pick the epoch and cid values and would know
30 k.epoch = sp->hdr.epoch; in rxrpc_find_service_conn_rcu()
107 /* The old connection is from an outdated epoch. */ in rxrpc_publish_service_conn()
157 conn->proto.epoch = sp->hdr.epoch; in rxrpc_new_incoming_connection()
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()
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()
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()
Dlocal_event.c56 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
Dprotocol.h22 __be32 epoch; /* client boot timestamp */ member
166 __be32 epoch; /* current epoch */ member
/linux-6.12.1/net/ceph/
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()
418 * @epoch: X for "every map since X", or 0 for "just the latest"
421 u32 epoch, bool continuous) in __ceph_monc_want_map() argument
423 __le64 start = cpu_to_le64(epoch); in __ceph_monc_want_map()
426 dout("%s %s epoch %u continuous %d\n", __func__, ceph_sub_str[sub], 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
[all …]
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 …]
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-6.12.1/arch/sh/boards/mach-dreamcast/
Drtc.c16 /* The AICA RTC has an Epoch of 1/1/1950, so we must subtract 20 years (in
17 seconds) to get the standard Unix Epoch when getting the time, and add
31 * Grabs the current RTC seconds counter and adjusts it to the Unix Epoch.
59 * Adjusts the given @tv to the AICA Epoch and sets the RTC seconds counter.
/linux-6.12.1/Documentation/filesystems/ext4/
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
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-6.12.1/Documentation/ABI/testing/
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-6.12.1/fs/smb/server/
Doplock.h30 __le16 epoch; member
50 unsigned short epoch; member
81 __le16 epoch; member
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 = lease1->epoch; in copy_lease()
1191 !lctx->epoch)) in smb_grant_oplock()
1451 buf->lcontext.Epoch = cpu_to_le16(lease->epoch); in create_lease_buf()
[all …]
/linux-6.12.1/fs/adfs/
Dinode.c171 * of time to convert from RISC OS epoch to Unix epoch.
177 /* 01 Jan 1970 00:00:00 (Unix epoch) as nanoseconds since in adfs_adfs2unix_time()
178 * 01 Jan 1900 00:00:00 (RISC OS epoch) in adfs_adfs2unix_time()
197 /* convert from RISC OS to Unix epoch */ in adfs_adfs2unix_time()
218 /* convert from Unix to RISC OS epoch */ in adfs_unix2adfs_time()
/linux-6.12.1/drivers/xen/xen-pciback/
Dconf_space_quirks.h5 * Ryan Wilson <hap9@epoch.ncsc.mil>
6 * Chris Bookholt <hap10@epoch.ncsc.mil>
Dconf_space_quirks.c5 * Author: Ryan Wilson <hap9@epoch.ncsc.mil>
6 * Author: Chris Bookholt <hap10@epoch.ncsc.mil>
/linux-6.12.1/drivers/block/drbd/
Ddrbd_req.c38 req->epoch = 0; in drbd_req_new()
167 /* no point closing an epoch, if it is empty, anyways. */ in start_new_tl_epoch()
237 * we may need to close the current transfer log epoch. in drbd_req_complete()
239 * the request epoch number with the current transfer log in drbd_req_complete()
240 * epoch number. If they match, increase the current_tle_nr, in drbd_req_complete()
241 * and reset the transfer log epoch write_cnt. in drbd_req_complete()
244 req->epoch == atomic_read(&first_peer_device(device)->connection->current_tle_nr)) in drbd_req_complete()
683 * again ourselves to close the current epoch. in __req_mod()
685 * Add req to the (now) current epoch (barrier). */ in __req_mod()
699 /* close the epoch, in case it outgrew the limit */ in __req_mod()
[all …]
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()
1440 * replicated epoch, before we went into AHEAD mode. in w_send_out_of_sync()
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()
1503 /* Even read requests may close a write epoch, in w_send_read_req()
[all …]
/linux-6.12.1/net/ipv4/
Dtcp_bic.c55 u32 epoch_start; /* beginning of an epoch */
92 if (ca->epoch_start == 0) /* record the beginning of an epoch */ in bictcp_update()
166 ca->epoch_start = 0; /* end of epoch */ in bictcp_recalc_ssthresh()
/linux-6.12.1/kernel/time/
Dsched_clock.c136 * Atomically update the sched_clock() epoch.
190 /* Update epoch for new counter and update 'epoch_ns' from old counter*/ in sched_clock_register()
250 * sets the initial epoch. in generic_sched_clock_init()

1234567