t_offset 4502 src/simh/scp.c t_offset kval = (t_offset)((uptr->flags & UNIT_BINK) ? 1024: 1000); t_offset 4503 src/simh/scp.c t_offset mval; t_offset 4504 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 158 src/simh/sim_disk.c t_offset cap; t_offset 166 src/simh/sim_disk.c cap = (t_offset) get_uint (cptr, 10, sim_taddr_64? 2000000: 2000, &r); t_offset 169 src/simh/sim_disk.c uptr->capac = (t_addr)((cap * ((t_offset) 1000000))/((dptr->flags & DEV_SECTORS) ? 512 : 1)); t_offset 179 src/simh/sim_disk.c t_offset capac = ((t_offset)uptr->capac)*((dptr->flags & DEV_SECTORS) ? 512 : 1); t_offset 184 src/simh/sim_disk.c if (capac >= (t_offset) 1000000) t_offset 185 src/simh/sim_disk.c fprintf (st, "capacity=%luM%s", (unsigned long) (capac / ((t_offset) 1000000)), cap_units); t_offset 187 src/simh/sim_disk.c fprintf (st, "capacity=%luK%s", (unsigned long) (capac / ((t_offset) 1000)), cap_units); t_offset 226 src/simh/sim_disk.c t_offset sim_disk_size (UNIT *uptr) t_offset 234 src/simh/sim_disk.c return (t_offset)-1; t_offset 242 src/simh/sim_disk.c t_offset da; t_offset 250 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; t_offset 344 src/simh/sim_disk.c t_offset da; t_offset 352 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; t_offset 659 src/simh/sim_disk.c static t_offset get_filesystem_size (UNIT *uptr) t_offset 663 src/simh/sim_disk.c t_offset temp_capac = 512 * (t_offset)0xFFFFFFFFu; /* Make sure we can access the largest sector */ t_offset 671 src/simh/sim_disk.c t_offset ret_val = (t_offset)-1; t_offset 743 src/simh/sim_disk.c ret_val = ((t_offset)Scb.scb_l_volsize) * 512; t_offset 756 src/simh/sim_disk.c FILE *(*create_function)(const char *filename, t_offset desiredsize) = NULL; t_offset 757 src/simh/sim_disk.c t_offset (*size_function)(FILE *file) = NULL; t_offset 761 src/simh/sim_disk.c t_offset capac, filesystem_capac; t_offset 859 src/simh/sim_disk.c ((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)); t_offset 885 src/simh/sim_disk.c (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - \ t_offset 1002 src/simh/sim_disk.c if (capac && (capac != (t_offset)-1)) { t_offset 1006 src/simh/sim_disk.c if ((filesystem_capac != (t_offset)-1) && t_offset 1007 src/simh/sim_disk.c (filesystem_capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)))) { t_offset 1018 src/simh/sim_disk.c if ((capac < (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) && \ t_offset 1032 src/simh/sim_disk.c if ((filesystem_capac != (t_offset)-1) && t_offset 1035 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 104 src/simh/sim_fio.c sim_toffset_64 = (sizeof(t_offset) > sizeof(int32)); /* Large File (>2GB) support */ t_offset 202 src/simh/sim_fio.c t_offset sim_ftell (FILE *st); t_offset 206 src/simh/sim_fio.c t_offset sim_fsize_ex (FILE *fp) t_offset 208 src/simh/sim_fio.c t_offset pos, sz; t_offset 221 src/simh/sim_fio.c t_offset sim_fsize_name_ex (const char *fname) t_offset 224 src/simh/sim_fio.c t_offset sz; t_offset 306 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) t_offset 311 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 313 src/simh/sim_fio.c return (t_offset)(ftello (st)); t_offset 324 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) t_offset 353 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 358 src/simh/sim_fio.c return (t_offset)fileaddr; t_offset 367 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) t_offset 372 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 374 src/simh/sim_fio.c return (t_offset)(ftello64 (st)); t_offset 387 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) t_offset 392 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 394 src/simh/sim_fio.c return (t_offset)(ftello (st)); t_offset 403 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) t_offset 408 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 410 src/simh/sim_fio.c return (t_offset)(ftell (st)); t_offset 416 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); t_offset 69 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence); t_offset 76 src/simh/sim_fio.h t_offset sim_ftell (FILE *st); t_offset 77 src/simh/sim_fio.h t_offset sim_fsize_ex (FILE *fptr); t_offset 78 src/simh/sim_fio.h t_offset sim_fsize_name_ex (const char *fname);