Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 20 of 20) sorted by relevance

/openbmc/libcper/cli-app/
H A Dcper-convert.c100 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 Dspiceaudio.c51 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 Drdist-6.1.5-stat64.patch64 - 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 Ddeploy.py203 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 Dsdk.py153 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 Dasset.py139 fsize = tmp_cache_file.stat().st_size
140 if fsize != length:
144 self.url, fsize, length)
/openbmc/u-boot/tools/
H A Dmxsboot.c536 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 Dzynqmpimage.c305 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 Dmxsimage.c1650 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 Dipmi_fwum.c259 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 Dubispl.c877 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 D0001-localedef-Add-hardlink-resolver-from-util-linux.patch683 + 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 D0002-localedef-fix-ups-hardlink-to-make-it-compile.patch120 (ssize_t) sizeof(ctl->iobuf1) : fsize;
132 if (fsize > 0)
/openbmc/u-boot/drivers/spi/
H A Dstm32_qspi.c210 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 Dfirmware-update.cpp277 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 DMakefile.lib419 dec_size=$$(expr $$dec_size + $$fsize); \
/openbmc/qemu/hw/ipmi/
H A Dipmi_bmc_sim.c2207 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 D0001-adjust-for-64bit-time_t.patch93 bandwidth = ((8*fsize) / (durration*1024.0));
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_guts.h968 void yaffs_oh_size_load(struct yaffs_obj_hdr *oh, loff_t fsize);
H A Dyaffs_guts.c4991 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()