t_offset 4568 src/simh/scp.c t_offset kval = (t_offset)((uptr->flags & UNIT_BINK) ? 1024: 1000); t_offset 4569 src/simh/scp.c t_offset mval; t_offset 4570 src/simh/scp.c t_offset psize = (t_offset)uptr->capac; t_offset 368 src/simh/sim_console.c static t_offset sim_rem_cmd_log_start = 0; /* Log File saved position */ t_offset 156 src/simh/sim_disk.c t_offset cap; t_offset 164 src/simh/sim_disk.c cap = (t_offset) get_uint (cptr, 10, 2000000, &r); t_offset 167 src/simh/sim_disk.c uptr->capac = (t_addr)((cap * ((t_offset) 1000000))/((dptr->flags & DEV_SECTORS) ? 512 : 1)); t_offset 177 src/simh/sim_disk.c t_offset capac = ((t_offset)uptr->capac)*((dptr->flags & DEV_SECTORS) ? 512 : 1); t_offset 182 src/simh/sim_disk.c if (capac >= (t_offset) 1000000) t_offset 183 src/simh/sim_disk.c fprintf (st, "capacity=%luM%s", (unsigned long) (capac / ((t_offset) 1000000)), cap_units); t_offset 185 src/simh/sim_disk.c fprintf (st, "capacity=%luK%s", (unsigned long) (capac / ((t_offset) 1000)), cap_units); t_offset 224 src/simh/sim_disk.c t_offset sim_disk_size (UNIT *uptr) t_offset 232 src/simh/sim_disk.c return (t_offset)-1; t_offset 240 src/simh/sim_disk.c t_offset da; t_offset 248 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; t_offset 342 src/simh/sim_disk.c t_offset da; t_offset 350 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; t_offset 657 src/simh/sim_disk.c static t_offset get_filesystem_size (UNIT *uptr) t_offset 661 src/simh/sim_disk.c t_offset temp_capac = 512 * (t_offset)0xFFFFFFFFu; /* Make sure we can access the largest sector */ t_offset 669 src/simh/sim_disk.c t_offset ret_val = (t_offset)-1; t_offset 741 src/simh/sim_disk.c ret_val = ((t_offset)Scb.scb_l_volsize) * 512; t_offset 754 src/simh/sim_disk.c FILE *(*create_function)(const char *filename, t_offset desiredsize) = NULL; t_offset 755 src/simh/sim_disk.c t_offset (*size_function)(FILE *file) = NULL; t_offset 759 src/simh/sim_disk.c t_offset capac, filesystem_capac; t_offset 857 src/simh/sim_disk.c ((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)); t_offset 883 src/simh/sim_disk.c (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - \ t_offset 1000 src/simh/sim_disk.c if (capac && (capac != (t_offset)-1)) { t_offset 1004 src/simh/sim_disk.c if ((filesystem_capac != (t_offset)-1) && t_offset 1005 src/simh/sim_disk.c (filesystem_capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)))) { t_offset 1016 src/simh/sim_disk.c if ((capac < (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) && \ t_offset 1030 src/simh/sim_disk.c if ((filesystem_capac != (t_offset)-1) && t_offset 1033 src/simh/sim_disk.c if ((capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) || t_offset 89 src/simh/sim_disk.h t_offset sim_disk_size (UNIT *uptr); t_offset 197 src/simh/sim_fio.c t_offset sim_ftell (FILE *st); t_offset 201 src/simh/sim_fio.c t_offset sim_fsize_ex (FILE *fp) t_offset 203 src/simh/sim_fio.c t_offset pos, sz; t_offset 216 src/simh/sim_fio.c t_offset sim_fsize_name_ex (const char *fname) t_offset 219 src/simh/sim_fio.c t_offset sz; t_offset 299 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) t_offset 328 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 333 src/simh/sim_fio.c return (t_offset)fileaddr; t_offset 338 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) t_offset 343 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 345 src/simh/sim_fio.c return (t_offset)(ftello (st)); t_offset 352 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); t_offset 50 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence); t_offset 57 src/simh/sim_fio.h t_offset sim_ftell (FILE *st); t_offset 58 src/simh/sim_fio.h t_offset sim_fsize_ex (FILE *fptr); t_offset 59 src/simh/sim_fio.h t_offset sim_fsize_name_ex (const char *fname);