Searched refs:chain (Results 1 - 25 of 279) sorted by relevance

1234567891011>>

/linux-master/fs/xfs/
H A Dxfs_hooks.c15 /* Initialize a notifier chain. */
18 struct xfs_hooks *chain)
20 BLOCKING_INIT_NOTIFIER_HEAD(&chain->head);
26 struct xfs_hooks *chain,
32 return blocking_notifier_chain_register(&chain->head, &hook->nb);
38 struct xfs_hooks *chain,
41 blocking_notifier_chain_unregister(&chain->head, &hook->nb);
47 struct xfs_hooks *chain,
51 return blocking_notifier_call_chain(&chain->head, val, priv);
17 xfs_hooks_init( struct xfs_hooks *chain) argument
25 xfs_hooks_add( struct xfs_hooks *chain, struct xfs_hook *hook) argument
37 xfs_hooks_del( struct xfs_hooks *chain, struct xfs_hook *hook) argument
46 xfs_hooks_call( struct xfs_hooks *chain, unsigned long val, void *priv) argument
H A Dxfs_hooks.h40 void xfs_hooks_init(struct xfs_hooks *chain);
41 int xfs_hooks_add(struct xfs_hooks *chain, struct xfs_hook *hook);
42 void xfs_hooks_del(struct xfs_hooks *chain, struct xfs_hook *hook);
43 int xfs_hooks_call(struct xfs_hooks *chain, unsigned long action,
61 # define xfs_hooks_init(chain) ((void)0)
62 # define xfs_hooks_call(chain, val, priv) (NOTIFY_DONE)
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_chain.c10 static void qed_chain_init(struct qed_chain *chain, argument
14 memset(chain, 0, sizeof(*chain));
16 chain->elem_size = params->elem_size;
17 chain->intended_use = params->intended_use;
18 chain->mode = params->mode;
19 chain->cnt_type = params->cnt_type;
21 chain->elem_per_page = ELEMS_PER_PAGE(params->elem_size,
23 chain->usable_per_page = USABLE_ELEMS_PER_PAGE(params->elem_size,
26 chain
46 qed_chain_init_next_ptr_elem(const struct qed_chain *chain, void *virt_curr, void *virt_next, dma_addr_t phys_next) argument
60 qed_chain_init_mem(struct qed_chain *chain, void *virt_addr, dma_addr_t phys_addr) argument
67 qed_chain_free_next_ptr(struct qed_dev *cdev, struct qed_chain *chain) argument
95 qed_chain_free_single(struct qed_dev *cdev, struct qed_chain *chain) argument
105 qed_chain_free_pbl(struct qed_dev *cdev, struct qed_chain *chain) argument
138 qed_chain_free(struct qed_dev *cdev, struct qed_chain *chain) argument
198 qed_chain_alloc_next_ptr(struct qed_dev *cdev, struct qed_chain *chain) argument
232 qed_chain_alloc_single(struct qed_dev *cdev, struct qed_chain *chain) argument
249 qed_chain_alloc_pbl(struct qed_dev *cdev, struct qed_chain *chain) argument
320 qed_chain_alloc(struct qed_dev *cdev, struct qed_chain *chain, struct qed_chain_init_params *params) argument
[all...]
/linux-master/drivers/s390/cio/
H A Dcrw.c66 unsigned int chain; local
73 chain = 0;
77 if (unlikely(chain > 1)) {
90 "chain\n", __func__, chain);
93 chain = tmp_crw.chn ? chain + 1 : 0;
96 ccode = stcrw(&crw[chain]);
101 crw[chain].slct, crw[chain]
[all...]
H A Dvfio_ccw_cp.c34 /* Guest physical address of the current chain. */
36 /* Count of the valid ccws in chain. */
294 * @head: address of the beginning of a CCW chain
295 * @len: number of CCWs within the chain
297 * Determine whether the address of a CCW (whether a new chain,
320 struct ccwchain *chain; local
322 chain = kzalloc(sizeof(*chain), GFP_KERNEL);
323 if (!chain)
326 chain
344 ccwchain_free(struct ccwchain *chain) argument
353 ccwchain_cda_free(struct ccwchain *chain, int idx) argument
406 struct ccwchain *chain; local
425 struct ccwchain *chain; local
465 ccwchain_loop_tic(struct ccwchain *chain, struct channel_program *cp) argument
758 struct ccwchain *chain, *temp; local
813 struct ccwchain *chain; local
856 struct ccwchain *chain; local
903 struct ccwchain *chain; local
949 struct ccwchain *chain; local
[all...]
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_api_cmd.c49 #define MASKED_IDX(chain, idx) ((idx) & ((chain)->num_cells - 1))
89 static void set_prod_idx(struct hinic_api_cmd_chain *chain) argument
91 enum hinic_api_cmd_chain_type chain_type = chain->chain_type;
92 struct hinic_hwif *hwif = chain->hwif;
100 prod_idx |= HINIC_API_CMD_PI_SET(chain->prod_idx, IDX);
105 static u32 get_hw_cons_idx(struct hinic_api_cmd_chain *chain) argument
109 addr = HINIC_CSR_API_CMD_STATUS_ADDR(chain->chain_type);
110 val = hinic_hwif_read_reg(chain->hwif, addr);
115 static void dump_api_chain_reg(struct hinic_api_cmd_chain *chain) argument
141 chain_busy(struct hinic_api_cmd_chain *chain) argument
222 prepare_api_cmd(struct hinic_api_cmd_chain *chain, enum hinic_node_id dest, void *cmd, u16 cmd_size) argument
266 prepare_cell(struct hinic_api_cmd_chain *chain, enum hinic_node_id dest, void *cmd, u16 cmd_size) argument
277 cmd_chain_prod_idx_inc(struct hinic_api_cmd_chain *chain) argument
286 api_cmd_status_update(struct hinic_api_cmd_chain *chain) argument
319 wait_for_status_poll(struct hinic_api_cmd_chain *chain) argument
346 wait_for_api_cmd_completion(struct hinic_api_cmd_chain *chain) argument
380 api_cmd(struct hinic_api_cmd_chain *chain, enum hinic_node_id dest, u8 *cmd, u16 cmd_size) argument
418 hinic_api_cmd_write(struct hinic_api_cmd_chain *chain, enum hinic_node_id dest, u8 *cmd, u16 size) argument
434 api_cmd_hw_restart(struct hinic_api_cmd_chain *chain) argument
469 api_cmd_ctrl_init(struct hinic_api_cmd_chain *chain) argument
499 api_cmd_set_status_addr(struct hinic_api_cmd_chain *chain) argument
517 api_cmd_set_num_cells(struct hinic_api_cmd_chain *chain) argument
531 api_cmd_head_init(struct hinic_api_cmd_chain *chain) argument
549 api_cmd_chain_hw_clean(struct hinic_api_cmd_chain *chain) argument
572 api_cmd_chain_hw_init(struct hinic_api_cmd_chain *chain) argument
599 free_cmd_buf(struct hinic_api_cmd_chain *chain, int cell_idx) argument
620 alloc_cmd_buf(struct hinic_api_cmd_chain *chain, struct hinic_api_cmd_cell *cell, int cell_idx) argument
666 api_cmd_create_cell(struct hinic_api_cmd_chain *chain, int cell_idx, struct hinic_api_cmd_cell *pre_node, struct hinic_api_cmd_cell **node_vaddr) argument
725 api_cmd_destroy_cell(struct hinic_api_cmd_chain *chain, int cell_idx) argument
761 api_cmd_destroy_cells(struct hinic_api_cmd_chain *chain, int num_cells) argument
776 api_cmd_create_cells(struct hinic_api_cmd_chain *chain) argument
812 api_chain_init(struct hinic_api_cmd_chain *chain, struct hinic_api_cmd_chain_attr *attr) argument
849 api_chain_free(struct hinic_api_cmd_chain *chain) argument
869 struct hinic_api_cmd_chain *chain; local
913 api_cmd_destroy_chain(struct hinic_api_cmd_chain *chain) argument
927 hinic_api_cmd_init(struct hinic_api_cmd_chain **chain, struct hinic_hwif *hwif) argument
976 hinic_api_cmd_free(struct hinic_api_cmd_chain **chain) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.c29 * There is an internal table (i.e. the rtt) for each chain (or bank).
72 static void ar9003_hw_rtt_load_hist_entry(struct ath_hw *ah, u8 chain, argument
78 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_1_B(chain), val);
83 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), val);
87 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), val);
90 if (!ath9k_hw_wait(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain),
96 REG_WRITE(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain), val);
99 ath9k_hw_wait(ah, AR_PHY_RTT_TABLE_SW_INTF_B(chain),
106 int chain, i; local
108 for (chain
116 i, chain, ah->caldata->rtt_table[chain][i]); local
121 ar9003_hw_patch_rtt(struct ath_hw *ah, int index, int chain) argument
142 ar9003_hw_rtt_fill_hist_entry(struct ath_hw *ah, u8 chain, u32 index) argument
171 int chain, i; local
184 i, chain, ah->caldata->rtt_table[chain][i]); local
193 int chain, i; local
[all...]
/linux-master/drivers/dma-buf/
H A Ddma-fence-chain.c3 * fence-chain: chain fences together in a timeline
10 #include <linux/dma-fence-chain.h>
16 * @chain: chain node to get the previous node from
19 * chain node.
21 static struct dma_fence *dma_fence_chain_get_prev(struct dma_fence_chain *chain) argument
26 prev = dma_fence_get_rcu_safe(&chain->prev);
32 * dma_fence_chain_walk - chain walking function
33 * @fence: current chain nod
41 struct dma_fence_chain *chain, *prev_chain; local
92 struct dma_fence_chain *chain; local
124 struct dma_fence_chain *chain; local
137 struct dma_fence_chain *chain; local
180 struct dma_fence_chain *chain = to_dma_fence_chain(fence); local
241 dma_fence_chain_init(struct dma_fence_chain *chain, struct dma_fence *prev, struct dma_fence *fence, uint64_t seqno) argument
[all...]
H A Dst-dma-fence-unwrap.c9 #include <linux/dma-fence-chain.h>
98 struct dma_fence *f, *chain, *array; local
111 chain = mock_chain(NULL, array);
112 if (!chain)
115 dma_fence_put(chain);
165 struct dma_fence *fence, *f1, *f2, *chain; local
183 chain = mock_chain(f1, f2);
184 if (!chain)
187 dma_fence_unwrap_for_each(fence, &iter, chain) {
203 dma_fence_put(chain);
209 struct dma_fence *fence, *f1, *f2, *array, *chain; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c43 u32 chain; member in struct:fs_chain
55 u32 chain; member in struct:prio_key
68 struct fs_chain *chain; member in struct:prio
77 .key_offset = offsetof(struct fs_chain, chain),
78 .key_len = sizeof_field(struct fs_chain, chain),
153 u32 chain, u32 prio, u32 level)
164 sz = (chain == mlx5_chains_get_nf_ft_chain(chains)) ? FT_TBL_SZ : POOL_NEXT_SIZE;
173 /* The root table(chain 0, prio 1, level 0) is required to be
179 (chain == 0 && prio == 1 && level == 0)) {
183 mlx5_get_fdb_sub_ns(chains->dev, chain)
152 mlx5_chains_create_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
212 create_chain_restore(struct fs_chain *chain) argument
291 destroy_chain_restore(struct fs_chain *chain) argument
306 mlx5_chains_create_chain(struct mlx5_fs_chains *chains, u32 chain) argument
338 mlx5_chains_destroy_chain(struct fs_chain *chain) argument
350 mlx5_chains_get_chain(struct mlx5_fs_chains *chains, u32 chain) argument
368 mlx5_chains_add_miss_rule(struct fs_chain *chain, struct mlx5_flow_table *ft, struct mlx5_flow_table *next_ft) argument
399 struct fs_chain *chain = prio->chain; local
453 mlx5_chains_put_chain(struct fs_chain *chain) argument
460 mlx5_chains_create_prio(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
581 struct fs_chain *chain = prio->chain; local
597 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
650 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, u32 level) argument
691 u32 chain, prio, level; local
784 mlx5_chains_get_chain_mapping(struct mlx5_fs_chains *chains, u32 chain, u32 *chain_mapping) argument
[all...]
H A Dfs_chains.h43 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
46 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
59 mlx5_chains_get_chain_mapping(struct mlx5_fs_chains *chains, u32 chain,
82 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, argument
85 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, argument
/linux-master/net/netfilter/
H A Dnft_immediate.c74 struct nft_chain *chain = priv->data.verdict.chain; local
79 err = nf_tables_bind_chain(ctx, chain);
101 struct nft_chain *chain; local
108 chain = data->verdict.chain;
109 if (!nft_chain_binding(chain))
113 chain_ctx.chain = chain;
115 list_for_each_entry(rule, &chain
128 nft_immediate_chain_deactivate(const struct nft_ctx *ctx, struct nft_chain *chain, enum nft_trans_phase phase) argument
148 struct nft_chain *chain; local
193 struct nft_chain *chain; local
[all...]
H A Dnf_tables_offload.c264 static int nft_flow_offload_cmd(const struct nft_chain *chain, argument
273 if (!nft_is_base_chain(chain))
276 basechain = nft_base_chain(chain);
284 static int nft_flow_offload_rule(const struct nft_chain *chain, argument
291 return nft_flow_offload_cmd(chain, rule, flow, command, &cls_flow);
294 int nft_flow_rule_stats(const struct nft_chain *chain, argument
301 err = nft_flow_offload_cmd(chain, rule, NULL, FLOW_CLS_STATS,
327 struct nft_chain *chain; local
330 chain = &basechain->chain;
383 nft_block_offload_cmd(struct nft_base_chain *chain, struct net_device *dev, enum flow_block_command cmd) argument
490 nft_flow_offload_chain(struct nft_chain *chain, u8 *ppolicy, enum flow_block_command cmd) argument
627 struct nft_chain *chain; local
663 struct nft_chain *chain; local
[all...]
/linux-master/include/linux/
H A Ddma-fence-chain.h3 * fence-chain: chain fences together in a timeline
18 * struct dma_fence_chain - fence to represent an node of a fence chain
20 * @prev: previous fence of the chain
35 * complection of the fence chain. Never used at the same time
74 * inside the chain object, otherwise it returns the fence itself.
79 struct dma_fence_chain *chain = to_dma_fence_chain(fence); local
81 return chain ? chain->fence : fence;
94 * @chain
101 dma_fence_chain_free(struct dma_fence_chain *chain) argument
[all...]
/linux-master/drivers/crypto/marvell/cesa/
H A Dtdma.c51 writel_relaxed(dreq->chain.first->cur_dma,
62 for (tdma = dreq->chain.first; tdma;) {
75 dreq->chain.first = NULL;
76 dreq->chain.last = NULL;
84 for (tdma = dreq->chain.first; tdma; tdma = tdma->next) {
99 if (engine->chain.first == NULL && engine->chain.last == NULL) {
100 engine->chain.first = dreq->chain.first;
101 engine->chain
192 mv_cesa_dma_add_desc(struct mv_cesa_tdma_chain *chain, gfp_t flags) argument
215 mv_cesa_dma_add_result_op(struct mv_cesa_tdma_chain *chain, dma_addr_t src, u32 size, u32 flags, gfp_t gfp_flags) argument
249 mv_cesa_dma_add_op(struct mv_cesa_tdma_chain *chain, const struct mv_cesa_op_ctx *op_templ, bool skip_ctx, gfp_t flags) argument
281 mv_cesa_dma_add_data_transfer(struct mv_cesa_tdma_chain *chain, dma_addr_t dst, dma_addr_t src, u32 size, u32 flags, gfp_t gfp_flags) argument
301 mv_cesa_dma_add_dummy_launch(struct mv_cesa_tdma_chain *chain, gfp_t flags) argument
309 mv_cesa_dma_add_dummy_end(struct mv_cesa_tdma_chain *chain, gfp_t flags) argument
322 mv_cesa_dma_add_op_transfers(struct mv_cesa_tdma_chain *chain, struct mv_cesa_dma_iter *dma_iter, struct mv_cesa_sg_dma_iter *sgiter, gfp_t gfp_flags) argument
[all...]
/linux-master/net/batman-adv/
H A Dfragmentation.c31 * batadv_frag_clear_chain() - delete entries in the fragment buffer chain
32 * @head: head of chain with entries.
33 * @dropped: whether the chain is cleared because all fragments are dropped
62 struct batadv_frag_table_entry *chain; local
66 chain = &orig_node->fragments[i];
67 spin_lock_bh(&chain->lock);
69 if (!check_cb || check_cb(chain)) {
70 batadv_frag_clear_chain(&chain->fragment_list, true);
71 chain->size = 0;
74 spin_unlock_bh(&chain
106 batadv_frag_init_chain(struct batadv_frag_table_entry *chain, u16 seqno) argument
140 struct batadv_frag_table_entry *chain; local
247 batadv_frag_merge_packets(struct hlist_head *chain) argument
[all...]
/linux-master/kernel/
H A Dcpu_pm.c22 struct raw_notifier_head chain; member in struct:__anon4563
25 .chain = RAW_NOTIFIER_INIT(cpu_pm_notifier.chain),
34 ret = raw_notifier_call_chain(&cpu_pm_notifier.chain, event, NULL);
46 ret = raw_notifier_call_chain_robust(&cpu_pm_notifier.chain, event_up, event_down, NULL);
67 ret = raw_notifier_chain_register(&cpu_pm_notifier.chain, nb);
87 ret = raw_notifier_chain_unregister(&cpu_pm_notifier.chain, nb);
/linux-master/tools/testing/selftests/net/forwarding/
H A Dtc_chains.sh38 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
45 check_fail $? "matched on filter in unreachable chain"
47 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
50 log_test "unreachable chain ($tcflags)"
57 tc filter add dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
62 $tcflags dst_mac $h2mac action goto chain 1
71 check_err $? "Did not match on correct filter with goto chain action"
74 check_err $? "Did not match on correct filter in chain 1"
78 tc filter del dev $h2 ingress chain 1 protocol ip pref 1 handle 1101 \
81 log_test "gact goto chain (
[all...]
/linux-master/drivers/media/usb/uvc/
H A Duvc_entity.c17 static int uvc_mc_create_links(struct uvc_video_chain *chain, argument
39 remote = uvc_entity_by_id(chain->dev, entity->baSourceID[i]);
70 static int uvc_mc_init_entity(struct uvc_video_chain *chain, argument
122 ret = v4l2_device_register_subdev(&chain->dev->vdev,
135 int uvc_mc_register_entities(struct uvc_video_chain *chain) argument
140 list_for_each_entry(entity, &chain->entities, chain) {
141 ret = uvc_mc_init_entity(chain, entity);
143 dev_info(&chain->dev->udev->dev,
150 list_for_each_entry(entity, &chain
[all...]
H A Duvc_ctrl.c933 static struct uvc_control *uvc_find_control(struct uvc_video_chain *chain, argument
946 list_for_each_entry(entity, &chain->entities, chain) {
953 uvc_dbg(chain->dev, CONTROL, "Control 0x%08x not found\n",
959 static int uvc_ctrl_populate_cache(struct uvc_video_chain *chain, argument
965 ret = uvc_query_ctrl(chain->dev, UVC_GET_DEF, ctrl->entity->id,
966 chain->dev->intfnum, ctrl->info.selector,
974 ret = uvc_query_ctrl(chain->dev, UVC_GET_MIN, ctrl->entity->id,
975 chain->dev->intfnum, ctrl->info.selector,
982 ret = uvc_query_ctrl(chain
1042 __uvc_ctrl_load_cur(struct uvc_video_chain *chain, struct uvc_control *ctrl) argument
1078 __uvc_ctrl_get(struct uvc_video_chain *chain, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, s32 *value) argument
1098 __uvc_query_v4l2_class(struct uvc_video_chain *chain, u32 req_id, u32 found_id) argument
1122 uvc_query_v4l2_class(struct uvc_video_chain *chain, u32 req_id, u32 found_id, struct v4l2_queryctrl *v4l2_ctrl) argument
1151 uvc_ctrl_is_accessible(struct uvc_video_chain *chain, u32 v4l2_id, const struct v4l2_ext_controls *ctrls, unsigned long ioctl) argument
1236 __uvc_query_v4l2_ctrl(struct uvc_video_chain *chain, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, struct v4l2_queryctrl *v4l2_ctrl) argument
1340 uvc_query_v4l2_ctrl(struct uvc_video_chain *chain, struct v4l2_queryctrl *v4l2_ctrl) argument
1391 uvc_query_v4l2_menu(struct uvc_video_chain *chain, struct v4l2_querymenu *query_menu) argument
1461 uvc_ctrl_fill_event(struct uvc_video_chain *chain, struct v4l2_event *ev, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, s32 value, u32 changes) argument
1491 uvc_ctrl_send_event(struct uvc_video_chain *chain, struct uvc_fh *handle, struct uvc_control *ctrl, struct uvc_control_mapping *mapping, s32 value, u32 changes) argument
1517 uvc_ctrl_send_slave_event(struct uvc_video_chain *chain, struct uvc_fh *handle, struct uvc_control *master, u32 slave_id) argument
1535 uvc_ctrl_status_event(struct uvc_video_chain *chain, struct uvc_control *ctrl, const u8 *data) argument
1590 uvc_ctrl_status_event_async(struct urb *urb, struct uvc_video_chain *chain, struct uvc_control *ctrl, const u8 *data) argument
1761 uvc_ctrl_begin(struct uvc_video_chain *chain) argument
1844 struct uvc_video_chain *chain = handle->chain; local
1869 uvc_ctrl_get(struct uvc_video_chain *chain, struct v4l2_ext_control *xctrl) argument
1888 struct uvc_video_chain *chain = handle->chain; local
2167 uvc_xu_ctrl_query(struct uvc_video_chain *chain, struct uvc_xu_control_query *xqry) argument
2365 __uvc_ctrl_add_mapping(struct uvc_video_chain *chain, struct uvc_control *ctrl, const struct uvc_control_mapping *mapping) argument
2439 uvc_ctrl_add_mapping(struct uvc_video_chain *chain, const struct uvc_control_mapping *mapping) argument
2591 uvc_ctrl_init_ctrl(struct uvc_video_chain *chain, struct uvc_control *ctrl) argument
2676 uvc_ctrl_init_chain(struct uvc_video_chain *chain) argument
2734 struct uvc_video_chain *chain; local
[all...]
/linux-master/drivers/gpu/drm/i915/
H A Di915_sw_fence_work.h28 struct i915_sw_fence chain; member in struct:dma_fence_work
45 i915_sw_fence_commit(&f->chain);
61 if (atomic_read(&f->chain.pending) <= 1)
/linux-master/net/sched/
H A Dcls_api.c54 const struct tcf_chain *chain; member in struct:tcf_exts_miss_cookie_node
91 n->chain_index = tp->chain->index;
92 n->chain = tp->chain;
174 return jhash_3words(tp->chain->index, tp->prio,
178 static void tcf_proto_signal_destroying(struct tcf_chain *chain, argument
181 struct tcf_block *block = chain->block;
192 return tp1->chain->index == tp2->chain->index &&
197 static bool tcf_proto_exists_destroying(struct tcf_chain *chain, argument
218 tcf_proto_signal_destroyed(struct tcf_chain *chain, struct tcf_proto *tp) argument
372 tcf_proto_create(const char *kind, u32 protocol, u32 prio, struct tcf_chain *chain, bool rtnl_held, struct netlink_ext_ack *extack) argument
508 struct tcf_chain *chain; local
532 tcf_chain0_head_change(struct tcf_chain *chain, struct tcf_proto *tp_head) argument
549 tcf_chain_detach(struct tcf_chain *chain) argument
574 tcf_chain_destroy(struct tcf_chain *chain, bool free_block) argument
584 tcf_chain_hold(struct tcf_chain *chain) argument
591 tcf_chain_held_by_acts_only(struct tcf_chain *chain) argument
604 struct tcf_chain *chain; local
619 struct tcf_chain *chain; local
637 struct tcf_chain *chain = NULL; local
692 __tcf_chain_put(struct tcf_chain *chain, bool by_act, bool explicitly_created) argument
740 tcf_chain_put(struct tcf_chain *chain) argument
745 tcf_chain_put_by_act(struct tcf_chain *chain) argument
751 tcf_chain_put_explicitly_created(struct tcf_chain *chain) argument
756 tcf_chain_flush(struct tcf_chain *chain, bool rtnl_held) argument
1072 __tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) argument
1104 tcf_get_next_chain(struct tcf_block *block, struct tcf_chain *chain) argument
1116 __tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp) argument
1157 tcf_get_next_proto(struct tcf_chain *chain, struct tcf_proto *tp) argument
1170 struct tcf_chain *chain; local
1588 struct tcf_chain *chain, *chain_prev; local
1898 tcf_chain_tp_prev(struct tcf_chain *chain, struct tcf_chain_info *chain_info) argument
1904 tcf_chain_tp_insert(struct tcf_chain *chain, struct tcf_chain_info *chain_info, struct tcf_proto *tp) argument
1920 tcf_chain_tp_remove(struct tcf_chain *chain, struct tcf_chain_info *chain_info, struct tcf_proto *tp) argument
1942 tcf_chain_tp_insert_unique(struct tcf_chain *chain, struct tcf_proto *tp_new, u32 protocol, u32 prio, bool rtnl_held) argument
1976 tcf_chain_tp_delete_empty(struct tcf_chain *chain, struct tcf_proto *tp, bool rtnl_held, struct netlink_ext_ack *extack) argument
2017 tcf_chain_tp_find(struct tcf_chain *chain, struct tcf_chain_info *chain_info, u32 protocol, u32 prio, bool prio_allocate) argument
2182 tfilter_notify_chain(struct net *net, struct sk_buff *oskb, struct tcf_block *block, struct Qdisc *q, u32 parent, struct nlmsghdr *n, struct tcf_chain *chain, int event, struct netlink_ext_ack *extack) argument
2221 struct tcf_chain *chain; local
2455 struct tcf_chain *chain = NULL; local
2611 struct tcf_chain *chain = NULL; local
2741 tcf_chain_dump(struct tcf_chain *chain, struct Qdisc *q, u32 parent, struct sk_buff *skb, struct netlink_callback *cb, long index_start, long *p_index, bool terse) argument
2810 struct tcf_chain *chain, *chain_prev; local
2968 tc_chain_notify(struct tcf_chain *chain, struct sk_buff *oskb, u32 seq, u16 flags, int event, bool unicast, struct netlink_ext_ack *extack) argument
3026 tc_chain_tmplt_add(struct tcf_chain *chain, struct net *net, struct nlattr **tca, struct netlink_ext_ack *extack) argument
3085 struct tcf_chain *chain; local
3215 struct tcf_chain *chain; local
[all...]
/linux-master/include/linux/qed/
H A Dqed_chain.h36 /* The chain's size/prod/cons are kept in 16-bit variables */
39 /* The chain's size/prod/cons are kept in 32-bit variables */
76 /* Fastpath portion of the chain - required for commands such
88 * chain pages, respectively to the physical addresses
120 /* Slowpath of the chain - required for initialization and destruction,
133 /* Address of first page of the chain - the address is required
140 /* Total number of elements [for entire chain] */
186 static inline u16 qed_chain_get_prod_idx(const struct qed_chain *chain) argument
188 return chain->u.chain16.prod_idx;
191 static inline u16 qed_chain_get_cons_idx(const struct qed_chain *chain) argument
196 qed_chain_get_prod_idx_u32(const struct qed_chain *chain) argument
201 qed_chain_get_cons_idx_u32(const struct qed_chain *chain) argument
206 qed_chain_get_elem_used(const struct qed_chain *chain) argument
223 qed_chain_get_elem_left(const struct qed_chain *chain) argument
228 qed_chain_get_elem_used_u32(const struct qed_chain *chain) argument
245 qed_chain_get_elem_left_u32(const struct qed_chain *chain) argument
250 qed_chain_get_usable_per_page(const struct qed_chain *chain) argument
255 qed_chain_get_unusable_per_page(const struct qed_chain *chain) argument
260 qed_chain_get_page_cnt(const struct qed_chain *chain) argument
265 qed_chain_get_pbl_phys(const struct qed_chain *chain) argument
[all...]
/linux-master/tools/testing/selftests/drivers/net/ocelot/
H A Dtc_flower_chains.sh19 # Helpers to map a VCAP IS1 and VCAP IS2 lookup and policy to a chain number
93 # separate chain number. For correct rule offloading, it is mandatory that each
97 # A chain can only be used if there is a GOTO action correctly set up from the
117 tc filter add dev $eth ingress chain 0 pref 49152 flower \
118 skip_sw action goto chain $(IS1 0)
119 tc filter add dev $eth ingress chain $(IS1 0) pref 49152 \
120 flower skip_sw action goto chain $(IS1 1)
121 tc filter add dev $eth ingress chain $(IS1 1) pref 49152 \
122 flower skip_sw action goto chain $(IS1 2)
123 tc filter add dev $eth ingress chain
[all...]
/linux-master/fs/minix/
H A Ditree_common.c33 Indirect chain[DEPTH],
37 Indirect *p = chain;
42 add_chain (chain, NULL, i_data(inode) + *offsets);
50 if (!verify_chain(chain, p))
116 Indirect chain[DEPTH],
125 if (!verify_chain(chain, where-1) || *where->p)
157 Indirect chain[DEPTH]; local
166 partial = get_branch(inode, depth, offsets, chain, &err);
171 map_bh(bh, inode->i_sb, block_to_cpu(chain[depth-1].key));
173 partial = chain
30 get_branch(struct inode *inode, int depth, int *offsets, Indirect chain[DEPTH], int *err) argument
115 splice_branch(struct inode *inode, Indirect chain[DEPTH], Indirect *where, int num) argument
223 find_shared(struct inode *inode, int depth, int offsets[DEPTH], Indirect chain[DEPTH], block_t *top) argument
305 Indirect chain[DEPTH]; local
[all...]

Completed in 263 milliseconds

1234567891011>>