| /openbmc/libcper/cli-app/ |
| H A D | cper-convert.c | 100 long fsize = ftell(cper_file); in cper_to_json() local 103 char *fbuff = malloc(fsize); in cper_to_json() 104 size_t readsize = fread(fbuff, 1, (long)fsize, cper_file); in cper_to_json() 105 if (readsize != (size_t)fsize) { in cper_to_json() 132 fsize = decoded_len; in cper_to_json() 141 ir = cper_buf_to_ir((UINT8 *)fbuff, fsize); in cper_to_json()
|
| /openbmc/qemu/audio/ |
| H A D | spiceaudio.c | 51 uint32_t fsize; member 138 spice_server_playback_get_buffer(&out->sin, &out->frame, &out->fsize); in line_out_get_buffer() 143 *size = MIN((out->fsize - out->fpos) << 2, *size); in line_out_get_buffer() 156 assert(buf == out->frame + out->fpos && out->fpos <= out->fsize); in line_out_put_buffer() 159 if (out->fpos == out->fsize) { /* buffer full */ in line_out_put_buffer() 185 memset(out->frame + out->fpos, 0, (out->fsize - out->fpos) << 2); in line_out_enable()
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/ |
| H A D | rdist-6.1.5-stat64.patch | 64 - long fsize = (long) (size / 1024); 65 + fsblkcnt_t fsize = (fsblkcnt_t) (size / 1024); 71 (freespace - fsize < min_freespace)) {
|
| /openbmc/openbmc/poky/scripts/lib/devtool/ |
| H A D | deploy.py | 203 fsize = 0 205 fsize = int(math.ceil(float(fstat.st_size)/1024)) 207 ftotalsize += fsize 210 filelist.append((fpath, fsize)) 256 for fpath, fsize in filelist: 257 f.write('%s %d\n' % (fpath, fsize))
|
| /openbmc/openbmc/poky/meta/lib/oe/ |
| H A D | sdk.py | 153 fsize = int(math.ceil(float(os.path.getsize(os.path.join(root, fn))) / 1024)) 156 extra_info['tasksizes'][task] = origtotal + fsize 157 extra_info['filesizes'][fn] = fsize
|
| /openbmc/qemu/tests/functional/qemu_test/ |
| H A D | asset.py | 139 fsize = tmp_cache_file.stat().st_size 140 if fsize != length: 144 self.url, fsize, length)
|
| /openbmc/u-boot/tools/ |
| H A D | mxsboot.c | 536 off_t fsize; in mx28_create_sd_image() local 540 fsize = lseek(infd, 0, SEEK_END); in mx28_create_sd_image() 542 size = fsize + 4 * 512; in mx28_create_sd_image() 550 ret = read(infd, (uint8_t *)buf + 4 * 512, fsize); in mx28_create_sd_image() 551 if (ret != fsize) { in mx28_create_sd_image()
|
| H A D | zynqmpimage.c | 305 static uint32_t fsize(FILE *fp) in fsize() function 347 zynqhdr->pfw_image_length = fsize(fpmu); in zynqmpimage_pmufw() 465 tparams->header_size += fsize(fpmu); in zynqmpimage_vrec_header()
|
| H A D | mxsimage.c | 1650 FILE *fp, long fsize) in sb_verify_image_header() argument 1761 if (hdr->image_blocks != fsize / SB_BLOCK_SIZE) in sb_verify_image_header()
|
| /openbmc/ipmitool/lib/ |
| H A D | ipmi_fwum.c | 259 unsigned long fsize = 0; in ipmi_fwum_fwupgrade() local 265 if (KfwumGetFileSize(file, &fsize) != 0) { in ipmi_fwum_fwupgrade() 268 if (KfwumSetupBuffersFromFile(file, fsize) != 0) { in ipmi_fwum_fwupgrade() 271 padding = KfwumCalculateChecksumPadding(firmBuf, fsize); in ipmi_fwum_fwupgrade() 272 if (KfwumGetInfoFromFirmware(firmBuf, fsize, &fw_info) != 0) { in ipmi_fwum_fwupgrade() 283 if (KfwumStartFirmwareImage(intf, fsize, padding) != 0) { in ipmi_fwum_fwupgrade() 286 if (KfwumUploadFirmware(intf, firmBuf, fsize) != 0) { in ipmi_fwum_fwupgrade()
|
| /openbmc/u-boot/drivers/mtd/ubispl/ |
| H A D | ubispl.c | 877 u32 fsize; in ubispl_load_volumes() local 895 fsize = info->peb_size * info->peb_count; in ubispl_load_volumes() 896 ubi->fsize_mb = fsize >> 20; in ubispl_load_volumes()
|
| /openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
| H A D | 0001-localedef-Add-hardlink-resolver-from-util-linux.patch | 683 + off_t fsize; 750 + for (fsize = st.st_size; fsize > 0; 751 + fsize -= (off_t)sizeof(ctl->iobuf1)) { 753 + ssize_t rsize = fsize > (ssize_t) sizeof(ctl->iobuf1) ? 754 + (ssize_t) sizeof(ctl->iobuf1) : fsize; 770 + if (fsize > 0)
|
| H A D | 0002-localedef-fix-ups-hardlink-to-make-it-compile.patch | 120 (ssize_t) sizeof(ctl->iobuf1) : fsize; 132 if (fsize > 0)
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | stm32_qspi.c | 210 u32 fsize = fls(size) - 1; in _stm32_qspi_set_flash_size() local 214 fsize << STM32_QSPI_DCR_FSIZE_SHIFT); in _stm32_qspi_set_flash_size()
|
| /openbmc/intel-ipmi-oem/src/ |
| H A D | firmware-update.cpp | 277 MappedFile(const std::string& fname) : addr(nullptr), fsize(0) in MappedFile() 297 fsize = sz; in MappedFile() 304 munmap(addr, fsize); in ~MappedFile() 313 return fsize; in size() 318 size_t fsize; member in MappedFile
|
| /openbmc/u-boot/scripts/ |
| H A D | Makefile.lib | 419 dec_size=$$(expr $$dec_size + $$fsize); \
|
| /openbmc/qemu/hw/ipmi/ |
| H A D | ipmi_bmc_sim.c | 2207 int fsize; in ipmi_fru_init() local 2214 fsize = get_image_size(fru->filename); in ipmi_fru_init() 2215 if (fsize > 0) { in ipmi_fru_init() 2216 size = QEMU_ALIGN_UP(fsize, fru->areasize); in ipmi_fru_init() 2218 if (load_image_size(fru->filename, fru->data, fsize) != fsize) { in ipmi_fru_init()
|
| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-dvb/tvheadend/tvheadend/ |
| H A D | 0001-adjust-for-64bit-time_t.patch | 93 bandwidth = ((8*fsize) / (durration*1024.0));
|
| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffs_guts.h | 968 void yaffs_oh_size_load(struct yaffs_obj_hdr *oh, loff_t fsize);
|
| H A D | yaffs_guts.c | 4991 void yaffs_oh_size_load(struct yaffs_obj_hdr *oh, loff_t fsize) in yaffs_oh_size_load() argument 4993 oh->file_size_low = (fsize & 0xFFFFFFFF); in yaffs_oh_size_load() 4994 oh->file_size_high = ((fsize >> 32) & 0xFFFFFFFF); in yaffs_oh_size_load()
|