• Home
  • Raw
  • Download

Lines Matching refs:pbd

674 	struct tpacket_block_desc *pbd;  in init_prb_bdqc()  local
680 pbd = (struct tpacket_block_desc *)pg_vec[0].buffer; in init_prb_bdqc()
700 prb_open_block(p1, pbd); in init_prb_bdqc()
742 struct tpacket_block_desc *pbd; in prb_retire_rx_blk_timer_expired() local
747 pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); in prb_retire_rx_blk_timer_expired()
761 if (BLOCK_NUM_PKTS(pbd)) { in prb_retire_rx_blk_timer_expired()
769 if (!BLOCK_NUM_PKTS(pbd)) { in prb_retire_rx_blk_timer_expired()
782 if (prb_curr_blk_in_use(pbd)) { in prb_retire_rx_blk_timer_expired()
796 prb_open_block(pkc, pbd); in prb_retire_rx_blk_timer_expired()
984 struct tpacket_block_desc *pbd; in prb_dispatch_next_block() local
989 pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); in prb_dispatch_next_block()
992 if (TP_STATUS_USER & BLOCK_STATUS(pbd)) { in prb_dispatch_next_block()
1002 prb_open_block(pkc, pbd); in prb_dispatch_next_block()
1009 struct tpacket_block_desc *pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); in prb_retire_current_block() local
1012 if (likely(TP_STATUS_KERNEL == BLOCK_STATUS(pbd))) { in prb_retire_current_block()
1027 prb_close_block(pkc, pbd, po, status); in prb_retire_current_block()
1032 static int prb_curr_blk_in_use(struct tpacket_block_desc *pbd) in prb_curr_blk_in_use() argument
1034 return TP_STATUS_USER & BLOCK_STATUS(pbd); in prb_curr_blk_in_use()
1096 struct tpacket_block_desc *pbd, in prb_fill_curr_block() argument
1106 BLOCK_LEN(pbd) += TOTAL_PKT_LEN_INCL_ALIGN(len); in prb_fill_curr_block()
1107 BLOCK_NUM_PKTS(pbd) += 1; in prb_fill_curr_block()
1119 struct tpacket_block_desc *pbd; in __packet_lookup_frame_in_block() local
1123 pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); in __packet_lookup_frame_in_block()
1131 if (prb_curr_blk_in_use(pbd)) { in __packet_lookup_frame_in_block()
1141 prb_open_block(pkc, pbd); in __packet_lookup_frame_in_block()
1148 end = (char *)pbd + pkc->kblk_size; in __packet_lookup_frame_in_block()
1152 prb_fill_curr_block(curr, pkc, pbd, len); in __packet_lookup_frame_in_block()
1162 pbd = GET_CURR_PBLOCK_DESC_FROM_CORE(pkc); in __packet_lookup_frame_in_block()
1163 prb_fill_curr_block(curr, pkc, pbd, len); in __packet_lookup_frame_in_block()
1200 struct tpacket_block_desc *pbd = GET_PBLOCK_DESC(pkc, idx); in prb_lookup_block() local
1202 if (status != BLOCK_STATUS(pbd)) in prb_lookup_block()
1204 return pbd; in prb_lookup_block()