Home
last modified time | relevance | path

Searched defs:chain (Results 1 – 25 of 86) sorted by relevance

1234

/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_hw_api_cmd.c49 #define MASKED_IDX(chain, idx) ((idx) & ((chain)->num_cells - 1)) argument
89 static void set_prod_idx(struct hinic_api_cmd_chain *chain) in set_prod_idx()
105 static u32 get_hw_cons_idx(struct hinic_api_cmd_chain *chain) in get_hw_cons_idx()
115 static void dump_api_chain_reg(struct hinic_api_cmd_chain *chain) in dump_api_chain_reg()
141 static int chain_busy(struct hinic_api_cmd_chain *chain) in chain_busy()
222 static void prepare_api_cmd(struct hinic_api_cmd_chain *chain, in prepare_api_cmd()
266 static void prepare_cell(struct hinic_api_cmd_chain *chain, in prepare_cell()
277 static inline void cmd_chain_prod_idx_inc(struct hinic_api_cmd_chain *chain) in cmd_chain_prod_idx_inc()
286 static void api_cmd_status_update(struct hinic_api_cmd_chain *chain) in api_cmd_status_update()
319 static int wait_for_status_poll(struct hinic_api_cmd_chain *chain) in wait_for_status_poll()
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_chain.c10 static void qed_chain_init(struct qed_chain *chain, in qed_chain_init()
46 static void qed_chain_init_next_ptr_elem(const struct qed_chain *chain, in qed_chain_init_next_ptr_elem()
60 static void qed_chain_init_mem(struct qed_chain *chain, void *virt_addr, in qed_chain_init_mem()
68 struct qed_chain *chain) in qed_chain_free_next_ptr()
96 struct qed_chain *chain) in qed_chain_free_single()
105 static void qed_chain_free_pbl(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_free_pbl()
138 void qed_chain_free(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_free()
199 struct qed_chain *chain) in qed_chain_alloc_next_ptr()
233 struct qed_chain *chain) in qed_chain_alloc_single()
249 static int qed_chain_alloc_pbl(struct qed_dev *cdev, struct qed_chain *chain) in qed_chain_alloc_pbl()
[all …]
H A Dqed_sp.h148 struct qed_chain chain; member
154 struct qed_chain chain; member
178 struct qed_chain chain; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c43 u32 chain; member
55 u32 chain; member
68 struct fs_chain *chain; member
153 u32 chain, u32 prio, u32 level) in mlx5_chains_create_table()
218 create_chain_restore(struct fs_chain *chain) in create_chain_restore()
297 static void destroy_chain_restore(struct fs_chain *chain) in destroy_chain_restore()
312 mlx5_chains_create_chain(struct mlx5_fs_chains *chains, u32 chain) in mlx5_chains_create_chain()
344 mlx5_chains_destroy_chain(struct fs_chain *chain) in mlx5_chains_destroy_chain()
356 mlx5_chains_get_chain(struct mlx5_fs_chains *chains, u32 chain) in mlx5_chains_get_chain()
374 mlx5_chains_add_miss_rule(struct fs_chain *chain, in mlx5_chains_add_miss_rule()
[all …]
H A Dfs_chains.h82 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, in mlx5_chains_get_table()
85 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio, in mlx5_chains_put_table()
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_rtt.c72 static void ar9003_hw_rtt_load_hist_entry(struct ath_hw *ah, u8 chain, in ar9003_hw_rtt_load_hist_entry()
106 int chain, i; in ar9003_hw_rtt_load_hist() local
121 static void ar9003_hw_patch_rtt(struct ath_hw *ah, int index, int chain) in ar9003_hw_patch_rtt()
142 static int ar9003_hw_rtt_fill_hist_entry(struct ath_hw *ah, u8 chain, u32 index) in ar9003_hw_rtt_fill_hist_entry()
171 int chain, i; in ar9003_hw_rtt_fill_hist() local
193 int chain, i; in ar9003_hw_rtt_clear_hist() local
H A Dar9003_paprd.c305 static unsigned int ar9003_get_desired_gain(struct ath_hw *ah, int chain, in ar9003_get_desired_gain()
753 int chain) in ar9003_paprd_populate_single_table()
799 void ar9003_paprd_setup_gain_table(struct ath_hw *ah, int chain) in ar9003_paprd_setup_gain_table()
822 int chain) in ar9003_paprd_retrain_pa_in()
917 struct ath9k_hw_cal_data *caldata, int chain) in ar9003_paprd_create_curve()
H A Dlink.c182 int chain; in ath_paprd_activate() local
201 static bool ath_paprd_send_frame(struct ath_softc *sc, struct sk_buff *skb, int chain) in ath_paprd_send_frame()
252 int chain; in ath_paprd_calibrate() local
/linux/drivers/s390/cio/
H A Dvfio_ccw_cp.c321 struct ccwchain *chain; in ccwchain_alloc() local
346 static void ccwchain_free(struct ccwchain *chain) in ccwchain_free()
355 static void ccwchain_cda_free(struct ccwchain *chain, int idx) in ccwchain_cda_free()
401 struct ccwchain *chain; in tic_target_chain_exists() local
420 struct ccwchain *chain; in ccwchain_handle_ccw() local
461 static int ccwchain_loop_tic(struct ccwchain *chain, struct channel_program *cp) in ccwchain_loop_tic()
487 struct ccwchain *chain, *temp; in ccwchain_build_ccws() local
789 struct ccwchain *chain, *temp; in cp_free() local
844 struct ccwchain *chain; in cp_prefetch() local
887 struct ccwchain *chain; in cp_get_orb() local
[all …]
/linux/include/linux/qed/
H A Dqed_chain.h186 static inline u16 qed_chain_get_prod_idx(const struct qed_chain *chain) in qed_chain_get_prod_idx()
191 static inline u16 qed_chain_get_cons_idx(const struct qed_chain *chain) in qed_chain_get_cons_idx()
196 static inline u32 qed_chain_get_prod_idx_u32(const struct qed_chain *chain) in qed_chain_get_prod_idx_u32()
201 static inline u32 qed_chain_get_cons_idx_u32(const struct qed_chain *chain) in qed_chain_get_cons_idx_u32()
206 static inline u16 qed_chain_get_elem_used(const struct qed_chain *chain) in qed_chain_get_elem_used()
223 static inline u16 qed_chain_get_elem_left(const struct qed_chain *chain) in qed_chain_get_elem_left()
228 static inline u32 qed_chain_get_elem_used_u32(const struct qed_chain *chain) in qed_chain_get_elem_used_u32()
245 static inline u32 qed_chain_get_elem_left_u32(const struct qed_chain *chain) in qed_chain_get_elem_left_u32()
250 static inline u16 qed_chain_get_usable_per_page(const struct qed_chain *chain) in qed_chain_get_usable_per_page()
255 static inline u8 qed_chain_get_unusable_per_page(const struct qed_chain *chain) in qed_chain_get_unusable_per_page()
[all …]
/linux/net/sched/
H A Dcls_api.c54 const struct tcf_chain *chain; member
178 static void tcf_proto_signal_destroying(struct tcf_chain *chain, in tcf_proto_signal_destroying() argument
197 static bool tcf_proto_exists_destroying(struct tcf_chain *chain, in tcf_proto_exists_destroying() argument
218 tcf_proto_signal_destroyed(struct tcf_chain * chain,struct tcf_proto * tp) tcf_proto_signal_destroyed() argument
373 tcf_proto_create(const char * kind,u32 protocol,u32 prio,struct tcf_chain * chain,bool rtnl_held,struct netlink_ext_ack * extack) tcf_proto_create() argument
516 struct tcf_chain *chain; tcf_chain_create() local
540 tcf_chain0_head_change(struct tcf_chain * chain,struct tcf_proto * tp_head) tcf_chain0_head_change() argument
557 tcf_chain_detach(struct tcf_chain * chain) tcf_chain_detach() argument
582 tcf_chain_destroy(struct tcf_chain * chain,bool free_block) tcf_chain_destroy() argument
592 tcf_chain_hold(struct tcf_chain * chain) tcf_chain_hold() argument
599 tcf_chain_held_by_acts_only(struct tcf_chain * chain) tcf_chain_held_by_acts_only() argument
612 struct tcf_chain *chain; tcf_chain_lookup() local
627 struct tcf_chain *chain; tcf_chain_lookup_rcu() local
645 struct tcf_chain *chain = NULL; __tcf_chain_get() local
700 __tcf_chain_put(struct tcf_chain * chain,bool by_act,bool explicitly_created) __tcf_chain_put() argument
748 tcf_chain_put(struct tcf_chain * chain) tcf_chain_put() argument
753 tcf_chain_put_by_act(struct tcf_chain * chain) tcf_chain_put_by_act() argument
759 tcf_chain_put_explicitly_created(struct tcf_chain * chain) tcf_chain_put_explicitly_created() argument
764 tcf_chain_flush(struct tcf_chain * chain,bool rtnl_held) tcf_chain_flush() argument
1080 __tcf_get_next_chain(struct tcf_block * block,struct tcf_chain * chain) __tcf_get_next_chain() argument
1112 tcf_get_next_chain(struct tcf_block * block,struct tcf_chain * chain) tcf_get_next_chain() argument
1124 __tcf_get_next_proto(struct tcf_chain * chain,struct tcf_proto * tp) __tcf_get_next_proto() argument
1165 tcf_get_next_proto(struct tcf_chain * chain,struct tcf_proto * tp) tcf_get_next_proto() argument
1178 struct tcf_chain *chain; tcf_block_flush_all_chains() local
1597 struct tcf_chain *chain, *chain_prev; tcf_block_playback_offloads() local
1907 tcf_chain_tp_prev(struct tcf_chain * chain,struct tcf_chain_info * chain_info) tcf_chain_tp_prev() argument
1913 tcf_chain_tp_insert(struct tcf_chain * chain,struct tcf_chain_info * chain_info,struct tcf_proto * tp) tcf_chain_tp_insert() argument
1929 tcf_chain_tp_remove(struct tcf_chain * chain,struct tcf_chain_info * chain_info,struct tcf_proto * tp) tcf_chain_tp_remove() argument
1952 tcf_chain_tp_insert_unique(struct tcf_chain * chain,struct tcf_proto * tp_new,u32 protocol,u32 prio,bool rtnl_held) tcf_chain_tp_insert_unique() argument
1985 tcf_chain_tp_delete_empty(struct tcf_chain * chain,struct tcf_proto * tp,bool rtnl_held,struct netlink_ext_ack * extack) tcf_chain_tp_delete_empty() argument
2026 tcf_chain_tp_find(struct tcf_chain * chain,struct tcf_chain_info * chain_info,u32 protocol,u32 prio,bool prio_allocate,struct netlink_ext_ack * extack) tcf_chain_tp_find() argument
2224 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) tfilter_notify_chain() argument
2271 struct tcf_chain *chain; tc_new_tfilter() local
2508 struct tcf_chain *chain = NULL; tc_del_tfilter() local
2667 struct tcf_chain *chain = NULL; tc_get_tfilter() local
2800 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) tcf_chain_dump() argument
2869 struct tcf_chain *chain, *chain_prev; tc_dump_tfilter() local
3028 tc_chain_notify(struct tcf_chain * chain,struct sk_buff * oskb,u32 seq,u16 flags,int event,bool unicast,struct netlink_ext_ack * extack) tc_chain_notify() argument
3086 tc_chain_tmplt_add(struct tcf_chain * chain,struct net * net,struct nlattr ** tca,struct netlink_ext_ack * extack) tc_chain_tmplt_add() argument
3145 struct tcf_chain *chain; tc_ctl_chain() local
3275 struct tcf_chain *chain; tc_dump_chain() local
[all...]
/linux/net/netfilter/
H A Dnf_tables_offload.c268 static int nft_flow_offload_cmd(const struct nft_chain *chain, in nft_flow_offload_cmd()
288 static int nft_flow_offload_rule(const struct nft_chain *chain, in nft_flow_offload_rule()
298 int nft_flow_rule_stats(const struct nft_chain *chain, in nft_flow_rule_stats()
331 struct nft_chain *chain; in nft_flow_offload_unbind() local
387 static int nft_block_offload_cmd(struct nft_base_chain *chain, in nft_block_offload_cmd()
497 static int nft_flow_offload_chain(struct nft_chain *chain, u8 *ppolicy, in nft_flow_offload_chain()
634 struct nft_chain *chain; in __nft_offload_get_chain() local
670 struct nft_chain *chain; in nft_offload_netdev_event() local
H A Dnf_tables_api.c127 const struct nft_chain *chain) in nft_chain_vstate_valid() argument
159 struct nft_chain *chain, in nft_ctx_init() argument
261 struct nft_chain *chain, boo in __nft_chain_trans_bind() argument
286 nft_chain_trans_bind(const struct nft_ctx * ctx,struct nft_chain * chain) nft_chain_trans_bind() argument
291 nf_tables_bind_chain(const struct nft_ctx * ctx,struct nft_chain * chain) nf_tables_bind_chain() argument
311 nf_tables_unbind_chain(const struct nft_ctx * ctx,struct nft_chain * chain) nf_tables_unbind_chain() argument
427 nf_tables_register_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain) nf_tables_register_hook() argument
450 __nf_tables_unregister_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain,bool release_netdev) __nf_tables_unregister_hook() argument
479 nf_tables_unregister_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain) nf_tables_unregister_hook() argument
1351 struct nft_chain *chain; nft_table_disable() local
1369 struct nft_chain *chain; nf_tables_table_enable() local
1505 const struct nft_chain *chain = data; nft_chain_hash_obj() local
1513 const struct nft_chain *chain = ptr; nft_chain_hash_cmp() local
1674 struct nft_chain *chain, *nc; nft_flush_table() local
1859 struct nft_chain *chain; nft_chain_lookup_byhandle() local
1887 struct nft_chain *chain; nft_chain_lookup() local
2094 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,const struct list_head * trans_hook_list) nf_tables_fill_chain_info() argument
2203 const struct nft_chain *chain; nf_tables_dump_chains() local
2248 const struct nft_chain *chain; nf_tables_getchain() local
2331 struct nft_base_chain *chain = nft_base_chain(trans->chain); nft_chain_stats_replace() local
2344 nf_tables_chain_free_chain_rules(struct nft_chain * chain) nf_tables_chain_free_chain_rules() argument
2358 nf_tables_chain_destroy(struct nft_chain * chain) nf_tables_chain_destroy() argument
2652 nft_last_rule(const struct nft_chain * chain,const void * ptr) nft_last_rule() argument
2664 nf_tables_chain_alloc_rules(const struct nft_chain * chain,unsigned int size) nf_tables_chain_alloc_rules() argument
2686 nft_basechain_hook_init(struct nf_hook_ops * ops,u8 family,const struct nft_chain_hook * hook,struct nft_chain * chain) nft_basechain_hook_init() argument
2699 struct nft_chain *chain; nft_basechain_init() local
2729 nft_chain_add(struct nft_table * table,struct nft_chain * chain) nft_chain_add() argument
2755 struct nft_chain *chain; nf_tables_addchain() local
2898 struct nft_chain *chain = ctx->chain; nf_tables_updchain() local
3114 struct nft_chain *chain = NULL; nf_tables_newchain() local
3238 const struct nft_chain *chain = &basechain->chain; nft_delchain_hook() local
3298 struct nft_chain *chain; nf_tables_delchain() local
3727 __nft_rule_lookup(const struct net * net,const struct nft_chain * chain,u64 handle) __nft_rule_lookup() argument
3743 nft_rule_lookup(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup() argument
3772 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) nf_tables_fill_rule_info() argument
3885 char *chain; global() member
3893 __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) __nf_tables_dump_rules() argument
3942 const struct nft_chain *chain; nf_tables_dump_rules() local
4035 const struct nft_chain *chain; nf_tables_getrule_single() local
4143 nft_chain_vstate_update(const struct nft_ctx * ctx,struct nft_chain * chain) nft_chain_vstate_update() argument
4175 nft_chain_validate(const struct nft_ctx * ctx,struct nft_chain * chain) nft_chain_validate() argument
4222 struct nft_chain *chain; nft_table_validate() local
4324 struct nft_chain *chain; nf_tables_newrule() local
4549 nft_rule_lookup_byid(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup_byid() argument
4571 struct nft_chain *chain = NULL; nf_tables_delrule() local
7726 struct nft_chain *chain; nft_data_hold() local
10288 nf_tables_commit_chain_prepare(struct net * net,struct nft_chain * chain) nf_tables_commit_chain_prepare() argument
10371 struct nft_chain *chain = nft_trans_rule_chain(trans); nf_tables_commit_chain_prepare_cancel() local
10397 nf_tables_commit_chain(struct net * net,struct nft_chain * chain) nf_tables_commit_chain() argument
10451 nft_chain_del(struct nft_chain * chain) nft_chain_del() argument
10890 struct nft_chain *chain; nf_tables_commit() local
11534 nft_chain_validate_dependency(const struct nft_chain * chain,enum nft_chain_types type) nft_chain_validate_dependency() argument
11548 nft_chain_validate_hooks(const struct nft_chain * chain,unsigned int hook_flags) nft_chain_validate_hooks() argument
11753 struct nft_chain *chain; nft_verdict_init() local
11821 struct nft_chain *chain; nft_verdict_uninit() local
11989 struct nft_chain *chain; __nft_release_hook() local
12015 struct nft_chain *chain, *nc; __nft_release_table() local
[all...]
/linux/net/batman-adv/
H A Dfragmentation.c64 struct batadv_frag_table_entry *chain; in batadv_frag_purge_orig() local
108 static bool batadv_frag_init_chain(struct batadv_frag_table_entry *chain, in batadv_frag_init_chain()
147 struct batadv_frag_table_entry *chain; in batadv_frag_insert_packet() local
261 batadv_frag_merge_packets(struct hlist_head *chain) in batadv_frag_merge_packets()
/linux/tools/perf/ui/stdio/
H A Dhist.c55 struct callchain_list *chain, in ipchain__fprintf_graph()
119 struct callchain_list *chain; in __callchain__fprintf_graph() local
226 struct callchain_list *chain; in callchain__fprintf_graph() local
289 struct callchain_list *chain; in __callchain__fprintf_flat() local
314 struct callchain_node *chain; in callchain__fprintf_flat() local
337 struct callchain_list *chain; in __callchain__fprintf_folded() local
365 struct callchain_node *chain; in callchain__fprintf_folded() local
/linux/fs/xfs/
H A Dxfs_hooks.h61 # define xfs_hooks_init(chain) ((void)0) argument
62 # define xfs_hooks_call(chain, val, priv) (NOTIFY_DONE) argument
/linux/drivers/scsi/
H A Daha1542.h60 struct chain { struct
61 u8 datalen[3]; /* Size of this part of chain */ argument
62 u8 dataptr[3]; /* Location of data */
/linux/sound/
H A Dsound_core.c350 const int chain = unit % SOUND_STEP; in register_sound_special_device() local
519 static struct sound_unit *__look_for_unit(int chain, int unit) in __look_for_unit()
535 int chain; in soundcore_open() local
/linux/tools/perf/ui/browsers/
H A Dhists.c184 struct callchain_list *chain; callchain_node__count_rows_rb_tree() local
205 struct callchain_list *chain; callchain_node__count_flat_rows() local
239 struct callchain_list *chain; callchain_node__count_rows() local
260 callchain__count_rows(struct rb_root * chain) callchain__count_rows() argument
335 struct callchain_list *chain; callchain_node__init_have_children_rb_tree() local
355 struct callchain_list *chain; callchain_node__init_have_children() local
518 struct callchain_list *chain; callchain_node__set_folding_rb_tree() local
536 struct callchain_list *chain; callchain_node__set_folding() local
552 callchain__set_folding(struct rb_root * chain,bool unfold) callchain__set_folding() argument
790 hist_browser__show_callchain_entry(struct hist_browser * browser,struct callchain_list * chain,const char * str,int offset,unsigned short row,struct callchain_print_arg * arg) hist_browser__show_callchain_entry() argument
816 hist_browser__fprintf_callchain_entry(struct hist_browser * b __maybe_unused,struct callchain_list * chain,const char * str,int offset,unsigned short row __maybe_unused,struct callchain_print_arg * arg) hist_browser__fprintf_callchain_entry() argument
846 hist_browser__show_callchain_list(struct hist_browser * browser,struct callchain_node * node,struct callchain_list * chain,unsigned short row,u64 total,bool need_percent,int offset,print_callchain_entry_fn print,struct callchain_print_arg * arg) hist_browser__show_callchain_list() argument
927 struct callchain_list *chain; hist_browser__show_callchain_flat() local
988 hist_browser__folded_callchain_str(struct hist_browser * browser,struct callchain_list * chain,char * value_str,char * old_str) hist_browser__folded_callchain_str() argument
1031 struct callchain_list *chain, *first_chain = NULL; hist_browser__show_callchain_folded() local
1120 struct callchain_list *chain; hist_browser__show_callchain_graph() local
[all...]
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dregulatory.c263 for (int chain = 0; chain < ARRAY_SIZE(cmd.v7.gain); chain++) { in iwl_mld_ppag_send_cmd() local
281 for (int chain = 0; chain < ARRAY_SIZE(cmd.v8.gain); chain++) { in iwl_mld_ppag_send_cmd() local
/linux/tools/perf/ui/gtk/
H A Dhists.c105 struct callchain_list *chain; in perf_gtk__add_callchain_flat() local
167 struct callchain_list *chain; in perf_gtk__add_callchain_folded() local
228 struct callchain_list *chain; in perf_gtk__add_callchain_graph() local
/linux/drivers/crypto/intel/keembay/
H A Docs-hcu.c248 u32 *chain; in ocs_hcu_get_intermediate_data() local
291 u32 *chain = (u32 *)data->digest; in ocs_hcu_set_intermediate_data() local
310 u32 *chain; in ocs_hcu_get_digest() local
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Duefi.c486 for (int chain = 0; in iwl_uefi_set_sar_profile() local
662 for (int chain = 0; in iwl_uefi_get_wgds_table() local
732 for (int chain = 0; chain < UEFI_PPAG_NUM_CHAINS; chain++) { in iwl_uefi_get_ppag_table() local
/linux/drivers/gpu/drm/i915/
H A Di915_sw_fence_work.h28 struct i915_sw_fence chain; member
/linux/drivers/video/fbdev/via/
H A Dvia_aux.h24 struct list_head chain; /* chain to support multiple drivers */ member

1234