Home
last modified time | relevance | path

Searched refs:file_len (Results 1 – 13 of 13) sorted by relevance

/openbmc/qemu/tests/qemu-iotests/
H A D108197 file_len=$(stat -c '%s' "$TEST_IMG")
198 truncate -s $((file_len + 256 * 1024)) "$TEST_IMG"
207 file_len=$(stat -c '%s' "$TEST_IMG")
215 if [[ $file_len -eq $post_repair_file_len ]]; then
219 "($file_len before, $post_repair_file_len after)"
243 file_len=$(stat -c '%s' "$TEST_IMG")
244 while [[ $(stat -c '%s' "$TEST_IMG") -eq $file_len ]]; do
/openbmc/u-boot/tools/
H A Ddefault_image.c142 ulong file_len; in image_extract_subimage() local
152 image_multi_getimg(hdr, idx, &file_data, &file_len); in image_extract_subimage()
154 if ((file_len == 0) || (idx >= count)) { in image_extract_subimage()
161 file_len = image_get_size(hdr); in image_extract_subimage()
165 return imagetool_save_subimage(params->outfile, file_data, file_len); in image_extract_subimage()
H A Dimagetool.c103 ulong file_len) in imagetool_save_subimage() argument
115 if (write(dfd, (void *)file_data, file_len) != (ssize_t)file_len) { in imagetool_save_subimage()
H A Dimagetool.h216 ulong file_len);
/openbmc/u-boot/fs/ext4/
H A Dext4fs.c190 loff_t file_len; in ext4fs_exists() local
193 ret = ext4fs_open(filename, &file_len); in ext4fs_exists()
226 loff_t file_len; in ext4_read_file() local
229 ret = ext4fs_open(filename, &file_len); in ext4_read_file()
236 len = file_len; in ext4_read_file()
/openbmc/linux/kernel/
H A Dmodule_signature.c21 int mod_check_sig(const struct module_signature *ms, size_t file_len, in mod_check_sig() argument
24 if (be32_to_cpu(ms->sig_len) >= file_len - sizeof(*ms)) in mod_check_sig()
/openbmc/u-boot/common/
H A Dlog.c130 int file_len = strlen(file); in log_has_file() local
137 if (file_len >= substr_len && in log_has_file()
138 !strncmp(file + file_len - substr_len, s, substr_len)) in log_has_file()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Ddbg.c834 ADD_LEN(file_len, smem_len, hdr_len); in iwl_fw_error_dump_file()
843 file_len += fwrt->num_of_paging_blk * in iwl_fw_error_dump_file()
849 file_len += sizeof(*dump_data) + in iwl_fw_error_dump_file()
864 dump_file = vzalloc(file_len); in iwl_fw_error_dump_file()
1010 dump_file->file_len = cpu_to_le32(file_len); in iwl_fw_error_dump_file()
2583 return le32_to_cpu(hdr->file_len); in iwl_dump_ini_file_gen()
2604 u32 file_len; in iwl_fw_error_dump() local
2617 file_len = le32_to_cpu(dump_file->file_len); in iwl_fw_error_dump()
2618 fw_error_dump.fwrt_len = file_len; in iwl_fw_error_dump()
2622 dump_file->file_len = cpu_to_le32(file_len); in iwl_fw_error_dump()
[all …]
H A Derror-dump.h98 __le32 file_len; member
286 __le32 file_len; member
/openbmc/linux/include/linux/
H A Dmodule_signature.h43 int mod_check_sig(const struct module_signature *ms, size_t file_len,
/openbmc/u-boot/drivers/dfu/
H A Ddfu_mmc.c234 u64 file_len; in mmc_file_unbuffer() local
237 ret = mmc_file_op(DFU_OP_READ, dfu, dfu_file_buf, &file_len); in mmc_file_unbuffer()
240 dfu_file_buf_filled = file_len; in mmc_file_unbuffer()
/openbmc/qemu/block/
H A Dqcow2-refcount.c1533 int64_t file_len; in qcow2_inc_refcounts_imrt() local
1540 file_len = bdrv_co_getlength(bs->file->bs); in qcow2_inc_refcounts_imrt()
1541 if (file_len < 0) { in qcow2_inc_refcounts_imrt()
1542 return file_len; in qcow2_inc_refcounts_imrt()
1550 if (offset + size - file_len >= s->cluster_size) { in qcow2_inc_refcounts_imrt()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.h1362 u32 file_len; member
1377 u32 file_len; member