Home
last modified time | relevance | path

Searched refs:desc (Results 1 – 25 of 658) sorted by relevance

12345678910>>...27

/titanic_44/usr/src/cmd/mdb/common/modules/crypto/
H A Dimpl.c55 kcf_provider_desc_t desc; in kcf_provider_desc() local
72 if (mdb_vread(&desc, sizeof (kcf_provider_desc_t), (uintptr_t)ptr) in kcf_provider_desc()
79 switch (desc.pd_prov_type) { in kcf_provider_desc()
90 mdb_printf("bad pd_prov_type:\t%d\n", desc.pd_prov_type); in kcf_provider_desc()
93 mdb_printf("pd_prov_id:\t\t%u\n", desc.pd_prov_id); in kcf_provider_desc()
94 if (desc.pd_description == NULL) in kcf_provider_desc()
97 (uintptr_t)desc.pd_description) == -1) { in kcf_provider_desc()
98 mdb_warn("cannot read %p", desc.pd_description); in kcf_provider_desc()
102 mdb_printf("pd_sid:\t\t\t%u\n", desc.pd_sid); in kcf_provider_desc()
103 mdb_printf("pd_taskq:\t\t%p\n", desc.pd_taskq); in kcf_provider_desc()
[all …]
/titanic_44/usr/src/cmd/sgs/libconv/common/
H A Dtokens.c45 Isa_desc * desc; in conv_isalist() local
50 if ((desc = calloc(1, sizeof (Isa_desc))) == 0) in conv_isalist()
58 return (desc); in conv_isalist()
59 desc->isa_listsz = (size_t)size; in conv_isalist()
65 return (desc); in conv_isalist()
66 desc->isa_list = list; in conv_isalist()
77 return (desc); in conv_isalist()
78 desc->isa_opt = opt; in conv_isalist()
79 desc->isa_optno = no; in conv_isalist()
98 return (desc); in conv_isalist()
[all …]
/titanic_44/usr/src/uts/common/crypto/core/
H A Dkcf_prov_tabs.c328 kcf_provider_desc_t *desc; in kcf_alloc_provider_desc() local
332 desc = kmem_zalloc(sizeof (kcf_provider_desc_t), KM_SLEEP); in kcf_alloc_provider_desc()
346 desc->pd_description = kmem_alloc(CRYPTO_PROVIDER_DESCR_MAX_LEN + 1, in kcf_alloc_provider_desc()
348 (void) memset(desc->pd_description, ' ', in kcf_alloc_provider_desc()
350 desc->pd_description[CRYPTO_PROVIDER_DESCR_MAX_LEN] = '\0'; in kcf_alloc_provider_desc()
358 desc->pd_ops_vector = kmem_zalloc(sizeof (crypto_ops_t), KM_SLEEP); in kcf_alloc_provider_desc()
361 allocate_ops_v1(src_ops, desc->pd_ops_vector, &mech_list_count); in kcf_alloc_provider_desc()
363 allocate_ops_v2(src_ops, desc->pd_ops_vector); in kcf_alloc_provider_desc()
365 allocate_ops_v3(src_ops, desc->pd_ops_vector); in kcf_alloc_provider_desc()
367 allocate_ops_v4(src_ops, desc->pd_ops_vector); in kcf_alloc_provider_desc()
[all …]
H A Dkcf_policy.c365 kcf_policy_desc_t *desc; in kcf_policy_alloc_desc() local
367 if ((desc = kmem_zalloc(sizeof (kcf_policy_desc_t), km_flag)) == NULL) in kcf_policy_alloc_desc()
370 mutex_init(&desc->pd_mutex, NULL, MUTEX_DEFAULT, NULL); in kcf_policy_alloc_desc()
372 return (desc); in kcf_policy_alloc_desc()
379 kcf_policy_free_desc(kcf_policy_desc_t *desc) in kcf_policy_free_desc() argument
381 if (desc == NULL) in kcf_policy_free_desc()
384 mutex_destroy(&desc->pd_mutex); in kcf_policy_free_desc()
386 ASSERT(desc->pd_name != NULL); in kcf_policy_free_desc()
387 kmem_free(desc->pd_name, strlen(desc->pd_name) + 1); in kcf_policy_free_desc()
389 if (desc->pd_disabled_mechs != NULL) in kcf_policy_free_desc()
[all …]
/titanic_44/usr/src/test/util-tests/tests/printf/
H A Dprintf_test.ksh49 tests[01][desc]="hexadecimal lowercase"
55 tests[02][desc]="hexadecimal 32-bit"
61 tests[03][desc]="multiple arguments"
67 tests[04][desc]="variable position parameters"
73 tests[05][desc]="width"
79 tests[06][desc]="width and precision"
85 tests[07][desc]="variable width and precision"
91 tests[08][desc]="variable position width and precision"
97 tests[09][desc]="multi variable position width and precision"
103 tests[10][desc]="decimal from hex"
[all …]
/titanic_44/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c309 void i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, in i40e_debug_aq() argument
312 struct i40e_aq_desc *aq_desc = (struct i40e_aq_desc *)desc; in i40e_debug_aq()
317 if ((!(mask & hw->debug_mask)) || (desc == NULL)) in i40e_debug_aq()
392 struct i40e_aq_desc desc; in i40e_aq_queue_shutdown() local
394 (struct i40e_aqc_queue_shutdown *)&desc.params.raw; in i40e_aq_queue_shutdown()
397 i40e_fill_default_direct_cmd_desc(&desc, in i40e_aq_queue_shutdown()
402 status = i40e_asq_send_command(hw, &desc, NULL, 0, NULL); in i40e_aq_queue_shutdown()
424 struct i40e_aq_desc desc; in i40e_aq_get_set_rss_lut() local
426 (struct i40e_aqc_get_set_rss_lut *)&desc.params.raw; in i40e_aq_get_set_rss_lut()
429 i40e_fill_default_direct_cmd_desc(&desc, in i40e_aq_get_set_rss_lut()
[all …]
H A Di40e_adminq.c150 struct i40e_aq_desc *desc; in i40e_alloc_arq_bufs() local
176 desc = I40E_ADMINQ_DESC(hw->aq.arq, i); in i40e_alloc_arq_bufs()
178 desc->flags = CPU_TO_LE16(I40E_AQ_FLAG_BUF); in i40e_alloc_arq_bufs()
180 desc->flags |= CPU_TO_LE16(I40E_AQ_FLAG_LB); in i40e_alloc_arq_bufs()
181 desc->opcode = 0; in i40e_alloc_arq_bufs()
185 desc->datalen = CPU_TO_LE16((u16)bi->size); in i40e_alloc_arq_bufs()
186 desc->retval = 0; in i40e_alloc_arq_bufs()
187 desc->cookie_high = 0; in i40e_alloc_arq_bufs()
188 desc->cookie_low = 0; in i40e_alloc_arq_bufs()
189 desc->params.external.addr_high = in i40e_alloc_arq_bufs()
[all …]
/titanic_44/usr/src/cmd/nscd/
H A Dnscd_config.c376 nscd_cfg_param_desc_t *desc, *gdesc = NULL; in _nscd_cfg_init_param() local
385 desc = &_nscd_cfg_param_desc[0]; in _nscd_cfg_init_param()
394 for (i = 0; i < _nscd_cfg_num_param + 1; i++, desc++) { in _nscd_cfg_init_param()
396 id = (nscd_cfg_id_t *)desc; in _nscd_cfg_init_param()
398 if (_nscd_cfg_flag_is_set(desc->pflag, in _nscd_cfg_init_param()
412 gdesc = desc; in _nscd_cfg_init_param()
439 desc->p_fn = fn++; in _nscd_cfg_init_param()
444 if (desc->notify == NSCD_CFG_FUNC_NOTIFY_AS_GROUP) { in _nscd_cfg_init_param()
445 (void) memcpy(&desc->notify, &nfunc, in _nscd_cfg_init_param()
448 if (desc->verify == NSCD_CFG_FUNC_VERIFY_AS_GROUP) { in _nscd_cfg_init_param()
[all …]
/titanic_44/usr/src/lib/libdiskmgt/common/
H A Ddisks_private.h150 descriptor_t **alias_get_assoc_descriptors(descriptor_t *desc,
153 char *alias_get_name(descriptor_t *desc);
154 nvlist_t *alias_get_attributes(descriptor_t *desc, int *errp);
155 nvlist_t *alias_get_stats(descriptor_t *desc, int stat_type, int *errp);
159 descriptor_t **bus_get_assoc_descriptors(descriptor_t *desc,
162 char *bus_get_name(descriptor_t *desc);
163 nvlist_t *bus_get_attributes(descriptor_t *desc, int *errp);
164 nvlist_t *bus_get_stats(descriptor_t *desc, int stat_type,
169 descriptor_t **controller_get_assoc_descriptors(descriptor_t *desc,
172 char *controller_get_name(descriptor_t *desc);
[all …]
H A Dcontroller.c39 static descriptor_t **get_assoc_buses(descriptor_t *desc, int *errp);
40 static descriptor_t **get_assoc_drives(descriptor_t *desc, int *errp);
41 static descriptor_t **get_assoc_paths(descriptor_t *desc, int *errp);
44 controller_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, in controller_get_assoc_descriptors() argument
49 return (get_assoc_drives(desc, errp)); in controller_get_assoc_descriptors()
51 return (get_assoc_paths(desc, errp)); in controller_get_assoc_descriptors()
53 return (get_assoc_buses(desc, errp)); in controller_get_assoc_descriptors()
174 controller_get_name(descriptor_t *desc) in controller_get_name() argument
176 return (desc->p.controller->name); in controller_get_name()
207 get_assoc_buses(descriptor_t *desc, int *errp) in get_assoc_buses() argument
[all …]
H A Dbus.c39 static descriptor_t **get_assoc_buses(descriptor_t *desc, int *errp);
40 static descriptor_t **get_assoc_controllers(descriptor_t *desc, int *errp);
43 bus_get_assoc_descriptors(descriptor_t *desc, dm_desc_type_t type, int *errp) in bus_get_assoc_descriptors() argument
47 return (get_assoc_buses(desc, errp)); in bus_get_assoc_descriptors()
49 return (get_assoc_controllers(desc, errp)); in bus_get_assoc_descriptors()
132 bus_get_name(descriptor_t *desc) in bus_get_name() argument
134 return (desc->p.bus->name); in bus_get_name()
165 get_assoc_buses(descriptor_t *desc, int *errp) in get_assoc_buses() argument
175 bp = desc->p.bus; in get_assoc_buses()
219 get_assoc_controllers(descriptor_t *desc, int *errp) in get_assoc_controllers() argument
[all …]
/titanic_44/usr/src/uts/common/crypto/spi/
H A Dkcf_spi.c447 kcf_provider_desc_t *desc; in crypto_unregister_provider() local
452 if ((desc = kcf_prov_tab_lookup((crypto_provider_id_t)handle)) == in crypto_unregister_provider()
458 mutex_enter(&desc->pd_lock); in crypto_unregister_provider()
463 if (desc->pd_state >= KCF_PROV_DISABLED) { in crypto_unregister_provider()
464 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()
466 KCF_PROV_REFRELE(desc); in crypto_unregister_provider()
471 saved_state = desc->pd_state; in crypto_unregister_provider()
472 desc->pd_state = KCF_PROV_UNREGISTERING; in crypto_unregister_provider()
479 cv_broadcast(&desc->pd_resume_cv); in crypto_unregister_provider()
482 mutex_exit(&desc->pd_lock); in crypto_unregister_provider()
[all …]
/titanic_44/usr/src/uts/common/io/audio/impl/
H A Daudio_ctrl.c83 audio_dev_add_control(audio_dev_t *d, audio_ctrl_desc_t *desc, in audio_dev_add_control() argument
93 ASSERT(desc); in audio_dev_add_control()
96 if ((name = desc->acd_name) == NULL) { in audio_dev_add_control()
122 switch (desc->acd_type) { in audio_dev_add_control()
131 "not replaced", desc->acd_type, desc->acd_name); in audio_dev_add_control()
154 new_desc->acd_type = desc->acd_type; in audio_dev_add_control()
155 new_desc->acd_flags = desc->acd_flags; in audio_dev_add_control()
156 new_desc->acd_maxvalue = desc->acd_maxvalue; in audio_dev_add_control()
157 new_desc->acd_minvalue = desc->acd_minvalue; in audio_dev_add_control()
161 switch (desc->acd_type) { in audio_dev_add_control()
[all …]
/titanic_44/usr/src/uts/common/io/audio/drv/audiocmi/
H A Daudiocmi.c480 audio_ctrl_desc_t desc; in cmpci_alloc_ctrl() local
484 bzero(&desc, sizeof (desc)); in cmpci_alloc_ctrl()
489 desc.acd_name = AUDIO_CTRL_ID_VOLUME; in cmpci_alloc_ctrl()
490 desc.acd_type = AUDIO_CTRL_TYPE_MONO; in cmpci_alloc_ctrl()
491 desc.acd_minvalue = 0; in cmpci_alloc_ctrl()
492 desc.acd_maxvalue = 100; in cmpci_alloc_ctrl()
493 desc.acd_flags = PCMVOL; in cmpci_alloc_ctrl()
497 desc.acd_name = AUDIO_CTRL_ID_LINEOUT; in cmpci_alloc_ctrl()
498 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in cmpci_alloc_ctrl()
499 desc.acd_minvalue = 0; in cmpci_alloc_ctrl()
[all …]
/titanic_44/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c557 audio_ctrl_desc_t desc; in solo_alloc_ctrl() local
561 bzero(&desc, sizeof (desc)); in solo_alloc_ctrl()
569 desc.acd_name = AUDIO_CTRL_ID_VOLUME; in solo_alloc_ctrl()
570 desc.acd_type = AUDIO_CTRL_TYPE_MONO; in solo_alloc_ctrl()
571 desc.acd_minvalue = 0; in solo_alloc_ctrl()
572 desc.acd_maxvalue = 100; in solo_alloc_ctrl()
573 desc.acd_flags = PCMVOL; in solo_alloc_ctrl()
578 desc.acd_name = AUDIO_CTRL_ID_LINEOUT; in solo_alloc_ctrl()
579 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in solo_alloc_ctrl()
580 desc.acd_minvalue = 0; in solo_alloc_ctrl()
[all …]
/titanic_44/usr/src/uts/common/io/audio/drv/audiocmihd/
H A Daudiocmihd.c1337 audio_ctrl_desc_t desc; in cmediahd_alloc_ctrl() local
1340 bzero(&desc, sizeof (desc)); in cmediahd_alloc_ctrl()
1350 desc.acd_name = AUDIO_CTRL_ID_VOLUME; in cmediahd_alloc_ctrl()
1351 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in cmediahd_alloc_ctrl()
1352 desc.acd_minvalue = 0; in cmediahd_alloc_ctrl()
1353 desc.acd_maxvalue = 100; in cmediahd_alloc_ctrl()
1354 desc.acd_flags = PCMVOL; in cmediahd_alloc_ctrl()
1358 desc.acd_name = AUDIO_CTRL_ID_FRONT; in cmediahd_alloc_ctrl()
1359 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in cmediahd_alloc_ctrl()
1360 desc.acd_minvalue = 0; in cmediahd_alloc_ctrl()
[all …]
/titanic_44/usr/src/cmd/fm/eversholt/common/
H A Dstats.c41 const char *desc; member
79 stats_new(const char *name, const char *desc, enum stats_type t) in stats_new() argument
86 ret->desc = STRDUP(desc); in stats_new()
121 FREE((void *)sp->desc); in stats_delete()
126 stats_new_counter(const char *name, const char *desc, int ext) in stats_new_counter() argument
131 return (stats_new(name, desc, STATS_COUNTER)); in stats_new_counter()
179 stats_new_elapse(const char *name, const char *desc, int ext) in stats_new_elapse() argument
184 return (stats_new(name, desc, STATS_ELAPSE)); in stats_new_elapse()
210 stats_new_string(const char *name, const char *desc, int ext) in stats_new_string() argument
215 return (stats_new(name, desc, STATS_STRING)); in stats_new_string()
[all …]
/titanic_44/usr/src/test/util-tests/tests/libnvpair_json/
H A Djson_07_nested_arrays.ksh25 {"time":489715200,"desc":"inception"},\
26 {"time":1057708800,"desc":"maturation"},\
27 {"time":1344816000,"desc":"migration"},\
28 {"time":1405296000,"desc":"integration"},\
57 add_string "desc" "inception";
61 add_string "desc" "maturation";
65 add_string "desc" "migration";
69 add_string "desc" "integration";
/titanic_44/usr/src/uts/common/io/audio/drv/audiopci/
H A Daudiopci.c1023 audio_ctrl_desc_t desc; in audiopci_alloc_ctrl() local
1027 bzero(&desc, sizeof (desc)); in audiopci_alloc_ctrl()
1035 desc.acd_name = AUDIO_CTRL_ID_VOLUME; in audiopci_alloc_ctrl()
1036 desc.acd_type = AUDIO_CTRL_TYPE_MONO; in audiopci_alloc_ctrl()
1037 desc.acd_minvalue = 0; in audiopci_alloc_ctrl()
1038 desc.acd_maxvalue = 100; in audiopci_alloc_ctrl()
1039 desc.acd_flags = PCMVOL; in audiopci_alloc_ctrl()
1044 desc.acd_name = AUDIO_CTRL_ID_LINEOUT; in audiopci_alloc_ctrl()
1045 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in audiopci_alloc_ctrl()
1046 desc.acd_minvalue = 0; in audiopci_alloc_ctrl()
[all …]
/titanic_44/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.c953 audio_ctrl_desc_t desc; in audigyls_alloc_ctrl() local
956 bzero(&desc, sizeof (desc)); in audigyls_alloc_ctrl()
965 desc.acd_name = AUDIO_CTRL_ID_FRONT; in audigyls_alloc_ctrl()
966 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in audigyls_alloc_ctrl()
967 desc.acd_minvalue = 0; in audigyls_alloc_ctrl()
968 desc.acd_maxvalue = 100; in audigyls_alloc_ctrl()
969 desc.acd_flags = MAINVOL; in audigyls_alloc_ctrl()
973 desc.acd_name = AUDIO_CTRL_ID_SURROUND; in audigyls_alloc_ctrl()
974 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in audigyls_alloc_ctrl()
975 desc.acd_minvalue = 0; in audigyls_alloc_ctrl()
[all …]
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dcommon.c132 struct AddrRangeDesc *desc = (struct AddrRangeDesc *) addr; in mmap_avail_at() local
134 if (desc->Type == MB_ARD_MEMORY in mmap_avail_at()
135 && desc->BaseAddr <= top in mmap_avail_at()
136 && desc->BaseAddr + desc->Length > top) in mmap_avail_at()
138 top = desc->BaseAddr + desc->Length; in mmap_avail_at()
225 struct AddrRangeDesc *desc = (struct AddrRangeDesc *) addr; in init_bios_info() local
227 if (desc->Type == MB_ARD_MEMORY && desc->Length > 0 in init_bios_info()
228 && desc->BaseAddr + desc->Length > max_addr) in init_bios_info()
229 max_addr = desc->BaseAddr + desc->Length; in init_bios_info()
/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_q.c93 hci1394_q_buf_t *desc; in hci1394_q_init() local
115 desc = &q->q_desc; in hci1394_q_init()
127 status = hci1394_buf_alloc(drvinfo, &parms, &desc->qb_buf, in hci1394_q_init()
128 &desc->qb_buf_handle); in hci1394_q_init()
140 desc->qb_cookie[0] = desc->qb_buf.bi_cookie; in hci1394_q_init()
141 for (index = 1; index < desc->qb_buf.bi_cookie_count; index++) { in hci1394_q_init()
142 ddi_dma_nextcookie(desc->qb_buf.bi_dma_handle, in hci1394_q_init()
143 &desc->qb_buf.bi_cookie); in hci1394_q_init()
144 desc->qb_cookie[index] = desc->qb_buf.bi_cookie; in hci1394_q_init()
160 hci1394_buf_free(&desc->qb_buf_handle); in hci1394_q_init()
[all …]
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dlistmgr.c69 char *desc; /* description of the list */ member
126 free((void *)bl_ptr->desc); in free_list()
154 logerr(gettext(ERR_CS_ALLOC), (bl_ptr->desc ? in alloc_next_seg()
155 bl_ptr->desc : "an unknown")); in alloc_next_seg()
171 logerr(gettext(ERR_MEM_ALLOC), (bl_ptr->desc ? in alloc_next_seg()
172 bl_ptr->desc : "an unknown")); in alloc_next_seg()
192 logerr(gettext(ERR_CS_ALLOC), (bl_ptr->desc ? in alloc_next_seg()
193 bl_ptr->desc : "an unknown")); in alloc_next_seg()
220 logerr(gettext(ERR_MEM_ALLOC), (bl_ptr->desc ? in alloc_next_seg()
221 bl_ptr->desc : "an unknown")); in alloc_next_seg()
[all …]
/titanic_44/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_mca_disp.in28 desc = Correctable D$ data infill from system memory
44 desc = Correctable D$ data infill from L2$
60 desc = Uncorrectable D$ data infill from system memory
76 desc = Uncorrectable D$ data infill from L2$
92 desc = Correctable single-bit error in Data Array from scrub
108 desc = Uncorrectable single-bit error in Data Array
125 desc = Uncorrectable multi-bit error in Data Array
142 desc = Uncorrectable multi-bit error in Data Array from scrub
158 desc = Main Tag Array Parity Error
174 desc = Snoop Tag Array Parity Error
[all …]
/titanic_44/usr/src/uts/common/io/audio/drv/audioemu10k/
H A Daudioemu10k.c1497 audio_ctrl_desc_t desc; in emu10k_create_stereo() local
1499 bzero(&desc, sizeof (desc)); in emu10k_create_stereo()
1505 desc.acd_name = id; in emu10k_create_stereo()
1506 desc.acd_type = AUDIO_CTRL_TYPE_STEREO; in emu10k_create_stereo()
1507 desc.acd_minvalue = 0; in emu10k_create_stereo()
1508 desc.acd_maxvalue = 100; in emu10k_create_stereo()
1509 desc.acd_flags = flags; in emu10k_create_stereo()
1512 ec->ctrl = audio_dev_add_control(devc->adev, &desc, in emu10k_create_stereo()
1526 audio_ctrl_desc_t desc; in emu10k_create_mono() local
1528 bzero(&desc, sizeof (desc)); in emu10k_create_mono()
[all …]

12345678910>>...27