Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/tests/subsys/logging/log_backend_fs/src/
Dlog_fs_test.c69 struct fs_dirent ent = { 0 }; in ZTEST() local
71 rc = fs_readdir(&dir, &ent); in ZTEST()
73 if ((rc < 0) || (ent.name[0] == 0)) { in ZTEST()
76 if (ent.type == FS_DIR_ENTRY_FILE && in ZTEST()
77 strncmp(ent.name, log_prefix, strlen(log_prefix)) == 0) { in ZTEST()
79 ent.name); in ZTEST()
175 struct fs_dirent ent = { 0 }; in ZTEST() local
177 rc = fs_readdir(&dir, &ent); in ZTEST()
178 if ((rc < 0) || (ent.name[0] == 0)) { in ZTEST()
181 if (strstr(ent.name, log_prefix) != NULL) { in ZTEST()
[all …]
/Zephyr-latest/subsys/logging/backends/
Dlog_backend_fs.c33 static int get_log_file_id(struct fs_dirent *ent);
113 struct fs_dirent ent; in check_log_file_exist() local
124 rc = fs_readdir(&dir, &ent); in check_log_file_exist()
129 if (ent.name[0] == 0) { in check_log_file_exist()
133 rc = get_log_file_id(&ent); in check_log_file_exist()
228 static int get_log_file_id(struct fs_dirent *ent) in get_log_file_id() argument
233 if (ent->type != FS_DIR_ENTRY_FILE) { in get_log_file_id()
237 len = strlen(ent->name); in get_log_file_id()
243 if (memcmp(ent->name, CONFIG_LOG_BACKEND_FS_FILE_PREFIX, LOG_PREFIX_LEN) != 0) { in get_log_file_id()
247 num = atoi(ent->name + LOG_PREFIX_LEN); in get_log_file_id()
[all …]
/Zephyr-latest/samples/subsys/usb/mass/src/
Dmain.c190 struct fs_dirent ent = { 0 }; in setup_disk() local
192 rc = fs_readdir(&dir, &ent); in setup_disk()
197 if (ent.name[0] == 0) { in setup_disk()
202 (ent.type == FS_DIR_ENTRY_FILE) ? 'F' : 'D', in setup_disk()
203 ent.size, in setup_disk()
204 ent.name); in setup_disk()
/Zephyr-latest/drivers/interrupt_controller/
Dintc_dw_ace.c153 struct _isr_table_entry *ent = &_sw_isr_table[offset]; in dwint_isr() local
156 ent->isr(ent->arg); in dwint_isr()
/Zephyr-latest/drivers/mm/
Dmm_drv_intel_adsp_tlb.c212 uintptr_t ent; in sys_mm_drv_page_phys_get() local
230 ent = tlb_entries[get_tlb_entry_idx(va)]; in sys_mm_drv_page_phys_get()
232 if ((ent & TLB_ENABLE_BIT) != TLB_ENABLE_BIT) { in sys_mm_drv_page_phys_get()
236 *phys = (ent & TLB_PADDR_MASK) * CONFIG_MM_DRV_PAGE_SIZE + L2_SRAM_BASE; in sys_mm_drv_page_phys_get()
Dmm_drv_intel_adsp_mtl_tlb.c516 uintptr_t ent; in sys_mm_drv_page_phys_get() local
534 ent = tlb_entries[get_tlb_entry_idx(va)]; in sys_mm_drv_page_phys_get()
536 if ((ent & TLB_ENABLE_BIT) != TLB_ENABLE_BIT) { in sys_mm_drv_page_phys_get()
540 *phys = (ent & TLB_PADDR_MASK) * in sys_mm_drv_page_phys_get()
558 uint16_t ent; in sys_mm_drv_page_flag_get() local
575 ent = tlb_entries[get_tlb_entry_idx(va)]; in sys_mm_drv_page_flag_get()
577 if ((ent & TLB_ENABLE_BIT) != TLB_ENABLE_BIT) { in sys_mm_drv_page_flag_get()
580 *flags = tlb_perms_to_flags(ent); in sys_mm_drv_page_flag_get()
/Zephyr-latest/arch/xtensa/core/
Dmpu.c683 struct xtensa_mpu_entry ent = {0}; in xtensa_mpu_init() local
686 ent.at.p.segment = entry; in xtensa_mpu_init()
689 ent.at.p.access_rights = XTENSA_MPU_ACCESS_P_NA_U_NA; in xtensa_mpu_init()
692 ent.at.p.memory_type = CONFIG_XTENSA_MPU_DEFAULT_MEM_TYPE; in xtensa_mpu_init()
694 xtensa_mpu_map_fg_kernel.entries[entry] = ent; in xtensa_mpu_init()
/Zephyr-latest/subsys/fs/ext2/
Dext2_impl.c801 int ext2_get_direntry(struct ext2_file *dir, struct fs_dirent *ent) in ext2_get_direntry() argument
805 ent->name[0] = 0; in ext2_get_direntry()
840 memcpy(ent->name, de->de_name, len); in ext2_get_direntry()
841 ent->name[len] = '\0'; in ext2_get_direntry()
843 LOG_DBG("name_len=%d name=%s %d", de->de_name_len, ent->name, EXT2_MAX_FILE_NAME); in ext2_get_direntry()
846 ent->type = de->de_file_type & EXT2_FT_DIR ? FS_DIR_ENTRY_DIR : FS_DIR_ENTRY_FILE; in ext2_get_direntry()
851 if (ent->type == FS_DIR_ENTRY_FILE) { in ext2_get_direntry()
860 ent->size = size; in ext2_get_direntry()
Dext2_impl.h237 int ext2_get_direntry(struct ext2_file *dir, struct fs_dirent *ent);
/Zephyr-latest/scripts/build/
Dgen_isr_tables_parser_local.py232 def __shared_entry_section(irq, ent): argument
233 return '.isr_shared.0x{:x}_0x{:x}'.format(irq, ent)
/Zephyr-latest/scripts/west_commands/
Dsdk.py493 for ent in line.split(","):
494 kv = ent.split("=")