/linux-4.1.27/arch/alpha/kernel/ |
D | rtc.c | 40 unsigned long epoch = simple_strtoul(str, NULL, 0); in specifiy_epoch() local 41 if (epoch < 1900) in specifiy_epoch() 42 printk("Ignoring invalid user specified epoch %lu\n", epoch); in specifiy_epoch() 44 rtc_epoch = epoch; in specifiy_epoch() 52 int epoch, year, ctrl; in init_rtc_epoch() local 66 epoch = 1900; in init_rtc_epoch() 68 epoch = 2000; in init_rtc_epoch() 71 epoch = 1980; in init_rtc_epoch() 74 epoch = 1952; in init_rtc_epoch() 76 rtc_epoch = epoch; in init_rtc_epoch() [all …]
|
/linux-4.1.27/net/rxrpc/ |
D | ar-connection.c | 232 __be32 epoch; in rxrpc_assign_connection_id() local 237 epoch = conn->epoch; in rxrpc_assign_connection_id() 254 if (epoch < xconn->epoch) in rxrpc_assign_connection_id() 256 else if (epoch > xconn->epoch) in rxrpc_assign_connection_id() 293 if (epoch < xconn->epoch || in rxrpc_assign_connection_id() 359 conn->epoch = rxrpc_epoch; in rxrpc_connect_exclusive() 536 candidate->epoch = rxrpc_epoch; in rxrpc_connect_call() 629 __be32 epoch; in rxrpc_incoming_connection() local 636 epoch = hdr->epoch; in rxrpc_incoming_connection() 648 if (epoch < conn->epoch) in rxrpc_incoming_connection() [all …]
|
D | ar-call.c | 70 __be32 epoch, in rxrpc_call_hashfunc() argument 88 key += (__force u32)epoch; in rxrpc_call_hashfunc() 122 call->call_id, call->epoch, in rxrpc_call_hash_add() 154 __be32 epoch, in rxrpc_find_call_hash() argument 177 key = rxrpc_call_hashfunc(clientflag, cid, call_id, epoch, in rxrpc_find_call_hash() 190 call->epoch == epoch) { in rxrpc_find_call_hash() 294 call->epoch = call->conn->epoch; in rxrpc_alloc_client_call() 538 call->epoch = conn->epoch; in rxrpc_incoming_call()
|
D | ar-connevent.c | 92 hdr.epoch = conn->epoch; in rxrpc_abort_connection() 384 hdr.epoch = sp->hdr.epoch; in rxrpc_reject_packets()
|
D | rxkad.c | 135 tmpbuf.x[0] = conn->epoch; in rxkad_prime_packet_security() 595 hdr.epoch = conn->epoch; in rxkad_issue_challenge() 647 hdr->epoch = conn->epoch; in rxkad_send_response() 789 resp.encrypted.epoch = conn->epoch; in rxkad_respond_to_challenge() 1061 if (response.encrypted.epoch != conn->epoch) in rxkad_verify_response()
|
D | ar-internal.h | 287 __be32 epoch; /* epoch of this connection */ member 409 __be32 epoch; /* epoch of this connection */ member
|
D | ar-output.c | 653 sp->hdr.epoch = conn->epoch; in rxrpc_send_data()
|
D | ar-input.c | 707 ntohl(sp->hdr.epoch), in rxrpc_data_ready() 745 sp->hdr.callNumber, sp->hdr.epoch, in rxrpc_data_ready()
|
D | ar-ack.c | 912 hdr.epoch = call->conn->epoch; in rxrpc_process_call()
|
/linux-4.1.27/arch/m32r/kernel/ |
D | time.c | 142 unsigned int epoch, year, mon, day, hour, min, sec; in read_persistent_clock() local 145 epoch = 0; in read_persistent_clock() 155 epoch = 1980; in read_persistent_clock() 157 epoch = 1952; in read_persistent_clock() 158 year += epoch; in read_persistent_clock()
|
/linux-4.1.27/drivers/staging/lustre/lustre/mdc/ |
D | mdc_lib.c | 330 static void mdc_ioepoch_pack(struct mdt_ioepoch *epoch, in mdc_ioepoch_pack() argument 333 memcpy(&epoch->handle, &op_data->op_handle, sizeof(epoch->handle)); in mdc_ioepoch_pack() 334 epoch->ioepoch = op_data->op_ioepoch; in mdc_ioepoch_pack() 335 epoch->flags = op_data->op_flags & MF_SOM_LOCAL_FLAGS; in mdc_ioepoch_pack() 342 struct mdt_ioepoch *epoch; in mdc_setattr_pack() local 353 epoch = req_capsule_client_get(&req->rq_pill, &RMF_MDT_EPOCH); in mdc_setattr_pack() 354 mdc_ioepoch_pack(epoch, op_data); in mdc_setattr_pack() 520 struct mdt_ioepoch *epoch; in mdc_close_pack() local 523 epoch = req_capsule_client_get(&req->rq_pill, &RMF_MDT_EPOCH); in mdc_close_pack() 528 mdc_ioepoch_pack(epoch, op_data); in mdc_close_pack()
|
D | mdc_reint.c | 181 struct mdt_ioepoch *epoch; in mdc_setattr() local 184 epoch = req_capsule_client_get(&req->rq_pill, &RMF_MDT_EPOCH); in mdc_setattr() 186 LASSERT(epoch != NULL); in mdc_setattr() 188 epoch->handle = body->handle; in mdc_setattr() 189 epoch->ioepoch = body->ioepoch; in mdc_setattr()
|
D | mdc_request.c | 699 struct mdt_ioepoch *epoch; in mdc_replay_open() local 702 epoch = req_capsule_client_get(&close_req->rq_pill, in mdc_replay_open() 704 LASSERT(epoch); in mdc_replay_open() 707 LASSERT(!memcmp(&old, &epoch->handle, sizeof(old))); in mdc_replay_open() 709 epoch->handle = body->handle; in mdc_replay_open() 849 struct mdt_ioepoch *epoch; in mdc_close_handle_reply() local 853 epoch = req_capsule_client_get(&req->rq_pill, &RMF_MDT_EPOCH); in mdc_close_handle_reply() 855 epoch->flags |= MF_SOM_AU; in mdc_close_handle_reply()
|
/linux-4.1.27/fs/cifs/ |
D | smb2ops.c | 536 server->ops->set_oplock_level(cinode, oplock, fid->epoch, in smb2_set_fid() 1200 unsigned int epoch, bool *purge_cache) in smb2_set_oplock_level() argument 1223 unsigned int epoch, bool *purge_cache) in smb21_set_oplock_level() argument 1252 unsigned int epoch, bool *purge_cache) in smb3_set_oplock_level() argument 1256 smb21_set_oplock_level(cinode, oplock, epoch, purge_cache); in smb3_set_oplock_level() 1262 (epoch - cinode->epoch > 0)) in smb3_set_oplock_level() 1265 (epoch - cinode->epoch > 1)) in smb3_set_oplock_level() 1268 (epoch - cinode->epoch > 1)) in smb3_set_oplock_level() 1271 (epoch - cinode->epoch > 0)) in smb3_set_oplock_level() 1275 (epoch - cinode->epoch > 0)) in smb3_set_oplock_level() [all …]
|
D | cifsglob.h | 1011 unsigned int epoch; member 1136 unsigned int epoch; /* used to track lease state changes */ member
|
D | smb2pdu.c | 1041 unsigned int *epoch) in parse_lease_state() argument 1056 return server->ops->parse_lease_buf(cc, epoch); in parse_lease_state() 1249 *oplock = parse_lease_state(server, rsp, &oparms->fid->epoch); in SMB2_open()
|
D | cifsfs.c | 269 cifs_inode->epoch = 0; in cifs_alloc_inode()
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-vr41xx.c | 82 static unsigned long epoch = 1970; /* Jan 1 1970 00:00:00 */ variable 143 epoch_sec = mktime(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_read_time() 155 epoch_sec = mktime(epoch, 1, 1, 0, 0, 0); in vr41xx_rtc_set_time() 214 return put_user(epoch, (unsigned long __user *)arg); in vr41xx_rtc_ioctl() 219 epoch = arg; in vr41xx_rtc_ioctl()
|
/linux-4.1.27/drivers/char/ |
D | rtc.c | 209 static unsigned long epoch = 1900; /* year corresponding to 0x00 */ variable 584 yrs -= epoch; in rtc_do_ioctl() 695 return put_user(epoch, (unsigned long __user *)arg); in rtc_do_ioctl() 708 epoch = arg; in rtc_do_ioctl() 1091 epoch = 2000; in rtc_init() 1094 epoch = 1980; in rtc_init() 1097 epoch = 1952; in rtc_init() 1101 epoch = 2000; in rtc_init() 1105 epoch = 1900; in rtc_init() 1111 guess, epoch); in rtc_init() [all …]
|
/linux-4.1.27/include/linux/ceph/ |
D | mon_client.h | 19 u32 epoch; member 106 extern int ceph_monc_wait_osdmap(struct ceph_mon_client *monc, u32 epoch,
|
D | osdmap.h | 89 u32 epoch; member
|
D | rados.h | 117 __le32 epoch; member
|
/linux-4.1.27/net/ceph/ |
D | debugfs.c | 41 seq_printf(s, "epoch %d\n", client->monc.monmap->epoch); in monmap_show() 63 seq_printf(s, "epoch %d\n", map->epoch); in osdmap_show() 162 if (req->r_reassert_version.epoch) in osdc_show() 164 (unsigned int)le32_to_cpu(req->r_reassert_version.epoch), in osdc_show()
|
D | mon_client.c | 45 u32 epoch, num_mon; in ceph_monmap_decode() local 58 epoch = ceph_decode_32(&p); in ceph_monmap_decode() 69 m->epoch = epoch; in ceph_monmap_decode() 75 dout("monmap_decode epoch %d, num_mon %d\n", m->epoch, in ceph_monmap_decode() 301 int ceph_monc_wait_osdmap(struct ceph_mon_client *monc, u32 epoch, in ceph_monc_wait_osdmap() argument 308 while (monc->have_osdmap < epoch) { in ceph_monc_wait_osdmap() 315 monc->have_osdmap >= epoch, timeout); in ceph_monc_wait_osdmap()
|
D | osdmap.c | 1054 u32 epoch = 0; in osdmap_decode() local 1070 epoch = map->epoch = ceph_decode_32(p); in osdmap_decode() 1155 dout("full osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_decode() 1162 err, epoch, (int)(*p - start), *p, start, end); in osdmap_decode() 1203 u32 epoch = 0; in osdmap_apply_incremental() local 1223 epoch = ceph_decode_32(p); in osdmap_apply_incremental() 1224 BUG_ON(epoch != map->epoch+1); in osdmap_apply_incremental() 1263 map->epoch++; in osdmap_apply_incremental() 1359 dout("inc osdmap epoch %d max_osd %d\n", map->epoch, map->max_osd); in osdmap_apply_incremental() 1366 err, epoch, (int)(*p - start), *p, start, end); in osdmap_apply_incremental()
|
D | osd_client.c | 1491 put_unaligned_le32(osdc->osdmap->epoch, req->r_request_osdmap_epoch); in __send_request() 1867 req->r_reassert_version.epoch = cpu_to_le32(reassert_epoch); in handle_reply() 2063 u32 epoch; in ceph_osdc_handle_map() local 2069 dout("handle_map have %u\n", osdc->osdmap ? osdc->osdmap->epoch : 0); in ceph_osdc_handle_map() 2088 epoch = ceph_decode_32(&p); in ceph_osdc_handle_map() 2092 if (osdc->osdmap && osdc->osdmap->epoch+1 == epoch) { in ceph_osdc_handle_map() 2094 epoch, maplen); in ceph_osdc_handle_map() 2113 epoch, maplen); in ceph_osdc_handle_map() 2126 epoch = ceph_decode_32(&p); in ceph_osdc_handle_map() 2131 epoch, maplen); in ceph_osdc_handle_map() [all …]
|
D | ceph_common.c | 623 return client->monc.monmap && client->monc.monmap->epoch && in have_mon_and_osd_map() 624 client->osdc.osdmap && client->osdc.osdmap->epoch; in have_mon_and_osd_map()
|
/linux-4.1.27/include/rxrpc/ |
D | packet.h | 26 __be32 epoch; /* client boot timestamp */ member 157 __be32 epoch; /* current epoch */ member
|
/linux-4.1.27/drivers/input/misc/ |
D | hp_sdc_rtc.c | 57 static unsigned long epoch = 2000; variable 449 tm.tm_mday, epoch); in hp_sdc_rtc_proc_show() 649 return put_user (epoch, (unsigned long *)arg); in hp_sdc_rtc_ioctl() 661 epoch = arg; in hp_sdc_rtc_ioctl()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_receiver.c | 1225 struct drbd_epoch *epoch, in drbd_may_finish_epoch() argument 1236 epoch_size = atomic_read(&epoch->epoch_size); in drbd_may_finish_epoch() 1240 atomic_dec(&epoch->active); in drbd_may_finish_epoch() 1243 set_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags); in drbd_may_finish_epoch() 1251 atomic_read(&epoch->active) == 0 && in drbd_may_finish_epoch() 1252 (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags) || ev & EV_CLEANUP)) { in drbd_may_finish_epoch() 1255 drbd_send_b_ack(epoch->connection, epoch->barrier_nr, epoch_size); in drbd_may_finish_epoch() 1261 if (test_bit(DE_HAVE_BARRIER_NUMBER, &epoch->flags)) in drbd_may_finish_epoch() 1262 dec_unacked(epoch->connection); in drbd_may_finish_epoch() 1265 if (connection->current_epoch != epoch) { in drbd_may_finish_epoch() [all …]
|
D | drbd_worker.c | 1334 static void re_init_if_first_write(struct drbd_connection *connection, unsigned int epoch) in re_init_if_first_write() argument 1338 connection->send.current_epoch_nr = epoch; in re_init_if_first_write() 1343 static void maybe_send_barrier(struct drbd_connection *connection, unsigned int epoch) in maybe_send_barrier() argument 1348 if (connection->send.current_epoch_nr != epoch) { in maybe_send_barrier() 1351 connection->send.current_epoch_nr = epoch; in maybe_send_barrier() 1373 maybe_send_barrier(connection, req->epoch); in w_send_out_of_sync() 1400 re_init_if_first_write(connection, req->epoch); in w_send_dblock() 1401 maybe_send_barrier(connection, req->epoch); in w_send_dblock() 1431 maybe_send_barrier(connection, req->epoch); in w_send_read_req()
|
D | drbd_req.c | 64 req->epoch = 0; in drbd_req_new() 270 req->epoch == atomic_read(&first_peer_device(device)->connection->current_tle_nr)) in drbd_req_complete() 1263 req->epoch = atomic_read(&first_peer_device(device)->connection->current_tle_nr); in drbd_send_and_submit()
|
D | drbd_int.h | 314 unsigned int epoch; member 417 struct drbd_epoch *epoch; /* for writes */ member
|
D | drbd_main.c | 213 expect_epoch = req->epoch; in tl_release() 216 if (r->epoch != expect_epoch) in tl_release() 249 if (req->epoch == expect_epoch) in tl_release() 252 if (req->epoch != expect_epoch) in tl_release()
|
D | drbd_debugfs.c | 102 req->epoch, in seq_print_one_request()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | pdb.h | 285 u16 epoch; member 309 u16 epoch; member
|
/linux-4.1.27/arch/s390/kvm/ |
D | kvm-s390.c | 460 kvm->arch.epoch = gtod - host_tod; in kvm_s390_set_tod_low() 462 cur_vcpu->arch.sie_block->epoch = kvm->arch.epoch; in kvm_s390_set_tod_low() 510 gtod = host_tod + kvm->arch.epoch; in kvm_s390_get_tod_low() 1103 kvm->arch.epoch = 0; in kvm_arch_init_vm() 1267 vcpu->arch.sie_block->epoch = vcpu->kvm->arch.epoch; in kvm_arch_vcpu_postcreate() 1480 r = put_user(vcpu->arch.sie_block->epoch, in kvm_arch_vcpu_ioctl_get_one_reg() 1529 r = get_user(vcpu->arch.sie_block->epoch, in kvm_arch_vcpu_ioctl_set_one_reg()
|
D | interrupt.c | 76 get_tod_clock_fast() + vcpu->arch.sie_block->epoch)) in ckc_irq_pending() 856 now = get_tod_clock_fast() + vcpu->arch.sie_block->epoch; in kvm_s390_handle_wait() 895 now = get_tod_clock_fast() + vcpu->arch.sie_block->epoch; in kvm_s390_idle_wakeup()
|
D | priv.c | 60 cpup->arch.sie_block->epoch = val; in handle_set_clock()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | kvm_host.h | 103 __u64 epoch; /* 0x0038 */ member 599 u64 epoch; member
|
/linux-4.1.27/Documentation/filesystems/ |
D | cramfs.txt | 35 No timestamps are stored in a cramfs, so these default to the epoch
|
D | proc.txt | 1300 the Unix epoch.
|
/linux-4.1.27/Documentation/ |
D | rtc.txt | 152 since_epoch: The number of seconds since the epoch according to the RTC 157 the epoch by default, or if there's a leading +, seconds in the
|
/linux-4.1.27/fs/ceph/ |
D | mds_client.c | 3633 u32 epoch; in ceph_mdsc_handle_map() local 3645 epoch = ceph_decode_32(&p); in ceph_mdsc_handle_map() 3647 dout("handle_map epoch %u len %d\n", epoch, (int)maplen); in ceph_mdsc_handle_map() 3650 ceph_monc_got_mdsmap(&mdsc->fsc->client->monc, epoch); in ceph_mdsc_handle_map() 3652 if (mdsc->mdsmap && epoch <= mdsc->mdsmap->m_epoch) { in ceph_mdsc_handle_map() 3654 epoch, mdsc->mdsmap->m_epoch); in ceph_mdsc_handle_map()
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-driver-hid-roccat-isku | 95 epoch in which the last configuration took place.
|
/linux-4.1.27/drivers/block/ |
D | rbd.c | 4997 if (rbdc->client->osdc.osdmap->epoch < newest_epoch) { in rbd_add_get_pool_id()
|