Searched refs:NX_PACKET_ALIGNMENT (Results 1 – 15 of 15) sorted by relevance
110 …rt = (VOID *)((((ALIGN_TYPE)pool_start + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nxe_packet_pool_create()114 …N_TYPE)rounded_pool_start - (ALIGN_TYPE)pool_start)) / NX_PACKET_ALIGNMENT) * NX_PACKET_ALIGNMENT); in _nxe_packet_pool_create()122 …(CHAR *)((((ALIGN_TYPE)payload_address + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nxe_packet_pool_create()129 … (ULONG)(((header_size + payload_size + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nxe_packet_pool_create()132 if ((pool_size <= NX_PACKET_ALIGNMENT) || (!payload_size) || in _nxe_packet_pool_create()
97 …rt = (VOID *)((((ALIGN_TYPE)pool_start + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nx_packet_pool_create()101 …N_TYPE)rounded_pool_start - (ALIGN_TYPE)pool_start)) / NX_PACKET_ALIGNMENT) * NX_PACKET_ALIGNMENT); in _nx_packet_pool_create()112 …(CHAR *)((((ALIGN_TYPE)payload_address + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nx_packet_pool_create()119 …= (ULONG)(((header_size + payload_size + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nx_packet_pool_create()
90 …packet_pool_payload_size + header_size + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in _nx_packet_debug_info_get()
11 #ifndef NX_PACKET_ALIGNMENT12 #define NX_PACKET_ALIGNMENT sizeof(ULONG) macro80 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()82 …(TEST_SIZE + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)) + ((sizeof(NX_PACKET) + NX_PAC… in test_application_define()90 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()99 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()118 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()204 if(((ALIGN_TYPE)my_packet1 & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()205 ((ALIGN_TYPE)my_packet2 & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()206 ((ALIGN_TYPE)(my_packet1 -> nx_packet_data_start) & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()[all …]
76 #if defined(__PRODUCT_NETXDUO__) && defined(NX_PACKET_ALIGNMENT) in test_application_define()77 …header_size = (sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACKET_ALIG… in test_application_define()78 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()
8 #ifndef NX_PACKET_ALIGNMENT9 #define NX_PACKET_ALIGNMENT sizeof(ULONG) macro74 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()78 … ((NX_UDP_PACKET + sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)) * 3); in test_application_define()
15 #ifndef NX_PACKET_ALIGNMENT16 #define NX_PACKET_ALIGNMENT sizeof(ULONG) macro83 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()85 … ((512 + sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)) * 6); in test_application_define()86 pointer = pointer + (512 + NX_PACKET_ALIGNMENT + sizeof(NX_PACKET)) * 6; in test_application_define()
13 #ifndef NX_PACKET_ALIGNMENT14 #define NX_PACKET_ALIGNMENT 4 macro17 …EST_SIZE (((NX_UDP_PACKET+28)+NX_PACKET_ALIGNMENT - 1)/NX_PACKET_ALIGNMENT*NX_PACKET…47 ULONG header_size = (sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1)/NX_PACKET_ALIGNMENT*NX_PACKET_A… in test_application_define()102 if (NX_PACKET_ALIGNMENT != sizeof(ULONG)) in test_application_define()126 …NG header_size = (sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1)/NX_PACKET_ALIGNMENT*NX_PACKET… in ntest_0_entry()
90 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()91 …ST_SIZE, pointer, ((TEST_SIZE + sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNME… in test_application_define()93 pointer = pointer + (TEST_SIZE + NX_PACKET_ALIGNMENT + sizeof(NX_PACKET)) * PACKET_NUM; in test_application_define()98 … pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNMENT - 1)); in test_application_define()99 …ST_SIZE, pointer, ((TEST_SIZE + sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1) & ~(NX_PACKET_ALIGNME… in test_application_define()101 pointer = pointer + (TEST_SIZE + NX_PACKET_ALIGNMENT + sizeof(NX_PACKET)) * PACKET_NUM; in test_application_define()
104 …inter = (CHAR *)((((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT) * NX_PAC… in test_application_define()107 …header_size = ((sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT - 1)/NX_PACKET_ALIGNMENT) * NX_PACKET_ALIG… in test_application_define()
93 #ifdef NX_PACKET_ALIGNMENT in test_application_define()94 …pointer = (CHAR *)(((ALIGN_TYPE)pointer + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACK… in test_application_define()95 … header_size = (header_size + NX_PACKET_ALIGNMENT - 1) / NX_PACKET_ALIGNMENT * NX_PACKET_ALIGNMENT; in test_application_define()
11 #ifndef NX_PACKET_ALIGNMENT12 #define NX_PACKET_ALIGNMENT sizeof(ULONG) macro
14 #ifndef NX_PACKET_ALIGNMENT15 #define NX_PACKET_ALIGNMENT sizeof(ULONG) macro
28 …T_POOL_SIZE (4 * (NX_SNTP_CLIENT_PACKET_SIZE + sizeof(NX_PACKET) + NX_PACKET_ALIGNMENT))
519 #ifndef NX_PACKET_ALIGNMENT520 #define NX_PACKET_ALIGNMENT sizeof(ULONG) macro