Lines Matching refs:pbd1
810 struct tpacket_block_desc *pbd1, __u32 status) in prb_flush_block() argument
817 start = (u8 *)pbd1; in prb_flush_block()
831 BLOCK_STATUS(pbd1) = status; in prb_flush_block()
836 start = (u8 *)pbd1; in prb_flush_block()
853 struct tpacket_block_desc *pbd1, in prb_close_block() argument
859 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
869 if (BLOCK_NUM_PKTS(pbd1)) { in prb_close_block()
887 prb_flush_block(pkc1, pbd1, status); in prb_close_block()
907 struct tpacket_block_desc *pbd1) in prb_open_block() argument
910 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()
918 BLOCK_SNUM(pbd1) = pkc1->knxt_seq_num++; in prb_open_block()
919 BLOCK_NUM_PKTS(pbd1) = 0; in prb_open_block()
920 BLOCK_LEN(pbd1) = BLK_PLUS_PRIV(pkc1->blk_sizeof_priv); in prb_open_block()
927 pkc1->pkblk_start = (char *)pbd1; in prb_open_block()
930 BLOCK_O2FP(pbd1) = (__u32)BLK_PLUS_PRIV(pkc1->blk_sizeof_priv); in prb_open_block()
931 BLOCK_O2PRIV(pbd1) = BLK_HDR_LEN; in prb_open_block()
933 pbd1->version = pkc1->version; in prb_open_block()