Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 60) sorted by relevance

123

/lib/liblwip/src/core/
Dpbuf.c207 pbuf_alloc(pbuf_layer layer, u16_t length, pbuf_type type) in pbuf_alloc() argument
236 switch (type) { in pbuf_alloc()
245 p->type = type; in pbuf_alloc()
280 q->type = type; in pbuf_alloc()
316 p->type = type; in pbuf_alloc()
330 (type == PBUF_ROM) ? "ROM" : "REF")); in pbuf_alloc()
337 p->type = type; in pbuf_alloc()
367 pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type, struct pbuf_custom *p, in pbuf_alloced_custom() argument
408 p->pbuf.type = type; in pbuf_alloced_custom()
437 LWIP_ASSERT("pbuf_realloc: sane p->type", p->type == PBUF_POOL || in pbuf_realloc()
[all …]
Dmemp.c390 memp_malloc(memp_t type) in memp_malloc() argument
392 memp_malloc_fn(memp_t type, const char* file, const int line) in memp_malloc()
398 LWIP_ERROR("memp_malloc: type < MEMP_MAX", (type < MEMP_MAX), return NULL;); in memp_malloc()
405 memp = memp_tab[type]; in memp_malloc()
408 memp_tab[type] = memp->next; in memp_malloc()
414 MEMP_STATS_INC_USED(used, type); in memp_malloc()
419 …MEMP_DEBUG | LWIP_DBG_LEVEL_SERIOUS, ("memp_malloc: out of memory in pool %s\n", memp_desc[type])); in memp_malloc()
420 MEMP_STATS_INC(err, type); in memp_malloc()
435 memp_free(memp_t type, void *mem) in memp_free() argument
453 memp_overflow_check_element_overflow(memp, type); in memp_free()
[all …]
/sys/include/
Dqueue.h149 #define SLIST_HEAD(name, type) \ argument
151 struct type *slh_first; /* first element */ \
157 #define SLIST_ENTRY(type) \ argument
159 struct type *sle_next; /* next element */ \
210 #define SLIST_REMOVE(head, elm, type, field) do { \ argument
216 struct type *curelm = SLIST_FIRST((head)); \
233 #define SLIST_SWAP(head1, head2, type) do { \ argument
234 struct type *swap_first = SLIST_FIRST(head1); \
242 #define STAILQ_HEAD(name, type) \ argument
244 struct type *stqh_first;/* first element */ \
[all …]
Delf64.h148 #define ELF64_R_INFO(sym, type) (((sym) << 32) + ((type) & 0xffffffffL)) argument
152 #define ELF64_R_TYPE_INFO(data, type) \ argument
153 (((Elf64_Xword)(data)<<8)+(Elf64_Xword)(type))
204 #define ELF64_ST_INFO(bind, type) (((bind) << 4) + ((type) & 0xf)) argument
Delf32.h139 #define ELF32_R_INFO(sym, type) (((sym) << 8) + (unsigned char)(type)) argument
197 #define ELF32_ST_INFO(bind, type) (((bind) << 4) + ((type) & 0xf)) argument
Dspinlock.h24 uint64_t type; member
36 void Spinlock_Init(Spinlock *lock, const char *name, uint64_t type);
/lib/liblwip/src/include/lwip/
Dmemp.h87 #define memp_malloc(type) mem_malloc(memp_sizes[type]) argument
88 #define memp_free(type, mem) mem_free(mem) argument
103 void *memp_malloc_fn(memp_t type, const char* file, const int line);
106 void *memp_malloc(memp_t type);
108 void memp_free(memp_t type, void *mem);
Dpbuf.h99 u8_t /*pbuf_type*/ type; member
146 struct pbuf *pbuf_alloc(pbuf_layer l, u16_t length, pbuf_type type);
148 struct pbuf *pbuf_alloced_custom(pbuf_layer l, u16_t length, pbuf_type type,
Dsnmp_asn1.h77 err_t snmp_asn1_dec_type(struct pbuf *p, u16_t ofs, u8_t *type);
88 err_t snmp_asn1_enc_type(struct pbuf *p, u16_t ofs, u8_t type);
/sys/kern/
Dvfsuio.c18 ASSERT(handle->type == HANDLE_TYPE_FILE); in VFSUIO_Read()
28 ASSERT(handle->type == HANDLE_TYPE_FILE); in VFSUIO_Write()
38 ASSERT(handle->type == HANDLE_TYPE_FILE); in VFSUIO_Flush()
47 ASSERT(handle->type == HANDLE_TYPE_FILE); in VFSUIO_Close()
79 hdl->type = HANDLE_TYPE_FILE; in VFSUIO_Open()
Dsysctl.c13 int type; member
65 return SYSCTLTable[i].type; in SysCtl_GetType()
92 switch (SYSCTLTable[i].type) { in SysCtl_SetObject()
136 switch (SYSCTLTable[i].type) { in Debug_SysCtl()
163 switch (SYSCTLTable[i].type) { in Debug_SysCtl()
Dspinlock.c43 Spinlock_Init(Spinlock *lock, const char *name, uint64_t type) in Spinlock_Init() argument
51 lock->type = type; in Spinlock_Init()
83 if (lock->type == SPINLOCK_TYPE_RECURSIVE && lock->cpu == CPU()) { in Spinlock_Lock()
/sbin/sysctl/
Dsysctl.c12 int type; member
34 switch (SYSCTLTable[idx].type) { in PrintVal()
66 switch (SYSCTLTable[idx].type) { in UpdateVal()
112 for (int i = 0; SYSCTLTable[i].type != 0; i++) { in main()
121 for (int i = 0; SYSCTLTable[i].type != 0; i++) { in main()
133 for (int i = 0; SYSCTLTable[i].type != 0; i++) { in main()
/lib/liblwip/src/core/ipv6/
Dicmp6.c49 u8_t type; in icmp_input() local
58 type = ((u8_t *)p->payload)[0]; in icmp_input()
60 switch (type) { in icmp_input()
82 iecho->type = ICMP6_ER; in icmp_input()
97 LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: ICMP type %"S16_F" not supported.\n", (s16_t)type)); in icmp_input()
126 idur->type = (u8_t)ICMP6_DUR; in icmp_dest_unreach()
164 tehdr->type = (u8_t)ICMP6_TE; in icmp_time_exceeded()
/lib/liblwip/src/core/ipv4/
Dicmp.c65 static void icmp_send_response(struct pbuf *p, u8_t type, u8_t code);
79 u8_t type; in icmp_input() local
98 type = *((u8_t *)p->payload); in icmp_input()
102 switch (type) { in icmp_input()
231 (s16_t)type, (s16_t)code)); in icmp_input()
291 icmp_send_response(struct pbuf *p, u8_t type, u8_t code) in icmp_send_response() argument
317 icmphdr->type = type; in icmp_send_response()
Digmp.c144 static void igmp_send(struct igmp_group *group, u8_t type);
762 igmp_send(struct igmp_group *group, u8_t type) in igmp_send() argument
778 if (type == IGMP_V2_MEMB_REPORT) { in igmp_send()
783 if (type == IGMP_LEAVE_GROUP) { in igmp_send()
789 if ((type == IGMP_V2_MEMB_REPORT) || (type == IGMP_LEAVE_GROUP)) { in igmp_send()
790 igmp->igmp_msgtype = type; in igmp_send()
/lib/liblwip/src/core/snmp/
Dmsg_in.c921 u8_t type; in snmp_pdu_header_check() local
925 snmp_asn1_dec_type(p, ofs, &type); in snmp_pdu_header_check()
929 (type != (SNMP_ASN1_UNIV | SNMP_ASN1_CONSTR | SNMP_ASN1_SEQ))) in snmp_pdu_header_check()
935 snmp_asn1_dec_type(p, ofs, &type); in snmp_pdu_header_check()
937 if ((derr != ERR_OK) || (type != (SNMP_ASN1_UNIV | SNMP_ASN1_PRIMIT | SNMP_ASN1_INTEG))) in snmp_pdu_header_check()
957 snmp_asn1_dec_type(p, ofs, &type); in snmp_pdu_header_check()
959 if ((derr != ERR_OK) || (type != (SNMP_ASN1_UNIV | SNMP_ASN1_PRIMIT | SNMP_ASN1_OC_STR))) in snmp_pdu_header_check()
983 snmp_asn1_dec_type(p, ofs, &type); in snmp_pdu_header_check()
990 switch(type) in snmp_pdu_header_check()
1027 m_stat->rt = type & 0x1F; in snmp_pdu_header_check()
[all …]
/lib/liblwip/src/include/ipv6/lwip/
Dicmp.h72 u8_t type; member
80 u8_t type; member
87 u8_t type; member
/lib/liblwip/src/include/ipv4/lwip/
Dicmp.h80 PACK_STRUCT_FIELD(u8_t type);
91 #define ICMPH_TYPE(hdr) ((hdr)->type)
95 #define ICMPH_TYPE_SET(hdr, t) ((hdr)->type = (t))
/lib/liblwip/src/api/
Dtcpip.c90 switch (msg->type) { in tcpip_thread()
145 LWIP_DEBUGF(TCPIP_DEBUG, ("tcpip_thread: invalid message: %d\n", msg->type)); in tcpip_thread()
188 msg->type = TCPIP_MSG_INPKT; in tcpip_input()
221 msg->type = TCPIP_MSG_CALLBACK; in tcpip_callback_with_block()
257 msg->type = TCPIP_MSG_TIMEOUT; in tcpip_timeout()
286 msg->type = TCPIP_MSG_UNTIMEOUT; in tcpip_untimeout()
315 msg.type = TCPIP_MSG_API; in tcpip_apimsg()
371 msg.type = TCPIP_MSG_NETIFAPI; in tcpip_netifapi()
414 msg->type = TCPIP_MSG_CALLBACK_STATIC; in tcpip_callbackmsg_new()
Dapi_msg.c446 newconn = netconn_alloc(conn->type, conn->callback);
495 switch(NETCONNTYPE_GROUP(msg->conn->type)) {
514 if (msg->conn->type==NETCONN_UDPLITE) {
518 if (msg->conn->type==NETCONN_UDPNOCHKSUM) {
583 conn->type = t;
695 if (conn->type == NETCONN_TCP) {
753 LWIP_ASSERT("this is for tcp netconns only", (conn->type == NETCONN_TCP));
839 LWIP_ASSERT("msg->conn->type == NETCONN_TCP", msg->conn->type == NETCONN_TCP);
849 switch (NETCONNTYPE_GROUP(msg->conn->type)) {
905 switch (NETCONNTYPE_GROUP(msg->conn->type)) {
[all …]
/lib/libc/
Dcrti.S29 .type _init,@function
36 .type _fini,@function
/include/
Dstdarg.h12 #define va_arg(ap, type) \ argument
13 __builtin_va_arg((ap), type)
/sys/amd64/
Dtrap.c45 idt[i].type = 0x8E; in Trap_Init()
57 idt[i].type = 0x8E; in Trap_Init()
71 idt[T_DB].type = 0xEE; in Trap_Init()
72 idt[T_BP].type = 0xEE; in Trap_Init()
73 idt[T_SYSCALL].type = 0xEE; in Trap_Init()
/lib/liblwip/src/arch/
Detherif.c158 mbuf.type = MBUF_TYPE_NULL; in low_level_output()
199 mbuf.type = MBUF_TYPE_NULL; in low_level_input()
268 switch (htons(ethhdr->type)) { in ethernetif_input()

123