Home
last modified time | relevance | path

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

12345678

/optee_os-3.20.0/core/lib/zlib/
A Dzutil.c35 uLong flags; in zlibCompileFlags() local
37 flags = 0; in zlibCompileFlags()
63 flags += 1 << 8; in zlibCompileFlags()
66 flags += 1 << 9; in zlibCompileFlags()
69 flags += 1 << 10; in zlibCompileFlags()
72 flags += 1 << 12; in zlibCompileFlags()
75 flags += 1 << 13; in zlibCompileFlags()
78 flags += 1L << 16; in zlibCompileFlags()
81 flags += 1L << 17; in zlibCompileFlags()
84 flags += 1L << 20; in zlibCompileFlags()
[all …]
/optee_os-3.20.0/lib/libutils/ext/
A Dsnprintk.c290 flags = 0; in kprintf()
308 flags |= ALT; in kprintf()
322 flags |= LADJUST; in kprintf()
346 flags |= ZEROPAD; in kprintf()
361 flags |= MAXINT; in kprintf()
372 flags |= QUADINT; in kprintf()
375 flags |= PTRINT; in kprintf()
378 flags |= SIZEINT; in kprintf()
386 flags |= LONGINT; in kprintf()
414 flags |= LONGINT; in kprintf()
[all …]
/optee_os-3.20.0/core/kernel/
A Duser_access.c17 static TEE_Result check_access(uint32_t flags, const void *uaddr, size_t len) in check_access() argument
21 return vm_check_access_rights(to_user_mode_ctx(s->ctx), flags, in check_access()
27 uint32_t flags = TEE_MEMORY_ACCESS_READ | TEE_MEMORY_ACCESS_ANY_OWNER; in copy_from_user() local
31 res = check_access(flags, uaddr, len); in copy_from_user()
40 uint32_t flags = TEE_MEMORY_ACCESS_WRITE | TEE_MEMORY_ACCESS_ANY_OWNER; in copy_to_user() local
44 res = check_access(flags, uaddr, len); in copy_to_user()
53 uint32_t flags = TEE_MEMORY_ACCESS_READ; in copy_from_user_private() local
57 res = check_access(flags, uaddr, len); in copy_from_user_private()
66 uint32_t flags = TEE_MEMORY_ACCESS_WRITE; in copy_to_user_private() local
70 res = check_access(flags, uaddr, len); in copy_to_user_private()
A Duser_mode_ctx.c13 char flags[7] = { '\0', }; in user_mode_ctx_print_mappings() local
22 mattr_perm_to_str(flags, sizeof(flags), r->attr); in user_mode_ctx_print_mappings()
26 flags); in user_mode_ctx_print_mappings()
A Dldelf_syscalls.c30 size_t pad_end, unsigned long flags) in ldelf_syscall_map_zi() argument
40 if (flags & ~LDELF_MAP_FLAG_SHAREABLE) in ldelf_syscall_map_zi()
43 if (flags & LDELF_MAP_FLAG_SHAREABLE) in ldelf_syscall_map_zi()
263 unsigned long flags) in ldelf_syscall_map_bin() argument
289 if ((flags & accept_flags) != flags) in ldelf_syscall_map_bin()
304 if (flags & LDELF_MAP_FLAG_WRITEABLE) in ldelf_syscall_map_bin()
308 if (flags & LDELF_MAP_FLAG_BTI) in ldelf_syscall_map_bin()
450 unsigned long flags) in ldelf_syscall_set_prot() argument
463 if ((flags & accept_flags) != flags) in ldelf_syscall_set_prot()
465 if (flags & LDELF_MAP_FLAG_WRITEABLE) in ldelf_syscall_set_prot()
[all …]
A Dinterrupt.c59 else if (!(h->flags & ITRF_SHARED)) in itr_handle()
71 uint32_t flags, void *data, in itr_alloc_add_type_prio() argument
79 hdl->flags = flags; in itr_alloc_add_type_prio()
104 assert((hdl->flags & ITRF_SHARED) && in itr_add_type_prio()
105 (h->flags & ITRF_SHARED)); in itr_add_type_prio()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dh/
A Ddh_export.c18 unsigned char flags[1]; in dh_export() local
28 flags[0] = 1; in dh_export()
31 LTC_ASN1_BIT_STRING, 1UL, flags, in dh_export()
39 flags[0] = 0; in dh_export()
42 LTC_ASN1_BIT_STRING, 1UL, flags, in dh_export()
A Ddh_import.c17 unsigned char flags[1]; in dh_import() local
32 LTC_ASN1_BIT_STRING, 1UL, &flags, in dh_import()
39 if (flags[0] == 1) { in dh_import()
43 LTC_ASN1_BIT_STRING, 1UL, flags, in dh_import()
55 else if (flags[0] == 0) { in dh_import()
59 LTC_ASN1_BIT_STRING, 1UL, flags, in dh_import()
/optee_os-3.20.0/core/pta/
A Ddevice.c23 static void add_ta(uint32_t flags, const TEE_UUID *uuid, uint8_t *buf, in add_ta() argument
26 if ((flags & TA_FLAG_DEVICE_ENUM) && in add_ta()
27 (flags & TA_FLAG_DEVICE_ENUM_SUPP)) { in add_ta()
32 if (flags & rflags) { in add_ta()
63 add_ta(ta->flags, &ta->uuid, buf, blen, &pos, rflags); in get_devices()
67 add_ta(eta->flags, &eta->uuid, buf, blen, &pos, in get_devices()
96 .flags = PTA_DEFAULT_FLAGS,
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
A Decc_export.c24 unsigned char flags[1]; in ecc_export() local
40 flags[0] = 1; in ecc_export()
42 LTC_ASN1_BIT_STRING, 1UL, flags, in ecc_export()
49 flags[0] = 0; in ecc_export()
51 LTC_ASN1_BIT_STRING, 1UL, flags, in ecc_export()
A Decc_import.c36 unsigned char flags[1]; in ecc_import_ex() local
44 err = der_decode_sequence_multi(in, inlen, LTC_ASN1_BIT_STRING, 1UL, flags, in ecc_import_ex()
58 if (flags[0] == 1) { in ecc_import_ex()
62 LTC_ASN1_BIT_STRING, 1UL, flags, in ecc_import_ex()
70 } else if (flags[0] == 0) { in ecc_import_ex()
74 LTC_ASN1_BIT_STRING, 1UL, flags, in ecc_import_ex()
/optee_os-3.20.0/ldelf/
A Dsys.c39 TEE_Result sys_map_zi(size_t num_bytes, uint32_t flags, vaddr_t *va, in sys_map_zi() argument
42 return _ldelf_map_zi(va, num_bytes, pad_begin, pad_end, flags); in sys_map_zi()
60 TEE_Result sys_map_ta_bin(vaddr_t *va, size_t num_bytes, uint32_t flags, in sys_map_ta_bin() argument
65 pad_begin, pad_end, flags); in sys_map_ta_bin()
75 TEE_Result sys_set_prot(vaddr_t va, size_t num_bytes, uint32_t flags) in sys_set_prot() argument
77 return _ldelf_set_prot(va, num_bytes, flags); in sys_set_prot()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
A Dder_decode_sequence_multi.c23 …quence_va(const unsigned char *in, unsigned long inlen, va_list a1, va_list a2, unsigned int flags) in s_der_decode_sequence_va() argument
126 err = der_decode_sequence_ex(in, inlen, list, x, flags); in s_der_decode_sequence_va()
164 int der_decode_sequence_multi_ex(const unsigned char *in, unsigned long inlen, unsigned int flags, … in der_decode_sequence_multi_ex() argument
171 va_start(a1, flags); in der_decode_sequence_multi_ex()
172 va_start(a2, flags); in der_decode_sequence_multi_ex()
174 err = s_der_decode_sequence_va(in, inlen, a1, a2, flags); in der_decode_sequence_multi_ex()
A Dder_decode_sequence_ex.c23 ltc_asn1_list *list, unsigned long outlen, unsigned int flags) in der_decode_sequence_ex() argument
25 return der_decode_custom_type_ex(in, inlen, NULL, list, outlen, flags); in der_decode_sequence_ex()
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/drivers/
A Dstm32mp1_pmic.c89 uint8_t flags; member
113 regu_cfg.flags |= REGU_BO_FLAG_ENABLE_REGU; in dt_get_regu_boot_on_config()
124 regu_cfg.flags |= REGU_BO_FLAG_PULL_DOWN; in dt_get_regu_boot_on_config()
132 regu_cfg.flags |= REGU_BO_FLAG_MASK_RESET; in dt_get_regu_boot_on_config()
145 regu_cfg.flags |= REGU_BO_FLAG_SET_VOLTAGE; in dt_get_regu_boot_on_config()
173 if (regu_cfg->flags & REGU_BO_FLAG_PULL_DOWN) in stm32mp_pmic_apply_boot_on_config()
177 if (regu_cfg->flags & REGU_BO_FLAG_MASK_RESET) in stm32mp_pmic_apply_boot_on_config()
188 uint8_t flags; member
265 regu_cfg->flags |= REGU_LP_FLAG_LOAD_PWRCTRL; in dt_get_regu_low_power_config()
290 regu_cfg->flags |= REGU_LP_FLAG_SET_VOLTAGE; in dt_get_regu_low_power_config()
[all …]
/optee_os-3.20.0/ta/pkcs11/src/
A Dtoken_capabilities.c33 uint32_t flags; member
45 .flags = (_flags), \
53 .flags = (_flags), \
185 uint32_t flags) in mechanism_flags_complies_pkcs11() argument
193 if (flags & ~pkcs11_modes[n].flags) in mechanism_flags_complies_pkcs11()
196 flags, pkcs11_modes[n].flags); in mechanism_flags_complies_pkcs11()
198 return (flags & ~pkcs11_modes[n].flags) == 0; in mechanism_flags_complies_pkcs11()
305 if (token_mechanism[n].flags) in tee_malloc_mechanism_list()
318 if (token_mechanism[n].flags) { in tee_malloc_mechanism_list()
334 uint32_t flags = token_mechanism[n].flags; in mechanism_supported_flags() local
[all …]
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/8086/
A Dsoftfloat_raiseFlags.c47 void softfloat_raiseFlags( uint_fast8_t flags ) in softfloat_raiseFlags() argument
50 softfloat_exceptionFlags |= flags; in softfloat_raiseFlags()
/optee_os-3.20.0/lib/libutils/isoc/arch/arm/softfloat/source/8086-SSE/
A Dsoftfloat_raiseFlags.c47 void softfloat_raiseFlags( uint_fast8_t flags ) in softfloat_raiseFlags() argument
50 softfloat_exceptionFlags |= flags; in softfloat_raiseFlags()
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/dsa/
A Ddsa_export.c23 unsigned char flags[1]; in dsa_export() local
48 flags[0] = 1; in dsa_export()
50 LTC_ASN1_BIT_STRING, 1UL, flags, in dsa_export()
86 flags[0] = 0; in dsa_export()
88 LTC_ASN1_BIT_STRING, 1UL, flags, in dsa_export()
A Ddsa_import.c24 unsigned char flags[1]; in dsa_import() local
36 err = der_decode_sequence_multi(in, inlen, LTC_ASN1_BIT_STRING, 1UL, flags, in dsa_import()
41 if (flags[0] == 1) { in dsa_import()
43 LTC_ASN1_BIT_STRING, 1UL, flags, in dsa_import()
56 else if (flags[0] == 0) { in dsa_import()
58 LTC_ASN1_BIT_STRING, 1UL, flags, in dsa_import()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpadlock.c45 static int flags = -1; in mbedtls_padlock_has_support() local
48 if( flags == -1 ) in mbedtls_padlock_has_support()
65 flags = edx; in mbedtls_padlock_has_support()
68 return( flags & feature ); in mbedtls_padlock_has_support()
/optee_os-3.20.0/core/drivers/
A Dstm32_iwdg.c86 uint32_t flags; member
104 return iwdg->flags & IWDG_FLAGS_NON_SECURE; in is_assigned_to_nsec()
109 return iwdg->flags & IWDG_FLAGS_ENABLED; in is_enable()
174 iwdg->flags |= IWDG_FLAGS_ENABLED; in iwdg_start()
270 iwdg->flags |= IWDG_FLAGS_NON_SECURE; in stm32_iwdg_parse_fdt()
275 if (iwdg->flags & IWDG_FLAGS_NON_SECURE) in stm32_iwdg_parse_fdt()
298 iwdg->flags |= IWDG_FLAGS_DISABLE_ON_STOP; in stm32_iwdg_parse_fdt()
301 iwdg->flags |= IWDG_FLAGS_DISABLE_ON_STANDBY; in stm32_iwdg_parse_fdt()
332 iwdg->flags |= IWDG_FLAGS_HW_ENABLED; in stm32_iwdg_setup()
334 iwdg->flags |= IWDG_FLAGS_DISABLE_ON_STOP; in stm32_iwdg_setup()
[all …]
/optee_os-3.20.0/core/include/mm/
A Dvm.h30 uint32_t prot, uint32_t flags, struct mobj *mobj,
40 size_t len, uint32_t prot, uint32_t flags, in vm_map() argument
43 return vm_map_pad(uctx, va, len, prot, flags, mobj, offs, 0, 0, 0); in vm_map()
50 uint32_t *flags);
101 uint32_t flags, uaddr_t uaddr, size_t len);
/optee_os-3.20.0/ldelf/include/
A Dldelf_syscalls.h17 size_t pad_end, unsigned long flags);
24 unsigned long flags);
28 unsigned long flags);
/optee_os-3.20.0/core/include/kernel/
A Dldelf_syscalls.h23 size_t pad_end, unsigned long flags);
31 unsigned long flags);
35 unsigned long flags);

Completed in 38 milliseconds

12345678