Home
last modified time | relevance | path

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

12345

/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/dma-buf/
H A Ddma-fence-chain.c21 static struct dma_fence *dma_fence_chain_get_prev(struct dma_fence_chain *chain) in dma_fence_chain_get_prev()
41 struct dma_fence_chain *chain, *prev_chain; in dma_fence_chain_walk() local
92 struct dma_fence_chain *chain; in dma_fence_chain_find_seqno() local
124 struct dma_fence_chain *chain; in dma_fence_chain_irq_work() local
137 struct dma_fence_chain *chain; in dma_fence_chain_cb() local
180 struct dma_fence_chain *chain = to_dma_fence_chain(fence); in dma_fence_chain_release() local
241 void dma_fence_chain_init(struct dma_fence_chain *chain, in dma_fence_chain_init()
/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()
197 static bool tcf_proto_exists_destroying(struct tcf_chain *chain, in tcf_proto_exists_destroying()
218 tcf_proto_signal_destroyed(struct tcf_chain *chain, struct tcf_proto *tp) in tcf_proto_signal_destroyed()
373 u32 prio, struct tcf_chain *chain, in tcf_proto_create()
501 struct tcf_chain *chain; in tcf_chain_create() local
525 static void tcf_chain0_head_change(struct tcf_chain *chain, in tcf_chain0_head_change()
542 static bool tcf_chain_detach(struct tcf_chain *chain) in tcf_chain_detach()
567 static void tcf_chain_destroy(struct tcf_chain *chain, bool free_block) in tcf_chain_destroy()
577 static void tcf_chain_hold(struct tcf_chain *chain) in tcf_chain_hold()
[all …]
/linux/drivers/media/usb/uvc/
H A Duvc_entity.c17 static int uvc_mc_create_links(struct uvc_video_chain *chain, in uvc_mc_create_links()
70 static int uvc_mc_init_entity(struct uvc_video_chain *chain, in uvc_mc_init_entity()
135 int uvc_mc_register_entities(struct uvc_video_chain *chain) in uvc_mc_register_entities()
/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 struct nft_chain *chain, in nft_ctx_init() argument
245 struct nft_chain *chain, bool bind) in __nft_chain_trans_bind() argument
270 struct nft_chain *chain) in nft_chain_trans_bind() argument
275 int nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_bind_chain() argument
295 nf_tables_unbind_chain(const struct nft_ctx * ctx,struct nft_chain * chain) nf_tables_unbind_chain() argument
343 nf_tables_register_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain) nf_tables_register_hook() argument
366 __nf_tables_unregister_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain,bool release_netdev) __nf_tables_unregister_hook() argument
390 nf_tables_unregister_hook(struct net * net,const struct nft_table * table,struct nft_chain * chain) nf_tables_unregister_hook() argument
1308 struct nft_chain *chain; nft_table_disable() local
1326 struct nft_chain *chain; nf_tables_table_enable() local
1462 const struct nft_chain *chain = data; nft_chain_hash_obj() local
1470 const struct nft_chain *chain = ptr; nft_chain_hash_cmp() local
1625 struct nft_chain *chain, *nc; nft_flush_table() local
1809 struct nft_chain *chain; nft_chain_lookup_byhandle() local
1837 struct nft_chain *chain; nft_chain_lookup() local
1979 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
2083 const struct nft_chain *chain; nf_tables_dump_chains() local
2128 const struct nft_chain *chain; nf_tables_getchain() local
2211 struct nft_base_chain *chain = nft_base_chain(trans->chain); nft_chain_stats_replace() local
2224 nf_tables_chain_free_chain_rules(struct nft_chain * chain) nf_tables_chain_free_chain_rules() argument
2238 nf_tables_chain_destroy(struct nft_chain * chain) nf_tables_chain_destroy() argument
2514 nft_last_rule(const struct nft_chain * chain,const void * ptr) nft_last_rule() argument
2526 nf_tables_chain_alloc_rules(const struct nft_chain * chain,unsigned int size) nf_tables_chain_alloc_rules() argument
2548 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
2561 struct nft_chain *chain; nft_basechain_init() local
2588 nft_chain_add(struct nft_table * table,struct nft_chain * chain) nft_chain_add() argument
2614 struct nft_chain *chain; nf_tables_addchain() local
2756 struct nft_chain *chain = ctx->chain; nf_tables_updchain() local
2952 struct nft_chain *chain = NULL; nf_tables_newchain() local
3050 const struct nft_chain *chain = &basechain->chain; nft_delchain_hook() local
3107 struct nft_chain *chain; nf_tables_delchain() local
3532 __nft_rule_lookup(const struct net * net,const struct nft_chain * chain,u64 handle) __nft_rule_lookup() argument
3548 nft_rule_lookup(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup() argument
3577 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
3690 char *chain; global() member
3698 __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
3747 const struct nft_chain *chain; nf_tables_dump_rules() local
3863 const struct nft_chain *chain; nf_tables_getrule_single() local
4009 nft_chain_validate(const struct nft_ctx * ctx,const struct nft_chain * chain) nft_chain_validate() argument
4044 struct nft_chain *chain; nft_table_validate() local
4143 struct nft_chain *chain; nf_tables_newrule() local
4368 nft_rule_lookup_byid(const struct net * net,const struct nft_chain * chain,const struct nlattr * nla) nft_rule_lookup_byid() argument
4390 struct nft_chain *chain = NULL; nf_tables_delrule() local
7572 struct nft_chain *chain; nft_data_hold() local
10040 nf_tables_commit_chain_prepare(struct net * net,struct nft_chain * chain) nf_tables_commit_chain_prepare() argument
10124 struct nft_chain *chain = nft_trans_rule_chain(trans); nf_tables_commit_chain_prepare_cancel() local
10150 nf_tables_commit_chain(struct net * net,struct nft_chain * chain) nf_tables_commit_chain() argument
10204 nft_chain_del(struct nft_chain * chain) nft_chain_del() argument
10648 struct nft_chain *chain; nf_tables_commit() local
11287 nft_chain_validate_dependency(const struct nft_chain * chain,enum nft_chain_types type) nft_chain_validate_dependency() argument
11301 nft_chain_validate_hooks(const struct nft_chain * chain,unsigned int hook_flags) nft_chain_validate_hooks() argument
11515 struct nft_chain *chain; nft_verdict_init() local
11580 struct nft_chain *chain; nft_verdict_uninit() local
11748 struct nft_chain *chain; __nft_release_hook() local
11774 struct nft_chain *chain, *nc; __nft_release_table() local
[all...]
H A Dnf_tables_trace.c194 const struct nft_chain *chain; nft_trace_notify() local
307 nft_trace_init(struct nft_traceinfo * info,const struct nft_pktinfo * pkt,const struct nft_chain * chain) nft_trace_init() argument
[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/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/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Deeprom.c198 mt76x2_set_rssi_offset(struct mt76x02_dev *dev, int chain, u8 val) in mt76x2_set_rssi_offset()
347 int chain, int offset) in mt76x2_get_power_info_2g()
377 int chain, int offset) in mt76x2_get_power_info_5g()

12345