Home
last modified time | relevance | path

Searched refs:perms (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-2.7.6/kernel/
Duserspace.c320 (void)memset(dyn->kobj.perms, 0, CONFIG_MAX_THREAD_BYTES); in z_dynamic_object_aligned_create()
466 sys_bitfield_clear_bit((mem_addr_t)&ko->perms, index); in unref_check()
477 if (ko->perms[i] != 0U) { in unref_check()
514 if (sys_bitfield_test_bit((mem_addr_t)&ko->perms, ctx->parent_id) && in wordlist_cb()
516 sys_bitfield_set_bit((mem_addr_t)&ko->perms, ctx->child_id); in wordlist_cb()
538 sys_bitfield_set_bit((mem_addr_t)&ko->perms, index); in z_thread_perms_set()
547 sys_bitfield_clear_bit((mem_addr_t)&ko->perms, index); in z_thread_perms_clear()
578 return sys_bitfield_test_bit((mem_addr_t)&ko->perms, index); in thread_perms_test()
589 LOG_HEXDUMP_ERR(ko->perms, sizeof(ko->perms), "permission bitmap"); in dump_permission_error()
715 (void)memset(ko->perms, 0, sizeof(ko->perms)); in z_object_recycle()
/Zephyr-Core-2.7.6/include/sys/
Dkobject.h87 uint8_t perms[CONFIG_MAX_THREAD_BYTES]; member
/Zephyr-Core-2.7.6/tests/kernel/mem_protect/userspace/src/
Dmain.c834 (void)memset(ko->perms, 0xFF, sizeof(ko->perms)); in test_object_recycle()
842 perms_count += popcount(ko->perms[i]); in test_object_recycle()
/Zephyr-Core-2.7.6/scripts/
Dcheckpatch.pl6700 my $perms = $2;
6703 my $octal_perms = perms_to_octal($perms);
6710 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*$store\s*\)/D…
6718 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*NULL\s*\)/DEV…
6726 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*NULL\s*,\s*$store\s*\)/DE…
6746 "DEVICE_ATTR unusual permissions '$perms' used\n" . $herecurr);
/Zephyr-Core-2.7.6/doc/contribute/documentation/
Dindex.rst401 uint8_t perms[CONFIG_MAX_THREAD_BYTES];
417 uint8_t perms[CONFIG_MAX_THREAD_BYTES];
/Zephyr-Core-2.7.6/doc/releases/
Drelease-notes-1.12.rst718 * :github:`7776` - possible unaligned memory access to struct _k_object's perms