Searched defs:config (Results 51 - 75 of 336) sorted by relevance

1234567891011>>

/freebsd-head/contrib/processor-trace/libipt/src/
H A Dpt_sync.c68 const struct pt_config *config)
73 if (!pos || !config)
76 begin = config->begin;
77 end = config->end;
113 errcode = pt_pkt_read_psb(pos, config);
131 const struct pt_config *config)
136 if (!sync || !pos || !config)
139 begin = config->begin;
140 end = config->end;
152 errcode = pt_pkt_read_psb(pos, config);
67 pt_find_psb(const uint8_t *pos, const struct pt_config *config) argument
130 pt_sync_set(const uint8_t **sync, const uint8_t *pos, const struct pt_config *config) argument
161 pt_sync_forward(const uint8_t **sync, const uint8_t *pos, const struct pt_config *config) argument
209 pt_sync_backward(const uint8_t **sync, const uint8_t *pos, const struct pt_config *config) argument
[all...]
H A Dpt_decoder_function.c221 const struct pt_config *config)
226 if (!dfun || !config)
232 begin = config->begin;
233 end = config->end;
220 pt_df_fetch(const struct pt_decoder_function **dfun, const uint8_t *pos, const struct pt_config *config) argument
/freebsd-head/contrib/processor-trace/libipt/test/src/
H A Dptunit-encoder.c42 struct pt_config config; member in struct:test_fixture
54 struct pt_config *config; local
58 config = &tfix->config;
63 pt_config_init(config);
64 config->begin = buffer;
65 config->end = buffer + sizeof(tfix->buffer);
67 errcode = pt_encoder_init(&tfix->encoder, config);
76 struct pt_config config; local
79 errcode = pt_encoder_init(NULL, &config);
176 const struct pt_config *config; local
186 const struct pt_config *config; local
[all...]
H A Dptunit-config.c44 struct pt_config config; local
47 errcode = pt_config_from_user(NULL, &config);
50 errcode = pt_config_from_user(&config, NULL);
58 struct pt_config config, user; local
61 user.size = sizeof(config.size);
63 errcode = pt_config_from_user(&config, &user);
71 struct pt_config config, user; local
76 errcode = pt_config_from_user(&config, &user);
81 errcode = pt_config_from_user(&config, &user);
87 errcode = pt_config_from_user(&config,
101 struct pt_config config, user; local
123 struct pt_config config, user; local
145 struct pt_config config, user; local
183 struct pt_config config; local
203 struct pt_config config; local
236 struct pt_config config; local
279 struct pt_config config; local
301 struct pt_config config; local
335 struct pt_config config; local
363 struct pt_config config; local
397 struct pt_config config; local
425 struct pt_config config; local
447 struct pt_config config; local
[all...]
H A Dptunit-packet_decoder.c42 struct pt_config config; member in struct:test_fixture
54 struct pt_config *config; local
58 config = &tfix->config;
63 pt_config_init(config);
64 config->begin = buffer;
65 config->end = buffer + sizeof(tfix->buffer);
67 errcode = pt_pkt_decoder_init(&tfix->decoder, config);
76 struct pt_config config; local
79 errcode = pt_pkt_decoder_init(NULL, &config);
210 const struct pt_config *config; local
220 const struct pt_config *config; local
[all...]
H A Dptunit-sync.c43 struct pt_config config; member in struct:sync_fixture
54 memset(&sfix->config, 0, sizeof(sfix->config));
55 sfix->config.size = sizeof(sfix->config);
56 sfix->config.begin = sfix->buffer;
57 sfix->config.end = sfix->buffer + sizeof(sfix->buffer);
81 errcode = pt_sync_forward(NULL, sfix->config.begin, &sfix->config);
84 errcode = pt_sync_forward(&sync, NULL, &sfix->config);
[all...]
H A Dptunit-time.c40 struct pt_config config; member in struct:time_fixture
55 memset(&tfix->config, 0, sizeof(tfix->config));
56 tfix->config.size = sizeof(tfix->config);
57 tfix->config.cpuid_0x15_eax = 2;
58 tfix->config.cpuid_0x15_ebx = 1;
59 tfix->config.mtc_freq = 4;
75 errcode = pt_time_update_tsc(NULL, &packet, &tfix->config);
78 errcode = pt_time_update_tsc(&tfix->time, NULL, &tfix->config);
213 struct pt_config config; local
[all...]
/freebsd-head/sys/dev/sound/pci/hda/
H A Dhdaa_patches.c152 uint32_t config, orig, id, subid; local
155 config = orig = w->wclass.pin.config;
166 config &= ~HDA_CONFIG_DEFAULTCONF_DEVICE_MASK;
167 config |= HDA_CONFIG_DEFAULTCONF_DEVICE_LINE_IN;
170 config &= ~HDA_CONFIG_DEFAULTCONF_DEVICE_MASK;
171 config |= HDA_CONFIG_DEFAULTCONF_DEVICE_HP_OUT;
184 config &= ~HDA_CONFIG_DEFAULTCONF_DEVICE_MASK;
185 config |= HDA_CONFIG_DEFAULTCONF_DEVICE_MIC_IN;
188 config
[all...]
/freebsd-head/contrib/kyua/cli/
H A Dconfig_test.cpp29 #include "cli/config.hpp"
33 #include "engine/config.hpp"
37 #include "utils/config/tree.ipp"
44 namespace config = utils::config;
105 validate_mock_config(const config::tree& user_config, const char* cookie)
107 const config::properties_map& properties = user_config.all_properties(
109 const config::properties_map::const_iterator iter =
121 require_eq(const config::tree& exp_tree, const config
192 const config::tree config = cli::load_config(mock_cmdline, false); local
193 require_eq(engine::default_config(), config); local
225 const config::tree config = cli::load_config(mock_cmdline, false); local
226 require_eq(engine::default_config(), config); local
273 const config::tree config = cli::load_config(mock_cmdline, false); local
274 require_eq(engine::default_config(), config); local
332 const config::tree config = cli::load_config(mock_cmdline, false); local
333 require_eq(engine::default_config(), config); local
[all...]
/freebsd-head/crypto/heimdal/kdc/
H A Dconfig.c47 static char *config_file; /* location of kdc config file */
66 "config-file", 'c', arg_string, &config_file,
67 "location of config file", "file"
139 krb5_kdc_configuration *config; local
190 ret = krb5_kdc_get_config(context, &config);
194 kdc_openlog(context, "kdc", config);
196 ret = krb5_kdc_set_dbinfo(context, config);
214 config->require_preauth = require_preauth;
288 krb5_kdc_pkinit_config(context, config);
290 return config;
[all...]
H A Ddigest-service.c49 krb5_kdc_configuration *config; variable
68 kdc_log(context, config, 1, "digest-request: uid=%d",
94 kdc_log(context, config, 1, "digest-request: user=%s/%s",
113 ret = _kdc_db_fetch(context, config, client,
127 kdc_log(context, config, 2,
206 kdc_log(context, config, 1, "digest-request: %d", ret);
257 ret = krb5_kdc_get_config(context, &config);
261 kdc_openlog(context, "digest-service", config);
263 ret = krb5_kdc_set_dbinfo(context, config);
H A Dprocess.c52 krb5_kdc_configuration *config,
70 ret = _kdc_as_rep(context, config, &req, req_buffer,
79 krb5_kdc_configuration *config,
97 ret = _kdc_tgs_rep(context, config, &req, reply,
107 krb5_kdc_configuration *config,
126 ret = _kdc_do_digest(context, config, &digestreq, reply, from, addr);
137 krb5_kdc_configuration *config,
156 ret = _kdc_do_kx509(context, config, &kx509req, reply, from, addr);
183 krb5_kdc_configuration *config,
201 ret = (*services[i].process)(context, config,
51 kdc_as_req(krb5_context context, krb5_kdc_configuration *config, krb5_data *req_buffer, krb5_data *reply, const char *from, struct sockaddr *addr, int datagram_reply, int *claim) argument
78 kdc_tgs_req(krb5_context context, krb5_kdc_configuration *config, krb5_data *req_buffer, krb5_data *reply, const char *from, struct sockaddr *addr, int datagram_reply, int *claim) argument
106 kdc_digest(krb5_context context, krb5_kdc_configuration *config, krb5_data *req_buffer, krb5_data *reply, const char *from, struct sockaddr *addr, int datagram_reply, int *claim) argument
136 kdc_kx509(krb5_context context, krb5_kdc_configuration *config, krb5_data *req_buffer, krb5_data *reply, const char *from, struct sockaddr *addr, int datagram_reply, int *claim) argument
182 krb5_kdc_process_request(krb5_context context, krb5_kdc_configuration *config, unsigned char *buf, size_t len, krb5_data *reply, krb5_boolean *prependlength, const char *from, struct sockaddr *addr, int datagram_reply) argument
222 krb5_kdc_process_krb5_request(krb5_context context, krb5_kdc_configuration *config, unsigned char *buf, size_t len, krb5_data *reply, const char *from, struct sockaddr *addr, int datagram_reply) argument
[all...]
/freebsd-head/usr.bin/dpv/
H A Ddpv.c246 * stdin or fifos and produces necessary config to drive dpv(3) `--gauge'
259 struct dpv_config *config; local
265 /* Allocate config structure */
266 if ((config = malloc(config_size)) == NULL)
268 memset((void *)(config), '\0', config_size);
277 if (config->aprompt == NULL) {
278 config->aprompt = malloc(DPV_APROMPT_MAX);
279 if (config->aprompt == NULL)
282 snprintf(config->aprompt, DPV_APROMPT_MAX, "%s",
286 if (config
[all...]
/freebsd-head/usr.sbin/iovctl/
H A Dvalidate.c46 * Returning a writeable pointer requires removing the configuration from config
48 * nvlist in config with nvlist_move_nvlist.
51 find_config(nvlist_t *config, const char * device) argument
55 subsystem = dnvlist_take_nvlist(config, device, NULL);
62 err(1, "Could not allocate config nvlist");
66 err(1, "Could not allocate config nvlist");
70 err(1, "Could not allocate config nvlist");
103 nvlist_t *config; local
111 config = nvlist_take_nvlist(device_config, subsystem);
116 if (nvlist_exists(config, nam
170 const nvlist_t *subsystem, *schema, *config; local
225 validate_config(nvlist_t *config, const nvlist_t *schema, const regex_t *vf_pat) argument
[all...]
/freebsd-head/sys/netpfil/ipfw/
H A Ddn_aqm.h77 * config configure AQM algorithm
106 int (*config)(struct dn_fsk *, struct dn_extra_parms *ep, int); member in struct:dn_aqm
/freebsd-head/cddl/usr.sbin/zfsd/
H A Dvdev.cc102 "from vdev config data.");
106 Vdev::Vdev(zpool_handle_t *pool, nvlist_t *config) argument
108 m_config(config)
115 Vdev::Vdev(nvlist_t *poolConfig, nvlist_t *config) argument
117 m_config(config)
120 throw ZfsdException("Can't extract pool GUID from config.");
237 * Find our parent. This requires doing a traversal of the config; we can't
238 * cache it as leaf vdevs may change their pool config location (spare,
/freebsd-head/contrib/netbsd-tests/lib/librefuse/
H A Dt_refuse_opt.c171 struct foofs_config *config = data; local
173 if (key == FUSE_OPT_KEY_NONOPT && config->nonopt == NULL) {
174 config->nonopt = strdup(arg);
190 struct foofs_config config; local
192 memset(&config, 0, sizeof(config));
193 ATF_CHECK(fuse_opt_parse(NULL, &config, NULL, NULL) == 0);
194 ATF_CHECK_EQ(config.number, 0);
195 ATF_CHECK_EQ(config.string, NULL);
196 ATF_CHECK_EQ(config
208 struct foofs_config config; local
237 struct foofs_config config; local
263 struct foofs_config config; local
[all...]
/freebsd-head/usr.sbin/rrenumd/
H A Dparser.y119 config: label
/freebsd-head/sys/isa/
H A Dpnpparse.c64 struct isa_config *config, int ldn)
103 if (config->ic_nirq == ISA_NIRQ) {
109 config->ic_irqmask[config->ic_nirq] = 0;
110 config->ic_nirq++;
116 config->ic_irqmask[config->ic_nirq] = I16(res);
117 config->ic_nirq++;
121 if (config->ic_ndrq == ISA_NDRQ) {
127 config
63 pnp_parse_desc(device_t dev, u_char tag, u_char *res, int len, struct isa_config *config, int ldn) argument
172 isa_get_logicalid(dev), ldn, config); local
349 pnp_parse_dependant(device_t dev, u_char *resources, int len, struct isa_config *config, int ldn) argument
411 struct isa_config *config; local
571 pnp_scan_resources(device_t dev, u_char *resources, int len, struct isa_config *config, int ldn, pnp_scan_cb *cb) argument
[all...]
/freebsd-head/usr.sbin/bsdinstall/partedit/
H A Dscripted.c68 part_config(char *disk, const char *scheme, char *config) argument
113 if (config == NULL) {
118 while ((partition = strsep(&config, ",")) != NULL) {
/freebsd-head/usr.sbin/mfiutil/
H A Dmfi_foreign.c114 struct mfi_config_data *config; local
121 if (mfi_config_read_opcode(fd, opcode, &config, mbox, sizeof(mbox)) < 0) {
123 warn("Failed to get foreign config %d", error);
136 * so we're currently relying solely on the config returned above
139 dump_config(fd, config, prefix);
144 ld_list = (char *)(config->array);
147 config->array_count, config->log_drv_count,
148 config->spares_count);
151 for (i = 0; i < config
[all...]
/freebsd-head/usr.sbin/bsdinstall/distextract/
H A Ddistextract.c72 struct dpv_config *config; local
155 if ((config = calloc(1, config_size)) == NULL)
157 config->backtitle = backtitle;
158 config->title = title;
159 config->pprompt = pprompt;
160 config->aprompt = aprompt;
161 config->options |= DPV_WIDE_MODE;
162 config->label_size = -1;
163 config->action = extract_files;
164 config
[all...]
/freebsd-head/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_snmp.c333 const struct snmp_module config = { variable in typeref:struct:snmp_module
/freebsd-head/contrib/wpa/src/eap_peer/
H A Deap_proxy_dummy.c74 struct eap_peer_config *config)
73 eap_proxy_notify_config(struct eap_proxy_sm *sm, struct eap_peer_config *config) argument
/freebsd-head/sys/contrib/zstd/tests/regression/
H A Dconfig.c11 #include "config.h"
13 /* Define a config for each fast level we want to test with. */
30 /* Define a config for each level we want to test with. */
211 int config_skip_data(config_t const* config, data_t const* data) { argument
212 return config->use_dictionary && !data_has_dict(data);
215 int config_get_level(config_t const* config) argument
217 param_values_t const params = config->param_values;
227 config_t const* config,
232 param_values_t const params = config->param_values;
233 int level = config_get_level(config);
226 config_get_zstd_params( config_t const* config, uint64_t srcSize, size_t dictSize) argument
[all...]

Completed in 76 milliseconds

1234567891011>>