Searched refs:chain (Results 1 - 25 of 279) sorted by last modified time

1234567891011>>

/linux-master/net/netfilter/
H A Dnft_chain_filter.c324 struct nft_base_chain *basechain = nft_base_chain(ctx->chain);
341 if (!(ctx->chain->table->flags & NFT_TABLE_F_DORMANT))
364 struct nft_chain *chain, *nr; local
383 list_for_each_entry_safe(chain, nr, &table->chains, list) {
384 if (!nft_is_base_chain(chain))
387 basechain = nft_base_chain(chain);
392 ctx.chain = chain;
H A Dnf_tables_api.c136 struct nft_chain *chain,
143 ctx->chain = chain;
222 struct nft_chain *chain, bool bind)
228 if (!nft_chain_binding(chain))
235 if (nft_trans_chain(trans) == chain)
239 if (trans->ctx.chain == chain)
247 struct nft_chain *chain)
249 __nft_chain_trans_bind(ctx, chain, tru
130 nft_ctx_init(struct nft_ctx *ctx, struct net *net, const struct sk_buff *skb, const struct nlmsghdr *nlh, u8 family, struct nft_table *table, struct nft_chain *chain, const struct nlattr * const *nla) argument
221 __nft_chain_trans_bind(const struct nft_ctx *ctx, struct nft_chain *chain, bool bind) argument
246 nft_chain_trans_bind(const struct nft_ctx *ctx, struct nft_chain *chain) argument
252 nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) argument
272 nf_tables_unbind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) argument
318 nf_tables_register_hook(struct net *net, const struct nft_table *table, struct nft_chain *chain) argument
341 __nf_tables_unregister_hook(struct net *net, const struct nft_table *table, struct nft_chain *chain, bool release_netdev) argument
365 nf_tables_unregister_hook(struct net *net, const struct nft_table *table, struct nft_chain *chain) argument
1155 struct nft_chain *chain; local
1173 struct nft_chain *chain; local
1309 const struct nft_chain *chain = data; local
1317 const struct nft_chain *chain = ptr; local
1472 struct nft_chain *chain, *nc; local
1656 struct nft_chain *chain; local
1684 struct nft_chain *chain; local
1820 nf_tables_fill_chain_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table, const struct nft_chain *chain, const struct list_head *hook_list) argument
1927 const struct nft_chain *chain; local
1972 const struct nft_chain *chain; local
2054 struct nft_base_chain *chain = nft_base_chain(trans->ctx.chain); local
2067 nf_tables_chain_free_chain_rules(struct nft_chain *chain) argument
2083 struct nft_chain *chain = ctx->chain; local
2353 nft_last_rule(const struct nft_chain *chain, const void *ptr) argument
2365 nf_tables_chain_alloc_rules(const struct nft_chain *chain, unsigned int size) argument
2385 nft_basechain_hook_init(struct nf_hook_ops *ops, u8 family, const struct nft_chain_hook *hook, struct nft_chain *chain) argument
2400 struct nft_chain *chain; local
2427 nft_chain_add(struct nft_table *table, struct nft_chain *chain) argument
2454 struct nft_chain *chain; local
2596 struct nft_chain *chain = ctx->chain; local
2777 struct nft_chain *chain = trans->ctx.chain; local
2795 struct nft_chain *chain = NULL; local
2893 const struct nft_chain *chain = &basechain->chain; local
2951 struct nft_chain *chain; local
3363 __nft_rule_lookup(const struct nft_chain *chain, u64 handle) argument
3377 nft_rule_lookup(const struct nft_chain *chain, const struct nlattr *nla) argument
3402 nf_tables_fill_rule_info(struct sk_buff *skb, struct net *net, u32 portid, u32 seq, int event, u32 flags, int family, const struct nft_table *table, const struct nft_chain *chain, const struct nft_rule *rule, u64 handle, bool reset) argument
3519 char *chain; member in struct:nft_rule_dump_ctx
3523 __nf_tables_dump_rules(struct sk_buff *skb, unsigned int *idx, struct netlink_callback *cb, const struct nft_table *table, const struct nft_chain *chain) argument
3576 const struct nft_chain *chain; local
3692 const struct nft_chain *chain; local
3826 nft_chain_validate(const struct nft_ctx *ctx, const struct nft_chain *chain) argument
3859 struct nft_chain *chain; local
3957 struct nft_chain *chain; local
4181 nft_rule_lookup_byid(const struct net *net, const struct nft_chain *chain, const struct nlattr *nla) argument
4204 struct nft_chain *chain = NULL; local
7213 struct nft_chain *chain; local
9559 nf_tables_commit_chain_prepare(struct net *net, struct nft_chain *chain) argument
9641 struct nft_chain *chain = trans->ctx.chain; local
9669 nf_tables_commit_chain(struct net *net, struct nft_chain *chain) argument
9723 nft_chain_del(struct nft_chain *chain) argument
10150 struct nft_chain *chain; local
10777 nft_chain_validate_dependency(const struct nft_chain *chain, enum nft_chain_types type) argument
10791 nft_chain_validate_hooks(const struct nft_chain *chain, unsigned int hook_flags) argument
10879 nf_tables_check_loops(const struct nft_ctx *ctx, const struct nft_chain *chain) argument
11119 struct nft_chain *chain; local
11184 struct nft_chain *chain; local
11373 struct nft_chain *chain; local
11398 struct nft_chain *chain, *nc; local
[all...]
/linux-master/net/mac80211/
H A Drx.c138 /* antenna field, if we don't have per-chain info */
309 int mpdulen, chain; local
353 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) {
700 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) {
701 *pos++ = status->chain_signal[chain];
702 *pos++ = chain;
/linux-master/net/ipv4/
H A Droute.c598 for (fnhe_p = &hash->chain; ; fnhe_p = &fnhe->fnhe_next) {
665 for (fnhe = rcu_dereference(hash->chain); fnhe;
703 fnhe->fnhe_next = hash->chain;
712 rcu_assign_pointer(hash->chain, fnhe);
1340 fnhe_p = &hash->chain;
1374 for (fnhe = rcu_dereference(hash[hval].chain); fnhe;
3037 for (fnhe = rcu_dereference(bucket[i].chain); fnhe;
H A Dinet_connection_sock.c310 inet_bind_bucket_for_each(tb2, &head2->chain) {
388 inet_bind_bucket_for_each(tb, &head->chain)
544 inet_bind_bucket_for_each(tb, &head->chain)
H A Dtcp.c4742 INIT_HLIST_NULLS_HEAD(&tcp_hashinfo.ehash[i].chain, i);
4760 INIT_HLIST_HEAD(&tcp_hashinfo.bhash[i].chain);
4762 INIT_HLIST_HEAD(&tcp_hashinfo.bhash2[i].chain);
H A Dinet_hashtables.c62 * The bindhash mutex for snum's hash chain must be held here.
79 hlist_add_head(&tb->node, &head->chain);
124 hlist_add_head(&tb2->node, &head->chain);
249 inet_bind_bucket_for_each(tb, &head->chain) {
509 sk_nulls_for_each_rcu(sk, node, &head->chain) {
526 * We probably met an item that was moved to another chain.
561 sk_nulls_for_each(sk2, node, &head->chain) {
582 __sk_nulls_add_node_rcu(sk, &head->chain);
667 list = &head->chain;
853 inet_bind_bucket_for_each(bhash2, &head->chain)
[all...]
H A Dinet_timewait_sock.c132 inet_twsk_add_node_rcu(tw, &ehead->chain);
134 /* Step 3: Remove SK from hash chain */
141 * - one reference for bhash chain.
142 * - one reference for ehash chain.
279 sk_nulls_for_each_rcu(sk, node, &head->chain) {
314 * We probably met an item that was moved to another chain.
/linux-master/drivers/gpu/drm/
H A Ddrm_gem_atomic_helper.c4 #include <linux/dma-fence-chain.h>
175 struct dma_fence_chain *chain = dma_fence_chain_alloc(); local
177 if (!chain) {
182 dma_fence_chain_init(chain, fence, new, 1);
183 fence = &chain->base;
/linux-master/drivers/usb/host/
H A Dxhci-ring.c208 * chain bit is set), then set the chain bit in all the following link TRBs.
210 * have their chain bit cleared (so that each Link TRB is a separate TD).
212 * Section 6.4.4.1 of the 0.95 spec says link TRBs cannot have the chain bit
213 * set, but other sections talk about dealing with the chain bit set. This was
215 * xHCI hardware can't handle the chain bit being cleared on a link TRB.
223 u32 chain; local
227 chain = le32_to_cpu(ring->enqueue->generic.field[3]) & TRB_CHAIN;
246 if (!chain && !more_trbs_coming)
250 * AMD 0.96 host, carry over the chain bi
[all...]
/linux-master/drivers/usb/dwc3/
H A Dep0.c37 dma_addr_t buf_dma, u32 len, u32 type, bool chain)
45 if (chain)
56 if (chain)
36 dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, dma_addr_t buf_dma, u32 len, u32 type, bool chain) argument
H A Dgadget.c1207 * @chain: should this TRB be chained to the next?
1214 unsigned int chain, unsigned int node, bool use_bounce_buffer,
1296 if (!no_interrupt && !chain)
1329 if ((!no_interrupt && !chain) || must_interrupt)
1332 if (chain)
1446 * sgs passed. So mark the chain bit to false if it isthe last
3354 const struct dwc3_event_depevt *event, int status, int chain)
3366 * through all TRBs including the last TRB in the chain (the
3373 if (chain && (trb->ctrl & DWC3_TRB_CTRL_HWO))
3406 if (event->status & DEPEVT_STATUS_SHORT && !chain)
1212 dwc3_prepare_one_trb(struct dwc3_ep *dep, struct dwc3_request *req, unsigned int trb_length, unsigned int chain, unsigned int node, bool use_bounce_buffer, bool must_interrupt) argument
3352 dwc3_gadget_ep_reclaim_completed_trb(struct dwc3_ep *dep, struct dwc3_request *req, struct dwc3_trb *trb, const struct dwc3_event_depevt *event, int status, int chain) argument
[all...]
/linux-master/include/net/
H A Dsch_generic.h370 struct tcf_chain *chain,
374 void (*tmplt_reoffload)(struct tcf_chain *chain,
420 struct tcf_chain *chain; member in struct:tcf_proto
449 u32 index; /* chain index */
479 struct tcf_chain *chain; member in struct:tcf_block::__anon79
489 static inline bool lockdep_tcf_chain_is_locked(struct tcf_chain *chain) argument
491 return lockdep_is_held(&chain->filter_chain_lock);
499 #define tcf_chain_dereference(p, chain) \
500 rcu_dereference_protected(p, lockdep_tcf_chain_is_locked(chain))
/linux-master/include/net/netfilter/
H A Dnf_tables.h95 * @chain: destination chain for NFT_JUMP/NFT_GOTO
99 struct nft_chain *chain; member in struct:nft_verdict
203 * @table: the table the chain is contained in
204 * @chain: the chain the rule is contained in
216 struct nft_chain *chain; member in struct:nft_ctx
652 * @chain: chain containing the rule bound to the set
660 const struct nft_chain *chain; member in struct:nft_set_binding
1066 const struct nft_chain *chain; /* for nftables tracing */ member in struct:nft_rule_dp_last
1162 nft_chain_binding(const struct nft_chain *chain) argument
1167 nft_chain_is_bound(struct nft_chain *chain) argument
1207 struct nft_chain chain; member in struct:nft_base_chain
1211 nft_base_chain(const struct nft_chain *chain) argument
1216 nft_is_base_chain(const struct nft_chain *chain) argument
1671 struct nft_chain *chain; member in struct:nft_trans_chain
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c140 if (!attr->chain && esw_attr && esw_attr->int_port)
266 u32 chain, u32 prio, u32 level,
272 ft = mlx5_chains_get_table(chains, chain, prio, level);
420 esw_cleanup_chain_dest(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
422 mlx5_chains_put_table(chains, chain, prio, level);
734 fwd_attr.chain = attr->chain;
741 if (attr->chain || attr->prio)
742 fdb = mlx5_chains_get_table(chains, attr->chain,
778 else if (attr->chain || att
263 esw_setup_chain_dest(struct mlx5_flow_destination *dest, struct mlx5_flow_act *flow_act, struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level, int i) argument
[all...]
H A Dfs_core.c971 /* Assuming all the tree is locked by mutex chain lock */
977 /* Assuming all the tree is locked by mutex chain lock */
2783 /* If this a prio with chains, and we can jump from one chain
2968 * When creating a new ns for each chain store it in the first available slot.
2969 * Assume tc chains are created and stored first and only then the FT chain.
2974 int chain = 0; local
2976 while (steering->fdb_sub_ns[chain])
2977 ++chain;
2979 steering->fdb_sub_ns[chain] = ns;
3010 int chain; local
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cs.c517 p->post_deps[i].chain = NULL;
548 dep->chain = NULL;
550 dep->chain = dma_fence_chain_alloc();
551 if (!dep->chain)
558 dma_fence_chain_free(dep->chain);
1241 if (p->post_deps[i].chain && p->post_deps[i].point) {
1243 p->post_deps[i].chain,
1245 p->post_deps[i].chain = NULL;
1366 kfree(parser->post_deps[i].chain);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh688 chain divert {
/linux-master/net/sched/
H A Dsch_api.c2057 struct Qdisc *q = tcf_block_q(tp->chain->block);
2079 struct tcf_chain *chain; local
2084 for (chain = tcf_get_next_chain(block, NULL);
2085 chain;
2086 chain = tcf_get_next_chain(block, chain)) {
2089 for (tp = tcf_get_next_proto(chain, NULL);
2090 tp; tp = tcf_get_next_proto(chain, tp)) {
/linux-master/net/core/
H A Dgro.c318 diffs |= p_ext->chain ^ skb_ext->chain;
435 * SKB to the chain.
/linux-master/net/bridge/netfilter/
H A Debtables.c223 /* base for chain jumps */
263 if (WARN(sp == 0, "RETURN on base chain")) {
293 if (WARN(chaininfo->distinguisher, "jump to non-chain\n")) {
520 /* check if all valid hooks have a chain */
544 /* beginning of a new chain
545 * if i == NF_BR_NUMHOOKS it must be a user defined chain
548 /* this checks if the previous chain has as many entries
561 if (i == NF_BR_NUMHOOKS) /* it's a user defined chain */
591 * entries is a jump to the beginning of a new chain.
599 /* we're only interested in chain start
800 check_chainloops(const struct ebt_entries *chain, struct ebt_cl_stack *cl_s, unsigned int udc_cnt, unsigned int hooknr, char *base) argument
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_vma.c515 &work->base.chain,
547 * Note we only want to chain up to the migration fence on
557 __i915_sw_fence_await_dma_fence(&work->base.chain,
2146 if (i915_sw_fence_await_active(&vma->resource->chain, &vma->active,
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_priv.h103 * chunk is used as TMA for user-mode trap handler setup in daisy-chain mode.
1376 uint64_t ib, size_t ib_size_in_dwords, bool chain);
/linux-master/drivers/dma-buf/
H A Dst-dma-fence-chain.c9 #include <linux/dma-fence-chain.h>
79 struct dma_fence *f, *chain; local
86 chain = mock_chain(NULL, f, 1);
87 if (chain)
88 dma_fence_enable_sw_signaling(chain);
95 dma_fence_put(chain);
280 pr_err("Incorrect chain-fence.seqno:%lld reported for completed seqno:1\n",
318 * We signaled the middle fence (2) of the 1-2-3 chain. The behavior
319 * of the dma-fence-chain is to make us wait for all the fences up to
322 * collected during the traversal of the chain)
[all...]
/linux-master/include/linux/
H A Dskbuff.h318 /* Chain in tc_skb_ext will be used to share the tc chain with
319 * ovs recirc_id. It will be set to the current chain by tc
325 __u32 chain; member in union:tc_skb_ext::__anon70

Completed in 1260 milliseconds

1234567891011>>