/kernel/linux/common_modules/tzdriver/core/ |
H A D | teek_app_load.c | 50 static int32_t teek_read_app(const char *load_file, char **file_buf, uint32_t *file_len) in teek_read_app() argument 67 *file_len = (uint32_t)(fp->f_inode->i_size); in teek_read_app() 69 ret = teek_open_app_file(fp, file_buf, *file_len); in teek_read_app() 89 int32_t teek_get_app(const char *ta_path, char **file_buf, uint32_t *file_len) in teek_get_app() argument 97 if (!file_buf || !file_len) { in teek_get_app() 102 ret = teek_read_app(ta_path, file_buf, file_len); in teek_get_app()
|
H A D | teek_app_load.h | 22 int32_t teek_get_app(const char *ta_path, char **file_buf, uint32_t *file_len);
|
/kernel/linux/linux-5.10/kernel/ |
H A D | module_signature.c | 18 * @file_len: Size of the file to which @ms is appended. 21 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()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | module_signature.c | 18 * @file_len: Size of the file to which @ms is appended. 21 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | dbg.c | 832 u32 file_len, fifo_len = 0, prph_len = 0, radio_len = 0; in iwl_fw_error_dump_file() local 868 file_len = sizeof(*dump_file) + fifo_len + prph_len + radio_len; in iwl_fw_error_dump_file() 871 file_len += sizeof(*dump_data) + sizeof(*dump_info); in iwl_fw_error_dump_file() 873 file_len += sizeof(*dump_data) + sizeof(*dump_smem_cfg); in iwl_fw_error_dump_file() 881 ADD_LEN(file_len, sram_len, hdr_len); in iwl_fw_error_dump_file() 884 ADD_LEN(file_len, smem_len, hdr_len); in iwl_fw_error_dump_file() 885 ADD_LEN(file_len, sram2_len, hdr_len); in iwl_fw_error_dump_file() 888 ADD_LEN(file_len, le32_to_cpu(fw_mem[i].len), hdr_len); in iwl_fw_error_dump_file() 893 file_len += fwrt->num_of_paging_blk * in iwl_fw_error_dump_file() 899 file_len in iwl_fw_error_dump_file() 2298 u32 file_len; iwl_fw_error_dump() local 2359 u32 file_len = iwl_dump_ini_file_gen(fwrt, dump_data, &dump_list); iwl_fw_error_ini_dump() local [all...] |
H A D | error-dump.h | 138 * @file_len: the length of all the file starting from %barker 143 __le32 file_len; member 306 * @file_len: the length of all the file including the header 310 __le32 file_len; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | dbg.c | 782 u32 file_len, fifo_len = 0, prph_len = 0, radio_len = 0; in iwl_fw_error_dump_file() local 818 file_len = sizeof(*dump_file) + fifo_len + prph_len + radio_len; in iwl_fw_error_dump_file() 821 file_len += sizeof(*dump_data) + sizeof(*dump_info); in iwl_fw_error_dump_file() 823 file_len += sizeof(*dump_data) + sizeof(*dump_smem_cfg); in iwl_fw_error_dump_file() 831 ADD_LEN(file_len, sram_len, hdr_len); in iwl_fw_error_dump_file() 834 ADD_LEN(file_len, smem_len, hdr_len); in iwl_fw_error_dump_file() 835 ADD_LEN(file_len, sram2_len, hdr_len); in iwl_fw_error_dump_file() 838 ADD_LEN(file_len, le32_to_cpu(fw_mem[i].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 in iwl_fw_error_dump_file() 2604 u32 file_len; iwl_fw_error_dump() local 2667 u32 file_len = iwl_dump_ini_file_gen(fwrt, dump_data, &dump_list); iwl_fw_error_ini_dump() local [all...] |
H A D | error-dump.h | 93 * @file_len: the length of all the file starting from %barker 98 __le32 file_len; member 282 * @file_len: the length of all the file including the header 286 __le32 file_len; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | module_signature.h | 43 int mod_check_sig(const struct module_signature *ms, size_t file_len,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | module_signature.h | 43 int mod_check_sig(const struct module_signature *ms, size_t file_len,
|
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
H A D | message_verify.c | 331 int str_len[] = { req->path_len, req->file_len}; in verify_atomic_open_req() 334 req->file_len < 0 || req->file_len >= PATH_MAX) in verify_atomic_open_req() 337 if (msg_len != sizeof(*req) + req->path_len + 1 + req->file_len + 1) in verify_atomic_open_req()
|
H A D | protocol.h | 219 __le32 file_len; member
|
/kernel/linux/linux-6.6/fs/hmdfs/comm/ |
H A D | message_verify.c | 331 int str_len[] = { req->path_len, req->file_len}; in verify_atomic_open_req() 334 req->file_len < 0 || req->file_len >= PATH_MAX) in verify_atomic_open_req() 337 if (msg_len != sizeof(*req) + req->path_len + 1 + req->file_len + 1) in verify_atomic_open_req()
|
H A D | protocol.h | 219 __le32 file_len; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 1362 u32 file_len; member 1377 u32 file_len; member
|
/kernel/linux/linux-6.6/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 1362 u32 file_len; member 1377 u32 file_len; member
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | hmdfs_server.c | 757 if (path_contain_dotdot(file, recv->file_len)) { in hmdfs_server_atomic_open()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | hmdfs_server.c | 757 if (path_contain_dotdot(file, recv->file_len)) { in hmdfs_server_atomic_open()
|