/linux/arch/alpha/kernel/ |
H A D | rtc.c | 28 * 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 D | mon_client.h | 20 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 D | sch_plug.c | 17 * 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 D | mon_client.c | 78 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 …]
|
H A D | osd_client.c | 481 dest->epoch = src->epoch; in target_copy() 1559 (osdc->osdmap->epoch < osdc->epoch_barrier); in target_should_be_paused() 1625 t->epoch = osdc->osdmap->epoch; in calc_target() 1633 if (osdc->osdmap->epoch == pi->last_force_request_resend) { in calc_target() 2183 ceph_encode_32(&p, req->r_osdc->osdmap->epoch); in encode_request_partial() 2255 __le32 epoch; in encode_request_finish() member 2295 ceph_encode_copy(&p, &head.epoch, sizeof(head.epoch)); in encode_request_finish() 2364 req->r_t.spgid.shard, osd->o_osd, req->r_t.epoch, req->r_flags, in send_request() 2381 WARN_ON(!osdc->osdmap->epoch); in maybe_request_map() 2393 osdc->osdmap->epoch + 1, continuous)) in maybe_request_map() [all …]
|
H A D | debugfs.c | 42 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()
|
H A D | osdmap.c | 25 map->epoch, &vaf); in osdmap_info() 1670 u32 epoch = 0; in osdmap_decode() local 1682 /* fsid, epoch, created, modified */ in osdmap_decode() 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() 1806 pr_err("corrupt full osdmap (%d) epoch %d off %d (%p of %p-%p)\n", in osdmap_decode() 1807 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode() 1969 u32 epoch = 0; in osdmap_apply_incremental() local 1985 /* fsid, epoch, modified, new_pool_max, new_flags */ in osdmap_apply_incremental() 1989 epoch = ceph_decode_32(p); in osdmap_apply_incremental() [all …]
|
/linux/net/rxrpc/ |
H A D | conn_service.c | 15 * 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 D | net_ns.c | 40 get_random_bytes(&rxnet->epoch, sizeof(rxnet->epoch)); in rxrpc_init_net() 41 rxnet->epoch |= RXRPC_RANDOM_EPOCH; in rxrpc_init_net()
|
H A D | output.c | 174 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() 850 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_reject_packet() 888 whdr.epoch = htonl(peer->local->rxnet->epoch); in rxrpc_send_keepalive()
|
H A D | local_event.c | 56 whdr.epoch = htonl(sp->hdr.epoch); in rxrpc_send_version_request()
|
H A D | rxkad.c | 217 tmpbuf[0] = htonl(conn->proto.epoch); in rxkad_prime_packet_security() 665 whdr.epoch = htonl(conn->proto.epoch); in rxkad_issue_challenge() 724 whdr.epoch = htonl(hdr->epoch); in rxkad_send_response() 850 resp->encrypted.epoch = htonl(conn->proto.epoch); in rxkad_respond_to_challenge() 1125 if (ntohl(response->encrypted.epoch) != conn->proto.epoch || in rxkad_verify_response()
|
/linux/arch/sh/boards/mach-dreamcast/ |
H A D | rtc.c | 16 /* 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 D | inodes.rst | 55 - 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 D | super.rst | 79 - 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/fs/adfs/ |
H A D | inode.c | 171 * 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/Documentation/ABI/testing/ |
H A D | sysfs-class-rtc | 51 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 D | oplock.h | 30 __le16 epoch; member 50 unsigned short epoch; member 81 __le16 epoch; member
|
H A D | oplock.c | 109 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/drivers/xen/xen-pciback/ |
H A D | conf_space_quirks.h | 5 * Ryan Wilson <hap9@epoch.ncsc.mil> 6 * Chris Bookholt <hap10@epoch.ncsc.mil>
|
H A D | conf_space_quirks.c | 5 * Author: Ryan Wilson <hap9@epoch.ncsc.mil> 6 * Author: Chris Bookholt <hap10@epoch.ncsc.mil>
|
/linux/drivers/block/drbd/ |
H A D | drbd_req.c | 38 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 D | drbd_worker.c | 1402 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/net/ipv4/ |
H A D | tcp_bic.c | 55 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 D | smb2ops.c | 1448 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid() 3908 __u16 epoch, bool *purge_cache) in smb2_downgrade_oplock() argument 3915 __u16 epoch, bool *purge_cache); 3920 __u16 epoch, bool *purge_cache) in smb3_downgrade_oplock() argument 3923 __u16 old_epoch = cinode->epoch; in smb3_downgrade_oplock() 3926 if (epoch > old_epoch) { in smb3_downgrade_oplock() 3928 cinode->epoch = epoch; in smb3_downgrade_oplock() 3937 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock() 3943 __u16 epoch, bool *purge_cache) in smb2_set_oplock_level() argument 3967 __u16 epoch, bool *purge_cache) in smb21_set_oplock_level() argument [all …]
|