/illumos-gate/usr/src/grub/grub-0.97/util/ |
H A D | mkbimage | 285 file_size=`$decompress $tarfile | wc -c | tr -d ' '` 286 file_size=$(($file_size / $block_size + 1)) 290 file_size=$(($file_size + $file_size / 10)) 299 cylinders=$(($file_size / $cyl_size + 2));; 300 1.20) [ $file_size -ge $bk_120 ] && error wont_fit; 305 1.44) [ $file_size -ge $bk_144 ] && error wont_fit; 310 1.60) [ $file_size -ge $bk_160 ] && error wont_fit; 316 1.68) [ $file_size -ge $bk_168 ] && error wont_fit; 321 1.74) [ $file_size -ge $bk_174 ] && error wont_fit; 326 2.88) [ $file_size -ge $bk_288 ] && error wont_fit;
|
/illumos-gate/usr/src/cmd/boot/installboot/sparc/ |
H A D | installboot.c | 113 bblock->file_size = sb.st_size; in read_bootblock_from_file() 114 BOOT_DEBUG("bootblock file size is %x\n", bblock->file_size); in read_bootblock_from_file() 118 buf_size = P2ROUNDUP(bblock->file_size, SECTOR_SIZE); in read_bootblock_from_file() 124 buf_size = P2ROUNDUP(bblock->file_size + SECTOR_SIZE, in read_bootblock_from_file() 145 if (read(fd, bblock->file, bblock->file_size) != bblock->file_size) { in read_bootblock_from_file() 162 P2ROUNDUP(bblock->file_size, 8)); in read_bootblock_from_file() 218 bblock->file_size = size; in read_bootblock_from_disk() 306 bblock_hs.src_size = bblock_file->file_size; in is_update_necessary() 327 hs.src_size = bblock->file_size; in add_bootblock_einfo() 329 avail_space = bblock->buf_size - P2ROUNDUP(bblock->file_size, 8); in add_bootblock_einfo() [all …]
|
H A D | installboot.h | 55 uint32_t file_size; member
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/quota/ |
H A D | quota.kshlib | 59 typeset -i file_size=`ls -ls $MNTPT/$TESTFILE1 | awk '{ print $1 }'` 61 (( file_size = file_size * 512 )) 63 (( file_size > limit )) && \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | userquota_004_pos.ksh | 57 typeset file_size='100m' 67 log_must user_run $QUSER1 mkfile $file_size $QFILE 74 if [[ "$(($user_used/1024/1024))m" != "$file_size" ]]; then 76 log_fail "userused for user $QUSER1 expected to be $file_size, " \
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/projectquota/ |
H A D | projectquota_003_pos.ksh | 55 typeset file_size='10m' 65 log_must user_run $PUSER mkfile $file_size $PRJDIR/qf 69 if [[ "$(($project_used/1024/1024))m" != "$file_size" ]]; then 71 log_fail "projectused for project $PRJID1 expected to be $file_size, " \
|
/illumos-gate/usr/src/cmd/boot/installgrub/ |
H A D | installgrub.c | 430 size = stage2->buf_size - P2ROUNDUP(stage2->file_size, 8); in handle_getinfo() 602 buf_size = src_stage2->file_size + SECTOR_SIZE; in propagate_bootblock() 611 dest_stage2->file_size = src_stage2->file_size; in propagate_bootblock() 612 memcpy(dest_stage2->file, src_stage2->file, dest_stage2->file_size); in propagate_bootblock() 614 P2ROUNDUP(dest_stage2->file_size, 8); in propagate_bootblock() 959 mboot->load_end_addr = stage2->file_size; in prepare_fake_multiboot() 972 hs.src_size = stage2->file_size; in add_stage2_einfo() 974 avail_space = stage2->buf_size - P2ROUNDUP(stage2->file_size, 8); in add_stage2_einfo() 1118 stage2->file_size = sb.st_size; in read_stage2_from_file() 1126 buf_size = stage2->file_size + SECTOR_SIZE; in read_stage2_from_file() [all …]
|
H A D | installgrub.h | 56 uint32_t file_size; member
|
/illumos-gate/usr/src/cmd/ndmpd/tlm/ |
H A D | tlm_restore_writer.c | 272 long file_size; /* size of file to restore */ in tar_getdir() local 397 file_size = size_left; in tar_getdir() 481 file_size = oct_atoi(tar_hdr->th_size); in tar_getdir() 702 rv = restore_file(&fp, nmp, file_size, in tar_getdir() 756 job_stats->js_bytes_total += file_size; in tar_getdir() 760 huge_size -= file_size; in tar_getdir() 801 file_name, file_size, acls, local_commands, in tar_getdir() 916 file_size = min(file_size, in tar_getdir() 918 file_size = max(0, file_size); in tar_getdir() 919 size_left = get_long_name(lib, drv, file_size, longlink, in tar_getdir() [all …]
|
H A D | tlm_backup_reader.c | 199 output_humongus_header(char *fullname, longlong_t file_size, in output_humongus_header() argument 229 (void) snprintf(buf, len, "%lld %s", file_size, fullname); in output_humongus_header() 854 longlong_t file_size; /* real size of this file */ in tlm_output_file() local 893 file_size = tlm_readlink(fullname, snapname, linkname, in tlm_output_file() 895 if (file_size < 0) { in tlm_output_file() 963 file_size = real_size; in tlm_output_file() 964 if (file_size > TLM_MAX_TAR_IMAGE) { in tlm_output_file() 965 if (output_humongus_header(fullname, file_size, in tlm_output_file() 981 file_size = 0; in tlm_output_file() 986 if (file_size == 0) { in tlm_output_file() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 87 static off_t file_size = 0; in push_segment() local 100 if (file_size >= off + len) in push_segment() 102 file_size = off + len; in push_segment()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/ |
H A D | removal.kshlib | 102 typeset file_size=$(stat -c%s $file 2>/dev/null) 103 typeset nblocks=$((file_size / block_size))
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/ |
H A D | rsend.kshlib | 472 file_size=$((($RANDOM * $RANDOM % ($maxsize - 1)) + 1)) 502 bs=$file_size count=1 >/dev/null 2>&1 || \ 505 truncate -s $file_size $file_name || \ 516 file_size=$((($RANDOM % 64) + 1)) 520 bs=$file_size count=1 >/dev/null 2>&1 || \
|
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppinput.c | 466 unsigned long file_size; in ppload() local 486 file_size = pp.member->size; in ppload() 502 file_size = sfseek(sp, 0L, SEEK_END); in ppload() 506 file_size = pp.in->buflen; in ppload() 507 …if (!(sp = sfnew(NiL, pp.in->buffer + ((pp.in->flags & IN_static) ? 0 : PPBAKSIZ), file_size, -1, … in ppload() 518 p = file_offset + file_size - 22; in ppload()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/ |
H A D | s_generic.c | 787 off_t file_size, ret; in remap_shared_buf() local 805 file_size = lseek(fd, 0, SEEK_END); in remap_shared_buf() 806 if (file_size == -1) { in remap_shared_buf() 827 file_size = 0; in remap_shared_buf() 835 while (file_size < shared_bufsize) { in remap_shared_buf() 842 file_size += buf_size; in remap_shared_buf()
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | printmail.c | 106 file_size = stbufp->st_size; in printmail() 213 if (stbufp->st_size != file_size) { in printmail() 224 file_size = stbufp->st_size; in printmail()
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_send/ |
H A D | zfs_send_006_pos.ksh | 78 typeset file_size=$2 82 typeset file_diff=$(echo "$file_size - $estimate_size" | bc)
|
/illumos-gate/usr/src/test/smbclient-tests/include/ |
H A D | utils_common.ksh | 105 file_size() { function
|
/illumos-gate/usr/src/test/smbclient-tests/tests/smbfs/create/ |
H A D | tp_create_004.ksh | 74 size=$(file_size $TMNT/file50000)
|
H A D | tp_create_003.ksh | 81 size=$(file_size $TMNT/file30)
|
H A D | tp_create_009.ksh | 76 size=$(file_size $TMNT/file)
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | qlgcupdate.c | 580 static int file_size; in q_findSbusfile() local 592 file_size = statinfo.st_size; in q_findSbusfile() 594 if ((sbus_info = (char *)malloc(file_size)) == NULL) { in q_findSbusfile() 600 if (read(fd, sbus_info, file_size) < 0) { in q_findSbusfile() 610 file_size, strlen(qlgc2200Sbus))) != -1) { in q_findSbusfile()
|
/illumos-gate/usr/src/lib/print/libpapi-ipp/common/ |
H A D | papi_impl.h | 90 papi_attribute_t **request, ssize_t file_size);
|
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.h | 93 uint32_t file_size; member
|
H A D | installboot.c | 532 bblock_hs.src_size = bblock_file->file_size; in compare_einfo_cb() 665 bblock->file_size = size; in read_stage2_cb() 689 bblock->extra = bblock->buf + P2ROUNDUP(bblock->file_size, 8); in read_stage2_cb() 690 bblock->extra_size = bblock->buf_size - P2ROUNDUP(bblock->file_size, 8); in read_stage2_cb() 1835 bblock->file_size = in read_bootblock_from_file() 1837 BOOT_DEBUG("bootblock file size is %d\n", bblock->file_size); in read_bootblock_from_file() 1839 bblock->extra = bblock->buf + P2ROUNDUP(bblock->file_size, 8); in read_bootblock_from_file() 1840 bblock->extra_size = bblock->buf_size - P2ROUNDUP(bblock->file_size, 8); in read_bootblock_from_file() 1887 hs.src_size = bblock->file_size; in add_bootblock_einfo() 1889 avail_space = bblock->buf_size - P2ROUNDUP(bblock->file_size, 8); in add_bootblock_einfo()
|