/nrf52832-nimble/rt-thread/examples/test/ |
H A D | rbb_test.c | 109 /* allocate block */ in rbb_test() 115 rt_kprintf("Block1 (2 bytes) allocate success.\n"); in rbb_test() 119 rt_kprintf("Test error: block1 (2 bytes) allocate failed.\n"); in rbb_test() 126 rt_kprintf("Block2 (4 bytes) allocate success.\n"); in rbb_test() 130 rt_kprintf("Test error: block2 (4 bytes) allocate failed.\n"); in rbb_test() 137 rt_kprintf("Block3 (8 bytes) allocate success.\n"); in rbb_test() 141 rt_kprintf("Test error: block3 (8 bytes) allocate failed.\n"); in rbb_test() 148 rt_kprintf("Block4 (16 bytes) allocate success.\n"); in rbb_test() 152 rt_kprintf("Test error: block4 (16 bytes) allocate failed.\n"); in rbb_test() 159 rt_kprintf("Block5 (32 bytes) allocate success.\n"); in rbb_test() [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/porting/nimble/include/os/ |
H A D | os_mbuf.h | 39 * A mbuf pool from which to allocate mbufs. This contains a pointer to the os 40 * mempool to allocate mbufs out of, the total number of elements in the pool, 52 * The memory pool which to allocate mbufs out of 290 * allocate mbufs out of it. 299 * Allocate a mbuf from msys. Based upon the data size requested, 303 * @param leadingspace The amount of leadingspace to allocate in the mbuf 315 * Allocate a packet header structure from the MSYS pool. See 319 * @param user_hdr_len The length to allocate for the packet header structure 365 * Allocate a new packet header mbuf out of the os_mbuf_pool. 367 * @param omp The mbuf pool to allocate out of [all …]
|
/nrf52832-nimble/rt-thread/src/ |
H A D | slab.c | 130 * XXX If we have to allocate a new zone and M_USE_RESERVE is set, use of 155 * + ability to allocate arbitrarily large chunks of memory 388 /* allocate memusage array */ in rt_system_heap_init() 468 * This function will allocate a block from system heap memory. 527 * Attempt to allocate out of an existing zone. First try the free list, in rt_malloc() 528 * then allocate out of unallocated space. If we find a good zone move in rt_malloc() 580 * If all zones are exhausted we need to allocate a new zone for this in rt_malloc() 601 /* allocate a zone from page */ in rt_malloc() 721 * Allocate memory for the new request size. Note that zoneindex has in rt_realloc() 739 * This function will contiguously allocate enough space for count objects [all …]
|
H A D | mempool.c | 10 * 2006-06-30 Bernard fix the allocate/free block bug 176 * This function will create a mempool object and allocate the memory pool from 195 /* allocate object */ in rt_mp_create() 197 /* allocate object failed */ in rt_mp_create() 206 /* allocate memory */ in rt_mp_create() 297 * This function will allocate a block from memory pool
|
H A D | memheap.c | 152 RT_DEBUG_LOG(RT_DEBUG_MEMHEAP, ("allocate %d on heap:%8.*s", in rt_memheap_alloc() 277 RT_DEBUG_LOG(RT_DEBUG_MEMHEAP, ("allocate memory: failed\n")); in rt_memheap_alloc() 314 /* re-allocate memory */ in rt_memheap_realloc() 408 /* re-allocate a memory block */ in rt_memheap_realloc() 614 /* try to allocate in system heap */ in rt_malloc() 623 /* try to allocate on other memory heap */ in rt_malloc() 636 /* not allocate in the default system heap */ in rt_malloc() 677 /* allocate memory block from other memheap */ in rt_realloc()
|
H A D | mem.c | 266 * Allocate a block of memory with a minimum of 'size' bytes. 395 ("allocate memory at 0x%x, size: %d\n", in rt_malloc() 444 /* allocate a new memory block */ in rt_realloc() 514 * This function will contiguously allocate enough space for count objects 520 * @param count number of objects to allocate 521 * @param size size of the objects to allocate 529 /* allocate 'count' objects of size 'size' */ in rt_calloc()
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/include/nimble/ |
H A D | ble_hci_trans.h | 45 * If there are no free high-priority event buffers, a request to allocate one 46 * will try to allocate a low-priority buffer instead. 48 * If you want all events to be given equal treatment, then you should allocate 114 * @param type The type of buffer to allocate; one of the
|
/nrf52832-nimble/rt-thread/components/finsh/ |
H A D | finsh_api.h | 46 __declspec(allocate("FSymTab$f")) \ 58 __declspec(allocate("VSymTab")) \ 118 __declspec(allocate("FSymTab$f")) \ 128 __declspec(allocate("VSymTab")) const struct finsh_sysvar __vsym_##name = \
|
H A D | finsh_heap.c | 52 * allocate a block from heap 85 /* insert to allocate list */ in finsh_heap_allocate() 103 /* remove from allocate list */ in finsh_heap_free()
|
H A D | finsh_node.c | 73 /* allocate a new node */ in finsh_node_new_id() 76 /* allocate node error */ in finsh_node_new_id()
|
/nrf52832-nimble/rt-thread/components/CMSIS/RTOS/ |
H A D | cmsis_rtthread.c | 269 /// Allocate a memory block from a memory pool 275 /// Allocate a memory block from a memory pool and set memory block to zero 340 /// Allocate a memory block from a mail 346 /// Allocate a memory block from a mail and set memory block to zero
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/api/ |
H A D | netbuf.c | 49 * Create (allocate) and initialize a new netbuf. 99 * Allocate memory for a packet buffer for a given netbuf. 101 * @param buf the netbuf for which to allocate a packet buffer 102 * @param size the size of the packet buffer to allocate
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/api/ |
H A D | netbuf.c | 56 * Create (allocate) and initialize a new netbuf. 94 * Allocate memory for a packet buffer for a given netbuf. 96 * @param buf the netbuf for which to allocate a packet buffer 97 * @param size the size of the packet buffer to allocate
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/api/ |
H A D | netbuf.c | 56 * Create (allocate) and initialize a new netbuf. 94 * Allocate memory for a packet buffer for a given netbuf. 96 * @param buf the netbuf for which to allocate a packet buffer 97 * @param size the size of the packet buffer to allocate
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/apps/http/ |
H A D | altcp_proxyconnect.c | 134 /* Allocate a bufer for the request string */ in altcp_proxyconnect_send_request() 323 /* allocate proxyconnect context */ in altcp_proxyconnect_setup() 337 /** Allocate a new altcp layer connecting through a proxy. 360 /** Allocate a new altcp layer connecting through a proxy. 384 /** Allocator function to allocate a proxy connect altcp pcb connecting directly 403 /** Allocator function to allocate a TLS connection through a proxy.
|
/nrf52832-nimble/rt-thread/examples/nanopb/ |
H A D | simple.c | 16 /* Allocate space on the stack to store the message data. in nanopb_test() 47 /* Allocate space for the decoded message. */ in nanopb_test()
|
/nrf52832-nimble/packages/NimBLE-latest/porting/npl/dummy/src/ |
H A D | hci_dummy.c | 85 * Called by NimBLE host to allocate buffer for HCI Command packet. 86 * Called by HCI transport to allocate buffer for HCI Event packet. 195 /* Allocate LE Advertising Report Event from lo pool only */ in hci_transport_send_evt_to_host()
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/ |
H A D | tcp_out.c | 83 /** Allocate a pbuf and create a tcphdr at p->payload, used for output 203 * Allocate a PBUF_RAM pbuf, perhaps with extra space at the end. 235 /* Should we allocate an oversized pbuf, or just the minimum in tcp_pbuf_prealloc() 372 /* don't allocate segments bigger than half the maximum window we ever received */ in tcp_write() 478 ("tcp_write : could not allocate memory for pbuf copy size %"U16_F"\n", in tcp_write() 493 ("tcp_write: could not allocate memory for zero-copy pbuf\n")); in tcp_write() 536 …LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_write : could not allocate memory for pbuf copy size %"U16… in tcp_write() 543 /* Copy is not set: First allocate a pbuf for holding the data. in tcp_write() 553 … LWIP_DEBUGF(TCP_OUTPUT_DEBUG | 2, ("tcp_write: could not allocate memory for zero-copy pbuf\n")); in tcp_write() 563 /* Second, allocate a pbuf for the headers. */ in tcp_write() [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip_nat/ |
H A D | ipv4_nat.c | 40 * - we should allocate icmp ping id if multiple clients are sending 49 * - allocate NAT entries from a new memp pool instead of the heap 190 u8_t allocate); 196 u8_t allocate); 242 /** Allocate a new ip_nat_conf_t item */ 516 /* pbuf has no room for link headers, allocate an extra pbuf */ in ip_nat_input() 788 * @param allocate If no existing NAT entry is found and this flag is true 793 const struct udp_hdr *udphdr, u8_t allocate) in ip_nat_udp_lookup_outgoing() argument 817 if (allocate) { in ip_nat_udp_lookup_outgoing() 873 * @param allocate If no existing NAT entry is found and this flag is true [all …]
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/core/ |
H A D | tcp_out.c | 97 /** Allocate a pbuf and create a tcphdr at p->payload, used for output 218 * Allocate a PBUF_RAM pbuf, perhaps with extra space at the end. 248 /* Should we allocate an oversized pbuf, or just the minimum in tcp_pbuf_prealloc() 390 /* don't allocate segments bigger than half the maximum window we ever received */ in tcp_write() 506 ("tcp_write : could not allocate memory for pbuf copy size %"U16_F"\n", in tcp_write() 529 ("tcp_write: could not allocate memory for zero-copy pbuf\n")); in tcp_write() 573 …LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_write : could not allocate memory for… in tcp_write() 580 /* Copy is not set: First allocate a pbuf for holding the data. in tcp_write() 590 …LWIP_DEBUGF(TCP_OUTPUT_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("tcp_write: could not allocate memory for … in tcp_write() 604 /* Second, allocate a pbuf for the headers. */ in tcp_write() [all …]
|
H A D | mem.c | 114 * Allocate a block of memory with a minimum of 'size' bytes. 159 * Allocate memory: determine the smallest pool that is big enough 595 * Allocate a block of memory with a minimum of 'size' bytes. 737 …LWIP_DEBUGF(MEM_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("mem_malloc: could not allocate %"S16_F" bytes\n"… in mem_malloc() 760 * @param count number of objects to allocate 761 * @param size size of the objects to allocate 769 /* allocate 'count' objects of size 'size' */ in mem_calloc()
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/transport/uart/src/ |
H A D | ble_hci_uart.c | 109 * mbufs we will allocate. 442 * Thus do not allocate the buffer yet. in ble_hci_uart_rx_pkt_type() 503 * If we couldnt allocate a command buffer (should not occur but in ble_hci_uart_rx_sync_loss() 504 * possible) try to allocate one on each received character. If we get in ble_hci_uart_rx_sync_loss() 612 /* Determine event priority to allocate buffer */ in ble_hci_uart_rx_evt() 652 /* Determine event priority to allocate buffer */ in ble_hci_uart_rx_le_evt() 654 /* Determine event priority to allocate buffer */ in ble_hci_uart_rx_le_evt() 984 * @param type The type of buffer to allocate; one of the
|
/nrf52832-nimble/rt-thread/examples/kernel/ |
H A D | memp_simple.c | 29 rt_kprintf("allocate No.%d\n", i); in thread1_entry() 38 rt_kprintf("allocate the block mem\n"); in thread1_entry()
|
/nrf52832-nimble/rt-thread/examples/libc/ |
H A D | ex4.c | 51 /* It's initially NULL, meaning that we must allocate the buffer first. */ in str_accumulate() 65 /* Function to allocate the key for str_alloc thread-specific data. */
|
/nrf52832-nimble/rt-thread/components/net/lwip-1.4.1/src/core/snmp/ |
H A D | msg_in.c | 198 /* allocate output varbind */ in snmp_msg_get_event() 311 /* allocate output varbind */ in snmp_msg_get_event() 342 … LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_event: couldn't allocate variable space\n")); in snmp_msg_get_event() 362 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_event: couldn't allocate outvb space\n")); in snmp_msg_get_event() 440 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_getnext_event: couldn't allocate outvb space\n")); in snmp_msg_getnext_event() 513 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_recv couldn't allocate outvb space\n")); in snmp_msg_getnext_event() 1332 /* allocate array of s32_t for our object identifier */ in snmp_varbind_alloc() 1336 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_varbind_alloc: couldn't allocate ident value space\n")); in snmp_varbind_alloc() 1356 /* allocate raw bytes for our object value */ in snmp_varbind_alloc() 1360 LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_varbind_alloc: couldn't allocate value space\n")); in snmp_varbind_alloc() [all …]
|