HomeSort by: relevance | last modified time | path
    Searched defs:packet (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
kfd_packet_manager_v9.c 38 struct pm4_mes_map_process *packet; local in function:pm_map_process_v9
41 packet = (struct pm4_mes_map_process *)buffer;
44 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS,
46 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0;
47 packet->bitfields2.process_quantum = 1;
48 packet->bitfields2.pasid = qpd->pqm->process->pasid;
49 packet->bitfields14.gds_size = qpd->gds_size & 0x3F;
50 packet->bitfields14.gds_size_hi = (qpd->gds_size >> 6) & 0xF;
51 packet->bitfields14.num_gws = qpd->num_gws;
52 packet->bitfields14.num_oac = qpd->num_oac
84 struct pm4_mes_runlist *packet; local in function:pm_runlist_v9
122 struct pm4_mes_set_resources *packet; local in function:pm_set_resources_v9
150 struct pm4_mes_map_queues *packet; local in function:pm_map_queues_v9
220 struct pm4_mes_unmap_queues *packet; local in function:pm_unmap_queues_v9
293 struct pm4_mes_query_status *packet; local in function:pm_query_status_v9
    [all...]
kfd_packet_manager_vi.c 49 struct pm4_mes_map_process *packet; local in function:pm_map_process_vi
51 packet = (struct pm4_mes_map_process *)buffer;
55 packet->header.u32All = pm_build_pm4_header(IT_MAP_PROCESS,
57 packet->bitfields2.diq_enable = (qpd->is_debug) ? 1 : 0;
58 packet->bitfields2.process_quantum = 1;
59 packet->bitfields2.pasid = qpd->pqm->process->pasid;
60 packet->bitfields3.page_table_base = qpd->page_table_base;
61 packet->bitfields10.gds_size = qpd->gds_size;
62 packet->bitfields10.num_gws = qpd->num_gws;
63 packet->bitfields10.num_oac = qpd->num_oac
82 struct pm4_mes_runlist *packet; local in function:pm_runlist_vi
121 struct pm4_mes_set_resources *packet; local in function:pm_set_resources_vi
149 struct pm4_mes_map_queues *packet; local in function:pm_map_queues_vi
210 struct pm4_mes_unmap_queues *packet; local in function:pm_unmap_queues_vi
273 struct pm4_mes_query_status *packet; local in function:pm_query_status_vi
297 struct pm4_mec_release_mem *packet; local in function:pm_release_mem_vi
    [all...]
  /src/tests/lib/libc/sys/
t_sendrecv.c 50 union packet { union
67 union packet p;
84 union packet p;
  /src/usr.bin/rump_dhcpclient/
bpf.c 159 * So we pass the buffer in the API so we can loop on >1 packet. */
165 struct bpf_hdr packet; local in function:get_raw_packet
179 else if ((size_t)bytes < sizeof(packet))
185 memcpy(&packet, iface->buffer + iface->buffer_pos,
186 sizeof(packet));
187 if (packet.bh_caplen != packet.bh_datalen)
188 goto next; /* Incomplete packet, drop. */
189 if (iface->buffer_pos + packet.bh_caplen + packet.bh_hdrlen
    [all...]
net.c 48 # include <netpacket/packet.h>
400 make_udp_packet(uint8_t **packet, const uint8_t *data, size_t length,
412 * We copy the data to our packet and then create a small part of the
415 * of the whole packet into the udp checksum.
442 *packet = (uint8_t *)udpp;
449 struct udp_dhcp_packet packet; local in function:get_udp_data
451 memcpy(&packet, udp, sizeof(packet));
453 return ntohs(packet.ip.ip_len) -
454 sizeof(packet.ip)
461 struct udp_dhcp_packet packet; local in function:valid_udp_packet
    [all...]
  /src/lib/libresolv/
res_update.c 61 * Create a dynamic update packet for each zone and send it to the
102 u_char *packet; local in function:res_nupdate
108 packet = malloc(NS_MAXMSG);
109 if (packet == NULL) {
164 packet, NS_MAXMSG);
175 n = res_nsendsigned(statp, packet, n, key,
178 n = res_nsend(statp, packet, n, answer,
204 free(packet);
  /src/sys/dev/pckbport/
pmsvar.h 58 int inputstate; /* number of bytes received for this packet */
61 unsigned char packet[6]; member in struct:pms_softc
  /src/usr.bin/login/
k5login.c 130 krb5_data packet; local in function:k5_verify_creds
156 0, ccache, &packet);
164 * in the database, therefore this error packet could
185 kerror = krb5_rd_req(c, &auth_context, &packet,
223 /* possibly ticket and packet need freeing here as well */
  /src/usr.sbin/timed/timed/
measure.c 85 u_char packet[PACKET_IN]; local in function:measure
115 ret = recvfrom(sock_raw, (char *)packet, PACKET_IN, 0,
190 ret = recvfrom(sock_raw, (char *)packet, PACKET_IN, 0,
201 memcpy(&ip, packet, sizeof(ip));
207 memcpy(&icp, &packet[ip.ip_hl << 2],
  /src/sys/arch/hpcmips/dev/
optpoint.c 63 char packet[4]; member in struct:optpoint_softc
64 int index; /* number of bytes received for this packet */
159 memset(sc->packet, 0, 3);
170 sc->packet[sc->index++] = data;
172 u_int newbuttons = ((sc->packet[1] & LBUTMASK) ? 0x1 : 0)
173 | ((sc->packet[1] & RBUTMASK) ? 0x2 : 0);
174 int dx = sc->packet[2];
175 int dy = sc->packet[0];
188 memset(sc->packet, 0, 3);
210 sc->packet[0] = 0xf5; /* Disable *
    [all...]
  /src/sys/arch/sgimips/dev/
zs_ms.c 72 /* 5-byte packet as described above */
78 int8_t packet[5]; member in struct:zsms_softc
228 * Here's the real action. Read a full packet and
237 sc->packet[ZSMS_PACKET_SYNC] = c;
243 sc->packet[ZSMS_PACKET_X1] = c;
248 sc->packet[ZSMS_PACKET_Y1] = c;
253 sc->packet[ZSMS_PACKET_X2] = c;
258 sc->packet[ZSMS_PACKET_Y2] = c;
281 btns = (uint8_t)sc->packet[ZSMS_PACKET_SYNC] & ZSMS_SYNC_BTN_MASK;
290 x = (int)sc->packet[ZSMS_PACKET_X1] + (int)sc->packet[ZSMS_PACKET_X2]
    [all...]
  /src/usr.sbin/btpand/
btpand.h 45 typedef struct packet packet_t;
110 /* packet data buffer */
111 struct packet { struct
130 /* packet header */
185 /* packet.c */
  /src/tests/net/net/
t_ip_reass.c 106 struct lopacket *packet; local in function:alloc_lopacket
109 pktlen = sizeof(*packet) + payloadlen;
110 packet = malloc(pktlen);
111 ATF_REQUIRE(packet != NULL);
113 memset(packet, 0, pktlen);
114 packet->family = AF_INET;
116 ip = &packet->hdr;
130 return (packet);
134 free_lopacket(struct lopacket *packet)
137 free(packet);
    [all...]
  /src/lib/libpam/modules/pam_krb5/
pam_krb5.c 1017 krb5_data packet; local in function:verify_krb_v5_tgt
1022 packet.data = 0;
1027 NULL, ccache, &packet);
1042 retval = krb5_rd_req(context, &auth_context, &packet, princ, NULL,
1055 if (packet.data)
1056 compat_free_data_contents(context, &packet);
  /src/sys/arch/mac68k/dev/
pm_direct.c 228 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
233 u_int unsol; /* 1 if packet was unsolicited */
1040 struct adbCommand packet; local in function:pm_adb_op
1077 packet.data[0] = 1 + pmdata.data[2];
1078 packet.data[1] = command;
1080 packet.data[i+2] = pmdata.data[i+3];
1081 packet.saveBuf = adbBuffer;
1082 packet.compRout = adbCompRout;
1083 packet.compData = adbCompData;
1084 packet.cmd = command
1162 struct adbCommand packet; local in function:pm_adb_get_TALK_result
1190 struct adbCommand packet; local in function:pm_adb_get_ADB_data
    [all...]
  /src/sbin/routed/rtquery/
rtquery.c 102 char packet[MAXPACKETSIZE+MAXPATHLEN]; member in union:__anon185fabe2020a
109 char packet[MAXPACKETSIZE+1024]; member in union:__anon185fabe2030a
442 cc = recvfrom(soc, imsg_buf.packet,
443 sizeof(imsg_buf.packet), 0,
608 * Handle an incoming RIP packet.
  /src/usr.sbin/traceroute6/
traceroute6.c 85 * Attempt to trace the route an ip packet would follow to some
108 * traceroute to nis.nsf.net (35.1.1.48), 30 hops max, 56 byte packet
289 #define MAXPACKET 65535 /* max ip packet size */
297 * format of a (udp) probe packet.
305 u_char seq; /* sequence number of this packet */
306 u_char hops; /* hop limit of the packet */
308 struct tv32 tv; /* time packet left */
311 static u_char packet[512]; /* last inbound (icmp) packet */ variable in typeref:typename:u_char[512]
312 static struct opacket *outpacket; /* last output (udp) packet */
    [all...]
  /src/sys/netinet/
dccp_tfrc.c 139 /* Calculate new t_ipi (inter packet interval) by
209 * args: s - packet size (in bytes)
227 * Function called by the send timer (to send packet)
528 TFRC_DEBUG((LOG_INFO, "TFRC - Sender is using packet size %u\n", ccb->s));
530 ccb->x.num = ccb->s; /* set transmissionrate to 1 packet per second */
542 /* init packet history */
578 /* Empty packet history */
594 * Ask TFRC whether one can send a packet or not
615 TFRC_DEBUG((LOG_INFO, "TFRC - Asked to send packet when terminating!\n"));
625 /* check to see if we have memory to add to packet history *
722 struct s_hist_entry *packet; local in function:tfrc_send_packet_sent
1693 struct r_hist_entry *packet; local in function:tfrc_recv_packet_recv
    [all...]
  /src/sys/arch/macppc/dev/
pm_direct.c 207 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
212 u_int unsol; /* 1 if packet was unsolicited */
654 struct adbCommand packet; local in function:pm_adb_op
692 packet.data[0] = 1 + pmdata.data[2];
693 packet.data[1] = command;
695 packet.data[i+2] = pmdata.data[i+3];
696 packet.saveBuf = adbBuffer;
697 packet.compRout = adbCompRout;
698 packet.compData = adbCompData;
699 packet.cmd = command
772 struct adbCommand packet; local in function:pm_adb_get_TALK_result
800 struct adbCommand packet; local in function:pm_adb_get_ADB_data
    [all...]
cuda.c 546 * This is an unexpected packet, so grab the first (dummy)
548 * starting to receive the packet by setting the TIP bit.
910 uint8_t packet[16]; local in function:cuda_adb_send
912 /* construct an ADB command packet and send it */
913 packet[0] = CUDA_ADB;
914 packet[1] = command;
916 packet[i + 2] = data[i];
921 cuda_send(sc, poll, len + 2, packet);
adb_direct.c 175 * the upper and lower halves, and the outgoing packet queue.
180 u_char data[ADB_MAX_MSG_LENGTH]; /* packet data only */
185 u_int unsol; /* 1 if packet was unsolicited */
220 int tickle_count = 0; /* how many tickles seen for this packet? */
221 int tickle_serial = 0; /* the last packet tickled */
222 int adb_cuda_serial = 0; /* the current packet */
333 struct adbCommand packet; local in function:adb_intr_cuda
353 * This is an unexpected packet, so grab the first (dummy)
355 * starting to receive the packet by setting the TIP bit.
391 * Are we waiting AND does this packet match what w
    [all...]
pmu.c 909 uint8_t packet[16], resp[16]; local in function:pmu_adb_send
911 /* construct an ADB command packet and send it */
912 packet[0] = command;
913 packet[1] = 0;
914 packet[2] = len;
916 packet[i + 3] = data[i];
917 (void)pmu_send(sc, PMU_ADB_CMD, len + 3, packet, 16, resp);
  /src/sys/external/bsd/drm/dist/shared-core/
radeon_state.c 258 DRM_ERROR("Unknown state packet ID %d\n", id);
279 DRM_ERROR("Not a type 3 packet\n");
284 DRM_ERROR("Packet size larger than size of data provided\n");
310 DRM_ERROR("Invalid 3d packet for non r200-class chip\n");
324 /* carefully check packet contents */
333 ("Invalid offset (k=%d i=%d) in 3D_LOAD_VBPNTR packet.\n",
346 ("Invalid offset (k=%d i=%d) in 3D_LOAD_VBPNTR packet.\n",
356 ("Malformed 3D_LOAD_VBPNTR packet (k=%d i=%d narrays=%d count+1=%d).\n",
364 DRM_ERROR("Invalid 3d packet for non-r100-class chip\n");
377 DRM_ERROR("Invalid 3d packet for non-r200-class chip\n")
642 } packet[RADEON_MAX_STATE_PACKETS] = { variable in typeref:struct:__anon5cd491b00108[]
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
vlv_dsi.c 133 struct mipi_dsi_packet packet; local in function:intel_dsi_host_transfer
139 ret = mipi_dsi_create_packet(&packet, msg);
143 header = packet.header;
144 data = packet.payload;
159 if (packet.payload_length) {
164 write_data(dev_priv, data_reg, packet.payload,
165 packet.payload_length);
190 return 4 + packet.payload_length;
235 DRM_DEBUG_KMS("Same special packet %02x twice in a row.\n", cmd);
913 * if disable packets are sent before sending shutdown packet then i
    [all...]
  /src/usr.sbin/traceroute/
traceroute.c 40 * Attempt to trace the route an ip packet would follow to some
63 * traceroute to nis.nsf.net (35.1.1.48), 30 hops max, 56 byte packet
280 /* Data section of the probe packet */
282 u_char seq; /* sequence number of this packet */
283 u_char ttl; /* ttl packet left with */
287 } tv; /* time packet left */
325 static u_char packet[512]; /* last inbound (icmp) packet */ variable in typeref:typename:u_char[512]
327 static struct ip *outip; /* last output (udp) packet */
328 static struct udphdr *outudp; /* last output (udp) packet */
    [all...]

Completed in 81 milliseconds

1 2