Home
last modified time | relevance | path

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

123456

/linux/arch/alpha/kernel/
H A 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/include/linux/ceph/
H A 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/net/sched/
H A 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/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()
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 in __ceph_monc_want_map()
441 ceph_monc_want_map(struct ceph_mon_client * monc,int sub,u32 epoch,bool continuous) ceph_monc_want_map() argument
460 __ceph_monc_got_map(struct ceph_mon_client * monc,int sub,u32 epoch) __ceph_monc_got_map() argument
474 ceph_monc_got_map(struct ceph_mon_client * monc,int sub,u32 epoch) ceph_monc_got_map() argument
496 ceph_monc_wait_osdmap(struct ceph_mon_client * monc,u32 epoch,unsigned long timeout) ceph_monc_wait_osdmap() argument
[all...]
H A Dosd_client.c458 dest->epoch = src->epoch; in target_copy()
1536 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused()
1602 t->epoch = osdc->osdmap->epoch; in calc_target()
1610 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target()
2160 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial()
2232 __le32 epoch; in encode_request_finish() member
2272 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish()
2341 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request()
2358 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map()
2370 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map()
[all …]
H A 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/net/rxrpc/
H A 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()
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()
824 * unsigned int epoch;
841 __be32 epoch; in rxgk_construct_authenticator() member
873 b.epoch = htonl(conn->proto.epoch); in rxgk_construct_authenticator()
1074 * unsigned int epoch;
[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()
/linux/arch/sh/boards/mach-dreamcast/
H A 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/Documentation/filesystems/ext4/
H A 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
H A 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.
367 - First time an error happened, in seconds since the epoch.
387 - Time of most recent error, in seconds since the epoch.
/linux/fs/adfs/
H A Dinode.c172 * of time to convert from RISC OS epoch to Unix epoch.
178 /* 01 Jan 1970 00:00:00 (Unix epoch) as nanoseconds since in adfs_adfs2unix_time()
179 * 01 Jan 1900 00:00:00 (RISC OS epoch) in adfs_adfs2unix_time()
198 /* convert from RISC OS to Unix epoch */ in adfs_adfs2unix_time()
219 /* convert from Unix to RISC OS epoch */ in adfs_unix2adfs_time()
/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/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/drivers/xen/xen-pciback/
H A Dconf_space_quirks.h5 * Ryan Wilson <hap9@epoch.ncsc.mil>
6 * Chris Bookholt <hap10@epoch.ncsc.mil>
H A Dconf_space_quirks.c5 * Author: Ryan Wilson <hap9@epoch.ncsc.mil>
6 * Author: Chris Bookholt <hap10@epoch.ncsc.mil>
/linux/drivers/block/drbd/
H A 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 …]
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()
1421 * replicated epoch, before we went into AHEAD mode. in w_send_out_of_sync()
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()
1484 /* Even read requests may close a write epoch, in w_send_read_req()
[all …]
/linux/net/ipv4/
H A 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/fs/smb/client/
H A Dtrace.h1172 /* Tracepoint when a lease break request is received/entered (includes epoch and flags) */
1176 __u16 epoch,
1181 TP_ARGS(lease_state, flags, epoch, tid, sesid, lease_key_low, lease_key_high),
1185 __field(__u16, epoch)
1194 __entry->epoch = epoch;
1200 TP_printk("sid=0x%llx tid=0x%x lease_key=0x%llx%llx lease_state=0x%x flags=0x%x epoch=%u",
1202 __entry->lease_key_low, __entry->lease_state, __entry->flags, __entry->epoch)
1209 __u16 epoch, \
1214 TP_ARGS(lease_state, flags, epoch, tid, sesid, lease_key_low, lease_key_high))
1217 /* Lease not found: reuse lease_enter payload (includes epoch and flags) */
/linux/kernel/time/
H A Dsched_clock.c150 * Atomically update the sched_clock() epoch.
203 /* Update epoch for new counter and update 'epoch_ns' from old counter*/ in sched_clock_register()
264 * sets the initial epoch. in generic_sched_clock_init()

123456