Home
last modified time | relevance | path

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

1234567

/linux-6.6.21/drivers/net/ethernet/huawei/hinic/
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-6.6.21/drivers/net/ethernet/qlogic/qed/
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 …]
/linux-6.6.21/drivers/dma-buf/
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()
Dst-dma-fence-unwrap.c98 struct dma_fence *f, *chain, *array; in sanitycheck() local
165 struct dma_fence *fence, *f1, *f2, *chain; in unwrap_chain() local
209 struct dma_fence *fence, *f1, *f2, *array, *chain; in unwrap_chain_array() local
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
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()
212 create_chain_restore(struct fs_chain *chain) in create_chain_restore()
291 static void destroy_chain_restore(struct fs_chain *chain) in destroy_chain_restore()
306 mlx5_chains_create_chain(struct mlx5_fs_chains *chains, u32 chain) in mlx5_chains_create_chain()
338 mlx5_chains_destroy_chain(struct fs_chain *chain) in mlx5_chains_destroy_chain()
350 mlx5_chains_get_chain(struct mlx5_fs_chains *chains, u32 chain) in mlx5_chains_get_chain()
368 mlx5_chains_add_miss_rule(struct fs_chain *chain, in mlx5_chains_add_miss_rule()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
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
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()
/linux-6.6.21/drivers/media/usb/uvc/
Duvc_ctrl.c933 static struct uvc_control *uvc_find_control(struct uvc_video_chain *chain, in uvc_find_control()
959 static int uvc_ctrl_populate_cache(struct uvc_video_chain *chain, in uvc_ctrl_populate_cache()
1042 static int __uvc_ctrl_load_cur(struct uvc_video_chain *chain, in __uvc_ctrl_load_cur()
1078 static int __uvc_ctrl_get(struct uvc_video_chain *chain, in __uvc_ctrl_get()
1098 static int __uvc_query_v4l2_class(struct uvc_video_chain *chain, u32 req_id, in __uvc_query_v4l2_class()
1122 static int uvc_query_v4l2_class(struct uvc_video_chain *chain, u32 req_id, in uvc_query_v4l2_class()
1151 int uvc_ctrl_is_accessible(struct uvc_video_chain *chain, u32 v4l2_id, in uvc_ctrl_is_accessible()
1236 static int __uvc_query_v4l2_ctrl(struct uvc_video_chain *chain, in __uvc_query_v4l2_ctrl()
1340 int uvc_query_v4l2_ctrl(struct uvc_video_chain *chain, in uvc_query_v4l2_ctrl()
1391 int uvc_query_v4l2_menu(struct uvc_video_chain *chain, in uvc_query_v4l2_menu()
[all …]
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()
Duvc_driver.c1224 struct uvc_video_chain *chain; in uvc_gpio_event() local
1346 static int uvc_scan_chain_entity(struct uvc_video_chain *chain, in uvc_scan_chain_entity()
1423 static int uvc_scan_chain_forward(struct uvc_video_chain *chain, in uvc_scan_chain_forward()
1522 static int uvc_scan_chain_backward(struct uvc_video_chain *chain, in uvc_scan_chain_backward()
1600 static int uvc_scan_chain(struct uvc_video_chain *chain, in uvc_scan_chain()
1660 static const char *uvc_print_chain(struct uvc_video_chain *chain) in uvc_print_chain()
1674 struct uvc_video_chain *chain; in uvc_alloc_chain() local
1703 struct uvc_video_chain *chain; in uvc_scan_fallback() local
1786 struct uvc_video_chain *chain; in uvc_scan_device() local
1867 struct uvc_video_chain *chain; in uvc_delete() local
[all …]
Duvc_v4l2.c29 static int uvc_control_add_xu_mapping(struct uvc_video_chain *chain, in uvc_control_add_xu_mapping()
103 static int uvc_ioctl_xu_ctrl_map(struct uvc_video_chain *chain, in uvc_ioctl_xu_ctrl_map()
686 struct uvc_video_chain *chain = handle->chain; in uvc_ioctl_querycap() local
926 struct uvc_video_chain *chain = handle->chain; in uvc_ioctl_enum_input() local
968 struct uvc_video_chain *chain = handle->chain; in uvc_ioctl_g_input() local
996 struct uvc_video_chain *chain = handle->chain; in uvc_ioctl_s_input() local
1031 struct uvc_video_chain *chain = handle->chain; in uvc_ioctl_queryctrl() local
1040 struct uvc_video_chain *chain = handle->chain; in uvc_ioctl_query_ext_ctrl() local
1065 static int uvc_ctrl_check_access(struct uvc_video_chain *chain, in uvc_ctrl_check_access()
1088 struct uvc_video_chain *chain = handle->chain; in uvc_ioctl_g_ext_ctrls() local
[all …]
/linux-6.6.21/drivers/crypto/marvell/cesa/
Dtdma.c192 mv_cesa_dma_add_desc(struct mv_cesa_tdma_chain *chain, gfp_t flags) in mv_cesa_dma_add_desc()
215 int mv_cesa_dma_add_result_op(struct mv_cesa_tdma_chain *chain, dma_addr_t src, in mv_cesa_dma_add_result_op()
249 struct mv_cesa_op_ctx *mv_cesa_dma_add_op(struct mv_cesa_tdma_chain *chain, in mv_cesa_dma_add_op()
281 int mv_cesa_dma_add_data_transfer(struct mv_cesa_tdma_chain *chain, in mv_cesa_dma_add_data_transfer()
301 int mv_cesa_dma_add_dummy_launch(struct mv_cesa_tdma_chain *chain, gfp_t flags) in mv_cesa_dma_add_dummy_launch()
309 int mv_cesa_dma_add_dummy_end(struct mv_cesa_tdma_chain *chain, gfp_t flags) in mv_cesa_dma_add_dummy_end()
322 int mv_cesa_dma_add_op_transfers(struct mv_cesa_tdma_chain *chain, in mv_cesa_dma_add_op_transfers()
/linux-6.6.21/drivers/s390/cio/
Dvfio_ccw_cp.c319 struct ccwchain *chain; in ccwchain_alloc() local
343 static void ccwchain_free(struct ccwchain *chain) in ccwchain_free()
352 static void ccwchain_cda_free(struct ccwchain *chain, int idx) in ccwchain_cda_free()
405 struct ccwchain *chain; in tic_target_chain_exists() local
424 struct ccwchain *chain; in ccwchain_handle_ccw() local
462 static int ccwchain_loop_tic(struct ccwchain *chain, struct channel_program *cp) in ccwchain_loop_tic()
753 struct ccwchain *chain, *temp; in cp_free() local
808 struct ccwchain *chain; in cp_prefetch() local
851 struct ccwchain *chain; in cp_get_orb() local
898 struct ccwchain *chain; in cp_update_scsw() local
[all …]
/linux-6.6.21/fs/lockd/
Dhost.c37 #define for_each_host(host, chain, table) \ argument
42 #define for_each_host_safe(host, next, chain, table) \ argument
237 struct hlist_head *chain; in nlmclnt_lookup_host() local
332 struct hlist_head *chain; in nlmsvc_lookup_host() local
530 struct hlist_head *chain; in next_host_state() local
585 struct hlist_head *chain; in nlm_complain_hosts() local
616 struct hlist_head *chain; in nlm_shutdown_hosts_net() local
660 struct hlist_head *chain; in nlm_gc_hosts() local
/linux-6.6.21/net/sched/
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()
472 struct tcf_chain *chain; in tcf_chain_create() local
496 static void tcf_chain0_head_change(struct tcf_chain *chain, in tcf_chain0_head_change()
513 static bool tcf_chain_detach(struct tcf_chain *chain) in tcf_chain_detach()
537 static void tcf_chain_destroy(struct tcf_chain *chain, bool free_block) in tcf_chain_destroy()
547 static void tcf_chain_hold(struct tcf_chain *chain) in tcf_chain_hold()
[all …]
/linux-6.6.21/include/linux/qed/
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-6.6.21/net/netfilter/
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
Dnf_tables_offload.c264 static int nft_flow_offload_cmd(const struct nft_chain *chain, in nft_flow_offload_cmd()
284 static int nft_flow_offload_rule(const struct nft_chain *chain, in nft_flow_offload_rule()
294 int nft_flow_rule_stats(const struct nft_chain *chain, in nft_flow_rule_stats()
327 struct nft_chain *chain; in nft_flow_offload_unbind() local
383 static int nft_block_offload_cmd(struct nft_base_chain *chain, in nft_block_offload_cmd()
490 static int nft_flow_offload_chain(struct nft_chain *chain, u8 *ppolicy, in nft_flow_offload_chain()
627 struct nft_chain *chain; in __nft_offload_get_chain() local
663 struct nft_chain *chain; in nft_offload_netdev_event() local
Dnf_tables_api.c136 struct nft_chain *chain, in nft_ctx_init()
222 struct nft_chain *chain, bool bind) in __nft_chain_trans_bind()
247 struct nft_chain *chain) in nft_chain_trans_bind()
252 int nf_tables_bind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_bind_chain()
272 void nf_tables_unbind_chain(const struct nft_ctx *ctx, struct nft_chain *chain) in nf_tables_unbind_chain()
320 struct nft_chain *chain) in nf_tables_register_hook()
343 struct nft_chain *chain, in __nf_tables_unregister_hook()
367 struct nft_chain *chain) in nf_tables_unregister_hook()
1149 struct nft_chain *chain; in nft_table_disable() local
1167 struct nft_chain *chain; in nf_tables_table_enable() local
[all …]
/linux-6.6.21/drivers/net/ethernet/mscc/
Docelot_flower.c28 static int ocelot_chain_to_block(int chain, bool ingress) in ocelot_chain_to_block()
62 static int ocelot_chain_to_lookup(int chain) in ocelot_chain_to_lookup()
76 static int ocelot_chain_to_pag(int chain) in ocelot_chain_to_pag()
92 static bool ocelot_is_goto_target_valid(int goto_target, int chain, in ocelot_is_goto_target_valid()
145 ocelot_find_vcap_filter_that_points_at(struct ocelot *ocelot, int chain) in ocelot_find_vcap_filter_that_points_at()
240 int i, chain, egress_port; in ocelot_flower_parse_action() local
873 int chain = f->common.chain_index; in ocelot_cls_flower_replace() local
/linux-6.6.21/net/batman-adv/
Dfragmentation.c63 struct batadv_frag_table_entry *chain; in batadv_frag_purge_orig() local
107 static bool batadv_frag_init_chain(struct batadv_frag_table_entry *chain, in batadv_frag_init_chain()
141 struct batadv_frag_table_entry *chain; in batadv_frag_insert_packet() local
248 batadv_frag_merge_packets(struct hlist_head *chain) in batadv_frag_merge_packets()
/linux-6.6.21/drivers/net/ethernet/toshiba/
Dspider_net.c277 struct spider_net_descr_chain *chain) in spider_net_free_chain()
304 struct spider_net_descr_chain *chain) in spider_net_init_chain()
489 struct spider_net_descr_chain *chain = &card->rx_chain; in spider_net_refill_rx_chain() local
519 struct spider_net_descr_chain *chain = &card->rx_chain; in spider_net_alloc_rx_skbs() local
652 struct spider_net_descr_chain *chain = &card->tx_chain; in spider_net_prepare_tx_descr() local
767 struct spider_net_descr_chain *chain = &card->tx_chain; in spider_net_release_tx_chain() local
991 struct spider_net_descr_chain *chain = &card->rx_chain; in show_rx_chain() local
1090 struct spider_net_descr_chain *chain = &card->rx_chain; in spider_net_resync_head_ptr() local
1117 struct spider_net_descr_chain *chain = &card->rx_chain; in spider_net_resync_tail_ptr() local
1153 struct spider_net_descr_chain *chain = &card->rx_chain; in spider_net_decode_one_descr() local
/linux-6.6.21/tools/perf/ui/stdio/
Dhist.c51 struct callchain_list *chain, in ipchain__fprintf_graph()
115 struct callchain_list *chain; in __callchain__fprintf_graph() local
222 struct callchain_list *chain; in callchain__fprintf_graph() local
285 struct callchain_list *chain; in __callchain__fprintf_flat() local
310 struct callchain_node *chain; in callchain__fprintf_flat() local
333 struct callchain_list *chain; in __callchain__fprintf_folded() local
361 struct callchain_node *chain; in callchain__fprintf_folded() local
/linux-6.6.21/fs/sysv/
Ditree.c91 Indirect chain[], in get_branch()
173 Indirect chain[], in splice_branch()
211 Indirect chain[DEPTH]; in get_block() local
284 Indirect chain[], in find_shared()
372 Indirect chain[DEPTH]; in sysv_truncate() local
/linux-6.6.21/include/linux/
Ddma-fence-chain.h79 struct dma_fence_chain *chain = to_dma_fence_chain(fence); in dma_fence_chain_contained() local
103 static inline void dma_fence_chain_free(struct dma_fence_chain *chain) in dma_fence_chain_free()

1234567