Home
last modified time | relevance | path

Searched full:allocated (Results 1 – 25 of 242) sorted by relevance

12345678910

/nrf52832-nimble/nordic/nrfx/drivers/include/
H A Dnrfx_dppi.h49 /** @brief Function for freeing all allocated channels and groups. */
56 * @param[out] p_channel Pointer to the DPPI channel number that has been allocated.
58 * @retval NRFX_SUCCESS If the channel was successfully allocated.
70 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated.
80 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated.
90 * @retval NRFX_ERROR_INVALID_PARAM If the specified channel is not allocated.
98 * @param[out] p_group Pointer to the DPPI channel group that has been allocated.
100 * @retval NRFX_SUCCESS If the channel group was successfully allocated.
112 * @retval NRFX_ERROR_INVALID_PARAM If the specified group is not allocated.
123 * @retval NRFX_ERROR_INVALID_PARAM If the specified group or channel is not allocated.
[all …]
H A Dnrfx_ppi.h78 * @param[out] p_channel Pointer to the PPI channel that has been allocated.
80 * @retval NRFX_SUCCESS If the channel was successfully allocated.
104 * @retval NRFX_ERROR_INVALID_STATE If the channel is not allocated for the user.
116 * @retval NRFX_ERROR_INVALID_STATE If the channel is not allocated for the user.
127 * @retval NRFX_ERROR_INVALID_STATE If the user-configurable channel is not allocated.
138 * @retval NRFX_ERROR_INVALID_STATE If the user-configurable channel is not allocated.
147 * @param[out] p_group Pointer to the PPI channel group that has been allocated.
149 * @retval NRFX_SUCCESS If the channel group was successfully allocated.
186 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
200 * @retval NRFX_ERROR_INVALID_STATE If group is not an allocated group.
[all …]
H A Dnrfx_swi.h85 * If provided handler is not NULL, an allocated SWI has its interrupt enabled by default.
88 * @param[out] p_swi Points to a place where the allocated SWI instance
96 * @retval NRFX_SUCCESS If the SWI was successfully allocated.
104 * @brief Function for disabling an allocated SWI interrupt.
113 * @brief Function for enabling an allocated SWI interrupt.
120 * @brief Function for freeing a previously allocated SWI.
127 /** @brief Function for freeing all allocated SWIs. */
140 * @brief Function for checking if the specified SWI is currently allocated.
144 * @retval true If the SWI instance is allocated.
H A Dnrfx_wdt.h106 … @note After calling this function the watchdog is started, so the user needs to feed all allocated
107 * watchdog channels to avoid reset. At least one watchdog channel has to be allocated.
114 * @details Function feeds all allocated watchdog channels.
/nrf52832-nimble/nordic/nrfx/drivers/src/
H A Dnrfx_ppi.c42 …ted; /**< Bitmap representing channels availability. 1 when a channel is allocated, 0 otherwise. */
43 …ocated; /**< Bitmap representing groups availability. 1 when a group is allocated, 0 otherwise.*/
118 * @brief Check whether a channel is allocated.
122 * @retval true The channel is allocated.
123 * @retval false The channel is not allocated.
132 * @brief Set channel allocated indication.
134 * @param[in] channel_num Specifies the channel to set the "allocated" indication.
143 * @brief Clear channel allocated indication.
145 * @param[in] channel_num Specifies the channel to clear the "allocated" indication.
154 * @brief Clear all allocated channels.
[all …]
H A Dnrfx_dppi.c93 // Clear all allocated channels. in nrfx_dppi_free()
96 // Clear all allocated groups. in nrfx_dppi_free()
125 NRFX_LOG_INFO("Allocated channel: %d.", channel); in nrfx_dppi_channel_alloc()
141 // Clear channel allocated indication. in nrfx_dppi_channel_free()
206 NRFX_LOG_INFO("Allocated channel: %d.", group); in nrfx_dppi_group_alloc()
H A Dnrfx_swi.c224 bool allocated = false; in nrfx_swi_alloc() local
229 allocated = true; in nrfx_swi_alloc()
233 if (allocated) in nrfx_swi_alloc()
238 NRFX_LOG_INFO("SWI channel allocated: %d.", (*p_swi)); in nrfx_swi_alloc()
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/
H A Dpbuf.c178 * The actual memory allocated for the pbuf is determined by the
179 * layer at which the pbuf is allocated and the requested size
185 * should be allocated as follows:
187 * - PBUF_RAM: buffer memory for pbuf is allocated as one large
189 * - PBUF_ROM: no buffer memory is allocated for the pbuf, even for
196 * - PBUF_REF: no buffer memory is allocated for the pbuf, even for
200 * - PBUF_POOL: the pbuf is allocated as a pbuf chain, with pbufs from
201 * the pbuf pool that is allocated during pbuf_init().
203 * @return the allocated pbuf. If multiple pbufs where allocated, this
240 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc: allocated pbuf %p\n", (void *)p)); in pbuf_alloc()
[all …]
H A Dmem.c76 * @return a pointer to the allocated memory or NULL if the pool is empty
123 * Free memory previously allocated by mem_malloc. Loads the pool number
165 /** All allocated blocks will be MIN_SIZE bytes big, at least!
361 * @param rmem pointer to memory allocated by mem_malloc the is to be shrinked
377 /* Expand the size of the allocated memory region so that we can in mem_trim()
489 * @return pointer to allocated memory or NULL if no free memory was found.
507 /* Expand the size of the allocated memory region so that we can in mem_malloc()
614 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", in mem_malloc()
616 LWIP_ASSERT("mem_malloc: allocated memory properly aligned.", in mem_malloc()
638 * of memory each and returns a pointer to the allocated memory.
[all …]
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/
H A Dos_mbuf.h98 * The mbuf pool this mbuf was allocated out of
202 * for the additional space allocated to the packet header.
286 * a mbuf is allocated out of msys, it will try and find the best fit based
305 * @return A freshly allocated mbuf on success, NULL on failure.
321 * @return A freshly allocated mbuf on success, NULL on failure.
326 * Count the number of blocks in all the mbuf pools that are allocated.
328 * @return total number of blocks allocated in Msys
353 * Get an mbuf from the mbuf pool. The mbuf is allocated, and initialized
370 * @return A freshly allocated mbuf on success, NULL on failure.
518 * is insufficient room in the leading mbuf, additional mbufs are allocated and
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/
H A Dpbuf.c219 * The actual memory allocated for the pbuf is determined by the
220 * layer at which the pbuf is allocated and the requested size
226 * should be allocated as follows:
228 * - PBUF_RAM: buffer memory for pbuf is allocated as one large
230 * - PBUF_ROM: no buffer memory is allocated for the pbuf, even for
237 * - PBUF_REF: no buffer memory is allocated for the pbuf, even for
241 * - PBUF_POOL: the pbuf is allocated as a pbuf chain, with pbufs from
242 * the pbuf pool that is allocated during pbuf_init().
244 * @return the allocated pbuf. If multiple pbufs where allocated, this
286 LWIP_DEBUGF(PBUF_DEBUG | LWIP_DBG_TRACE, ("pbuf_alloc: allocated pbuf %p\n", (void *)p)); in pbuf_alloc()
[all …]
H A Dmem.c117 * @return pointer to allocated memory or NULL if no free memory was found.
163 * @return a pointer to the allocated memory or NULL if the pool is empty
216 * Free memory previously allocated by mem_malloc. Loads the pool number
273 /** All allocated blocks will be MIN_SIZE bytes big, at least!
470 * @param rmem pointer to memory allocated by mem_malloc the is to be shrinked
486 /* Expand the size of the allocated memory region so that we can in mem_trim()
598 * @return pointer to allocated memory or NULL if no free memory was found.
616 /* Expand the size of the allocated memory region so that we can in mem_malloc()
723 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", in mem_malloc()
725 LWIP_ASSERT("mem_malloc: allocated memory properly aligned.", in mem_malloc()
[all …]
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/
H A Dpbuf.c195 * The actual memory allocated for the pbuf is determined by the
196 * layer at which the pbuf is allocated and the requested size
202 * should be allocated as follows:
204 * - PBUF_RAM: buffer memory for pbuf is allocated as one large
206 * - PBUF_ROM: no buffer memory is allocated for the pbuf, even for
213 * - PBUF_REF: no buffer memory is allocated for the pbuf, even for
217 * - PBUF_POOL: the pbuf is allocated as a pbuf chain, with pbufs from
218 * the pbuf pool that is allocated during pbuf_init().
220 * @return the allocated pbuf. If multiple pbufs where allocated, this
246 /* free chain so far allocated */ in pbuf_alloc()
[all …]
H A Dmem.c92 * @param size allocated size of the element
202 * @return pointer to allocated memory or NULL if no free memory was found.
248 * @return a pointer to the allocated memory or NULL if the pool is empty
301 * Free memory previously allocated by mem_malloc. Loads the pool number
362 /** All allocated blocks will be MIN_SIZE bytes big, at least!
691 * @param rmem pointer to memory allocated by mem_malloc the is to be shrinked
707 /* Expand the size of the allocated memory region so that we can in mem_trim()
826 * @return pointer to allocated memory or NULL if no free memory was found.
844 /* Expand the size of the allocated memory region so that we can in mem_malloc()
953 LWIP_ASSERT("mem_malloc: allocated memory not above ram_end.", in mem_malloc()
[all …]
/nrf52832-nimble/rt-thread/src/
H A Dslab.c78 * block is allocated from heap memory.
216 rt_uint32_t size: 30; /* pages allocated or offset from zone */
474 * @param size the size of memory to be allocated
476 * @return the allocated memory
671 * This function will change the size of previously allocated memory block.
673 * @param ptr the previously allocated memory block
676 * @return the allocated memory
740 * that are size bytes of memory each and returns a pointer to the allocated
743 * The allocated memory is filled with bytes of value zero.
748 * @return pointer to allocated memory / NULL pointer if there is an error
[all …]
H A Dmem.c71 * block is allocated from heap memory.
270 * @return pointer to allocated memory or NULL if no free memory was found.
414 * This function will change the previously allocated memory block.
416 * @param rmem pointer to memory allocated by rt_malloc
515 * that are size bytes of memory each and returns a pointer to the allocated
518 * The allocated memory is filled with bytes of value zero.
523 * @return pointer to allocated memory / NULL pointer if there is an error
541 * This function will release the previously allocated memory block by
632 rt_kprintf("maximum allocated memory: %d\n", max_mem); in list_mem()
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/
H A Dnetbuf.c82 * Deallocate a netbuf allocated by netbuf_new().
84 * @param buf pointer to a netbuf allocated by netbuf_new()
103 * @return pointer to the allocated memory
104 * NULL if no memory could be allocated
111 /* Deallocate any previously allocated memory. */ in netbuf_alloc()
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/
H A Dnetbuf.c76 * Deallocate a netbuf allocated by netbuf_new().
78 * @param buf pointer to a netbuf allocated by netbuf_new()
98 * @return pointer to the allocated memory
99 * NULL if no memory could be allocated
106 /* Deallocate any previously allocated memory. */ in netbuf_alloc()
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/api/
H A Dnetbuf.c76 * Deallocate a netbuf allocated by netbuf_new().
78 * @param buf pointer to a netbuf allocated by netbuf_new()
98 * @return pointer to the allocated memory
99 * NULL if no memory could be allocated
106 /* Deallocate any previously allocated memory. */ in netbuf_alloc()
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/
H A Dble_hci_trans.h73 * allocated via ble_hci_trans_buf_alloc().
94 * allocated via ble_hci_trans_buf_alloc().
117 * @return The allocated buffer on success;
123 * Frees the specified flat buffer. The buffer must have been allocated via
/nrf52832-nimble/packages/NimBLE-latest/nimble/controller/
H A Dsyscfg.yml132 # The number of slots that will be allocated to each connection
135 This is the number of "slots" allocated to a connection when scheduling
137 last longer than the number of slots allocated here and may also end earlier
165 The number of additional periods that will be allocated for strict
166 scheduling. The total # of periods allocated for strict scheduling
/nrf52832-nimble/rt-thread/examples/libc/
H A Dex4.c33 /* "Once" variable ensuring that the key for str_alloc will be allocated
47 /* Make sure the key is allocated */ in str_accumulate()
70 printf("Thread %lx: allocated key %d\n", pthread_self(), str_key); in str_alloc_key()
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/socket/src/
H A Dble_hci_socket.c93 * The "skip" definitions are here so that when buffers cannot be allocated,
133 * The "skip" definitions are here so that when buffers cannot be allocated,
213 * @return The allocated buffer on success;
573 * allocated via ble_hci_trans_buf_alloc().
602 * allocated via ble_hci_trans_buf_alloc().
684 * @return The allocated buffer on success;
719 * Frees the specified flat buffer. The buffer must have been allocated via
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/uart/src/
H A Dble_hci_uart.c50 * The "skip" definitions are here so that when buffers cannot be allocated,
65 * The "skip" definitions are here so that when buffers cannot be allocated,
187 * @return The allocated buffer on success;
440 * buffer *shall* be allocated from ble_hci_uart_evt_hi_pool in ble_hci_uart_rx_pkt_type()
441 * or "may* be allocated from ble_hci_uart_evt_lo_pool. in ble_hci_uart_rx_pkt_type()
870 * allocated via ble_hci_trans_buf_alloc().
905 * allocated via ble_hci_trans_buf_alloc().
987 * @return The allocated buffer on success;
1022 * Frees the specified flat buffer. The buffer must have been allocated via
/nrf52832-nimble/rt-thread/documentation/doxygen/
H A Dkernel.h67 * Kernel objects can be static objects, whose memory is allocated in compiling.
68 * It can be dynamic objects as well, whose memory is allocated from system heaps
107 * the memory pool is empty, the allocated thread can be blocked (or immediately return,

12345678910