Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 108) sorted by relevance

12345

/include/net/tc_act/
Dtc_police.h25 struct tcf_police_params __rcu *params; member
59 struct tcf_police_params *params; in tcf_police_rate_bytes_ps() local
61 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps()
63 return params->rate.rate_bytes_ps; in tcf_police_rate_bytes_ps()
69 struct tcf_police_params *params; in tcf_police_burst() local
72 params = rcu_dereference_protected(police->params, in tcf_police_burst()
98 burst = div_u64(params->tcfp_burst * params->rate.rate_bytes_ps, in tcf_police_burst()
107 struct tcf_police_params *params; in tcf_police_rate_pkt_ps() local
109 params = rcu_dereference_protected(police->params, in tcf_police_rate_pkt_ps()
111 return params->ppsrate.rate_pkts_ps; in tcf_police_rate_pkt_ps()
[all …]
Dtc_tunnel_key.h22 struct tcf_tunnel_key_params __rcu *params; member
31 struct tcf_tunnel_key_params *params; in is_tcf_tunnel_set() local
33 params = rcu_dereference_protected(t->params, in is_tcf_tunnel_set()
36 return params->tcft_action == TCA_TUNNEL_KEY_ACT_SET; in is_tcf_tunnel_set()
45 struct tcf_tunnel_key_params *params; in is_tcf_tunnel_release() local
47 params = rcu_dereference_protected(t->params, in is_tcf_tunnel_release()
50 return params->tcft_action == TCA_TUNNEL_KEY_ACT_RELEASE; in is_tcf_tunnel_release()
59 struct tcf_tunnel_key_params *params; in tcf_tunnel_info() local
61 params = rcu_dereference_protected(t->params, in tcf_tunnel_info()
64 return &params->tcft_enc_metadata->u.tun_info; in tcf_tunnel_info()
Dtc_skbedit.h27 struct tcf_skbedit_params __rcu *params; member
39 flags = rcu_dereference(to_skbedit(a)->params)->flags; in is_tcf_skbedit_with_flag()
58 mark = rcu_dereference(to_skbedit(a)->params)->mark; in tcf_skbedit_mark()
75 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype()
92 priority = rcu_dereference(to_skbedit(a)->params)->priority; in tcf_skbedit_priority()
103 rx_queue = rcu_dereference(to_skbedit(a)->params)->queue_mapping; in tcf_skbedit_rx_queue_mapping()
Dtc_csum.h17 struct tcf_csum_params __rcu *params; member
35 update_flags = rcu_dereference(to_tcf_csum(a)->params)->update_flags; in tcf_csum_update_flags()
Dtc_ct.h37 struct tcf_ct_params __rcu *params; member
43 rcu_dereference_protected(to_ct(a)->params, \
Dtc_ctinfo.h20 struct tcf_ctinfo_params __rcu *params; member
/include/net/
Dcodel_impl.h54 static void codel_params_init(struct codel_params *params) in codel_params_init() argument
56 params->interval = MS2TIME(100); in codel_params_init()
57 params->target = MS2TIME(5); in codel_params_init()
58 params->ce_threshold = CODEL_DISABLED_THRESHOLD; in codel_params_init()
59 params->ce_threshold_mask = 0; in codel_params_init()
60 params->ce_threshold_selector = 0; in codel_params_init()
61 params->ecn = false; in codel_params_init()
107 struct codel_params *params, in codel_should_drop() argument
128 if (codel_time_before(vars->ldelay, params->target) || in codel_should_drop()
129 *backlog <= params->mtu) { in codel_should_drop()
[all …]
Dpie.h89 static inline void pie_params_init(struct pie_params *params) in pie_params_init() argument
91 params->target = PSCHED_NS2TICKS(15 * NSEC_PER_MSEC); /* 15 ms */ in pie_params_init()
92 params->tupdate = usecs_to_jiffies(15 * USEC_PER_MSEC); /* 15 ms */ in pie_params_init()
93 params->limit = 1000; in pie_params_init()
94 params->alpha = 2; in pie_params_init()
95 params->beta = 20; in pie_params_init()
96 params->ecn = false; in pie_params_init()
97 params->bytemode = false; in pie_params_init()
98 params->dq_rate_estimator = false; in pie_params_init()
126 bool pie_drop_early(struct Qdisc *sch, struct pie_params *params,
[all …]
/include/crypto/
Ddh.h51 unsigned int crypto_dh_key_len(const struct dh *params);
66 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params);
80 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params);
96 struct dh *params);
Decdh.h52 unsigned int crypto_ecdh_key_len(const struct ecdh *params);
/include/sound/
Dsdw.h33 struct snd_pcm_hw_params *params, in snd_sdw_params_to_config() argument
37 stream_config->frame_rate = params_rate(params); in snd_sdw_params_to_config()
38 stream_config->ch_count = params_channels(params); in snd_sdw_params_to_config()
39 stream_config->bps = snd_pcm_format_width(params_format(params)); in snd_sdw_params_to_config()
Dpcm_iec958.h12 int snd_pcm_fill_iec958_consumer_hw_params(struct snd_pcm_hw_params *params,
18 int snd_pcm_create_iec958_consumer_hw_params(struct snd_pcm_hw_params *params,
Dsoc-link.h14 struct snd_pcm_hw_params *params);
21 struct snd_pcm_hw_params *params);
Ddmaengine_pcm.h31 const struct snd_pcm_hw_params *params, struct dma_slave_config *slave_config);
140 struct snd_pcm_hw_params *params,
167 struct snd_pcm_hw_params *params,
Dpxa2xx-lib.h16 struct snd_pcm_hw_params *params);
31 struct snd_pcm_hw_params *params);
/include/linux/
Drhashtable.h126 const void *key, const struct rhashtable_params params, in rht_key_get_hash() argument
132 if (!__builtin_constant_p(params.key_len)) in rht_key_get_hash()
134 else if (params.key_len) { in rht_key_get_hash()
135 unsigned int key_len = params.key_len; in rht_key_get_hash()
137 if (params.hashfn) in rht_key_get_hash()
138 hash = params.hashfn(key, key_len, hash_rnd); in rht_key_get_hash()
146 if (params.hashfn) in rht_key_get_hash()
147 hash = params.hashfn(key, key_len, hash_rnd); in rht_key_get_hash()
157 const void *key, const struct rhashtable_params params) in rht_key_hashfn() argument
159 unsigned int hash = rht_key_get_hash(ht, key, params, tbl->hash_rnd); in rht_key_hashfn()
[all …]
Dkey-type.h151 struct key_restriction *(*lookup_restriction)(const char *params);
154 int (*asym_query)(const struct kernel_pkey_params *params,
156 int (*asym_eds_op)(struct kernel_pkey_params *params,
158 int (*asym_verify_signature)(struct kernel_pkey_params *params,
Dmemory_hotplug.h142 struct mhp_params *params);
162 struct mhp_params *params);
166 unsigned long nr_pages, struct mhp_params *params) in add_pages() argument
168 return __add_pages(nid, start_pfn, nr_pages, params); in add_pages()
172 struct mhp_params *params);
333 struct mhp_params *params);
Drhashtable-types.h135 const struct rhashtable_params *params);
139 const struct rhashtable_params *params);
/include/soc/tegra/
Dcommon.h27 struct tegra_core_opp_params *params);
36 struct tegra_core_opp_params *params) in devm_tegra_core_dev_init_opp_table() argument
/include/keys/
Dasymmetric-subtype.h35 int (*query)(const struct kernel_pkey_params *params,
39 int (*eds_op)(struct kernel_pkey_params *params,
/include/uapi/linux/
Dtee.h244 struct tee_ioctl_param params[]; member
275 struct tee_ioctl_param params[]; member
330 struct tee_ioctl_param params[]; member
351 struct tee_ioctl_param params[]; member
Dfsl_mc.h24 __le64 params[MC_CMD_NUM_OF_PARAMS]; member
/include/linux/qed/
Dqed_eth_if.h278 struct qed_start_vport_params *params);
284 struct qed_update_vport_params *params);
288 struct qed_queue_start_common_params *params,
299 struct qed_queue_start_common_params *params,
310 struct qed_filter_ucast_params *params);
313 struct qed_filter_mcast_params *params);
325 struct qed_tunn_params *params);
329 struct qed_ntuple_filter_params *params);
/include/net/netfilter/
Dxt_rateest.h17 struct gnet_estimator params; member

12345