Home
last modified time | relevance | path

Searched full:conf (Results 1 – 25 of 839) sorted by relevance

12345678910>>...34

/linux/drivers/md/
H A Draid5-log.h5 int r5l_init_log(struct r5conf *conf, struct md_rdev *rdev);
6 void r5l_exit_log(struct r5conf *conf);
13 bool r5l_log_disk_error(struct r5conf *conf);
15 int r5c_try_caching_write(struct r5conf *conf, struct stripe_head *sh,
17 void r5c_finish_stripe_write_out(struct r5conf *conf, struct stripe_head *sh,
22 void r5c_handle_cached_data_endio(struct r5conf *conf,
26 void r5c_flush_cache(struct r5conf *conf, int num);
27 void r5c_check_stripe_cache_usage(struct r5conf *conf);
28 void r5c_check_cached_full_stripe(struct r5conf *conf);
31 bool r5c_big_stripe_cached(struct r5conf *conf, sector_t sect);
[all …]
H A Draid1.c47 static void allow_barrier(struct r1conf *conf, sector_t sector_nr);
48 static void lower_barrier(struct r1conf *conf, sector_t sector_nr);
130 static void *r1bio_pool_alloc(gfp_t gfp_flags, struct r1conf *conf) in r1bio_pool_alloc() argument
132 int size = offsetof(struct r1bio, bios[conf->raid_disks * 2]); in r1bio_pool_alloc()
147 struct r1conf *conf = data; in r1buf_pool_alloc() local
154 r1_bio = r1bio_pool_alloc(gfp_flags, conf); in r1buf_pool_alloc()
158 rps = kmalloc_array(conf->raid_disks * 2, sizeof(struct resync_pages), in r1buf_pool_alloc()
166 for (j = conf->raid_disks * 2; j-- ; ) { in r1buf_pool_alloc()
179 if (test_bit(MD_RECOVERY_REQUESTED, &conf->mddev->recovery)) in r1buf_pool_alloc()
180 need_pages = conf->raid_disks * 2; in r1buf_pool_alloc()
[all …]
/linux/drivers/clk/
H A Dclk-sparx5.c59 const struct s5_pll_conf *conf) in s5_calc_freq() argument
61 unsigned long rate = parent_rate / conf->div; in s5_calc_freq()
63 if (conf->rot_ena) { in s5_calc_freq()
64 int sign = conf->rot_dir ? -1 : 1; in s5_calc_freq()
65 int divt = sel_rates[conf->rot_sel] * (1 + conf->pre_div); in s5_calc_freq()
78 struct s5_pll_conf *conf) in s5_search_fractional() argument
84 memset(conf, 0, sizeof(*conf)); in s5_search_fractional()
85 conf->div = div; in s5_search_fractional()
86 conf->rot_ena = 1; /* Fractional rate */ in s5_search_fractional()
89 conf->rot_dir = !!d; in s5_search_fractional()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon-beacon.c43 struct ath_beacon_config *conf, in ath9k_cmn_beacon_config_sta() argument
58 conf->intval = conf->beacon_interval; in ath9k_cmn_beacon_config_sta()
64 dtim_intval = conf->intval * conf->dtim_period; in ath9k_cmn_beacon_config_sta()
71 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval); in ath9k_cmn_beacon_config_sta()
73 bs->bs_intval = TU_TO_USEC(conf->intval); in ath9k_cmn_beacon_config_sta()
74 bs->bs_dtimperiod = conf->dtim_period * bs->bs_intval; in ath9k_cmn_beacon_config_sta()
75 bs->bs_nexttbtt = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
76 bs->bs_nextdtim = conf->nexttbtt; in ath9k_cmn_beacon_config_sta()
77 if (conf->dtim_period > 1) in ath9k_cmn_beacon_config_sta()
86 bs->bs_bmissthreshold = DIV_ROUND_UP(conf->bmiss_timeout, conf->intval); in ath9k_cmn_beacon_config_sta()
[all …]
/linux/net/sched/
H A Dem_text.c47 struct tcf_em_text *conf = data; in em_text_change() local
51 if (len < sizeof(*conf) || len < (sizeof(*conf) + conf->pattern_len)) in em_text_change()
54 if (conf->from_layer > conf->to_layer) in em_text_change()
57 if (conf->from_layer == conf->to_layer && in em_text_change()
58 conf->from_offset > conf->to_offset) in em_text_change()
62 ts_conf = textsearch_prepare(conf->algo, (u8 *) conf + sizeof(*conf), in em_text_change()
63 conf->pattern_len, GFP_KERNEL, flags); in em_text_change()
86 tm->from_offset = conf->from_offset; in em_text_change()
87 tm->to_offset = conf->to_offset; in em_text_change()
88 tm->from_layer = conf->from_layer; in em_text_change()
[all …]
/linux/sound/soc/tegra/
H A Dtegra_cif.h50 struct tegra_cif_conf *conf) in tegra_set_cif() argument
54 value = (conf->threshold << TEGRA_ACIF_CTRL_FIFO_TH_SHIFT) | in tegra_set_cif()
55 ((conf->audio_ch - 1) << TEGRA_ACIF_CTRL_AUDIO_CH_SHIFT) | in tegra_set_cif()
56 ((conf->client_ch - 1) << TEGRA_ACIF_CTRL_CLIENT_CH_SHIFT) | in tegra_set_cif()
57 (conf->audio_bits << TEGRA_ACIF_CTRL_AUDIO_BITS_SHIFT) | in tegra_set_cif()
58 (conf->client_bits << TEGRA_ACIF_CTRL_CLIENT_BITS_SHIFT) | in tegra_set_cif()
59 (conf->expand << TEGRA_ACIF_CTRL_EXPAND_SHIFT) | in tegra_set_cif()
60 (conf->stereo_conv << TEGRA_ACIF_CTRL_STEREO_CONV_SHIFT) | in tegra_set_cif()
61 (conf->replicate << TEGRA_ACIF_CTRL_REPLICATE_SHIFT) | in tegra_set_cif()
62 (conf->truncate << TEGRA_ACIF_CTRL_TRUNCATE_SHIFT) | in tegra_set_cif()
[all …]
/linux/include/linux/
H A Dtextsearch.h68 * @conf: search configuration
78 struct ts_config *conf,
83 * @conf: search configuration
89 void (*finish)(struct ts_config *conf,
95 * @conf: search configuration
105 static inline unsigned int textsearch_next(struct ts_config *conf, in textsearch_next() argument
108 unsigned int ret = conf->ops->find(conf, state); in textsearch_next()
110 if (conf->finish) in textsearch_next()
111 conf->finish(conf, state); in textsearch_next()
118 * @conf: search configuration
[all …]
/linux/scripts/kconfig/tests/choice/
H A D__init__.py7 def test_oldask0(conf): argument
8 assert conf.oldaskconfig() == 0
9 assert conf.stdout_contains('oldask0_expected_stdout')
12 def test_allyes(conf): argument
13 assert conf.allyesconfig() == 0
14 assert conf.config_contains('allyes_expected_config')
17 def test_allmod(conf): argument
18 assert conf.allmodconfig() == 0
19 assert conf.config_contains('allmod_expected_config')
22 def test_allno(conf): argument
[all …]
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00config.c24 struct rt2x00intf_conf conf; in rt2x00lib_config_intf() local
27 conf.type = type; in rt2x00lib_config_intf()
31 conf.sync = TSF_SYNC_ADHOC; in rt2x00lib_config_intf()
35 conf.sync = TSF_SYNC_AP_NONE; in rt2x00lib_config_intf()
38 conf.sync = TSF_SYNC_INFRA; in rt2x00lib_config_intf()
41 conf.sync = TSF_SYNC_NONE; in rt2x00lib_config_intf()
51 memset(conf.mac, 0, sizeof(conf.mac)); in rt2x00lib_config_intf()
53 memcpy(conf.mac, mac, ETH_ALEN); in rt2x00lib_config_intf()
55 memset(conf.bssid, 0, sizeof(conf.bssid)); in rt2x00lib_config_intf()
57 memcpy(conf.bssid, bssid, ETH_ALEN); in rt2x00lib_config_intf()
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_port.c97 if (port->conf.portmode == PHY_INTERFACE_MODE_1000BASEX) in sparx5_get_dev2g5_status()
99 else if (port->conf.portmode == PHY_INTERFACE_MODE_2500BASEX) in sparx5_get_dev2g5_status()
110 if (port->conf.portmode == PHY_INTERFACE_MODE_SGMII) { in sparx5_get_dev2g5_status()
125 bool high_speed_dev = sparx5_is_baser(port->conf.portmode); in sparx5_get_sfi_status()
148 if (port->conf.portmode == PHY_INTERFACE_MODE_5GBASER) in sparx5_get_sfi_status()
150 else if (port->conf.portmode == PHY_INTERFACE_MODE_10GBASER) in sparx5_get_sfi_status()
165 status->speed = port->conf.speed; in sparx5_get_port_status()
166 if (port->conf.power_down) { in sparx5_get_port_status()
170 switch (port->conf.portmode) { in sparx5_get_port_status()
190 struct sparx5_port_config *conf, in sparx5_port_error() argument
[all …]
/linux/net/mac80211/
H A Dchan.c58 if (radio_idx >= 0 && ctx->conf.radio_idx != radio_idx) in ieee80211_num_chanctx()
79 struct ieee80211_chanctx_conf *conf; in ieee80211_link_get_chanctx() local
81 conf = rcu_dereference_protected(link->conf->chanctx_conf, in ieee80211_link_get_chanctx()
83 if (!conf) in ieee80211_link_get_chanctx()
86 return container_of(conf, struct ieee80211_chanctx, conf); in ieee80211_link_get_chanctx()
129 .oper = ctx->conf.def, in ieee80211_chanctx_compatible()
130 .ap = ctx->conf.ap, in ieee80211_chanctx_compatible()
174 struct ieee80211_bss_conf *link_conf = link->conf; in ieee80211_chanctx_non_reserved_chandef()
273 * ctx->conf.min_def, we have to make sure to take in ieee80211_get_sta_bw()
320 return ctx->conf.def.width; in ieee80211_get_chanctx_max_required_bw()
[all …]
H A Dkey.c138 !(key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_key_enable_hw_accel()
156 if (sta && !(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE) && in ieee80211_key_enable_hw_accel()
168 if (!(key->conf.flags & IEEE80211_KEY_FLAG_PAIRWISE)) { in ieee80211_key_enable_hw_accel()
174 if (key->conf.link_id >= 0 && sdata->vif.active_links && in ieee80211_key_enable_hw_accel()
175 !(sdata->vif.active_links & BIT(key->conf.link_id))) in ieee80211_key_enable_hw_accel()
179 sta ? &sta->sta : NULL, &key->conf); in ieee80211_key_enable_hw_accel()
184 if (!(key->conf.flags & (IEEE80211_KEY_FLAG_GENERATE_MMIC | in ieee80211_key_enable_hw_accel()
189 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE) && in ieee80211_key_enable_hw_accel()
190 (key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV)); in ieee80211_key_enable_hw_accel()
192 WARN_ON((key->conf.flags & IEEE80211_KEY_FLAG_PUT_MIC_SPACE) && in ieee80211_key_enable_hw_accel()
[all …]
/linux/drivers/isdn/mISDN/
H A Ddsp_cmx.c150 struct dsp_conf *conf; in dsp_cmx_debug() local
159 if (odsp->conf) in dsp_cmx_debug()
160 printk(" (Conf %d)", odsp->conf->id); in dsp_cmx_debug()
165 printk(KERN_DEBUG "-----Current Conf:\n"); in dsp_cmx_debug()
166 list_for_each_entry(conf, &conf_ilist, list) { in dsp_cmx_debug()
167 printk(KERN_DEBUG "* Conf %d (%p)\n", conf->id, conf); in dsp_cmx_debug()
168 list_for_each_entry(member, &conf->mlist, list) { in dsp_cmx_debug()
189 struct dsp_conf *conf; in dsp_cmx_search_conf() local
197 list_for_each_entry(conf, &conf_ilist, list) in dsp_cmx_search_conf()
198 if (conf->id == id) in dsp_cmx_search_conf()
[all …]
/linux/net/netfilter/
H A Dxt_string.c26 const struct xt_string_info *conf = par->matchinfo; in string_mt() local
29 invert = conf->u.v1.flags & XT_STRING_FLAG_INVERT; in string_mt()
31 return (skb_find_text((struct sk_buff *)skb, conf->from_offset, in string_mt()
32 conf->to_offset, conf->config) in string_mt()
40 struct xt_string_info *conf = par->matchinfo; in string_mt_check() local
45 if (conf->from_offset > conf->to_offset) in string_mt_check()
47 if (conf->algo[XT_STRING_MAX_ALGO_NAME_SIZE - 1] != '\0') in string_mt_check()
49 if (conf->patlen > XT_STRING_MAX_PATTERN_SIZE) in string_mt_check()
51 if (conf->u.v1.flags & in string_mt_check()
54 if (conf->u.v1.flags & XT_STRING_FLAG_IGNORECASE) in string_mt_check()
[all …]
/linux/Documentation/admin-guide/aoe/
H A Dudev-install.sh7 # find udev.conf, often /etc/udev/udev.conf
8 # (or environment can specify where to find udev.conf)
10 if test -z "$conf"; then
11 if test -r /etc/udev/udev.conf; then
12 conf=/etc/udev/udev.conf
14 conf="`find /etc -type f -name udev.conf 2> /dev/null`"
15 if test -z "$conf" || test ! -r "$conf"; then
16 echo "$me Error: no udev.conf found" 1>&2
25 rules_d="`sed -n '/^udev_rules=/{ s!udev_rules=!!; s!\"!!g; p; }' $conf`"
/linux/arch/arm64/boot/dts/xilinx/
H A Dzynqmp-zc1751-xm019-dc5.dts120 conf {
134 conf {
147 conf {
161 conf {
174 conf {
180 conf-rx {
185 conf-tx {
197 conf {
203 conf-rx {
208 conf-tx {
[all …]
/linux/drivers/net/ethernet/marvell/octeon_ep/
H A Doctep_cn9k_pf.c109 struct octep_config *conf = oct->conf; in cn93_reset_iq() local
115 q_no += conf->pf_ring_cfg.srn; in cn93_reset_iq()
139 q_no += CFG_GET_PORTS_PF_SRN(oct->conf); in cn93_reset_oq()
160 for (q = 0; q < CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); q++) { in octep_reset_io_queues_cn93_pf()
180 struct octep_config *conf = oct->conf; in octep_configure_ring_mapping_cn93_pf() local
182 u64 pf_srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_configure_ring_mapping_cn93_pf()
185 for (q = 0; q < CFG_GET_PORTS_ACTIVE_IO_RINGS(conf); q++) { in octep_configure_ring_mapping_cn93_pf()
202 struct octep_config *conf = oct->conf; in octep_init_config_cn93_pf() local
212 conf->sriov_cfg.max_rings_per_vf = CN93_SDP_EPF_RINFO_RPVF(val); in octep_init_config_cn93_pf()
213 conf->sriov_cfg.active_rings_per_vf = conf->sriov_cfg.max_rings_per_vf; in octep_init_config_cn93_pf()
[all …]
H A Doctep_cnxk_pf.c129 struct octep_config *conf = oct->conf; in cnxk_reset_iq() local
135 q_no += conf->pf_ring_cfg.srn; in cnxk_reset_iq()
159 q_no += CFG_GET_PORTS_PF_SRN(oct->conf); in cnxk_reset_oq()
183 for (q = 0; q < CFG_GET_PORTS_ACTIVE_IO_RINGS(oct->conf); q++) { in octep_reset_io_queues_cnxk_pf()
203 struct octep_config *conf = oct->conf; in octep_configure_ring_mapping_cnxk_pf() local
205 u64 pf_srn = CFG_GET_PORTS_PF_SRN(oct->conf); in octep_configure_ring_mapping_cnxk_pf()
208 for (q = 0; q < CFG_GET_PORTS_ACTIVE_IO_RINGS(conf); q++) { in octep_configure_ring_mapping_cnxk_pf()
225 struct octep_config *conf = oct->conf; in octep_init_config_cnxk_pf() local
236 conf->sriov_cfg.max_rings_per_vf = CNXK_SDP_EPF_RINFO_RPVF(val); in octep_init_config_cnxk_pf()
237 conf->sriov_cfg.active_rings_per_vf = conf->sriov_cfg.max_rings_per_vf; in octep_init_config_cnxk_pf()
[all …]
/linux/drivers/platform/x86/intel/telemetry/
H A Ddebugfs.c334 struct telemetry_debugfs_conf *conf = debugfs_conf; in telem_pss_states_show() local
362 if (evtlog[index].telem_evtid == conf->pss_idle_id) { in telem_pss_states_show()
363 pss_idle[conf->pss_idle_evts - 1] = in telem_pss_states_show()
365 conf->pss_idle_data[conf->pss_idle_evts - 1].bit_pos) & in telem_pss_states_show()
369 TELEM_CHECK_AND_PARSE_EVTS(conf->pss_idle_id, in telem_pss_states_show()
370 conf->pss_idle_evts - 1, in telem_pss_states_show()
372 conf->pss_idle_data, TELEM_MASK_BIT); in telem_pss_states_show()
374 TELEM_CHECK_AND_PARSE_EVTS(conf->pcs_idle_blkd_id, in telem_pss_states_show()
375 conf->pcs_idle_blkd_evts, in telem_pss_states_show()
378 conf->pcs_idle_blkd_data, in telem_pss_states_show()
[all …]
/linux/drivers/usb/typec/altmodes/
H A Ddisplayport.c86 unsigned long conf; in dp_altmode_notify() local
89 if (dp->data.conf) { in dp_altmode_notify()
90 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify()
91 conf = TYPEC_MODAL_STATE(state); in dp_altmode_notify()
93 conf = TYPEC_STATE_USB; in dp_altmode_notify()
96 return typec_altmode_notify(dp->alt, conf, &dp->data); in dp_altmode_notify()
102 u32 conf; in dp_altmode_configure() local
105 conf = (dp->data.conf & DP_CONF_SIGNALLING_MASK) >> DP_CONF_SIGNALLING_SHIFT; in dp_altmode_configure()
111 conf |= DP_CONF_UFP_U_AS_DFP_D; in dp_altmode_configure()
120 conf |= DP_CONF_UFP_U_AS_UFP_D; in dp_altmode_configure()
[all …]
/linux/drivers/net/wireless/ti/wlcore/
H A Dacx.c171 acx->lifetime = cpu_to_le32(wl->conf.rx.rx_msdu_life_time); in wl1271_acx_rx_msdu_life_time()
260 rx_timeout->ps_poll_timeout = cpu_to_le16(wl->conf.rx.ps_poll_timeout); in wl1271_acx_service_period_timeout()
261 rx_timeout->upsd_timeout = cpu_to_le16(wl->conf.rx.upsd_timeout); in wl1271_acx_service_period_timeout()
287 rts_threshold = wl->conf.rx.rts_threshold; in wl1271_acx_rts_threshold()
314 struct conf_itrim_settings *c = &wl->conf.itrim; in wl1271_acx_dco_itrim_params()
350 wl->conf.conn.bcn_filt_mode == CONF_BCN_FILT_MODE_DISABLED) in wl1271_acx_beacon_filter_opt()
399 for (i = 0; i < wl->conf.conn.bcn_filt_ie_count; i++) { in wl1271_acx_beacon_filter_table()
400 struct conf_bcn_filt_rule *r = &(wl->conf.conn.bcn_filt_ie[i]); in wl1271_acx_beacon_filter_table()
456 threshold = wl->conf.conn.synch_fail_thold; in wl1271_acx_conn_monit_params()
457 timeout = wl->conf.conn.bss_lose_timeout; in wl1271_acx_conn_monit_params()
[all …]
/linux/tools/testing/selftests/ublk/
H A Dstripe.c33 static inline unsigned calculate_nr_vec(const struct stripe_conf *conf, in calculate_nr_vec() argument
36 const unsigned shift = conf->shift - 9; in calculate_nr_vec()
37 const unsigned unit_sects = conf->nr_files << shift; in calculate_nr_vec()
44 static struct stripe_array *alloc_stripe_array(const struct stripe_conf *conf, in alloc_stripe_array() argument
47 unsigned nr_vecs = calculate_nr_vec(conf, iod); in alloc_stripe_array()
48 unsigned total = nr_vecs * conf->nr_files; in alloc_stripe_array()
55 for (i = 0; i < conf->nr_files; i++) { in alloc_stripe_array()
72 static void calculate_stripe_array(const struct stripe_conf *conf, in calculate_stripe_array() argument
75 const unsigned shift = conf->shift - 9; in calculate_stripe_array()
77 const unsigned unit_sects = conf->nr_files << shift; in calculate_stripe_array()
[all …]
/linux/samples/bpf/
H A Dtc_l2_redirect.sh10 RP_FILTER=$(< /proc/sys/net/ipv4/conf/all/rp_filter)
11 IPV6_DISABLED=$(< /proc/sys/net/ipv6/conf/all/disable_ipv6)
12 IPV6_FORWARDING=$(< /proc/sys/net/ipv6/conf/all/forwarding)
49 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0
50 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ipt2.rp_filter=0
54 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.all.rp_filter=0
55 $IP netns exec ns2 sysctl -q -w net.ipv4.conf.ip6t2.rp_filter=0
66 sysctl -q -w net.ipv4.conf.all.rp_filter=0
67 sysctl -q -w net.ipv6.conf.all.forwarding=1
68 sysctl -q -w net.ipv6.conf.all.disable_ipv6=0
[all …]
/linux/lib/
H A Dts_kmp.c42 static unsigned int kmp_find(struct ts_config *conf, struct ts_state *state) in kmp_find() argument
44 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_find()
47 const int icase = conf->flags & TS_IGNORECASE; in kmp_find()
50 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
94 struct ts_config *conf; in kmp_init() local
100 conf = alloc_ts_config(priv_size, gfp_mask); in kmp_init()
101 if (IS_ERR(conf)) in kmp_init()
102 return conf; in kmp_init()
104 conf->flags = flags; in kmp_init()
105 kmp = ts_config_priv(conf); in kmp_init()
[all …]
H A Dtextsearch.c80 * struct ts_config *conf;
85 * conf = textsearch_prepare("kmp", pattern, strlen(pattern),
87 * if (IS_ERR(conf)) {
88 * err = PTR_ERR(conf);
92 * pos = textsearch_find_continuous(conf, &state, example, strlen(example));
96 * textsearch_destroy(conf);
205 struct ts_config *conf, in get_linear_data() argument
220 * @conf: search configuration
231 unsigned int textsearch_find_continuous(struct ts_config *conf, in textsearch_find_continuous() argument
237 conf->get_next_block = get_linear_data; in textsearch_find_continuous()
[all …]

12345678910>>...34