pbd 2109 drivers/md/dm-thin.c #define thin_bio(pbd) dm_bio_from_per_bio_data((pbd), sizeof(struct dm_thin_endio_hook)) pbd 2114 drivers/md/dm-thin.c struct dm_thin_endio_hook *pbd; pbd 2121 drivers/md/dm-thin.c pbd = thin_pbd(parent); pbd 2123 drivers/md/dm-thin.c if (bi_sector < thin_bio(pbd)->bi_iter.bi_sector) pbd 2129 drivers/md/dm-thin.c pbd = dm_per_bio_data(bio, sizeof(struct dm_thin_endio_hook)); pbd 2130 drivers/md/dm-thin.c rb_link_node(&pbd->rb_node, parent, rbp); pbd 2131 drivers/md/dm-thin.c rb_insert_color(&pbd->rb_node, &tc->sort_bio_list); pbd 2137 drivers/md/dm-thin.c struct dm_thin_endio_hook *pbd; pbd 2141 drivers/md/dm-thin.c pbd = thin_pbd(node); pbd 2142 drivers/md/dm-thin.c bio = thin_bio(pbd); pbd 2145 drivers/md/dm-thin.c rb_erase(&pbd->rb_node, &tc->sort_bio_list); pbd 3481 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct eth_tx_parse_bd_e1x *pbd, pbd 3484 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->lso_mss = cpu_to_le16(skb_shinfo(skb)->gso_size); pbd 3485 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->tcp_send_seq = bswab32(tcp_hdr(skb)->seq); pbd 3486 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->tcp_flags = pbd_tcp_flags(tcp_hdr(skb)); pbd 3489 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->ip_id = bswab16(ip_hdr(skb)->id); pbd 3490 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->tcp_pseudo_csum = pbd 3495 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->tcp_pseudo_csum = pbd 3501 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->global_data |= pbd 3593 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c struct eth_tx_parse_bd_e1x *pbd, pbd 3599 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->global_data = pbd 3604 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->ip_hlen_w = (skb_transport_header(skb) - pbd 3607 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c hlen += pbd->ip_hlen_w; pbd 3615 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->total_hlen_w = cpu_to_le16(hlen); pbd 3619 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->tcp_pseudo_csum = bswab16(tcp_hdr(skb)->check); pbd 3626 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c le16_to_cpu(pbd->total_hlen_w), fix, SKB_CS(skb)); pbd 3629 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->tcp_pseudo_csum = pbd 3634 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c pbd->tcp_pseudo_csum); pbd 266 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_txbuffer_desc_add_high_with_offset(__le32 *pbd, u8 off, pbd 270 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(pbd + 4 * off + 2) = cpu_to_le32(val); pbd 272 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(pbd + 4 * off + 2) = 0; pbd 280 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline u32 get_txbuffer_desc_addr_high(__le32 *pbd, u32 off, bool dma64) pbd 283 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_to_cpu(*((pbd + 4 * off + 2))); pbd 574 net/packet/af_packet.c struct tpacket_block_desc *pbd; pbd 580 net/packet/af_packet.c pbd = (struct tpacket_block_desc *)pg_vec[0].buffer; pbd 599 net/packet/af_packet.c prb_open_block(p1, pbd); pbd 641 net/packet/af_packet.c struct tpacket_block_desc *pbd; pbd 646 net/packet/af_packet.c pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); pbd 660 net/packet/af_packet.c if (BLOCK_NUM_PKTS(pbd)) { pbd 669 net/packet/af_packet.c if (!BLOCK_NUM_PKTS(pbd)) { pbd 682 net/packet/af_packet.c if (prb_curr_blk_in_use(pbd)) { pbd 696 net/packet/af_packet.c prb_open_block(pkc, pbd); pbd 884 net/packet/af_packet.c struct tpacket_block_desc *pbd; pbd 889 net/packet/af_packet.c pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); pbd 892 net/packet/af_packet.c if (TP_STATUS_USER & BLOCK_STATUS(pbd)) { pbd 902 net/packet/af_packet.c prb_open_block(pkc, pbd); pbd 909 net/packet/af_packet.c struct tpacket_block_desc *pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); pbd 912 net/packet/af_packet.c if (likely(TP_STATUS_KERNEL == BLOCK_STATUS(pbd))) { pbd 928 net/packet/af_packet.c prb_close_block(pkc, pbd, po, status); pbd 933 net/packet/af_packet.c static int prb_curr_blk_in_use(struct tpacket_block_desc *pbd) pbd 935 net/packet/af_packet.c return TP_STATUS_USER & BLOCK_STATUS(pbd); pbd 989 net/packet/af_packet.c struct tpacket_block_desc *pbd, pbd 998 net/packet/af_packet.c BLOCK_LEN(pbd) += TOTAL_PKT_LEN_INCL_ALIGN(len); pbd 999 net/packet/af_packet.c BLOCK_NUM_PKTS(pbd) += 1; pbd 1011 net/packet/af_packet.c struct tpacket_block_desc *pbd; pbd 1015 net/packet/af_packet.c pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); pbd 1023 net/packet/af_packet.c if (prb_curr_blk_in_use(pbd)) { pbd 1033 net/packet/af_packet.c prb_open_block(pkc, pbd); pbd 1040 net/packet/af_packet.c end = (char *)pbd + pkc->kblk_size; pbd 1044 net/packet/af_packet.c prb_fill_curr_block(curr, pkc, pbd, len); pbd 1054 net/packet/af_packet.c pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); pbd 1055 net/packet/af_packet.c prb_fill_curr_block(curr, pkc, pbd, len); pbd 1092 net/packet/af_packet.c struct tpacket_block_desc *pbd = GET_PBLOCK_DESC(pkc, idx); pbd 1094 net/packet/af_packet.c if (status != BLOCK_STATUS(pbd)) pbd 1096 net/packet/af_packet.c return pbd; pbd 510 tools/testing/selftests/net/psock_tpacket.c void __v3_test_block_seq_num(struct block_desc *pbd) pbd 512 tools/testing/selftests/net/psock_tpacket.c if (__v3_prev_block_seq_num + 1 != pbd->h1.seq_num) { pbd 516 tools/testing/selftests/net/psock_tpacket.c (uint64_t) pbd->h1.seq_num); pbd 520 tools/testing/selftests/net/psock_tpacket.c __v3_prev_block_seq_num = pbd->h1.seq_num; pbd 523 tools/testing/selftests/net/psock_tpacket.c static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) pbd 525 tools/testing/selftests/net/psock_tpacket.c if (pbd->h1.num_pkts && bytes != pbd->h1.blk_len) { pbd 528 tools/testing/selftests/net/psock_tpacket.c pbd->h1.num_pkts, bytes, pbd->h1.blk_len); pbd 533 tools/testing/selftests/net/psock_tpacket.c static void __v3_test_block_header(struct block_desc *pbd, const int block_num) pbd 535 tools/testing/selftests/net/psock_tpacket.c if ((pbd->h1.block_status & TP_STATUS_USER) == 0) { pbd 540 tools/testing/selftests/net/psock_tpacket.c __v3_test_block_seq_num(pbd); pbd 543 tools/testing/selftests/net/psock_tpacket.c static void __v3_walk_block(struct block_desc *pbd, const int block_num) pbd 545 tools/testing/selftests/net/psock_tpacket.c int num_pkts = pbd->h1.num_pkts, i; pbd 546 tools/testing/selftests/net/psock_tpacket.c unsigned long bytes = 0, bytes_with_padding = ALIGN_8(sizeof(*pbd)); pbd 549 tools/testing/selftests/net/psock_tpacket.c __v3_test_block_header(pbd, block_num); pbd 551 tools/testing/selftests/net/psock_tpacket.c ppd = (struct tpacket3_hdr *) ((uint8_t *) pbd + pbd 552 tools/testing/selftests/net/psock_tpacket.c pbd->h1.offset_to_first_pkt); pbd 571 tools/testing/selftests/net/psock_tpacket.c __v3_test_block_len(pbd, bytes_with_padding, block_num); pbd 575 tools/testing/selftests/net/psock_tpacket.c void __v3_flush_block(struct block_desc *pbd) pbd 577 tools/testing/selftests/net/psock_tpacket.c pbd->h1.block_status = TP_STATUS_KERNEL; pbd 585 tools/testing/selftests/net/psock_tpacket.c struct block_desc *pbd; pbd 600 tools/testing/selftests/net/psock_tpacket.c pbd = (struct block_desc *) ring->rd[block_num].iov_base; pbd 602 tools/testing/selftests/net/psock_tpacket.c while ((pbd->h1.block_status & TP_STATUS_USER) == 0) pbd 605 tools/testing/selftests/net/psock_tpacket.c __v3_walk_block(pbd, block_num); pbd 606 tools/testing/selftests/net/psock_tpacket.c __v3_flush_block(pbd);