Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/subsys/logging/backends/
Dlog_backend_fs.c250 off_t file_size; in allocate_new_file() local
333 file_size = fs_tell(file); in allocate_new_file()
335 file_size < CONFIG_LOG_BACKEND_FS_FILE_SIZE) { in allocate_new_file()
/Zephyr-latest/subsys/net/lib/http/headers/
Dserver_internal.h53 int http_server_find_file(char *fname, size_t fname_size, size_t *file_size,
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http1.c495 size_t file_size; in handle_http1_static_fs_resource() local
519 ret = http_server_find_file(fname, sizeof(fname), &file_size, client->supported_compression, in handle_http1_static_fs_resource()
522 ret = http_server_find_file(fname, sizeof(fname), &file_size, 0, NULL); in handle_http1_static_fs_resource()
537 LOG_DBG("found %s, file size: %zu", fname, file_size); in handle_http1_static_fs_resource()
543 file_size, content_type, CONTENT_ENCODING_HEADER, in handle_http1_static_fs_resource()
547 file_size, content_type, "", ""); in handle_http1_static_fs_resource()
557 remaining = file_size; in handle_http1_static_fs_resource()
Dhttp_server_core.c789 int http_server_find_file(char *fname, size_t fname_size, size_t *file_size, in http_server_find_file() argument
846 *file_size = dirent.size; in http_server_find_file()
/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c122 int32_t file_size; member
703 hb_context->dl.file_size = artifact->size; in hawkbit_parse_deployment()
705 if (hb_context->dl.file_size > SLOT1_SIZE) { in hawkbit_parse_deployment()
706 LOG_ERR("Artifact file size too big (got %d, max is %d)", hb_context->dl.file_size, in hawkbit_parse_deployment()
977 downloaded = hb_context->dl.downloaded_size * 100 / hb_context->dl.file_size; in response_download_cb()
989 hb_context->dl.downloaded_size, hb_context->dl.file_size); in response_download_cb()
1114 if (IN_RANGE(hb_context->dl.downloaded_size, 1, hb_context->dl.file_size)) { in send_request()