Home
last modified time | relevance | path

Searched refs:owner (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-latest/kernel/
Dmutex.c57 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()
178 if (likely(mutex->owner != NULL)) { in z_impl_k_mutex_lock()
[all …]
/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()
/Zephyr-latest/arch/riscv/core/
Dfpu.c108 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()
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
145 owner = atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner); in flush_owned_fpu()
146 if (owner != thread) { in flush_owned_fpu()
176 owner = atomic_ptr_get(&_kernel.cpus[i].arch.fpu_owner); in flush_owned_fpu()
177 } while (owner == thread); in flush_owned_fpu()
/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()
81 z_arm64_fpu_save(&owner->arch.saved_fp_context); in arch_flush_local_fpu()
86 DBG("disable", owner); in arch_flush_local_fpu()
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()
241 z_arm64_fpu_save(&owner->arch.saved_fp_context); in z_arm64_fpu_trap()
244 DBG("save", owner); in z_arm64_fpu_trap()
/Zephyr-latest/include/zephyr/
Dspinlock.h62 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.h76 const char *owner; member
93 #define NET_SOCKET_SERVICE_OWNER .owner = __z_net_socket_svc_get_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/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/drivers/tee/optee/
Doptee_smc.h36 #define OPTEE_SMC_CALL_VAL(type, calling_convention, owner, func_num) \ argument
38 (((owner) & OPTEE_SMC_OWNER_MASK) << \
/Zephyr-latest/drivers/mspi/
Dmspi_emul.c30 const struct mspi_dev_id *owner; member
156 ctx->owner = req; in mspi_context_lock()
173 ctx->owner = NULL; in mspi_context_release()
400 evt->evt_data.dev_id = ctx->owner; in emul_mspi_trigger_event()
483 data->ctx.owner = NULL; in mspi_emul_config()
Dmspi_ambiq_ap3.c33 const struct mspi_dev_id *owner; member
188 if (ctx->owner) { in mspi_context_ce_control()
204 ctx->owner = NULL; in mspi_context_release()
213 ctx->owner = NULL; in mspi_context_unlock_unconditionally()
228 (ctx->owner == req)) { in mspi_context_lock()
256 ctx->owner = req; in mspi_context_lock()
1087 ctx->callback_ctx->mspi_evt.evt_data.dev_id = data->ctx.owner; in mspi_pio_transceive()
1177 ctx->callback_ctx->mspi_evt.evt_data.dev_id = data->ctx.owner; in mspi_dma_transceive()
/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
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.
Ddev_env_and_tools.rst42 code-owner review. Additionally, some changes might require further discussions
82 Trivial changes are those that appear obvious enough and do not require maintainer or code-owner
97 component will need to be reviewed by the code owner or the designated subsystem
99 than the owner the pull request needs to be assigned to the code owner who will
171 dismissed by the assignee or an owner of the repository. Reviews will be
/Zephyr-latest/subsys/portability/cmsis_rtos_v2/
Dmutex.c155 return get_cmsis_thread_id(mutex->z_mutex.owner); in osMutexGetOwner()
/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/subsys/usb/device_next/
Dusbd_endpoint.c145 bi->owner = (void *)c_data; in usbd_ep_enqueue()
Dusbd_class.c98 if (bi->owner == c_nd->c_data) { in xfer_owner_exist()
136 return usbd_class_request(bi->owner, buf, err); in usbd_class_handle_xfer()
/Zephyr-latest/subsys/net/lib/sockets/
Dsockets_service.c188 (svc->owner), ("")), in socket_service_thread()
/Zephyr-latest/drivers/dma/
Ddma_esp32_gdma.c167 desc_iter->dw0.owner = DMA_DESCRIPTOR_BUFFER_OWNER_DMA; in dma_esp32_config_rx_descriptor()
252 desc_iter->dw0.owner = DMA_DESCRIPTOR_BUFFER_OWNER_DMA; in dma_esp32_config_tx_descriptor()
521 desc_iter->dw0.owner = DMA_DESCRIPTOR_BUFFER_OWNER_DMA; in dma_esp32_reload()
/Zephyr-latest/include/zephyr/drivers/usb/
Dudc.h199 void *owner; member
/Zephyr-latest/doc/hardware/peripherals/
Ddma.rst27 From an API point of view, a DMA channel is a single-owner object, meaning the drivers should not
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp.c95 static struct proc_ctx *proc_ctx_acquire(struct llcp_mem_pool *owner) in proc_ctx_acquire() argument
99 ctx = (struct proc_ctx *)mem_acquire(&owner->free); in proc_ctx_acquire()
103 ctx->owner = owner; in proc_ctx_acquire()
112 LL_ASSERT(ctx->owner); in llcp_proc_ctx_release()
115 mem_release(ctx, &ctx->owner->free); in llcp_proc_ctx_release()
/Zephyr-latest/samples/boards/espressif/flash_encryption/
DREADME.rst52 generated key (remains unknown and unreadable) or a host generated key (owner is responsible
/Zephyr-latest/doc/develop/
Dmodules.rst140 followed in all modules repositories. It is up to the module code owner
188 at the request of the module owner. Module administrators are
192 **Module owner:** Each module shall have a module code owner. Module
194 Zephyr module repository. In particular, a module owner will:
227 such updates in Zephyr and the module **owner**. In particular:
234 * the module owner has the overall responsibility for synchronizing
238 The module owner is required to fix issues in the module's codebase that
349 * the owner of the module repository

12