Home
last modified time | relevance | path

Searched full:owner (Results 1 – 25 of 106) sorted by relevance

12345

/Zephyr-latest/kernel/
Dmutex.c45 * is protecting things like owner thread priorities which aren't
57 mutex->owner = NULL; in z_impl_k_mutex_init()
93 if (mutex->owner->base.prio != new_prio) { in adjust_owner_prio()
96 mutex->owner, z_is_thread_ready(mutex->owner) ? in adjust_owner_prio()
98 new_prio, mutex->owner->base.prio); in adjust_owner_prio()
100 return z_thread_prio_set(mutex->owner, new_prio); in adjust_owner_prio()
117 if (likely((mutex->lock_count == 0U) || (mutex->owner == arch_current_thread()))) { in z_impl_k_mutex_lock()
124 mutex->owner = arch_current_thread(); in z_impl_k_mutex_lock()
148 mutex->owner->base.prio); in z_impl_k_mutex_lock()
152 if (z_is_prio_higher(new_prio, mutex->owner->base.prio)) { in z_impl_k_mutex_lock()
[all …]
/Zephyr-latest/dts/bindings/reserved-memory/
Dnordic,owned-memory.yaml47 Array of (owner-id, permission-flags) pairs, where:
49 - Owner ID represents the domain that will have access to this memory.
64 owner-id:
69 Owner ID of the domain that will own this memory region. If not defined,
72 Note: owner ID is not the same as domain ID; see the product specification
80 Owner has read access to the region.
87 Owner has write access to the region.
94 Owner can execute code from the region.
101 Owner has secure-only access to the region.
/Zephyr-latest/subsys/net/lib/shell/
Dsockets.c100 static char owner[MAX_OWNER_LEN + 1]; in walk_socket_services() local
114 len = strlen(svc->owner); in walk_socket_services()
116 int offset = len > sizeof(owner) ? in walk_socket_services()
117 len -= (sizeof(owner) - 3) : 0; in walk_socket_services()
119 snprintk(owner, sizeof(owner), "%s%s", in walk_socket_services()
121 svc->owner + offset + 1); in walk_socket_services()
123 snprintk(owner, sizeof(owner), "<unknown>"); in walk_socket_services()
126 PR("%32s %-5d %s\n", owner, svc->pev_len, pev_output); in walk_socket_services()
183 PR("%32s %-5s %s\n", "Owner", "Count", "FDs"); in cmd_net_sockets()
/Zephyr-latest/arch/riscv/core/
Dfpu.c84 /* become new owner */ in z_riscv_fpu_load()
108 struct k_thread *owner = atomic_ptr_get(&_current_cpu->arch.fpu_owner); in arch_flush_local_fpu() local
110 if (owner != NULL) { in arch_flush_local_fpu()
116 /* save current owner's content */ in arch_flush_local_fpu()
117 z_riscv_fpu_save(&owner->arch.saved_fp_context); in arch_flush_local_fpu()
121 owner->arch.fpu_recently_used = dirty; in arch_flush_local_fpu()
128 DBG("disable", owner); in arch_flush_local_fpu()
139 atomic_ptr_val_t owner; in flush_owned_fpu() local
141 /* search all CPUs for the owner we want */ in flush_owned_fpu()
145 owner = atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner); in flush_owned_fpu()
[all …]
/Zephyr-latest/arch/arm64/core/
Dfpu.c71 struct k_thread *owner = atomic_ptr_get(&_current_cpu->arch.fpu_owner); in arch_flush_local_fpu() local
73 if (owner != NULL) { in arch_flush_local_fpu()
80 /* save current owner's content */ in arch_flush_local_fpu()
81 z_arm64_fpu_save(&owner->arch.saved_fp_context); in arch_flush_local_fpu()
86 DBG("disable", owner); in arch_flush_local_fpu()
101 /* search all CPUs for the owner we want */ in flush_owned_fpu()
157 * Rather than flushing the FPU context to its owner and enabling access
237 /* save current owner's content if any */ in z_arm64_fpu_trap()
238 struct k_thread *owner = atomic_ptr_get(&_current_cpu->arch.fpu_owner); in z_arm64_fpu_trap() local
240 if (owner) { in z_arm64_fpu_trap()
[all …]
/Zephyr-latest/scripts/west_commands/zspdx/
Ddatatypes.py140 # (e.g., the "owner" or the "other" element) is a File, a target Package,
141 # a Package's ID (as other only, and only where owner type is DOCUMENT),
142 # or the SPDX document itself (as owner only).
158 # for the "owner" element (e.g., the left side of the Relationship),
162 # owner file absolute path (if ownerType is FILENAME)
165 # owner target name (if ownerType is TARGETNAME)
168 # owner SPDX Document (if ownerType is DOCUMENT)
/Zephyr-latest/.github/workflows/
Derrno.yml16 - name: Apply container owner mismatch workaround
18 # FIXME: The owner UID of the GITHUB_WORKSPACE directory may not
Dtwister_tests_blackbox.yml30 - name: Apply Container Owner Mismatch Workaround
32 # FIXME: The owner UID of the GITHUB_WORKSPACE directory may not
Dbackport_issue_check.yml35 -o ${{ github.event.repository.owner.login }} \
Dassigner.yml37 FLAGS+=" -o ${{ github.event.repository.owner.login }}"
Dfootprint-tracking.yml39 - name: Apply container owner mismatch workaround
41 # FIXME: The owner UID of the GITHUB_WORKSPACE directory may not
/Zephyr-latest/soc/nordic/
Dvalidate_binding_headers.c37 * Owner IDs. See:
38 * - dt-bindings/misc/nordic-owner-id-nrf54h20.h
/Zephyr-latest/subsys/fs/ext2/
Dext2.h47 #define EXT2_S_IRUSR 0x100 /* owner may read */
48 #define EXT2_S_IWUSR 0x080 /* owner may write */
49 #define EXT2_S_IXUSR 0x040 /* owner may execute */
/Zephyr-latest/include/zephyr/posix/sys/
Dstat.h134 #define S_IREAD 0000400 /* read permission, owner */
135 #define S_IWRITE 0000200 /* write permission, owner */
136 #define S_IEXEC 0000100 /* execute/search permission, owner */
165 #define S_IRUSR 0000400 /* read permission, owner */
166 #define S_IWUSR 0000200 /* write permission, owner */
167 #define S_IXUSR 0000100 /* execute/search permission, owner */
/Zephyr-latest/
DLICENSE12 "Licensor" shall mean the copyright owner or entity authorized by
13 the copyright owner that is granting the License.
51 submitted to Licensor for inclusion in the Work by the copyright owner
53 the copyright owner. For the purposes of this definition, "submitted"
60 designated in writing by the copyright owner as "Not a Contribution."
189 Copyright {yyyy} {name of copyright owner}
/Zephyr-latest/doc/project/
Dproposals.rst21 implementation proposal and an owner. Features must go through an RFC process
40 If not though, an owner will be assigned after evaluation by the TSC.
59 by any project member or the community. You should contact an assigned owner if
Drelease_process.rst35 - The release owner, with test teams and any other needed input, determines if the
37 - If it is a go for a release, the release owner lays a tag release vN at the
65 the release owner will declare that the development phase is over and releases the first
88 The mainline release owner releases new -rc drops once or twice a week; a normal
161 - Owner
164 …- Finalize dates for release, Assign release owner and agree on project wide goals for this releas…
172 - Release owner announces feature freeze and timeline for release.
402 - Platform implementation is available, but no owner or unresponsive owner.
/Zephyr-latest/drivers/spi/
Dspi_context.h30 const struct spi_config *owner; member
97 (ctx->owner == spi_cfg)) { in spi_context_lock()
102 ctx->owner = spi_cfg; in spi_context_lock()
121 ctx->owner = NULL; in spi_context_release()
126 ctx->owner = NULL; in spi_context_release()
205 ctx->owner = NULL; in spi_context_complete()
266 ctx->owner = NULL; in spi_context_unlock_unconditionally()
/Zephyr-latest/tests/subsys/portability/cmsis_rtos_v2/src/
Dmutex.c75 /* Try figuring out the owner for a Mutex which has not been in ZTEST()
85 zassert_equal(id, osThreadGetId(), "Current thread is not the owner!"); in ZTEST()
128 "Unexpectedly, current thread is the mutex owner!"); in tThread_entry_lock_timeout()
/Zephyr-latest/tests/kernel/spinlock/src/
Dmain.c64 /* Take the lock, check last owner and release if it was us. in bounce_once()
95 /* Mark us as the owner, spin for a while validating that we in bounce_once()
96 * never see another owner write to the protected data. in bounce_once()
/Zephyr-latest/include/zephyr/
Dspinlock.h53 * one indicating the current FIFO head (spinlock owner),
62 atomic_t owner; member
202 while (atomic_get(&l->owner) != ticket) { in k_spin_lock()
255 atomic_val_t ticket_val = atomic_get(&l->owner); in k_spin_trylock()
319 (void)atomic_inc(&l->owner); in k_spin_unlock()
349 atomic_val_t ticket_val = atomic_get(&l->owner); in z_spin_is_locked()
367 (void)atomic_inc(&l->owner); in k_spin_release()
/Zephyr-latest/include/zephyr/net/
Dsocket_service.h73 * Owner name. This can be used in debugging to see who has
76 const char *owner; member
93 #define NET_SOCKET_SERVICE_OWNER .owner = __z_net_socket_svc_get_owner,
/Zephyr-latest/soc/intel/intel_adsp/ace/include/ace15_mtpm/
Ddmic_regs_ace1x.h34 /* Owner Select */
142 /* Owner Select */
/Zephyr-latest/lib/posix/options/
Dmutex.c115 struct k_thread *owner = NULL; in acquire_mutex() local
129 owner = m->owner; in acquire_mutex()
137 if (owner == k_current_get()) { in acquire_mutex()
/Zephyr-latest/include/zephyr/posix/
Dpthread.h161 * PTHREAD_MUTEX_NORMAL: Owner of mutex cannot relock it. Attempting
163 * PTHREAD_MUTEX_RECURSIVE: Owner can relock the mutex.
164 * PTHREAD_MUTEX_ERRORCHECK: If owner attempts to relock the mutex, an
177 * PTHREAD_PRIO_INHERIT: Owner's priority is boosted to the priority of
179 * PTHREAD_PRIO_PROTECT: Mutex has a priority ceiling. The owner's

12345