Home
last modified time | relevance | path

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

123

/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.c320 struct ccwchain *chain; in ccwchain_alloc() local
344 static void ccwchain_free(struct ccwchain *chain) in ccwchain_free()
353 static void ccwchain_cda_free(struct ccwchain *chain, int idx) in ccwchain_cda_free()
406 struct ccwchain *chain; in tic_target_chain_exists() local
425 struct ccwchain *chain; in ccwchain_handle_ccw() local
465 static int ccwchain_loop_tic(struct ccwchain *chain, struct channel_program *cp) in ccwchain_loop_tic()
759 struct ccwchain *chain, *temp; in cp_free() local
814 struct ccwchain *chain; in cp_prefetch() local
857 struct ccwchain *chain; in cp_get_orb() local
904 struct ccwchain *chain; in cp_update_scsw() 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
501 struct tcf_chain *chain; tcf_chain_create() local
525 tcf_chain0_head_change(struct tcf_chain * chain,struct tcf_proto * tp_head) tcf_chain0_head_change() argument
542 tcf_chain_detach(struct tcf_chain * chain) tcf_chain_detach() argument
567 tcf_chain_destroy(struct tcf_chain * chain,bool free_block) tcf_chain_destroy() argument
577 tcf_chain_hold(struct tcf_chain * chain) tcf_chain_hold() argument
584 tcf_chain_held_by_acts_only(struct tcf_chain * chain) tcf_chain_held_by_acts_only() argument
597 struct tcf_chain *chain; tcf_chain_lookup() local
612 struct tcf_chain *chain; tcf_chain_lookup_rcu() local
630 struct tcf_chain *chain = NULL; __tcf_chain_get() local
685 __tcf_chain_put(struct tcf_chain * chain,bool by_act,bool explicitly_created) __tcf_chain_put() argument
733 tcf_chain_put(struct tcf_chain * chain) tcf_chain_put() argument
738 tcf_chain_put_by_act(struct tcf_chain * chain) tcf_chain_put_by_act() argument
744 tcf_chain_put_explicitly_created(struct tcf_chain * chain) tcf_chain_put_explicitly_created() argument
749 tcf_chain_flush(struct tcf_chain * chain,bool rtnl_held) tcf_chain_flush() argument
1065 __tcf_get_next_chain(struct tcf_block * block,struct tcf_chain * chain) __tcf_get_next_chain() argument
1097 tcf_get_next_chain(struct tcf_block * block,struct tcf_chain * chain) tcf_get_next_chain() argument
1109 __tcf_get_next_proto(struct tcf_chain * chain,struct tcf_proto * tp) __tcf_get_next_proto() argument
1150 tcf_get_next_proto(struct tcf_chain * chain,struct tcf_proto * tp) tcf_get_next_proto() argument
1163 struct tcf_chain *chain; tcf_block_flush_all_chains() local
1582 struct tcf_chain *chain, *chain_prev; tcf_block_playback_offloads() local
1892 tcf_chain_tp_prev(struct tcf_chain * chain,struct tcf_chain_info * chain_info) tcf_chain_tp_prev() argument
1898 tcf_chain_tp_insert(struct tcf_chain * chain,struct tcf_chain_info * chain_info,struct tcf_proto * tp) tcf_chain_tp_insert() argument
1914 tcf_chain_tp_remove(struct tcf_chain * chain,struct tcf_chain_info * chain_info,struct tcf_proto * tp) tcf_chain_tp_remove() argument
1937 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
1970 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
2011 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
2209 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
2250 struct tcf_chain *chain; tc_new_tfilter() local
2485 struct tcf_chain *chain = NULL; tc_del_tfilter() local
2644 struct tcf_chain *chain = NULL; tc_get_tfilter() local
2777 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
2846 struct tcf_chain *chain, *chain_prev; tc_dump_tfilter() local
3005 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
3063 tc_chain_tmplt_add(struct tcf_chain * chain,struct net * net,struct nlattr ** tca,struct netlink_ext_ack * extack) tc_chain_tmplt_add() argument
3122 struct tcf_chain *chain; tc_ctl_chain() local
3252 struct tcf_chain *chain; tc_dump_chain() local
[all...]
/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; in callchain_node__count_rows_rb_tree() local
205 struct callchain_list *chain; in callchain_node__count_flat_rows() local
239 struct callchain_list *chain; in callchain_node__count_rows() local
260 static int callchain__count_rows(struct rb_root *chain) in callchain__count_rows()
335 struct callchain_list *chain; in callchain_node__init_have_children_rb_tree() local
355 struct callchain_list *chain; in callchain_node__init_have_children() local
518 struct callchain_list *chain; in callchain_node__set_folding_rb_tree() local
536 struct callchain_list *chain; in callchain_node__set_folding() local
552 static int callchain__set_folding(struct rb_root *chain, bool unfold) in callchain__set_folding()
790 struct callchain_list *chain, in hist_browser__show_callchain_entry()
[all …]
/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/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
/linux/kernel/
H A Dcpu_pm.c22 struct raw_notifier_head chain; member
/linux/tools/perf/arch/powerpc/util/
H A Dskip-callchain-idx.c212 int arch_skip_callchain_idx(struct thread *thread, struct ip_callchain *chain) in arch_skip_callchain_idx()
/linux/net/netfilter/ipvs/
H A Dip_vs_est.c83 static void ip_vs_chain_estimation(struct hlist_head *chain) in ip_vs_chain_estimation()
652 struct hlist_head chain; in ip_vs_est_calc_limits() local
/linux/kernel/locking/
H A Dlockdep.c421 #define __chainhashfn(chain) hash_long(chain, CHAINHASH_BITS) argument
422 #define chainhashentry(chain) (chainhash_table + __chainhashfn((chain))) argument
1048 static bool check_lock_chain_key(struct lock_chain *chain) in check_lock_chain_key()
1087 struct lock_chain *chain; in __check_data_structures() local
3559 struct lock_class *lock_chain_get_class(struct lock_chain *chain, int i) in lock_chain_get_class()
3621 static void print_chain_keys_chain(struct lock_chain *chain) in print_chain_keys_chain()
3639 struct lock_chain *chain) in print_collision()
3672 struct lock_chain *chain) in check_no_collision()
3735 struct lock_chain *chain; in add_chain_cache() local
3799 struct lock_chain *chain; in lookup_chain_cache() local
[all …]
/linux/include/net/netfilter/
H A Dnf_tables.h102 struct nft_chain *chain; member
216 struct nft_chain *chain; member
672 const struct nft_chain *chain; member
1080 const struct nft_chain *chain; /* for nftables tracing */ member
1194 static inline bool nft_chain_binding(const struct nft_chain *chain) in nft_chain_binding()
1199 static inline bool nft_chain_is_bound(struct nft_chain *chain) in nft_chain_is_bound()
1249 struct nft_chain chain; member
1253 static inline struct nft_base_chain *nft_base_chain(const struct nft_chain *chain) in nft_base_chain()
1258 static inline bool nft_is_base_chain(const struct nft_chain *chain) in nft_is_base_chain()
1702 struct nft_chain *chain; member
[all …]

123