Searched refs:perms (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/kernel/ |
D | userspace.c | 375 (void)memset(dyn->kobj.perms, 0, CONFIG_MAX_THREAD_BYTES); in dynamic_object_create() 541 sys_bitfield_clear_bit((mem_addr_t)&ko->perms, index); in unref_check() 556 if (ko->perms[i] != 0U) { in unref_check() 595 if (sys_bitfield_test_bit((mem_addr_t)&ko->perms, ctx->parent_id) && in wordlist_cb() 597 sys_bitfield_set_bit((mem_addr_t)&ko->perms, ctx->child_id); in wordlist_cb() 619 sys_bitfield_set_bit((mem_addr_t)&ko->perms, index); in k_thread_perms_set() 628 sys_bitfield_clear_bit((mem_addr_t)&ko->perms, index); in k_thread_perms_clear() 659 return sys_bitfield_test_bit((mem_addr_t)&ko->perms, index); in thread_perms_test() 670 LOG_HEXDUMP_ERR(ko->perms, sizeof(ko->perms), "permission bitmap"); in dump_permission_error() 796 (void)memset(ko->perms, 0, sizeof(ko->perms)); in k_object_recycle()
|
/Zephyr-latest/drivers/mm/ |
D | mm_drv_intel_adsp_mtl_tlb.c | 99 uint16_t perms = 0; in flags_to_tlb_perms() local 102 perms |= TLB_WRITE_BIT; in flags_to_tlb_perms() 106 perms |= TLB_EXEC_BIT; in flags_to_tlb_perms() 109 return perms; in flags_to_tlb_perms() 122 static uint16_t tlb_perms_to_flags(uint16_t perms) in tlb_perms_to_flags() argument 126 if ((perms & TLB_WRITE_BIT) == TLB_WRITE_BIT) { in tlb_perms_to_flags() 130 if ((perms & TLB_EXEC_BIT) == TLB_EXEC_BIT) { in tlb_perms_to_flags()
|
/Zephyr-latest/include/zephyr/sys/internal/ |
D | kobject_internal.h | 63 uint8_t perms[CONFIG_MAX_THREAD_BYTES]; member
|
/Zephyr-latest/tests/kernel/mem_protect/userspace/src/ |
D | main.c | 948 (void)memset(ko->perms, 0xFF, sizeof(ko->perms)); in ZTEST() 956 perms_count += POPCOUNT(ko->perms[i]); in ZTEST()
|
/Zephyr-latest/scripts/ |
D | checkpatch.pl | 6717 my $perms = $2; 6720 my $octal_perms = perms_to_octal($perms); 6727 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*$store\s*\)/D… 6735 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*$show\s*,\s*NULL\s*\)/DEV… 6743 …$fixed[$fixlinenr] =~ s/\bDEVICE_ATTR\s*\(\s*$var\s*,\s*\Q$perms\E\s*,\s*NULL\s*,\s*$store\s*\)/DE… 6763 "DEVICE_ATTR unusual permissions '$perms' used\n" . $herecurr);
|
/Zephyr-latest/doc/contribute/documentation/ |
D | guidelines.rst | 447 uint8_t perms[CONFIG_MAX_THREAD_BYTES]; 463 uint8_t perms[CONFIG_MAX_THREAD_BYTES];
|
/Zephyr-latest/doc/releases/ |
D | release-notes-1.12.rst | 718 * :github:`7776` - possible unaligned memory access to struct _k_object's perms
|