Home
last modified time | relevance | path

Searched defs:chain (Results 1 – 25 of 99) 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/fs/xfs/
H A Dxfs_hooks.c18 struct xfs_hooks *chain) in xfs_hooks_init()
26 struct xfs_hooks *chain, in xfs_hooks_add()
38 struct xfs_hooks *chain, in xfs_hooks_del()
47 struct xfs_hooks *chain, in xfs_hooks_call()
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/fs/lockd/
H A Dhost.c37 #define for_each_host(host, chain, table) \ argument
42 #define for_each_host_safe(host, next, chain, table) \ argument
236 struct hlist_head *chain; in nlmclnt_lookup_host() local
331 struct hlist_head *chain; in nlmsvc_lookup_host() local
529 struct hlist_head *chain; in next_host_state() local
584 struct hlist_head *chain; in nlm_complain_hosts() local
615 struct hlist_head *chain; in nlm_shutdown_hosts_net() local
659 struct hlist_head *chain; in nlm_gc_hosts() 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
2245 struct tcf_chain *chain; tc_new_tfilter() local
2478 struct tcf_chain *chain = NULL; tc_del_tfilter() local
2637 struct tcf_chain *chain = NULL; tc_get_tfilter() local
2770 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
2839 struct tcf_chain *chain, *chain_prev; tc_dump_tfilter() local
2997 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
3055 tc_chain_tmplt_add(struct tcf_chain * chain,struct net * net,struct nlattr ** tca,struct netlink_ext_ack * extack) tc_chain_tmplt_add() argument
3114 struct tcf_chain *chain; tc_ctl_chain() local
3244 struct tcf_chain *chain; tc_dump_chain() local
[all...]
/linux/net/netfilter/
H A Dnft_immediate.c74 struct nft_chain *chain = priv->data.verdict.chain; in nft_immediate_init() local
101 struct nft_chain *chain; in nft_immediate_activate() local
129 struct nft_chain *chain, in nft_immediate_chain_deactivate()
148 struct nft_chain *chain; in nft_immediate_deactivate() local
193 struct nft_chain *chain; in nft_immediate_destroy() local
H A Dnf_tables_offload.c264 nft_flow_offload_cmd(const struct nft_chain * chain,const struct nft_rule * rule,struct nft_flow_rule * flow,enum flow_cls_command command,struct flow_cls_offload * cls_flow) nft_flow_offload_cmd() argument
284 nft_flow_offload_rule(const struct nft_chain * chain,struct nft_rule * rule,struct nft_flow_rule * flow,enum flow_cls_command command) nft_flow_offload_rule() argument
294 nft_flow_rule_stats(const struct nft_chain * chain,const struct nft_rule * rule) nft_flow_rule_stats() argument
327 struct nft_chain *chain; nft_flow_offload_unbind() local
383 nft_block_offload_cmd(struct nft_base_chain * chain,struct net_device * dev,enum flow_block_command cmd) nft_block_offload_cmd() argument
490 nft_flow_offload_chain(struct nft_chain * chain,u8 * ppolicy,enum flow_block_command cmd) nft_flow_offload_chain() argument
627 struct nft_chain *chain; __nft_offload_get_chain() local
663 struct nft_chain *chain; nft_offload_netdev_event() local
[all...]
H A Dnf_tables_api.c137 base_chain = nft_base_chain(ctx->chain); in nft_ctx_init() argument
239 __nft_chain_trans_bind(const struct nft_ctx * ctx,struct nft_chain * chain,bool bind) __nft_chain_trans_bind() argument
264 nft_chain_trans_bind(const struct nft_ctx * ctx,struct nft_chain * chain) nft_chain_trans_bind() argument
269 nf_tables_bind_chain(const struct nft_ctx * ctx,struct nft_chain * chain) nf_tables_bind_chain() argument
289 nf_tables_unbind_chain(const struct nft_ctx * ctx,struct nft_chain * chain) nf_tables_unbind_chain() argument
372 nf_tables_register_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain) nf_tables_register_hook() argument
395 __nf_tables_unregister_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain,bool release_netdev) __nf_tables_unregister_hook() argument
419 nf_tables_unregister_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain) nf_tables_unregister_hook() argument
1339 struct nft_chain *chain; nft_table_disable() local
1357 struct nft_chain *chain; nf_tables_table_enable() local
1493 const struct nft_chain *chain = data; nft_chain_hash_obj() local
1501 const struct nft_chain *chain = ptr; nft_chain_hash_cmp() local
1656 struct nft_chain *chain, *nc; nft_flush_table() local
1840 struct nft_chain *chain; nft_chain_lookup_byhandle() local
1868 struct nft_chain *chain; nft_chain_lookup() local
2021 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) nf_tables_fill_chain_info() argument
2127 const struct nft_chain *chain; nf_tables_dump_chains() local
2172 const struct nft_chain *chain; nf_tables_getchain() local
2255 struct nft_base_chain *chain = nft_base_chain(trans->chain); nft_chain_stats_replace() local
2268 nf_tables_chain_free_chain_rules(struct nft_chain * chain) nf_tables_chain_free_chain_rules() argument
2282 nf_tables_chain_destroy(struct nft_chain * chain) nf_tables_chain_destroy() argument
2574 nft_last_rule(const struct nft_chain * chain,const void * ptr) nft_last_rule() argument
2586 nf_tables_chain_alloc_rules(const struct nft_chain * chain,unsigned int size) nf_tables_chain_alloc_rules() argument
2608 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
2621 struct nft_chain *chain; nft_basechain_init() local
2651 nft_chain_add(struct nft_table * table,struct nft_chain * chain) nft_chain_add() argument
2677 struct nft_chain *chain; nf_tables_addchain() local
2819 struct nft_chain *chain = ctx->chain; nf_tables_updchain() local
3034 struct nft_chain *chain = NULL; nf_tables_newchain() local
3132 const struct nft_chain *chain = &basechain->chain; nft_delchain_hook() local
3189 struct nft_chain *chain; nf_tables_delchain() local
3614 __nft_rule_lookup(const struct net * net,const struct nft_chain * chain,u64 handle) __nft_rule_lookup() argument
3630 nft_rule_lookup(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup() argument
3659 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
3772 char *chain; global() member
3780 __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
3829 const struct nft_chain *chain; nf_tables_dump_rules() local
3945 const struct nft_chain *chain; nf_tables_getrule_single() local
4091 nft_chain_validate(const struct nft_ctx * ctx,const struct nft_chain * chain) nft_chain_validate() argument
4126 struct nft_chain *chain; nft_table_validate() local
4225 struct nft_chain *chain; nf_tables_newrule() local
4450 nft_rule_lookup_byid(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup_byid() argument
4472 struct nft_chain *chain = NULL; nf_tables_delrule() local
7682 struct nft_chain *chain; nft_data_hold() local
10273 nf_tables_commit_chain_prepare(struct net * net,struct nft_chain * chain) nf_tables_commit_chain_prepare() argument
10357 struct nft_chain *chain = nft_trans_rule_chain(trans); nf_tables_commit_chain_prepare_cancel() local
10383 nf_tables_commit_chain(struct net * net,struct nft_chain * chain) nf_tables_commit_chain() argument
10437 nft_chain_del(struct nft_chain * chain) nft_chain_del() argument
10881 struct nft_chain *chain; nf_tables_commit() local
11521 nft_chain_validate_dependency(const struct nft_chain * chain,enum nft_chain_types type) nft_chain_validate_dependency() argument
11535 nft_chain_validate_hooks(const struct nft_chain * chain,unsigned int hook_flags) nft_chain_validate_hooks() argument
11749 struct nft_chain *chain; nft_verdict_init() local
11814 struct nft_chain *chain; nft_verdict_uninit() local
11982 struct nft_chain *chain; __nft_release_hook() local
12008 struct nft_chain *chain, *nc; __nft_release_table() local
[all...]
H A Dnf_tables_trace.c241 const struct nft_chain *chain; in nft_trace_notify() local
362 const struct nft_chain *chain) in nft_trace_init()
/linux/drivers/media/usb/uvc/
H A Duvc_driver.c1282 struct uvc_video_chain *chain; in uvc_gpio_event() local
1422 static int uvc_scan_chain_entity(struct uvc_video_chain *chain, in uvc_scan_chain_entity()
1499 static int uvc_scan_chain_forward(struct uvc_video_chain *chain, in uvc_scan_chain_forward()
1598 static int uvc_scan_chain_backward(struct uvc_video_chain *chain, in uvc_scan_chain_backward()
1676 static int uvc_scan_chain(struct uvc_video_chain *chain, in uvc_scan_chain()
1736 static const char *uvc_print_chain(struct uvc_video_chain *chain) in uvc_print_chain()
1750 struct uvc_video_chain *chain; in uvc_alloc_chain() local
1779 struct uvc_video_chain *chain; in uvc_scan_fallback() local
1862 struct uvc_video_chain *chain; in uvc_scan_device() local
1943 struct uvc_video_chain *chain; in uvc_delete() local
[all …]
/linux/net/batman-adv/
H A Dfragmentation.c62 struct batadv_frag_table_entry *chain; in batadv_frag_purge_orig() local
106 static bool batadv_frag_init_chain(struct batadv_frag_table_entry *chain, in batadv_frag_init_chain()
140 struct batadv_frag_table_entry *chain; in batadv_frag_insert_packet() local
247 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/include/linux/
H A Ddma-fence-chain.h79 struct dma_fence_chain *chain = to_dma_fence_chain(fence); in dma_fence_chain_contained() local
105 static inline void dma_fence_chain_free(struct dma_fence_chain *chain) in dma_fence_chain_free()
/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 …]

1234