/titanic_50/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_list.c | 164 char **dlist = NULL, **tmplist = NULL; local 176 for (dlist = *destlist, dcount = 0; *dlist != NULL; 177 dlist++, dcount++) { 195 memcpy(dlist, slist, (sizeof(char *) * copycount)); 196 dlist += copycount; 197 *dlist = NULL; 202 for (dlist = *destlist; *dlist != NULL; dlist++) { 205 if (strcasecmp(*dlist, *slist) == 0) { 207 free(*dlist); 209 for (tmplist = dlist; *tmplist != NULL; tmplist++) { [all …]
|
/titanic_50/usr/src/cmd/rm/ |
H A D | rm.c | 54 struct dlist { struct 59 struct dlist *up; /* Up one step in the tree (toward "/") */ argument 60 struct dlist *down; /* Down one step in the tree */ argument 66 static struct dlist top = { argument 71 static struct dlist *cur, *rec; 73 static int rm(const char *, struct dlist *); 76 static int checkdir(struct dlist *, struct dlist *); 208 closeframe(struct dlist *frm) in closeframe() 232 pushdir(struct dlist *frm) in pushdir() 241 opendirat(int dirfd, const char *entry, struct dlist *frm) in opendirat() [all …]
|
/titanic_50/usr/src/lib/storage/libg_fc/common/hdrs/ |
H A D | gfc.h | 158 struct dlist { struct 161 struct dlist *multipath; argument 162 struct dlist *next; argument 163 struct dlist *prev; argument 171 struct dlist *multipath_list; 184 struct dlist *seslist; 185 struct dlist *dlhead; 385 extern void g_free_multipath(struct dlist *); 397 extern int g_get_multipath(char *, struct dlist **, 405 extern int g_offline_drive(struct dlist *, int); [all …]
|
H A D | g_state.h | 185 extern int g_get_port_multipath(char *, struct dlist **, int);
|
/titanic_50/usr/src/cmd/fs.d/ |
H A D | preenlib.c | 85 static struct driver *dlist; variable 233 drvp = &dlist[devp->drvid]; in get_runnable() 281 if (strcmp(dlist[drvid].name, dname) == 0) { in preen_addunit() 282 dp = &dlist[drvid]; in preen_addunit() 294 dp = &dlist[drvid]; in preen_addunit() 329 dlist = ndalloc ? in alloc_driver() 331 realloc(dlist, sizeof (struct driver) * DRIVER_ALLOC) : in alloc_driver() 334 if (dlist == NULL) { in alloc_driver() 341 dp = &dlist[ndrivers]; in alloc_driver() 415 struct driver *drvp = &dlist[dev->drvid]; in makebusy() [all …]
|
/titanic_50/usr/src/cmd/luxadm/ |
H A D | hotplug.c | 106 static int h_remove_ses_nodes(struct dlist *); 108 static int h_display_logical_nodes(struct dlist *); 109 static void h_print_logical_nodes(struct dlist *); 110 static int h_remove_nodes(struct dlist *); 336 struct dlist *dlist; in h_chk_dev_busy() local 347 for (dlist = hotplug_dev->dlhead; in h_chk_dev_busy() 348 dlist != NULL; dlist = dlist->next) { in h_chk_dev_busy() 349 (void) g_online_drive(dlist->multipath, in h_chk_dev_busy() 1532 struct dlist *dl; in h_pre_hotplug_sena() 1736 struct dlist *dl, *dl1; in h_post_hotplug_sena() [all …]
|
H A D | diag.c | 80 struct dlist *ml; in print_ssd_in_box()
|
H A D | g_adm.c | 4102 struct dlist *mlist; in non_encl_fc_disk_display() 4364 struct dlist *mlist; in display_disk_info() 5860 struct dlist *mlist; in lun_display() 5869 struct dlist *dlist; in lun_display() local 5983 if ((dlist = (struct dlist *) in lun_display() 5984 calloc(1, sizeof (struct dlist))) == NULL) { in lun_display() 5987 if ((dlist->logical_path = (char *)calloc(1, in lun_display() 5991 if ((dlist->dev_path = (char *)calloc(1, in lun_display() 5995 strncpy(dlist->logical_path, wwn_list_find->logical_path, in lun_display() 5997 strncpy(dlist->dev_path, phys_path, strlen(phys_path)); in lun_display() [all …]
|
/titanic_50/usr/src/cmd/format/ |
H A D | ctlr_ata.c | 450 struct defect_entry *dlist; in ata_wr_cur() local 456 dlist = list->list; in ata_wr_cur() 462 if ((dlist->bfi != UNKNOWN) || (dlist->nbits != UNKNOWN)) { in ata_wr_cur() 491 (uint_t)chs2bn(dlist->cyl, dlist->head, dlist->sect); in ata_wr_cur() 493 dlist++; in ata_wr_cur()
|
/titanic_50/usr/src/lib/libbsm/common/ |
H A D | devalloc.c | 1739 da_add_list(devlist_t *dlist, char *link, int new_instance, int flag) in da_add_list() argument 1751 if (dlist == NULL || link == NULL) in da_add_list() 1756 dentry = dlist->audio; in da_add_list() 1761 dentry = dlist->cd; in da_add_list() 1766 dentry = dlist->floppy; in da_add_list() 1771 dentry = dlist->tape; in da_add_list() 1776 dentry = dlist->rmdisk; in da_add_list() 1883 dlist->audio = nentry; in da_add_list() 1885 dlist->cd = nentry; in da_add_list() 1887 dlist->floppy = nentry; in da_add_list() [all …]
|
/titanic_50/usr/src/lib/cfgadm_plugins/sysctrl/common/ |
H A D | cfga.c | 714 dlist_find(int board, char **dlist, int *disabled) in dlist_find() argument 725 else if (err = prom_get_prop(prom_fd, dlprop, dlist)) { in dlist_find() 734 if ((dl = *dlist) != NULL) { in dlist_find() 752 dlist_update(int board, int disable, char *dlist, struct cfga_msg *msgp, in dlist_update() argument 773 if (dlist) { in dlist_update() 774 int len = strlen(dlist); in dlist_update() 779 b[0] = dlist[i]; in dlist_update() 797 ndlist[j++] = dlist[i]; in dlist_update() 890 char *dlist; in cfga_change_state() local 923 if (opterr = dlist_find(idx, &dlist, &disabled)) { in cfga_change_state() [all …]
|
/titanic_50/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 91 static int get_multipath(char *, struct dlist **, 93 static int get_multipath_disk(char *, struct dlist **, 1138 fc_port_dev_t *dlist; in g_get_dev_list() local 1140 *dev_list = dlist = NULL; in g_get_dev_list() 1196 if ((dlist = (fc_port_dev_t *)calloc(num_devices, in g_get_dev_list() 1207 fcio.fcio_obuf = (caddr_t)dlist; in g_get_dev_list() 1217 free(dlist); in g_get_dev_list() 1220 if ((dlist = (fc_port_dev_t *)calloc(num_devices, in g_get_dev_list() 1228 fcio.fcio_obuf = (caddr_t)dlist; in g_get_dev_list() 1248 free(dlist); in g_get_dev_list() [all …]
|
H A D | hot.c | 110 struct dlist *ml = NULL; in g_dev_stop() 347 g_offline_drive(struct dlist *dl, int force_flag) in g_offline_drive() 390 g_online_drive(struct dlist *dl, int force_flag) in g_online_drive() 444 struct dlist *dl; in g_forcelip_all()
|
/titanic_50/usr/src/lib/storage/liba5k/common/ |
H A D | lhot.c | 704 online_dev(struct dlist *dl_head, int force_flag) in online_dev() 706 struct dlist *dl, *dl1; in online_dev() 733 struct dlist *dl_head, *dl_tail, *dl, *dl_ses; in l_offline_photon() 769 if ((dl = g_zalloc(sizeof (struct dlist))) == NULL) { in l_offline_photon() 813 if ((dl = g_zalloc(sizeof (struct dlist))) == NULL) { in l_offline_photon()
|
H A D | mon.c | 807 struct dlist *dl, *dl1; in l_dev_pwr_up_down() 816 dl = (struct dlist *)NULL; in l_dev_pwr_up_down() 908 if ((dl = (struct dlist *)g_zalloc(sizeof (struct dlist))) == NULL) { in l_dev_pwr_up_down() 997 struct dlist *dl, *dl1; in l_pho_pwr_up_down() 1006 dl = (struct dlist *)NULL; in l_pho_pwr_up_down() 1060 if ((dl = (struct dlist *) in l_pho_pwr_up_down() 1061 g_zalloc(sizeof (struct dlist))) == NULL) { in l_pho_pwr_up_down() 1112 if ((dl = (struct dlist *) in l_pho_pwr_up_down() 1113 g_zalloc(sizeof (struct dlist))) == NULL) { in l_pho_pwr_up_down() 2479 struct dlist *ml; in l_get_disk_status() [all …]
|
H A D | diag.c | 76 d_offline_drive(struct dlist *dl, int *bsy_res_flag_p, int verbose) in d_offline_drive() 130 struct dlist *p_list; in l_check_busy_reserv_bp() 411 struct dlist *p_list; in l_dev_bypass_enable()
|
/titanic_50/usr/src/uts/sun4u/sunfire/io/ |
H A D | fhc_bd.c | 509 char *dlist; in fhc_bd_dlist_init() local 525 dlist = kmem_alloc(len, KM_SLEEP); in fhc_bd_dlist_init() 526 (void) prom_getprop(node, "disabled-board-list", dlist); in fhc_bd_dlist_init() 532 for (i = 0; (i < len) && (dlist[i] != 0); i++) { in fhc_bd_dlist_init() 533 char ch = dlist[i]; in fhc_bd_dlist_init() 550 kmem_free(dlist, len); in fhc_bd_dlist_init()
|
/titanic_50/usr/src/uts/common/inet/sctp/ |
H A D | sctp_asconf.c | 387 uchar_t *dlist = NULL; in sctp_input_asconf() local 489 dlist = kmem_alloc(dsize, KM_NOSLEEP); in sctp_input_asconf() 490 if (dlist == NULL) { in sctp_input_asconf() 499 dptr = dlist; in sctp_input_asconf() 534 if (dlist != NULL) in sctp_input_asconf() 535 kmem_free(dlist, dsize); in sctp_input_asconf() 552 ASSERT(dlist != NULL); in sctp_input_asconf() 575 acount, dlist, dsize, dcount, SCTP_CL_PADDR, in sctp_input_asconf() 629 uchar_t *dlist; in sctp_input_asconf_ack() local 663 dlist = ainfo->sctp_cl_dlist; in sctp_input_asconf_ack() [all …]
|
H A D | sctp_common.c | 1469 uchar_t *dlist; in sctp_get_addrparams() local 1487 dlist = kmem_alloc(dsize, KM_NOSLEEP); in sctp_get_addrparams() 1488 if (dlist == NULL) { in sctp_get_addrparams() 1493 bcopy(&curaddr, dlist, sizeof (curaddr)); in sctp_get_addrparams() 1496 sctp->sctp_nfaddrs, dlist, dsize, 1, SCTP_CL_PADDR, in sctp_get_addrparams()
|
/titanic_50/usr/src/lib/storage/liba5k/common/hdrs/ |
H A D | a_state.h | 95 extern int l_ex_open_test(struct dlist *, char *, int);
|
H A D | a5k.h | 451 struct dlist *ib_multipath_list; 494 extern int l_get_allses(char *, struct box_list_struct *, struct dlist **,
|
/titanic_50/usr/src/cmd/bc/ |
H A D | bc.y | 106 | start def dargs ')' '{' dlist slist '}' 116 dlist : tail 117 | dlist _AUTO dlets tail
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 1078 $dlist = $$devices{$$sline[1]}; 1081 while ($i < @$dlist) { 1082 local($dev) = $$dlist[$i]; 1085 splice @$dlist, $i, 1;
|
/titanic_50/usr/src/cmd/devfsadm/ |
H A D | devfsadm.c | 7374 char *cp, *console, *dlist, *dev; in read_logindevperm_file() local 7451 if ((dlist = strtok_r(NULL, LDEV_DELIMS, &lasts)) == NULL) { in read_logindevperm_file() 7456 dev = strtok_r(dlist, LDEV_DEV_DELIM, &devlasts); in read_logindevperm_file()
|