| /subsys/fs/virtiofs/ |
| A D | virtiofs_zfs.c | 122 file->offset = 0; in virtiofs_zfs_open_existing() 125 filp->filep = file; in virtiofs_zfs_open_existing() 154 file->offset = 0; in virtiofs_zfs_open_create() 157 filp->filep = file; in virtiofs_zfs_open_create() 216 filp->mp->storage_dev, file->nodeid, file->fh, file->offset, nbytes, dest in virtiofs_zfs_read() 269 filp->mp->storage_dev, file->nodeid, file->fh, off_arg, whence, &lseek_ret in virtio_zfs_lseek() 278 return file->offset; in virtio_zfs_lseek() 307 filp->mp->storage_dev, file->nodeid, file->fh, file->offset + write_c, in virtio_zfs_write() 339 return file->offset; in virtiofs_zfs_tell() 348 attrs.fh = file->fh; in virtiofs_zfs_truncate() [all …]
|
| A D | Kconfig | 5 bool "Virtiofs file system support" 9 Enable virtiofs file system support. 41 will fail with EIO on unlink if the file wasn't looked up before 44 int "Virtiofs mode value used during file/directory creation" 47 During creation of file or directory we have to set mode, this config allows
|
| /subsys/net/ip/ |
| A D | tp.c | 51 mem->file = file; in tp_malloc() 118 file, line, func, ptr); in tp_free() 158 tp_nbuf->file = file; in tp_nbuf_alloc() 175 tb->file = file; in tp_nbuf_clone() 219 const char *file, int line) in tp_pkt_alloc() argument 227 tp_pkt->file = file; in tp_pkt_alloc() 240 tp_pkt->file = file; in tp_pkt_clone() 293 seq->file = file; in tp_seq_track() 410 const char *file, int line) in tp_output_pkt_alloc() argument 421 tp_pkt->file = file; in tp_output_pkt_alloc() [all …]
|
| A D | tp.h | 120 size_t data_len, const char *file, int line); 129 void *tp_malloc(size_t size, const char *file, int line, const char *func); 130 void tp_free(void *ptr, const char *file, int line, const char *func); 131 void *tp_calloc(size_t nmemb, size_t size, const char *file, int line, 136 const char *file, int line, const char *func); 137 struct net_buf *tp_nbuf_clone(struct net_buf *buf, const char *file, int line, 139 void tp_nbuf_unref(struct net_buf *nbuf, const char *file, int line, 143 const char *file, int line); 145 struct net_pkt *tp_pkt_clone(struct net_pkt *pkt, const char *file, int line); 146 void tp_pkt_unref(struct net_pkt *pkt, const char *file, int line); [all …]
|
| A D | tp_priv.h | 41 const char *file; member 53 const char *file; member 60 const char *file; member 66 const char *file; member
|
| /subsys/fs/ |
| A D | Kconfig | 8 bool "Link file system libraries into build" 10 Link in the underlying file system libraries. This can be 21 Enables support for file system. 26 int "Maximum number of distinct file system types allowed" 34 int "Optional override for maximum file name length" 37 Specify the maximum file name allowed across all enabled file 39 file name length for enabled in-tree file systems. This 58 file system. 68 Enable file system shell command for mounting file systems. This 91 bool "Allow to format file system" [all …]
|
| A D | shell.c | 246 fs_close(&file); in cmd_trunc() 407 fs_close(&file); in cmd_read() 448 fs_close(&file); in cmd_read() 499 fs_close(&file); in cmd_cat() 564 fs_close(&file); in cmd_write() 584 fs_close(&file); in cmd_write() 697 fs_close(&file); in cmd_read_test() 770 fs_close(&file); in cmd_erase_write_test() 785 fs_close(&file); in cmd_erase_write_test() 809 fs_sync(&file); in cmd_erase_write_test() [all …]
|
| A D | fuse_fs_access.c | 185 static struct fs_file_t file; in ffa_truncate_top() local 187 err = fs_open(&file, path, FS_O_CREATE | FS_O_WRITE); in ffa_truncate_top() 192 err = fs_truncate(&file, size); in ffa_truncate_top() 194 fs_close(&file); in ffa_truncate_top() 196 err = fs_close(&file); in ffa_truncate_top()
|
| /subsys/logging/backends/ |
| A D | Kconfig.fs | 10 As the file system must be mounted for the logging to work, it must be 24 When enabled automatically start the file system backend on 35 bool "Append to the newest log file" 38 When enabled and when there is space left in the newest log file, 40 When disabled backend creates a new log file on every startup. 43 string "Log file name prefix" 46 User defined name of log files saved in the file system. 47 The prefix is followed by the number of log file. 56 int "User defined log file size" 60 Max log file size (in bytes). [all …]
|
| A D | log_backend_fs.c | 31 static int allocate_new_file(struct fs_file_t *file); 240 static int allocate_new_file(struct fs_file_t *file) in allocate_new_file() argument 252 assert(file); in allocate_new_file() 329 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE | FS_O_APPEND); in allocate_new_file() 333 file_size = fs_tell(file); in allocate_new_file() 345 fs_close(file); in allocate_new_file() 355 fs_close(file); in allocate_new_file() 391 rc = fs_open(file, fname, FS_O_CREATE | FS_O_WRITE); in allocate_new_file()
|
| /subsys/mgmt/mcumgr/grp/fs_mgmt/ |
| A D | Kconfig | 9 # Options defined in this file should be prefixed: 16 bool "MCUmgr handlers for file management" 20 Enables MCUmgr handlers for file management 45 size/offset within CBOR frame with file chunk. 51 size/offset within CBOR frame with file chunk. 81 int "Maximum chunk size for file downloads" 152 int "Maximum file path length" 167 supplied file paths. 175 Maximum time (in ms) to acquire the file handle semaphore when a file 183 int "Automatic file handle close time (ms)" [all …]
|
| /subsys/testsuite/ztest/include/zephyr/ |
| A D | ztest_assert.h | 28 const char *ztest_relative_filename(const char *file); 35 static inline bool z_zassert_(bool cond, const char *file, int line) in z_zassert_() argument 47 #define z_zassert(cond, default_msg, file, line, func, msg, ...) z_zassert_(cond, file, line) argument 61 #define z_zassume(cond, default_msg, file, line, func, msg, ...) z_zassume_(cond, file, line) argument 75 #define z_zexpect(cond, default_msg, file, line, func, msg, ...) z_zexpect_(cond, file, line) argument 87 ztest_relative_filename(file), line, func, default_msg); in z_zassert() 97 ztest_relative_filename(file), line, func); in z_zassert() 111 ztest_relative_filename(file), line, func, default_msg); in z_zassume() 121 ztest_relative_filename(file), line, func); in z_zassume() 135 ztest_relative_filename(file), line, func, default_msg); in z_zexpect() [all …]
|
| /subsys/settings/src/ |
| A D | settings_file.c | 118 struct fs_file_t file; in settings_file_load_priv() local 123 .stor_ctx = (void *)&file, in settings_file_load_priv() 130 fs_file_t_init(&file); in settings_file_load_priv() 172 rc = fs_close(&file); in settings_file_load_priv() 376 struct fs_file_t file; in settings_file_save_priv() local 384 fs_file_t_init(&file); in settings_file_save_priv() 402 entry_ctx.stor_ctx = &file; in settings_file_save_priv() 410 rc2 = fs_close(&file); in settings_file_save_priv() 470 r_len = fs_read(file, buf, *len); in read_handler() 496 rc = fs_seek(file, 0, FS_SEEK_END); in write_handler() [all …]
|
| /subsys/llext/ |
| A D | fs_loader.c | 20 fs_file_t_init(&fs_l->file); in llext_fs_prepare() 22 ret = fs_open(&fs_l->file, fs_l->name, FS_O_READ); in llext_fs_prepare() 38 ret = fs_read(&fs_l->file, buf, len); in llext_fs_read() 51 return fs_seek(&fs_l->file, pos, FS_SEEK_SET); in llext_fs_seek() 62 fs_close(&fs_l->file); in llext_fs_finalize()
|
| /subsys/fs/ext2/ |
| A D | Kconfig | 4 # Ext2 file system 7 bool "Ext2 file system support" 10 Enable Ext2 file system support. 18 menu "Ext2 file system Settings" 45 of the file system must be specified by this option. 62 Enable automatic mounting of Ext2 file system at boot time.
|
| /subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
| A D | fs_mgmt.c | 99 struct fs_file_t file; member 129 fs_close(&fs_mgmt_ctxt.file); in fs_mgmt_cleanup() 310 fs_file_t_init(&fs_mgmt_ctxt.file); in fs_mgmt_file_download() 453 fs_file_t_init(&fs_mgmt_ctxt.file); in fs_mgmt_file_upload() 536 fs_close(&fs_mgmt_ctxt.file); in fs_mgmt_file_upload() 696 struct fs_file_t file; in fs_mgmt_file_hash_checksum() local 777 fs_file_t_init(&file); in fs_mgmt_file_hash_checksum() 778 rc = fs_open(&file, path, FS_O_READ); in fs_mgmt_file_hash_checksum() 795 rc = fs_seek(&file, off, FS_SEEK_SET); in fs_mgmt_file_hash_checksum() 800 fs_close(&file); in fs_mgmt_file_hash_checksum() [all …]
|
| A D | fs_mgmt_hash_checksum_crc32.c | 19 static int fs_mgmt_hash_checksum_crc32(struct fs_file_t *file, uint8_t *output, in fs_mgmt_hash_checksum_crc32() argument 37 bytes_read = fs_read(file, buffer, read_size); in fs_mgmt_hash_checksum_crc32()
|
| /subsys/testsuite/ztest/src/ |
| A D | ztest_posix.c | 56 const char *ztest_relative_filename(const char *file) in ztest_relative_filename() argument 62 if (cwd && strlen(file) > strlen(cwd) && !strncmp(file, cwd, strlen(cwd))) { in ztest_relative_filename() 63 return file + strlen(cwd) + 1; /* move past the trailing '/' */ in ztest_relative_filename() 65 return file; in ztest_relative_filename()
|
| A D | ztest_defaults.c | 21 const char *ztest_relative_filename(const char *file) in ztest_relative_filename() argument 23 return file; in ztest_relative_filename()
|
| /subsys/mgmt/mcumgr/grp/os_mgmt/ |
| A D | CMakeLists.txt | 23 file(MAKE_DIRECTORY ${MCUMGR_GRP_OS_INFO_BUILD_DATE_TIME_DIR}) 24 …file(WRITE ${MCUMGR_GRP_OS_INFO_BUILD_DATE_TIME_DIR}/os_mgmt_build_date.c "/* Auto generated file,…
|
| /subsys/net/lib/lwm2m/ |
| A D | lwm2m_senml_cbor.patch | 19 -#error "The type file was generated with a different default_max_qty than this file" 61 -#error "The type file was generated with a different default_max_qty than this file" 86 -#error "The type file was generated with a different default_max_qty than this file" 134 -#error "The type file was generated with a different default_max_qty than this file" 158 -/** Which value for --default-max-qty this file was created with. 160 - * The define is used in the other generated file to do a build-time
|
| A D | README_lwm2m | 7 domain specific code. To generate the SenML encoder and decoder the following CDDL file 23 The above command also applies the lwm2m_senml_cbor.patch patch file. 30 …ommitting the desired patches in a subsequent commit, then creating the patch file with the command
|
| /subsys/fs/fuse_client/ |
| A D | Kconfig | 14 that value. The result is as if user with given UID accessed the file/resource. 21 that value. The result is as if user with given GID accessed the file/resource. 28 that value. The result is as if process with given PID accessed the file/resource.
|
| /subsys/net/lib/wifi_credentials/ |
| A D | CMakeLists.txt | 46 file(MAKE_DIRECTORY ${gen_dir}) 69 …file(WRITE ${gen_dir}/${cert_name}.inc "// Empty file generated because ${cert_file} does not exis…
|
| /subsys/net/l2/wifi/ |
| A D | CMakeLists.txt | 35 file(MAKE_DIRECTORY ${gen_dir}) 59 …file(WRITE ${gen_dir}/${cert_name}.inc "// Empty file generated because ${cert_file} does not exis…
|