/openbmc/qemu/tests/lcitool/ |
H A D | refresh | 44 def generate(filename, cmd, trailer): argument 52 if trailer is not None: 53 content += trailer 66 def generate_dockerfile(host, target, project="qemu", cross=None, trailer=None): argument 73 if trailer is not None: 74 trailer += "\n".join(add_user_mapping) 76 trailer = "\n".join(add_user_mapping) 78 generate(filename, cmd, trailer) 81 def generate_cirrus(target, trailer=None): argument 84 generate(filename, cmd, trailer) [all …]
|
/openbmc/linux/net/dsa/ |
H A D | tag_trailer.c | 18 u8 *trailer; in trailer_xmit() local 20 trailer = skb_put(skb, 4); in trailer_xmit() 21 trailer[0] = 0x80; in trailer_xmit() 22 trailer[1] = 1 << dp->index; in trailer_xmit() 23 trailer[2] = 0x10; in trailer_xmit() 24 trailer[3] = 0x00; in trailer_xmit() 31 u8 *trailer; in trailer_rcv() local 37 trailer = skb_tail_pointer(skb) - 4; in trailer_rcv() 38 if (trailer[0] != 0x80 || (trailer[1] & 0xf8) != 0x00 || in trailer_rcv() 39 (trailer[2] & 0xef) != 0x00 || trailer[3] != 0x00) in trailer_rcv() [all …]
|
H A D | tag_xrs700x.c | 17 u8 *trailer; in xrs700x_xmit() local 19 trailer = skb_put(skb, 1); in xrs700x_xmit() 20 trailer[0] = BIT(dp->index); in xrs700x_xmit() 25 trailer[0] |= BIT(partner->index); in xrs700x_xmit() 33 u8 *trailer; in xrs700x_rcv() local 35 trailer = skb_tail_pointer(skb) - 1; in xrs700x_rcv() 37 source_port = ffs((int)trailer[0]) - 1; in xrs700x_rcv()
|
/openbmc/linux/drivers/net/usb/ |
H A D | net1080.c | 342 struct nc_trailer *trailer; in net1080_rx_fixup() local 379 trailer = (struct nc_trailer *) in net1080_rx_fixup() 380 (skb->data + skb->len - sizeof *trailer); in net1080_rx_fixup() 381 skb_trim(skb, skb->len - sizeof *trailer); in net1080_rx_fixup() 398 if (header->packet_id != get_unaligned(&trailer->packet_id)) { in net1080_rx_fixup() 402 le16_to_cpu(trailer->packet_id)); in net1080_rx_fixup() 418 struct nc_trailer *trailer = NULL; in net1080_tx_fixup() local 462 if (!((skb->len + sizeof *trailer) & 0x01)) in net1080_tx_fixup() 464 trailer = skb_put(skb, sizeof *trailer); in net1080_tx_fixup() 465 put_unaligned(header->packet_id, &trailer->packet_id); in net1080_tx_fixup()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_mcu.c | 255 const struct mtk_wed_fw_trailer *trailer; in mtk_wed_mcu_run_firmware() local 258 trailer_ptr = fw->data + fw->size - sizeof(*trailer); in mtk_wed_mcu_run_firmware() 259 trailer = (const struct mtk_wed_fw_trailer *)trailer_ptr; in mtk_wed_mcu_run_firmware() 260 region_ptr = trailer_ptr - trailer->num_region * sizeof(*fw_region); in mtk_wed_mcu_run_firmware() 309 const struct mtk_wed_fw_trailer *trailer; in mtk_wed_mcu_load_firmware() local 341 trailer = (void *)(fw->data + fw->size - in mtk_wed_mcu_load_firmware() 345 trailer->fw_ver, trailer->build_date); in mtk_wed_mcu_load_firmware() 347 trailer->chip_id, trailer->num_region); in mtk_wed_mcu_load_firmware()
|
/openbmc/phosphor-net-ipmid/ |
H A D | message_handler.cpp | 118 (sizeof(LAN::header::Request) + sizeof(LAN::trailer::Request))) in executeCommand() 125 auto end = inMessage->payload.end() - sizeof(LAN::trailer::Request); in executeCommand() 201 sizeof(LAN::trailer::Request)); in sendUnsolicitedIPMIPayload() 222 auto trailer = reinterpret_cast<LAN::trailer::Request*>( in sendUnsolicitedIPMIPayload() local 228 trailer->checksum = crc8bit(&respHeader->rqaddr, assembledSize - 3); in sendUnsolicitedIPMIPayload()
|
H A D | message.hpp | 81 namespace trailer namespace 210 sizeof(LAN::trailer::Response)); in createResponse() 233 auto trailer = reinterpret_cast<LAN::trailer::Response*>( in createResponse() local 235 trailer->checksum = crc8bit(&respHeader->rsaddr, assembledSize - 3); in createResponse()
|
H A D | message_parsers.cpp | 161 auto trailer = in flatten() local 163 trailer->legacyPad = 0x00; in flatten() 340 auto trailer = reinterpret_cast<const SessionTrailer_t*>( in verifyPacketIntegrity() local 345 if (trailer->padLength != paddingLen) in verifyPacketIntegrity() 385 auto trailer = reinterpret_cast<SessionTrailer_t*>( in addIntegrityData() local 388 trailer->padLength = paddingLen; in addIntegrityData() 389 trailer->nextHeader = parser::RMCP_MESSAGE_CLASS_IPMI; in addIntegrityData()
|
/openbmc/linux/net/hsr/ |
H A D | hsr_forward.c | 190 static void prp_set_lan_id(struct prp_rct *trailer, in prp_set_lan_id() argument 202 set_prp_lan_id(trailer, lane_id); in prp_set_lan_id() 210 struct prp_rct *trailer; in prp_fill_rct() local 223 trailer = (struct prp_rct *)skb_put(skb, HSR_HLEN); in prp_fill_rct() 227 prp_set_lan_id(trailer, port); in prp_fill_rct() 228 set_prp_LSDU_size(trailer, lsdu_size); in prp_fill_rct() 229 trailer->sequence_nr = htons(frame->sequence_nr); in prp_fill_rct() 230 trailer->PRP_suffix = htons(ETH_P_PRP); in prp_fill_rct() 329 struct prp_rct *trailer = skb_get_PRP_rct(frame->skb_prp); in prp_create_tagged_frame() local 331 if (trailer) { in prp_create_tagged_frame() [all …]
|
/openbmc/linux/net/rxrpc/ |
H A D | conn_event.c | 92 struct rxrpc_acktrailer trailer; in rxrpc_conn_retransmit_call() local 126 iov[2].iov_base = &trailer; in rxrpc_conn_retransmit_call() 127 iov[2].iov_len = sizeof(trailer); in rxrpc_conn_retransmit_call() 162 trailer.maxMTU = htonl(rxrpc_rx_mtu); in rxrpc_conn_retransmit_call() 163 trailer.ifMTU = htonl(mtu); in rxrpc_conn_retransmit_call() 164 trailer.rwind = htonl(rxrpc_rx_window_size); in rxrpc_conn_retransmit_call() 165 trailer.jumbo_max = htonl(rxrpc_rx_jumbo_max); in rxrpc_conn_retransmit_call() 169 len += sizeof(pkt.ack) + 3 + sizeof(trailer); in rxrpc_conn_retransmit_call()
|
H A D | input.c | 698 struct rxrpc_acktrailer *trailer) in rxrpc_input_ack_trailer() argument 704 u32 rwind = ntohl(trailer->rwind); in rxrpc_input_ack_trailer() 715 mtu = min(ntohl(trailer->maxMTU), ntohl(trailer->ifMTU)); in rxrpc_input_ack_trailer() 861 struct rxrpc_acktrailer trailer; in rxrpc_input_ack() local 941 trailer.maxMTU = 0; in rxrpc_input_ack() 943 if (skb->len >= ioffset + sizeof(trailer) && in rxrpc_input_ack() 944 skb_copy_bits(skb, ioffset, &trailer, sizeof(trailer)) < 0) in rxrpc_input_ack() 974 if (trailer.maxMTU) in rxrpc_input_ack() 975 rxrpc_input_ack_trailer(call, skb, &trailer); in rxrpc_input_ack()
|
H A D | output.c | 86 struct rxrpc_acktrailer trailer; in rxrpc_fill_out_ack() local 129 trailer.maxMTU = htonl(rxrpc_rx_mtu); in rxrpc_fill_out_ack() 130 trailer.ifMTU = htonl(mtu); in rxrpc_fill_out_ack() 131 trailer.rwind = htonl(rsize); in rxrpc_fill_out_ack() 132 trailer.jumbo_max = htonl(jmax); in rxrpc_fill_out_ack() 137 memcpy(ackp, &trailer, sizeof(trailer)); in rxrpc_fill_out_ack() 138 return txb->ack.nAcks + 3 + sizeof(trailer); in rxrpc_fill_out_ack()
|
/openbmc/linux/fs/ocfs2/ |
H A D | dir.c | 136 struct ocfs2_dir_block_trailer *trailer; in ocfs2_init_dir_trailer() local 138 trailer = ocfs2_trailer_from_bh(bh, inode->i_sb); in ocfs2_init_dir_trailer() 139 strcpy(trailer->db_signature, OCFS2_DIR_TRAILER_SIGNATURE); in ocfs2_init_dir_trailer() 140 trailer->db_compat_rec_len = in ocfs2_init_dir_trailer() 142 trailer->db_parent_dinode = cpu_to_le64(OCFS2_I(inode)->ip_blkno); in ocfs2_init_dir_trailer() 143 trailer->db_blkno = cpu_to_le64(bh->b_blocknr); in ocfs2_init_dir_trailer() 144 trailer->db_free_rec_len = cpu_to_le16(rec_len); in ocfs2_init_dir_trailer() 157 struct ocfs2_dir_block_trailer *trailer; in ocfs2_dx_dir_link_trailer() local 165 trailer = ocfs2_trailer_from_bh(dirdata_bh, dir->i_sb); in ocfs2_dx_dir_link_trailer() 168 trailer->db_free_next = dx_root->dr_free_blk; in ocfs2_dx_dir_link_trailer() [all …]
|
/openbmc/u-boot/tools/patman/ |
H A D | tout.py | 59 def Progress(msg, warning=False, trailer='...'): argument 68 _progress = msg + trailer
|
/openbmc/linux/drivers/net/wireguard/ |
H A D | send.c | 167 struct sk_buff *trailer; in encrypt_packet() local 181 num_frags = skb_cow_data(skb, trailer_len, &trailer); in encrypt_packet() 188 memset(skb_tail_pointer(trailer), 0, padding_len); in encrypt_packet() 209 pskb_put(skb, trailer, trailer_len); in encrypt_packet()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | htc.c | 291 u8 *trailer; in ath12k_htc_rx_completion_handler() local 304 trailer = (u8 *)hdr; in ath12k_htc_rx_completion_handler() 305 trailer += sizeof(*hdr); in ath12k_htc_rx_completion_handler() 306 trailer += payload_len; in ath12k_htc_rx_completion_handler() 307 trailer -= trailer_len; in ath12k_htc_rx_completion_handler() 308 status = ath12k_htc_process_trailer(htc, trailer, in ath12k_htc_rx_completion_handler()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | htc.c | 332 u8 *trailer; in ath11k_htc_rx_completion_handler() local 344 trailer = (u8 *)hdr; in ath11k_htc_rx_completion_handler() 345 trailer += sizeof(*hdr); in ath11k_htc_rx_completion_handler() 346 trailer += payload_len; in ath11k_htc_rx_completion_handler() 347 trailer -= trailer_len; in ath11k_htc_rx_completion_handler() 348 status = ath11k_htc_process_trailer(htc, trailer, in ath11k_htc_rx_completion_handler()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_rxtx.c | 248 eseg->trailer |= cpu_to_be32(MLX5_ETH_WQE_INSERT_TRAILER); in mlx5e_ipsec_tx_build_eseg() 251 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg() 255 eseg->trailer |= (l3_proto == IPPROTO_ESP) ? in mlx5e_ipsec_tx_build_eseg()
|
/openbmc/linux/fs/smb/client/ |
H A D | rfc1002pdu.h | 45 } __attribute__((packed)) trailer; member
|
/openbmc/linux/net/ipv4/ |
H A D | esp4.c | 447 struct sk_buff *trailer; in esp_output_head() local 465 trailer = skb; in esp_output_head() 466 tail = skb_tail_pointer(trailer); in esp_output_head() 516 nfrags = skb_cow_data(skb, tailen, &trailer); in esp_output_head() 519 tail = skb_tail_pointer(trailer); in esp_output_head() 524 pskb_put(skb, trailer, tailen); in esp_output_head() 881 struct sk_buff *trailer; in esp_input() local 920 err = skb_cow_data(skb, 0, &trailer); in esp_input()
|
H A D | ah4.c | 153 struct sk_buff *trailer; in ah_output() local 168 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_output() 311 struct sk_buff *trailer; in ah_input() local 355 if ((err = skb_cow_data(skb, 0, &trailer)) < 0) in ah_input()
|
/openbmc/linux/net/ipv6/ |
H A D | esp6.c | 483 struct sk_buff *trailer; in esp6_output_head() local 500 trailer = skb; in esp6_output_head() 501 tail = skb_tail_pointer(trailer); in esp6_output_head() 553 nfrags = skb_cow_data(skb, tailen, &trailer); in esp6_output_head() 556 tail = skb_tail_pointer(trailer); in esp6_output_head() 561 pskb_put(skb, trailer, tailen); in esp6_output_head() 925 struct sk_buff *trailer; in esp6_input() local 968 nfrags = skb_cow_data(skb, 0, &trailer); in esp6_input()
|
/openbmc/qemu/scripts/coccinelle/ |
H A D | tcg_gen_extract.cocci | 30 def debug(msg="", trailer="\n"): 31 fd.write("[DBG] " + msg + trailer)
|
/openbmc/linux/arch/s390/boot/ |
H A D | vmlinux.lds.S | 113 .sb.trailer : {
|
/openbmc/linux/drivers/usb/atm/ |
H A D | usbatm.c | 486 u8 *trailer = target + ATM_CELL_SIZE - ATM_AAL5_TRAILER; in usbatm_write_cells() local 489 trailer[2] = ctrl->len >> 8; in usbatm_write_cells() 490 trailer[3] = ctrl->len; in usbatm_write_cells() 494 trailer[4] = ctrl->crc >> 24; in usbatm_write_cells() 495 trailer[5] = ctrl->crc >> 16; in usbatm_write_cells() 496 trailer[6] = ctrl->crc >> 8; in usbatm_write_cells() 497 trailer[7] = ctrl->crc; in usbatm_write_cells()
|