t_offset 4264 src/simh/scp.c t_offset kval = (t_offset)((uptr->flags & UNIT_BINK) ? 1024: 1000); t_offset 4265 src/simh/scp.c t_offset mval; t_offset 4266 src/simh/scp.c t_offset psize = (t_offset)uptr->capac; t_offset 366 src/simh/sim_console.c static t_offset sim_rem_cmd_log_start = 0; /* Log File saved position */ t_offset 154 src/simh/sim_disk.c t_offset cap; t_offset 162 src/simh/sim_disk.c cap = (t_offset) get_uint (cptr, 10, sim_taddr_64? 2000000: 2000, &r); t_offset 165 src/simh/sim_disk.c uptr->capac = (t_addr)((cap * ((t_offset) 1000000))/((dptr->flags & DEV_SECTORS) ? 512 : 1)); t_offset 175 src/simh/sim_disk.c t_offset capac = ((t_offset)uptr->capac)*((dptr->flags & DEV_SECTORS) ? 512 : 1); t_offset 180 src/simh/sim_disk.c if (capac >= (t_offset) 1000000) t_offset 181 src/simh/sim_disk.c fprintf (st, "capacity=%luM%s", (unsigned long) (capac / ((t_offset) 1000000)), cap_units); t_offset 183 src/simh/sim_disk.c fprintf (st, "capacity=%luK%s", (unsigned long) (capac / ((t_offset) 1000)), cap_units); t_offset 222 src/simh/sim_disk.c t_offset sim_disk_size (UNIT *uptr) t_offset 230 src/simh/sim_disk.c return (t_offset)-1; t_offset 238 src/simh/sim_disk.c t_offset da; t_offset 245 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; t_offset 338 src/simh/sim_disk.c t_offset da; t_offset 345 src/simh/sim_disk.c da = ((t_offset)lba) * ctx->sector_size; t_offset 649 src/simh/sim_disk.c static t_offset get_filesystem_size (UNIT *uptr) t_offset 653 src/simh/sim_disk.c t_offset temp_capac = 512 * (t_offset)0xFFFFFFFFu; /* Make sure we can access the largest sector */ t_offset 661 src/simh/sim_disk.c t_offset ret_val = (t_offset)-1; t_offset 729 src/simh/sim_disk.c ret_val = ((t_offset)Scb.scb_l_volsize) * 512; t_offset 742 src/simh/sim_disk.c FILE *(*create_function)(const char *filename, t_offset desiredsize) = NULL; t_offset 743 src/simh/sim_disk.c t_offset (*size_function)(FILE *file) = NULL; t_offset 747 src/simh/sim_disk.c t_offset capac, filesystem_capac; t_offset 841 src/simh/sim_disk.c uptr->fileref = create_function (cptr, ((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1));/* create new file */ t_offset 865 src/simh/sim_disk.c r = sim_disk_wrsect (uptr, (t_lba)(((((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)) - ctx->sector_size)/ctx->sector_size), secbuf, NULL, 1); /* Write Last Sector */ t_offset 965 src/simh/sim_disk.c if (capac && (capac != (t_offset)-1)) { t_offset 969 src/simh/sim_disk.c if ((filesystem_capac != (t_offset)-1) && t_offset 970 src/simh/sim_disk.c (filesystem_capac > (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1)))) { t_offset 980 src/simh/sim_disk.c if ((capac < (((t_offset)uptr->capac)*ctx->capac_factor*((dptr->flags & DEV_SECTORS) ? 512 : 1))) && (DKUF_F_STD != DK_GET_FMT (uptr))) { t_offset 992 src/simh/sim_disk.c if ((filesystem_capac != (t_offset)-1) && t_offset 995 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 100 src/simh/sim_fio.c sim_toffset_64 = (sizeof(t_offset) > sizeof(int32)); /* Large File (>2GB) support */ t_offset 194 src/simh/sim_fio.c t_offset sim_ftell (FILE *st); t_offset 198 src/simh/sim_fio.c t_offset sim_fsize_ex (FILE *fp) t_offset 200 src/simh/sim_fio.c t_offset pos, sz; t_offset 213 src/simh/sim_fio.c t_offset sim_fsize_name_ex (const char *fname) t_offset 216 src/simh/sim_fio.c t_offset sz; t_offset 298 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) t_offset 303 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 305 src/simh/sim_fio.c return (t_offset)(ftello (st)); t_offset 316 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset offset, int whence) t_offset 346 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 351 src/simh/sim_fio.c return (t_offset)fileaddr; t_offset 360 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) t_offset 365 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 367 src/simh/sim_fio.c return (t_offset)(ftello64 (st)); t_offset 381 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) t_offset 386 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 388 src/simh/sim_fio.c return (t_offset)(ftello (st)); t_offset 397 src/simh/sim_fio.c int sim_fseeko (FILE *st, t_offset xpos, int origin) t_offset 402 src/simh/sim_fio.c t_offset sim_ftell (FILE *st) t_offset 404 src/simh/sim_fio.c return (t_offset)(ftell (st)); t_offset 410 src/simh/sim_fio.c return sim_fseeko (st, (t_offset)offset, whence); t_offset 70 src/simh/sim_fio.h int sim_fseeko (FILE *st, t_offset offset, int whence); t_offset 77 src/simh/sim_fio.h t_offset sim_ftell (FILE *st); t_offset 78 src/simh/sim_fio.h t_offset sim_fsize_ex (FILE *fptr); t_offset 79 src/simh/sim_fio.h t_offset sim_fsize_name_ex (const char *fname);