Lines Matching refs:block

38 	struct tcf_block	*block;  member
47 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block,
50 struct tcf_chain *tcf_get_next_chain(struct tcf_block *block,
54 void tcf_block_netif_keep_dst(struct tcf_block *block);
61 void tcf_block_put(struct tcf_block *block);
62 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q,
67 static inline bool tcf_block_shared(struct tcf_block *block) in tcf_block_shared() argument
69 return block->index; in tcf_block_shared()
72 static inline bool tcf_block_non_null_shared(struct tcf_block *block) in tcf_block_non_null_shared() argument
74 return block && block->index; in tcf_block_non_null_shared()
80 static inline bool tcf_block_bypass_sw(struct tcf_block *block) in tcf_block_bypass_sw() argument
82 return block && !atomic_read(&block->useswcnt); in tcf_block_bypass_sw()
86 static inline struct Qdisc *tcf_block_q(struct tcf_block *block) in tcf_block_q() argument
88 WARN_ON(tcf_block_shared(block)); in tcf_block_q()
89 return block->q; in tcf_block_q()
93 const struct tcf_block *block,
111 static inline bool tcf_block_shared(struct tcf_block *block) in tcf_block_shared() argument
116 static inline bool tcf_block_non_null_shared(struct tcf_block *block) in tcf_block_non_null_shared() argument
137 static inline void tcf_block_put(struct tcf_block *block) in tcf_block_put() argument
142 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q, in tcf_block_put_ext() argument
147 static inline struct Qdisc *tcf_block_q(struct tcf_block *block) in tcf_block_q() argument
153 const struct tcf_block *block, in tcf_classify() argument
182 struct Qdisc *q = tp->chain->block->q; in tcf_bind_filter()
206 struct Qdisc *q = tp->chain->block->q; in tcf_unbind_filter()
593 int tc_setup_cb_call(struct tcf_block *block, enum tc_setup_type type,
595 int tc_setup_cb_add(struct tcf_block *block, struct tcf_proto *tp,
598 int tc_setup_cb_replace(struct tcf_block *block, struct tcf_proto *tp,
603 int tc_setup_cb_destroy(struct tcf_block *block, struct tcf_proto *tp,
606 int tc_setup_cb_reoffload(struct tcf_block *block, struct tcf_proto *tp,