Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 118) sorted by relevance

12345

/trusty/user/app/storage/
Dclient.h71 struct storage_op_flags flags);
84 struct storage_op_flags flags);
111 struct storage_op_flags flags);
130 struct storage_op_flags flags,
142 struct storage_op_flags flags);
162 struct storage_op_flags flags,
182 struct storage_op_flags flags);
213 struct storage_op_flags flags,
216 enum storage_file_list_flag flags,
231 struct storage_op_flags flags,
[all …]
Dclient.c263 struct storage_op_flags flags, in assert_checkpoint_flag_valid() argument
265 if (flags.update_checkpoint) { in assert_checkpoint_flag_valid()
266 if (!(flags.complete_transaction)) { in assert_checkpoint_flag_valid()
284 struct storage_op_flags flags) { in ensure_active_transaction() argument
286 if (flags.complete_transaction) { in ensure_active_transaction()
325 struct storage_op_flags flags) { in storage_transaction_end() argument
327 assert_checkpoint_flag_valid(session, flags, __func__); in storage_transaction_end()
332 if (flags.complete_transaction) { in storage_transaction_end()
334 if (flags.update_checkpoint && !transaction_is_active(&session->tr)) { in storage_transaction_end()
339 transaction_complete_etc(&session->tr, flags.update_checkpoint); in storage_transaction_end()
[all …]
Dclient_tipc.c89 if ((req->flags & ~STORAGE_FILE_DELETE_MASK) != 0) { in storage_tipc_file_delete()
90 SS_ERR("%s: unexpected flags (0x%" PRIx32 ")\n", __func__, req->flags); in storage_tipc_file_delete()
95 extract_storage_op_flags(msg->flags)); in storage_tipc_file_delete()
108 if ((req->flags & ~STORAGE_FILE_MOVE_MASK) != 0) { in storage_tipc_file_move()
109 SS_ERR("invalid move flags 0x%" PRIx32 "\n", req->flags); in storage_tipc_file_move()
122 if (req->flags & STORAGE_FILE_MOVE_CREATE) { in storage_tipc_file_move()
123 file_create_mode = req->flags & STORAGE_FILE_MOVE_CREATE_EXCLUSIVE in storage_tipc_file_move()
131 session, req->handle, req->flags & STORAGE_FILE_MOVE_OPEN_FILE, in storage_tipc_file_move()
134 extract_storage_op_flags(msg->flags)); in storage_tipc_file_move()
147 if ((req->flags & ~STORAGE_FILE_OPEN_MASK) != 0) { in storage_tipc_file_open()
[all …]
Dsuper.c141 uint32_t flags; member
199 uint32_t flags; in update_super_block_internal() local
218 flags = ver; in update_super_block_internal()
224 flags |= SUPER_BLOCK_FLAGS_EMPTY; in update_super_block_internal()
231 flags |= SUPER_BLOCK_FLAGS_ALTERNATE; in update_super_block_internal()
268 super_rw->flags = flags; in update_super_block_internal()
287 super_rw->flags2 = flags; in update_super_block_internal()
289 super_rw->flags3 = flags; in update_super_block_internal()
466 if (super->flags != super->flags2) { in super_block_valid()
467 pr_warn("flags, 0x%x, does not match flags2, 0x%x\n", super->flags, in super_block_valid()
[all …]
/trusty/kernel/lib/trusty/
Dsyscall.c201 long sys_exit_etc(int32_t status, uint32_t flags) { in sys_exit_etc() argument
228 uint32_t flags, in sys_nanosleep() argument
237 long sys_nanosleep(uint32_t clock_id, uint32_t flags, uint64_t sleep_time) { in sys_nanosleep() argument
244 long sys_gettime(uint32_t clock_id, uint32_t flags, user_addr_t time) { in sys_gettime() argument
253 uint32_t flags, in sys_mmap() argument
258 if (flags & MMAP_FLAG_IO_HANDLE) { in sys_mmap()
264 if (uaddr != 0 || flags & MMAP_FLAG_ANONYMOUS) { in sys_mmap()
274 } else if (flags & MMAP_FLAG_ANONYMOUS) { in sys_mmap()
279 if (uaddr != 0 && !(flags & MMAP_FLAG_FIXED_NOREPLACE)) { in sys_mmap()
284 ret = xlat_flags(flags, flags, &mmu_flags); in sys_mmap()
[all …]
Dipc.c93 bool ipc_connection_waiting_for_port(const char* path, uint32_t flags) { in ipc_connection_waiting_for_port() argument
101 ipc_port_check_access(flags, chan->uuid) == NO_ERROR) { in ipc_connection_waiting_for_port()
111 void ipc_remove_connection_waiting_for_port(const char* path, uint32_t flags) { in ipc_remove_connection_waiting_for_port() argument
119 ipc_port_check_access(flags, chan->uuid) == NO_ERROR) { in ipc_remove_connection_waiting_for_port()
136 uint32_t flags, in ipc_port_create() argument
178 new_port->flags = flags; in ipc_port_create()
418 uint32_t flags) { in sys_port_create() argument
438 recv_buf_size, flags, &port_handle); in sys_port_create()
548 static struct ipc_chan* chan_alloc(uint32_t flags, const uuid_t* uuid) { in chan_alloc() argument
569 if (flags & IPC_CHAN_FLAG_SERVER) in chan_alloc()
[all …]
/trusty/user/base/lib/libc-trusty/
Dtime.c24 int trusty_nanosleep(clockid_t clock_id, uint32_t flags, uint64_t sleep_time) { in trusty_nanosleep() argument
27 assert(flags == 0); in trusty_nanosleep()
28 return _trusty_nanosleep(clock_id, flags, sleep_time); in trusty_nanosleep()
31 int trusty_nanodelay(clockid_t clock_id, uint32_t flags, uint64_t sleep_time) { in trusty_nanodelay() argument
37 assert(flags == 0); in trusty_nanodelay()
54 int flags, in clock_nanosleep() argument
86 int ret = trusty_nanosleep(clock_id, flags, sleep_time); in clock_nanosleep()
Dmman.c34 int flags, in mmap() argument
48 result = (void*)_trusty_mmap(uaddr, size, (uint32_t)prot | flags, in mmap()
74 uint32_t flags, in prepare_dma() argument
79 return _trusty_prepare_dma(uaddr, size, flags, pmem); in prepare_dma()
82 int finish_dma(void* uaddr, uint32_t size, uint32_t flags) { in finish_dma() argument
86 return _trusty_finish_dma(uaddr, size, flags); in finish_dma()
Dipc.c24 uint32_t flags) { in port_create() argument
25 return _trusty_port_create(path, num_recv_bufs, recv_buf_size, flags); in port_create()
28 handle_t connect(const char* path, uint32_t flags) { in connect() argument
29 return _trusty_connect(path, flags); in connect()
/trusty/kernel/lib/trusty/include/
Dsyscall_table.h35 DEF_SYSCALL(0x3, exit_etc, long, 2, int32_t status, uint32_t flags)
38 DEF_SYSCALL(0x6, nanosleep, long, 3, uint32_t clock_id, uint32_t flags, uint64_t sleep_time)
39 DEF_SYSCALL(0x7, gettime, long, 3, uint32_t clock_id, uint32_t flags, int64_t *time)
40 DEF_SYSCALL(0x8, mmap, long, 4, void *uaddr, uint32_t size, uint32_t flags, int32_t handle)
42 DEF_SYSCALL(0xa, prepare_dma, long, 4, void *uaddr, uint32_t size, uint32_t flags, struct dma_pmem …
43 DEF_SYSCALL(0xb, finish_dma, long, 3, void *uaddr, uint32_t size, uint32_t flags)
48 …_create, long, 4, const char *path, uint32_t num_recv_bufs, uint32_t recv_buf_size, uint32_t flags)
49 DEF_SYSCALL(0x11, connect, long, 2, const char *path, uint32_t flags)
/trusty/kernel/platform/vexpress-a15/
Dplatform.c58 .flags = MMU_INITIAL_MAPPING_FLAG_DYNAMIC,
64 .flags = MMU_INITIAL_MAPPING_FLAG_DEVICE,
70 .flags = MMU_INITIAL_MAPPING_FLAG_DEVICE,
76 .flags = MMU_INITIAL_MAPPING_FLAG_DEVICE,
85 .flags = PMM_ARENA_FLAG_KMAP};
104 if (!(m->flags & MMU_INITIAL_MAPPING_FLAG_DYNAMIC)) in platform_init_mmu_mappings()
111 ram_arena.flags = PMM_ARENA_FLAG_KMAP; in platform_init_mmu_mappings()
/trusty/kernel/platform/generic-x86_64/
Dplatform.c43 .flags = MMU_INITIAL_MAPPING_FLAG_DYNAMIC,
53 .flags = PMM_ARENA_FLAG_KMAP,
60 if (!(m->flags & MMU_INITIAL_MAPPING_FLAG_DYNAMIC)) in platform_init_mmu_mappings()
67 ram_arena.flags = PMM_ARENA_FLAG_KMAP; in platform_init_mmu_mappings()
/trusty/kernel/lib/trusty/include/lib/trusty/
Dipc.h59 uint32_t flags; member
98 uint32_t flags; member
134 uint32_t flags,
154 bool ipc_connection_waiting_for_port(const char* path, uint32_t flags);
162 void ipc_remove_connection_waiting_for_port(const char* path, uint32_t flags);
172 uint flags,
Devent.h87 unsigned int flags,
114 unsigned int flags,
/trusty/user/base/interface/storage/include/interface/storage/
Dstorage.h255 uint32_t flags; member
269 uint32_t flags; member
281 uint32_t flags; member
369 uint8_t flags; member
383 uint8_t flags; member
460 uint32_t flags; member
/trusty/hardware/nxp/platform/imx/
Dplatform.c54 .flags = MMU_INITIAL_MAPPING_FLAG_DYNAMIC,
59 .flags = MMU_INITIAL_MAPPING_FLAG_DEVICE,
67 .flags = PMM_ARENA_FLAG_KMAP};
75 if (!(m->flags & MMU_INITIAL_MAPPING_FLAG_DYNAMIC)) in platform_init_mmu_mappings()
82 ram_arena.flags = PMM_ARENA_FLAG_KMAP; in platform_init_mmu_mappings()
/trusty/user/base/lib/storage/
Dstorage.c275 uint32_t flags, in storage_open_file() argument
278 .flags = _to_msg_flags(opflags)}; in storage_open_file()
279 struct storage_file_open_req req = {.flags = flags}; in storage_open_file()
317 uint32_t flags, in storage_move_file() argument
323 .flags = _to_msg_flags(opflags), in storage_move_file()
326 .flags = flags, in storage_move_file()
346 .flags = _to_msg_flags(opflags)}; in storage_delete_file()
348 .flags = 0, in storage_delete_file()
379 resp->flags = STORAGE_FILE_LIST_START; in storage_open_dir()
397 struct storage_file_list_req req = {.flags = last_item->flags}; in storage_read_dir_send_message()
[all …]
/trusty/user/base/lib/libc-trusty/include/trusty/
Dtime.h31 int trusty_nanosleep(clockid_t clock_id, uint32_t flags, uint64_t sleep_time);
40 int trusty_nanodelay(clockid_t clock_id, uint32_t flags, uint64_t sleep_time);
/trusty/user/base/lib/uirq/
Duirq.c22 handle_t uirq_open(const char* name, uint32_t flags) { in uirq_open() argument
23 return connect(name, flags); in uirq_open()
/trusty/user/base/app/crash-test/crasher/data-funcs/
Drules.mk32 $(CLANG_BINDIR)/llvm-objcopy --set-section-flags=.data=alloc,data \
33 --set-section-flags=.rodata=alloc,readonly $<
/trusty/user/base/lib/libc-trusty/include/trusty/sys/
Dmman.h32 uint32_t flags,
34 int finish_dma(void* uaddr, uint32_t size, uint32_t flags);
/trusty/user/base/make/
DREADME.md6 built independently into static library archives and their build flags are
8 library, its cached flags are added to the current module flags and re-exported
25 propagation of flags up from dependencies. Users writing rules for libraries
72 | | | | Cache flags for this module in |
86 | | | Add dependency's flags to current module's
87 | | | private flags.
111 | | | Cache flags for this module in _MODULES_$(MODULE)_$(FLAG) |
130 | | | | Add dependency's flags to current module's
131 | | | | private flags.
/trusty/user/base/lib/storage/include/lib/storage/
Dstorage.h97 uint32_t flags,
131 uint32_t flags,
183 uint8_t* flags,
/trusty/kernel/app/list-ports/
Dmain.c42 if (port->flags & IPC_PORT_ALLOW_TA_CONNECT) { in TEST()
48 if (port->flags & IPC_PORT_ALLOW_NS_CONNECT) { in TEST()
/trusty/user/base/include/user/
Dtrusty_app_manifest.h49 #define TRUSTY_APP_START_PORT(name, flags) \ argument
54 .port_flags = flags, \

12345