Home
last modified time | relevance | path

Searched refs:pbd (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/tools/testing/selftests/net/
Dpsock_tpacket.c510 void __v3_test_block_seq_num(struct block_desc *pbd) in __v3_test_block_seq_num() argument
512 if (__v3_prev_block_seq_num + 1 != pbd->h1.seq_num) { in __v3_test_block_seq_num()
516 (uint64_t) pbd->h1.seq_num); in __v3_test_block_seq_num()
520 __v3_prev_block_seq_num = pbd->h1.seq_num; in __v3_test_block_seq_num()
523 static void __v3_test_block_len(struct block_desc *pbd, uint32_t bytes, int block_num) in __v3_test_block_len() argument
525 if (pbd->h1.num_pkts && bytes != pbd->h1.blk_len) { in __v3_test_block_len()
528 pbd->h1.num_pkts, bytes, pbd->h1.blk_len); in __v3_test_block_len()
533 static void __v3_test_block_header(struct block_desc *pbd, const int block_num) in __v3_test_block_header() argument
535 if ((pbd->h1.block_status & TP_STATUS_USER) == 0) { in __v3_test_block_header()
540 __v3_test_block_seq_num(pbd); in __v3_test_block_header()
[all …]
/linux-5.19.10/net/packet/
Daf_packet.c617 struct tpacket_block_desc *pbd; in init_prb_bdqc() local
623 pbd = (struct tpacket_block_desc *)pg_vec[0].buffer; in init_prb_bdqc()
643 prb_open_block(p1, pbd); in init_prb_bdqc()
685 struct tpacket_block_desc *pbd; in prb_retire_rx_blk_timer_expired() local
690 pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); in prb_retire_rx_blk_timer_expired()
704 if (BLOCK_NUM_PKTS(pbd)) { in prb_retire_rx_blk_timer_expired()
712 if (!BLOCK_NUM_PKTS(pbd)) { in prb_retire_rx_blk_timer_expired()
725 if (prb_curr_blk_in_use(pbd)) { in prb_retire_rx_blk_timer_expired()
739 prb_open_block(pkc, pbd); in prb_retire_rx_blk_timer_expired()
927 struct tpacket_block_desc *pbd; in prb_dispatch_next_block() local
[all …]
/linux-5.19.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.h266 static inline void set_txbuffer_desc_add_high_with_offset(__le32 *pbd, u8 off, in set_txbuffer_desc_add_high_with_offset() argument
270 *(pbd + 4 * off + 2) = cpu_to_le32(val); in set_txbuffer_desc_add_high_with_offset()
272 *(pbd + 4 * off + 2) = 0; in set_txbuffer_desc_add_high_with_offset()
280 static inline u32 get_txbuffer_desc_addr_high(__le32 *pbd, u32 off, bool dma64) in get_txbuffer_desc_addr_high() argument
283 return le32_to_cpu(*((pbd + 4 * off + 2))); in get_txbuffer_desc_addr_high()
/linux-5.19.10/Documentation/networking/
Dpacket_mmap.rst917 static void walk_block(struct block_desc *pbd, const int block_num)
919 int num_pkts = pbd->h1.num_pkts, i;
923 ppd = (struct tpacket3_hdr *) ((uint8_t *) pbd +
924 pbd->h1.offset_to_first_pkt);
937 static void flush_block(struct block_desc *pbd)
939 pbd->h1.block_status = TP_STATUS_KERNEL;
956 struct block_desc *pbd;
976 pbd = (struct block_desc *) ring.rd[block_num].iov_base;
978 if ((pbd->h1.block_status & TP_STATUS_USER) == 0) {
983 walk_block(pbd, block_num);
[all …]
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3490 struct eth_tx_parse_bd_e1x *pbd, in bnx2x_set_pbd_gso() argument
3493 pbd->lso_mss = cpu_to_le16(skb_shinfo(skb)->gso_size); in bnx2x_set_pbd_gso()
3494 pbd->tcp_send_seq = bswab32(tcp_hdr(skb)->seq); in bnx2x_set_pbd_gso()
3495 pbd->tcp_flags = pbd_tcp_flags(tcp_hdr(skb)); in bnx2x_set_pbd_gso()
3498 pbd->ip_id = bswab16(ip_hdr(skb)->id); in bnx2x_set_pbd_gso()
3499 pbd->tcp_pseudo_csum = in bnx2x_set_pbd_gso()
3504 pbd->tcp_pseudo_csum = in bnx2x_set_pbd_gso()
3510 pbd->global_data |= in bnx2x_set_pbd_gso()
3602 struct eth_tx_parse_bd_e1x *pbd, in bnx2x_set_pbd_csum() argument
3608 pbd->global_data = in bnx2x_set_pbd_csum()
[all …]
/linux-5.19.10/drivers/md/
Ddm-thin.c2093 #define thin_bio(pbd) dm_bio_from_per_bio_data((pbd), sizeof(struct dm_thin_endio_hook)) argument
2098 struct dm_thin_endio_hook *pbd; in __thin_bio_rb_add() local
2105 pbd = thin_pbd(parent); in __thin_bio_rb_add()
2107 if (bi_sector < thin_bio(pbd)->bi_iter.bi_sector) in __thin_bio_rb_add()
2113 pbd = dm_per_bio_data(bio, sizeof(struct dm_thin_endio_hook)); in __thin_bio_rb_add()
2114 rb_link_node(&pbd->rb_node, parent, rbp); in __thin_bio_rb_add()
2115 rb_insert_color(&pbd->rb_node, &tc->sort_bio_list); in __thin_bio_rb_add()
2121 struct dm_thin_endio_hook *pbd; in __extract_sorted_bios() local
2125 pbd = thin_pbd(node); in __extract_sorted_bios()
2126 bio = thin_bio(pbd); in __extract_sorted_bios()
[all …]
/linux-5.19.10/drivers/misc/habanalabs/gaudi/
Dgaudi.c4714 __le64 *pbd = (__le64 *) bd; in gaudi_pqe_write() local
4717 pqe[0] = pbd[0]; in gaudi_pqe_write()
4718 pqe[1] = pbd[1]; in gaudi_pqe_write()
/linux-5.19.10/
DCREDITS263 E: pbd@op.net