Home
last modified time | relevance | path

Searched refs:chains (Results 1 – 25 of 69) sorted by relevance

123

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c14 #define chains_lock(chains) ((chains)->lock) argument
15 #define chains_ht(chains) ((chains)->chains_ht) argument
16 #define prios_ht(chains) ((chains)->prios_ht) argument
17 #define chains_default_ft(chains) ((chains)->chains_default_ft) argument
18 #define chains_end_ft(chains) ((chains)->chains_end_ft) argument
48 struct mlx5_fs_chains *chains; member
89 bool mlx5_chains_prios_supported(struct mlx5_fs_chains *chains) in mlx5_chains_prios_supported() argument
91 return chains->flags & MLX5_CHAINS_AND_PRIOS_SUPPORTED; in mlx5_chains_prios_supported()
94 bool mlx5_chains_ignore_flow_level_supported(struct mlx5_fs_chains *chains) in mlx5_chains_ignore_flow_level_supported() argument
96 return chains->flags & MLX5_CHAINS_IGNORE_FLOW_LEVEL_SUPPORTED; in mlx5_chains_ignore_flow_level_supported()
[all …]
H A Dfs_chains.h31 mlx5_chains_prios_supported(struct mlx5_fs_chains *chains);
32 bool mlx5_chains_ignore_flow_level_supported(struct mlx5_fs_chains *chains);
34 mlx5_chains_backwards_supported(struct mlx5_fs_chains *chains);
36 mlx5_chains_get_prio_range(struct mlx5_fs_chains *chains);
38 mlx5_chains_get_chain_range(struct mlx5_fs_chains *chains);
40 mlx5_chains_get_nf_ft_chain(struct mlx5_fs_chains *chains);
43 mlx5_chains_get_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
46 mlx5_chains_put_table(struct mlx5_fs_chains *chains, u32 chain, u32 prio,
50 mlx5_chains_get_tc_end_ft(struct mlx5_fs_chains *chains);
53 mlx5_chains_create_global_table(struct mlx5_fs_chains *chains);
[all …]
/linux/drivers/dma-buf/
H A Dst-dma-fence-chain.c103 struct dma_fence **chains; member
119 fc->chains = kvmalloc_array(count, sizeof(*fc->chains), in fence_chains_init()
121 if (!fc->chains) in fence_chains_init()
139 fc->chains[i] = mock_chain(fc->tail, in fence_chains_init()
142 if (!fc->chains[i]) { in fence_chains_init()
147 fc->tail = fc->chains[i]; in fence_chains_init()
149 dma_fence_enable_sw_signaling(fc->chains[i]); in fence_chains_init()
158 dma_fence_put(fc->chains[i]); in fence_chains_init()
162 kvfree(fc->chains); in fence_chains_init()
177 dma_fence_put(fc->chains[i]); in fence_chains_fini()
[all …]
/linux/arch/alpha/kernel/
H A Dmodule.c30 struct got_entry *chains, Elf64_Xword *poffset) in process_reloc_for_got() argument
40 for (g = chains + r_sym; g ; g = g->next) in process_reloc_for_got()
50 g->next = chains[r_sym].next; in process_reloc_for_got()
54 chains[r_sym].next = g; in process_reloc_for_got()
67 struct got_entry *chains; in module_frob_arch_sections() local
96 chains = kcalloc(nsyms, sizeof(struct got_entry), GFP_KERNEL); in module_frob_arch_sections()
97 if (!chains) { in module_frob_arch_sections()
115 process_reloc_for_got(rela+i, chains, in module_frob_arch_sections()
122 for (g = chains[i].next; g ; g = n) { in module_frob_arch_sections()
127 kfree(chains); in module_frob_arch_sections()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dpost_act.c12 struct mlx5_fs_chains *chains; member
30 mlx5e_tc_post_act_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains, in mlx5e_tc_post_act_init() argument
50 post_act->ft = mlx5_chains_create_global_table(chains); in mlx5e_tc_post_act_init()
56 post_act->chains = chains; in mlx5e_tc_post_act_init()
75 mlx5_chains_destroy_global_table(post_act->chains, post_act->ft); in mlx5e_tc_post_act_destroy()
H A Dpost_act.h15 mlx5e_tc_post_act_init(struct mlx5e_priv *priv, struct mlx5_fs_chains *chains,
/linux/sound/
H A Dsound_core.c332 static struct sound_unit *chains[SOUND_STEP]; variable
408 return sound_insert_unit(&chains[chain], fops, -1, unit, max_unit, in register_sound_special_device()
435 return sound_insert_unit(&chains[0], fops, dev, 0, 128, in register_sound_mixer()
463 return sound_insert_unit(&chains[3], fops, dev, 3, 131, in register_sound_dsp()
481 sound_remove_unit(&chains[unit % SOUND_STEP], unit); in unregister_sound_special()
496 sound_remove_unit(&chains[0], unit); in unregister_sound_mixer()
513 sound_remove_unit(&chains[3], unit); in unregister_sound_dsp()
523 s=chains[chain]; in __look_for_unit()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dgoto.c19 struct mlx5_fs_chains *chains; in validate_goto_chain() local
25 chains = is_esw ? esw_chains(esw) : mlx5e_nic_chains(tc); in validate_goto_chain()
26 max_chain = mlx5_chains_get_chain_range(chains); in validate_goto_chain()
36 if (!mlx5_chains_backwards_supported(chains) && in validate_goto_chain()
/linux/drivers/net/wireless/ath/carl9170/
H A Dmac.c503 unsigned int power, chains; in carl9170_set_mac_tpc() local
506 chains = AR9170_TX_PHY_TXCHAIN_2; in carl9170_set_mac_tpc()
508 chains = AR9170_TX_PHY_TXCHAIN_1; in carl9170_set_mac_tpc()
525 0x3c1e | power << 20 | chains << 26); in carl9170_set_mac_tpc()
527 power << 5 | chains << 11 | in carl9170_set_mac_tpc()
528 power << 21 | chains << 27); in carl9170_set_mac_tpc()
530 power << 5 | chains << 11 | in carl9170_set_mac_tpc()
531 power << 21 | chains << 27); in carl9170_set_mac_tpc()
H A Dwlan.h226 u8 chains:3; member
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.c80 job->out_sync.chains = kcalloc(job->out_sync.count, in nouveau_job_init()
81 sizeof(*job->out_sync.chains), in nouveau_job_init()
83 if (!job->out_sync.chains) { in nouveau_job_init()
100 kfree(job->out_sync.chains); in nouveau_job_init()
137 kfree(job->out_sync.chains); in nouveau_job_free()
197 struct dma_fence_chain *chain = job->out_sync.chains[i]; in nouveau_job_fence_attach_cleanup()
215 struct dma_fence_chain **pchain = &job->out_sync.chains[i]; in nouveau_job_fence_attach_prepare()
258 struct dma_fence_chain **pchain = &job->out_sync.chains[i]; in nouveau_job_fence_attach()
H A Dnouveau_sched.h72 struct dma_fence_chain **chains; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec_fs.c41 struct mlx5_fs_chains *chains; member
60 struct mlx5_fs_chains *chains; member
100 struct mlx5_fs_chains *chains; in ipsec_chains_create() local
111 chains = mlx5_chains_create(mdev, &attr); in ipsec_chains_create()
112 if (IS_ERR(chains)) in ipsec_chains_create()
113 return chains; in ipsec_chains_create()
116 ft = mlx5_chains_get_table(chains, 0, 1, 0); in ipsec_chains_create()
123 return chains; in ipsec_chains_create()
126 mlx5_chains_destroy(chains); in ipsec_chains_create()
130 static void ipsec_chains_destroy(struct mlx5_fs_chains *chains) in ipsec_chains_destroy() argument
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Dacpi.c458 struct iwl_sar_profile_chain *chains, in iwl_acpi_parse_chains_table() argument
466 chains[chain].subbands[subband] = 0; in iwl_acpi_parse_chains_table()
471 chains[chain].subbands[subband] = in iwl_acpi_parse_chains_table()
560 ret = iwl_acpi_parse_chains_table(table, fwrt->sar_profiles[0].chains, in iwl_acpi_get_wrds_table()
665 fwrt->sar_profiles[i + 1].chains, in iwl_acpi_get_ewrd_table()
681 struct iwl_sar_profile_chain *chains; in iwl_acpi_get_ewrd_table() local
685 chains = &fwrt->sar_profiles[i + 1].chains[ACPI_SAR_NUM_CHAINS_REV0]; in iwl_acpi_get_ewrd_table()
687 chains, in iwl_acpi_get_ewrd_table()
837 fwrt->geo_profiles[i].bands[j].chains[k] = in iwl_acpi_get_wgds_table()
838 fwrt->geo_profiles[i].bands[1].chains[k]; in iwl_acpi_get_wgds_table()
[all …]
H A Duefi.c435 memcpy(&fwrt->sar_profiles[prof_index].chains, uefi_sar_prof, in iwl_uefi_set_sar_profile()
836 ARRAY_SIZE(data->chains)); in iwl_uefi_get_phy_filters()
839 filters->filter_cfg_chains[i] = cpu_to_le32(data->chains[i]); in iwl_uefi_get_phy_filters()
840 IWL_DEBUG_RADIO(fwrt, "WPFC: chain %d: %u\n", i, data->chains[i]); in iwl_uefi_get_phy_filters()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dindir_table.c100 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_get() local
141 dest.ft = mlx5_chains_get_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get()
160 mlx5_chains_put_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_get()
175 struct mlx5_fs_chains *chains = esw_chains(esw); in mlx5_esw_indir_table_rule_put() local
184 mlx5_chains_put_table(chains, 0, 1, 0); in mlx5_esw_indir_table_rule_put()
/linux/Documentation/mm/
H A Dksm.rst51 KSM pages. The ksmd walk over the stable_node "chains" is also O(N),
74 "chains" is scanned periodically in order to prune stale stable_nodes.
/linux/net/mac80211/
H A Drx.c129 if (status->chains) in ieee80211_rx_radiotap_hdrlen()
130 len += 4 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
140 if (!status->chains) in ieee80211_rx_radiotap_hdrlen()
189 if (status->chains) { in ieee80211_rx_radiotap_hdrlen()
191 len += 2 * hweight8(status->chains); in ieee80211_rx_radiotap_hdrlen()
327 unsigned long chains = status->chains; in ieee80211_add_rx_radiotap_header() local
374 if (!status->chains) in ieee80211_add_rx_radiotap_header()
377 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
477 if (!status->chains) { in ieee80211_add_rx_radiotap_header()
735 for_each_set_bit(chain, &chains, IEEE80211_MAX_CHAINS) { in ieee80211_add_rx_radiotap_header()
[all …]
/linux/Documentation/locking/
H A Drt-mutex-design.rst132 inheritance to take place. Multiple chains may converge, but a chain
154 To show where two chains merge, we could add another process F and
162 one, the chains merge.
164 Here we show both chains::
172 For PI to work, the processes at the right end of these chains (or we may
177 have multiple chains merge at mutexes. If we add another process G that is
182 And once again, to show how this can grow I will show the merging chains
208 To keep track of the PI chains, each process has its own PI rbtree. This is
/linux/tools/perf/Documentation/
H A Dtips.txt16 To see call chains by final symbol taking CPU time (bottom up) use perf report -G
30 If call chains don't work try perf record --call-graph dwarf or --call-graph lbr
H A Dintel-bts.txt55 chains) are supported.
/linux/arch/sh/drivers/dma/
H A DKconfig58 As this chains off of the on-chip DMAC, that must also be
/linux/drivers/media/usb/uvc/
H A Duvc_driver.c1291 chain = list_first_entry(&dev->chains, struct uvc_video_chain, list); in uvc_gpio_event()
1843 list_add_tail(&chain->list, &dev->chains); in uvc_scan_fallback()
1892 list_add_tail(&chain->list, &dev->chains); in uvc_scan_device()
1895 if (list_empty(&dev->chains)) in uvc_scan_device()
1898 if (list_empty(&dev->chains)) { in uvc_scan_device()
1905 chain = list_first_entry(&dev->chains, in uvc_scan_device()
1942 list_for_each_safe(p, n, &dev->chains) { in uvc_delete()
2151 list_for_each_entry(chain, &dev->chains, list) { in uvc_register_chains()
2189 INIT_LIST_HEAD(&dev->chains); in uvc_probe()
/linux/tools/memory-model/Documentation/
H A Drecipes.txt199 load buffering, release-acquire chains, store buffering.
409 Release-acquire chains
412 Release-acquire chains are a low-overhead, flexible, and easy-to-use
471 Despite this limitation, release-acquire chains are low-overhead as
/linux/Documentation/crypto/
H A Dasync-tx-api.rst53 2. cross channel dependency chains: the API allows a chain of dependent
129 chains and issuing pending operations.

123