/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | libdiskstatus.c | 69 disk_status_t *dsp; local 73 if ((dsp = calloc(sizeof (disk_status_t), 1)) == NULL) { 78 if ((dsp->ds_fd = open(path, O_RDWR)) < 0) { 80 free(dsp); 84 if ((dsp->ds_path = strdup(path)) == NULL) { 86 disk_status_close(dsp); 93 dsp->ds_transport = t; 95 nvlist_free(dsp->ds_state); 96 dsp->ds_state = NULL; 97 if (nvlist_alloc(&dsp 128 disk_status_close(disk_status_t *dsp) argument 151 disk_status_path(disk_status_t *dsp) argument 157 disk_status_errno(disk_status_t *dsp) argument 163 disk_status_get(disk_status_t *dsp) argument [all...] |
H A D | ds_util.c | 168 ds_set_errno(disk_status_t *dsp, int error) argument 170 dsp->ds_error = error;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | dnsglue.c | 79 krb5int_dns_init(struct krb5int_dns_state **dsp, argument 90 *dsp = ds = malloc(sizeof(*ds));
|
/illumos-gate/usr/src/cmd/sgs/libconv/common/ |
H A D | globals.c | 134 const conv_ds_t **dsp, Conv_fmt_flags_t fmt_flags, Conv_inv_buf_t *inv_buf, 139 for (ds = *dsp; ds != NULL; ds = *(++dsp)) { 270 _conv_iter_ds(conv_iter_osabi_t osabi, Half mach, const conv_ds_t **dsp, argument 275 for (ds = *dsp; ds != NULL; ds = *(++dsp)) { 133 _conv_map_ds(uchar_t osabi, Half mach, Conv_elfvalue_t value, const conv_ds_t **dsp, Conv_fmt_flags_t fmt_flags, Conv_inv_buf_t *inv_buf, const char *local_sgs_msg) argument
|
/illumos-gate/usr/src/uts/common/inet/dlpistub/ |
H A D | dlpistub.c | 135 dlpistub_t *dsp; local 154 dsp = kmem_zalloc(sizeof (dlpistub_t), KM_SLEEP); 155 dsp->ds_type = type; 156 dsp->ds_minor = (minor_t)id_alloc(ds_minors); 157 dsp->ds_state = DL_UNATTACHED; 158 *devp = makedevice(getmajor(*devp), dsp->ds_minor); 159 q->q_ptr = WR(q)->q_ptr = dsp; 169 dlpistub_t *dsp = q->q_ptr; local 174 id_free(ds_minors, dsp->ds_minor); 175 kmem_free(dsp, sizeo 199 dlpistub_t *dsp = q->q_ptr; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | drcompat.c | 185 struct drstate *dsp; local 199 dsp = kmem_zalloc(sizeof (*dsp), KM_SLEEP); 200 dsp->dr_major = getmajor(*devp); 201 mutex_init(&dsp->dr_lock, NULL, MUTEX_DEFAULT, NULL); 202 q->q_ptr = OTHERQ(q)->q_ptr = dsp; 212 struct drstate *dsp = q->q_ptr; local 214 ASSERT(dsp); 218 mutex_destroy(&dsp->dr_lock); 219 kmem_free(dsp, sizeo 228 struct drstate *dsp; local 316 struct drstate *dsp; local [all...] |
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | dr_io.c | 295 dr_io_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) argument 345 isp = &dsp->d_io; 385 dsp++;
|
H A D | dr_cpu.c | 701 dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) argument 780 psp = (sbd_cmp_stat_t *)dsp; 784 bcopy(cstat, dsp, sizeof (sbd_cpu_stat_t)); 787 dsp++;
|
H A D | dr_mem_acpi.c | 278 dr_mem_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) argument 316 msp = &dsp->d_mem; 403 dsp++;
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_io.c | 317 dr_io_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) argument 367 isp = &dsp->d_io; 407 dsp++;
|
H A D | dr_cpu.c | 770 dr_cpu_status(dr_handle_t *hp, dr_devset_t devset, sbd_dev_stat_t *dsp) argument 849 psp = (sbd_cmp_stat_t *)dsp; 853 bcopy(cstat, dsp, sizeof (sbd_cpu_stat_t)); 856 dsp++;
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_cluster.c | 518 scstat_ds_t *dsstatus, *dsp; local 562 for (dsp = dsstatus; dsp; dsp = dsp->scstat_ds_next) { 565 if ((dsp->scstat_ds_name == NULL) || 566 (dsp->scstat_ds_name[0] == '\0')) 570 if (nsc_lookup(schash, dsp->scstat_ds_name)) { 572 dsp->scstat_ds_name); 578 for (dsn = dsp [all...] |
/illumos-gate/usr/src/common/devid/ |
H A D | devid.c | 194 char *sbuf, *dsp, *dp, ta; local 244 dsp = sbuf; 245 *dsp++ = id->did_magic_hi; 246 *dsp++ = id->did_magic_lo; 247 *dsp++ = DEVID_REV_BINTOASCII(id->did_rev_lo); 248 *dsp++ = ','; 250 *dsp++ = id->did_driver[i]; 251 *dsp++ = '@'; 255 *dsp++ = ta; 259 *dsp 320 char *str, *msp, *dsp, *dp, ta; local [all...] |
/illumos-gate/usr/src/uts/common/io/dls/ |
H A D | dls.c | 41 dls_open(dls_link_t *dlp, dls_dl_handle_t ddh, dld_str_t *dsp) argument 73 dsp->ds_dlp = dlp; 74 dsp->ds_mh = dlp->dl_mh; 75 dsp->ds_mch = dlp->dl_mch; 76 dsp->ds_mip = dlp->dl_mip; 77 dsp->ds_ddh = ddh; 78 dsp->ds_local = local; 80 ASSERT(MAC_PERIM_HELD(dsp->ds_mh)); 85 dls_close(dld_str_t *dsp) argument 87 dls_link_t *dlp = dsp 151 dls_bind(dld_str_t *dsp, uint32_t sap) argument 213 dls_unbind(dld_str_t *dsp) argument 247 dls_promisc(dld_str_t *dsp, uint32_t new_flags) argument 323 dls_multicst_add(dld_str_t *dsp, const uint8_t *addr) argument 381 dls_multicst_remove(dld_str_t *dsp, const uint8_t *addr) argument 431 dls_header(dld_str_t *dsp, const uint8_t *addr, uint16_t sap, uint_t pri, mblk_t **payloadp) argument 521 dls_rx_set(dld_str_t *dsp, dls_rx_t rx, void *arg) argument 530 dls_accept_common(dld_str_t *dsp, mac_header_info_t *mhip, dls_rx_t *ds_rx, void **ds_rx_arg, boolean_t promisc, boolean_t promisc_loopback) argument 621 dls_accept(dld_str_t *dsp, mac_header_info_t *mhip, dls_rx_t *ds_rx, void **ds_rx_arg) argument 629 dls_accept_promisc(dld_str_t *dsp, mac_header_info_t *mhip, dls_rx_t *ds_rx, void **ds_rx_arg, boolean_t loopback) argument 679 dls_active_set(dld_str_t *dsp) argument 712 dls_active_clear(dld_str_t *dsp, boolean_t all) argument [all...] |
H A D | dls_link.c | 278 dld_str_t *dsp; local 306 for (dsp = dhp->dh_list; dsp != NULL; dsp = dsp->ds_next) { 307 if (!acceptfunc(dsp, mhip, &ds_rx, &ds_rx_arg)) 342 dld_str_t *dsp; local 428 for (dsp = dhp->dh_list; dsp != NULL; dsp 504 dld_str_t *dsp = arg; local 547 dld_str_t *dsp = arg; local 912 dls_link_add(dls_link_t *dlp, uint32_t sap, dld_str_t *dsp) argument 960 dls_link_remove(dls_link_t *dlp, dld_str_t *dsp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/sunfire/io/ |
H A D | ac_del.c | 82 struct del_status *dsp; local 84 dsp = (struct del_status *)kmem_zalloc(sizeof (*dsp), KM_SLEEP); 86 dsp->next = ac_del_list; 87 ac_del_list = dsp; 90 return (dsp); 94 ac_del_free_status(struct del_status *dsp) argument 101 if (*dspp == dsp) 105 ASSERT(*dspp == dsp); 106 if (*dspp == dsp) { 116 struct del_status *dsp; local 140 struct del_status *dsp; local 189 del_to_start(struct del_status *dsp) argument 196 del_to_stop(struct del_status *dsp) argument 316 ac_del_bank_run(struct del_status *dsp, ac_cfga_pkt_t *pkt) argument 453 struct del_status *dsp; local [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd_cpu.c | 235 sbd_cpu_flags(sbd_handle_t *hp, sbd_devset_t devset, sbd_dev_stat_t *dsp) argument 319 psp = (sbd_cmp_stat_t *)dsp; 323 bcopy(cstat, dsp, sizeof (sbd_cpu_stat_t)); 326 dsp++;
|
H A D | sbd_io.c | 180 sbd_io_status(sbd_handle_t *hp, sbd_devset_t devset, sbd_dev_stat_t *dsp) argument 230 isp = &dsp->d_io; 284 dsp++;
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | nhm_init.c | 137 struct dimm_slot *dsp = (struct dimm_slot *)arg; local 139 slot = (dsp->controller * CHANNELS_PER_MEMORY_CONTROLLER * 140 MAX_DIMMS_PER_CHANNEL) + (dsp->channel * MAX_DIMMS_PER_CHANNEL) + 141 dsp->dimm; 152 dsp->channel++; 153 if (dsp->dimm == 2) 154 dsp->max_dimm = 2; 155 dsp->dimm = 0; 156 slot = (dsp->controller * 159 (dsp [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_bookmark.c | 35 dsl_dataset_t **dsp, void *tag, char **shortnamep) 50 return (dsl_dataset_hold(dp, buf, tag, dsp)); 34 dsl_bookmark_hold_ds(dsl_pool_t *dp, const char *fullname, dsl_dataset_t **dsp, void *tag, char **shortnamep) argument
|
H A D | dsl_userhold.c | 328 dsl_dataset_t **dsp); 341 dsl_dataset_t **dsp) 343 return (dsl_dataset_hold_obj(dp, strtonum(dsobj, NULL), tag, dsp)); 340 dsl_dataset_hold_obj_string(dsl_pool_t *dp, const char *dsobj, void *tag, dsl_dataset_t **dsp) argument
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mh.c | 537 md_disk_status_list_t *dsp; local 539 dsp = *tailp = Zalloc(sizeof (*dsp)); 540 tailp = &dsp->next; 541 dsp->drivenamep = p->drivenamep;
|
/illumos-gate/usr/src/lib/libds/common/ |
H A D | libds.c | 81 static void ds_free_dslibentry(dslibentry_t *dsp, int force_unreg); 83 static void ds_string_arg(vlds_string_t *dsp, char *str); 90 dslibentry_t *dsp; local 92 for (i = 0, dsp = dslibtab; i < ndslib; i++, dsp++) { 93 if (hdl == dsp->dsl_hdl) 94 return (dsp); 103 dslibentry_t *dsp; local 105 if ((dsp = ds_hdl_to_dslibentry(NULL)) != NULL) 106 return (dsp); 123 dslibentry_t *dsp; local 141 dslibentry_t *dsp; local 157 dslibentry_t *dsp, *orig_dsp; local 190 ds_free_dslibentry(dslibentry_t *dsp, int force_unreg) argument 227 dslibentry_t *dsp; local 297 ds_string_arg(vlds_string_t *dsp, char *str) argument 350 dslibentry_t *dsp; local 535 dslibentry_t *dsp; local 703 dslibentry_t *dsp; local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_decl.c | 109 dt_scope_t *dsp = &yypcb->pcb_dstack; local 110 dt_decl_t *ddp = dsp->ds_decl; 113 dsp->ds_decl = ddp->dd_next; 116 ddp = dsp->ds_decl; 123 dt_scope_t *dsp = &yypcb->pcb_dstack; local 124 dt_decl_t *top = dsp->ds_decl; 134 dsp->ds_decl = ddp; 142 dt_scope_t *dsp = &yypcb->pcb_dstack; local 145 dsp->ds_decl = NULL; 146 free(dsp 159 dt_scope_t *dsp = &yypcb->pcb_dstack; local 193 dt_scope_t *dsp = &yypcb->pcb_dstack; local 213 dt_scope_t *dsp = &yypcb->pcb_dstack; local 388 dt_scope_t *dsp = &yypcb->pcb_dstack; local 523 dt_scope_t *dsp = yypcb->pcb_dstack.ds_next; local 712 dt_scope_t *dsp = yypcb->pcb_dstack.ds_next; local 1072 dt_scope_create(dt_scope_t *dsp) argument 1084 dt_scope_destroy(dt_scope_t *dsp) argument 1101 dt_scope_t *dsp = malloc(sizeof (dt_scope_t)); local 1122 dt_scope_t *dsp = rsp->ds_next; local [all...] |
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_proto.c | 65 dld_proto(dld_str_t *dsp, mblk_t *mp) argument 77 proto_info_req(dsp, mp); 80 proto_bind_req(dsp, mp); 83 proto_unbind_req(dsp, mp); 86 proto_unitdata_req(dsp, mp); 89 proto_udqos_req(dsp, mp); 92 proto_attach_req(dsp, mp); 95 proto_detach_req(dsp, mp); 98 proto_enabmulti_req(dsp, mp); 101 proto_disabmulti_req(dsp, m 143 proto_info_req(dld_str_t *dsp, mblk_t *mp) argument 318 proto_attach_req(dld_str_t *dsp, mblk_t *mp) argument 364 proto_detach_req(dld_str_t *dsp, mblk_t *mp) argument 399 proto_bind_req(dld_str_t *dsp, mblk_t *mp) argument 508 proto_unbind_req(dld_str_t *dsp, mblk_t *mp) argument 572 proto_promiscon_req(dld_str_t *dsp, mblk_t *mp) argument 647 proto_promiscoff_req(dld_str_t *dsp, mblk_t *mp) argument 728 proto_enabmulti_req(dld_str_t *dsp, mblk_t *mp) argument 791 proto_disabmulti_req(dld_str_t *dsp, mblk_t *mp) argument 846 proto_physaddr_req(dld_str_t *dsp, mblk_t *mp) argument 896 proto_setphysaddr_req(dld_str_t *dsp, mblk_t *mp) argument 968 proto_udqos_req(dld_str_t *dsp, mblk_t *mp) argument 1021 proto_capability_req(dld_str_t *dsp, mblk_t *mp) argument 1120 proto_notify_req(dld_str_t *dsp, mblk_t *mp) argument 1176 proto_unitdata_req(dld_str_t *dsp, mblk_t *mp) argument 1290 proto_passive_req(dld_str_t *dsp, mblk_t *mp) argument 1320 proto_req(dld_str_t *dsp, mblk_t *mp) argument 1328 dld_capab_perim(dld_str_t *dsp, void *data, uint_t flags) argument 1346 dld_capab_direct(dld_str_t *dsp, void *data, uint_t flags) argument 1400 dld_capab_poll_enable(dld_str_t *dsp, dld_capab_poll_t *poll) argument 1439 dld_capab_poll_disable(dld_str_t *dsp, dld_capab_poll_t *poll) argument 1452 dld_capab_poll(dld_str_t *dsp, void *data, uint_t flags) argument 1468 dld_capab_lso(dld_str_t *dsp, void *data, uint_t flags) argument 1507 dld_capab(dld_str_t *dsp, uint_t type, void *data, uint_t flags) argument 1553 proto_capability_advertise(dld_str_t *dsp, mblk_t *mp) argument 1718 dld_capabilities_disable(dld_str_t *dsp) argument [all...] |