Lines Matching defs:pkc1
795 static void prb_flush_block(struct tpacket_kbdq_core *pkc1,
808 end = (u8 *)PAGE_ALIGN((unsigned long)pkc1->pkblk_end);
838 static void prb_close_block(struct tpacket_kbdq_core *pkc1,
851 last_pkt = (struct tpacket3_hdr *)pkc1->prev;
873 prb_flush_block(pkc1, pbd1, status);
877 pkc1->kactive_blk_num = GET_NEXT_PRB_BLK_NUM(pkc1);
892 static void prb_open_block(struct tpacket_kbdq_core *pkc1,
904 BLOCK_SNUM(pbd1) = pkc1->knxt_seq_num++;
906 BLOCK_LEN(pbd1) = BLK_PLUS_PRIV(pkc1->blk_sizeof_priv);
913 pkc1->pkblk_start = (char *)pbd1;
914 pkc1->nxt_offset = pkc1->pkblk_start + BLK_PLUS_PRIV(pkc1->blk_sizeof_priv);
916 BLOCK_O2FP(pbd1) = (__u32)BLK_PLUS_PRIV(pkc1->blk_sizeof_priv);
919 pbd1->version = pkc1->version;
920 pkc1->prev = pkc1->nxt_offset;
921 pkc1->pkblk_end = pkc1->pkblk_start + pkc1->kblk_size;
923 prb_thaw_queue(pkc1);
924 _prb_refresh_rx_retire_blk_timer(pkc1);