/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_door.c | 40 pr_door_info(struct ps_prochandle *Pr, int did, door_info_t *di) argument 48 return (door_info(did, di)); 58 adp->arg_object = di;
|
/illumos-gate/usr/src/cmd/cdrw/ |
H A D | write_image.c | 182 uchar_t *di; local 185 di = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); 189 ret = read_disc_info(target->d_fd, di);
|
H A D | blank.c | 53 uchar_t *di, *buf; local 200 di = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); 203 ret = read_disc_info(target->d_fd, di); 228 free(di); 233 free(di);
|
H A D | copycd.c | 408 uchar_t *di; local 411 di = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); 414 ret = read_disc_info(target->d_fd, di);
|
H A D | mmc.c | 227 read_disc_info(int fd, uchar_t *di) argument 237 scmd->uscsi_bufaddr = (char *)di;
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dssetup_clnt.c | 42 smb_domainex_t di; local 47 if (!smb_domain_getinfo(&di)) 50 if (ndr_rpc_bind(&handle, di.d_dci.dc_name, di.d_primary.di_nbname,
|
H A D | mlsvc_init.c | 99 smb_domainex_t di; local 111 if (!smb_domain_getinfo(&di)) 114 ndr_srvsvc_timecheck(di.d_dci.dc_name, 115 di.d_primary.di_nbname);
|
H A D | mlsvc_util.c | 107 smb_domain_t *di = &dxi.d_primary; local 209 res->join_err = smb_ads_join(di->di_fqname, 243 rc = smbrdr_logon(dxi.d_dci.dc_name, di->di_nbname, machine_name); 275 smb_config_setdomaininfo(di->di_nbname, di->di_fqname, 276 di->di_sid, 277 di->di_u.di_dns.ddi_forest, 278 di->di_u.di_dns.ddi_guid); 312 smb_domain_t *di = &dxi->d_primary; local 321 rc = samr_open(server, di [all...] |
H A D | srvsvc_clnt.c | 60 smb_domainex_t di; local 63 if (!smb_domain_getinfo(&di)) 66 server = di.d_dci.dc_name; 67 domain = di.d_primary.di_nbname; 418 smb_domainex_t di; local 423 if (!smb_domain_getinfo(&di)) 426 if (srvsvc_net_remote_tod(di.d_dci.dc_name, di.d_primary.di_nbname, 444 smb_domainex_t di; local 448 if (!smb_domain_getinfo(&di)) 551 smb_domainex_t di; local [all...] |
H A D | netr_logon.c | 232 smb_domainex_t di; local 240 !smb_domain_getinfo(&di)) { 246 if (netr_open(di.d_dci.dc_name, di.d_primary.di_nbname, 250 if (di.d_dci.dc_name[0] != '\0' && 253 "\\\\%s", di.d_dci.dc_name); 261 status = netlogon_auth(di.d_dci.dc_name, &netr_handle, 273 &netr_global_info, di.d_dci.dc_name, user_info, token); 820 smb_domain_t di; local 823 if (!smb_domain_lookup_sid((smb_sid_t *)info3->LogonDomainId, &di)) [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_mptsas.c | 41 mptsas_disk_info_t *di; local 61 gdi.PtrDiskInfoArray = di = topo_mod_alloc(mod, disz); 62 if (di == NULL) { 71 topo_mod_free(mod, di, disz); 78 if (di[i].Enclosure == enclosure && di[i].Slot == slot) { 80 (void) snprintf(sas, 17, "%llx", di[i].SasAddress); 89 topo_mod_free(mod, di, disz);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sidsys.c | 46 struct door_info di; local 56 if ((err = door_ki_info(dh, &di)) != 0) { 63 if (curproc->p_pid != di.di_target) 128 struct door_info di; local 138 if ((err = door_ki_info(dh, &di)) != 0) { 145 if (curproc->p_pid != di.di_target)
|
/illumos-gate/usr/src/lib/libast/common/disc/ |
H A D | sfdcdio.c | 46 static ssize_t diordwr(Sfio_t* f, Void_t* buf, size_t n, Direct_t* di, int type) argument 48 static ssize_t diordwr(f, buf, n, di, type) 52 Direct_t* di; 63 if((P2I(buf)%di->dio.d_mem) == 0 && 64 (f->here%di->dio.d_miniosz) == 0 && n >= di->dio.d_miniosz ) 66 if(!(di->cntl & FDIRECT) ) 67 { di->cntl |= FDIRECT; 68 (void)fcntl(f->file, F_SETFL, di->cntl); 71 for(rw = (n/di 140 Direct_t* di = (Direct_t*)disc; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | autoconf.c | 246 get_neighbors(dev_info_t *di, int flag) argument 252 if (di == NULL) 255 nid = ddi_get_nodeid(di); 274 if (snid && (snid != -1) && ((parent = ddi_get_parent(di)) != NULL)) { 297 if (check_status(cnid, buf, di) == DDI_SUCCESS) { 298 (void) ddi_add_child(di, buf, cnid, -1); 305 if (check_status(cnid, buf, di) 308 di, buf, cnid, -1);
|
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_join.c | 109 smb_domainex_t di; local 141 if (!smb_domain_getinfo(&di)) { 146 if (di.d_dci.dc_name[0] == '\0') { 152 if (smbd_dc_check(&di) == 0) { 164 di.d_dci.dc_name); 165 smb_ddiscover_bad_dc(di.d_dci.dc_name); 188 smbd_dc_check(smb_domainex_t *di) argument 197 switch (di->d_dci.dc_addr.a_family) { 202 sin->sin_addr.s_addr = di->d_dci.dc_addr.a_ipv4; 211 &di 245 smb_domain_t *di; local [all...] |
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | net.c | 213 struct device_info *di; local 217 if ((di = ub_dev_get(i)) != NULL) 218 if (di->type == DEV_TYP_NET) 319 struct device_info *di; local 329 di = ub_dev_get(sc->sc_handle); 330 memcpy(desc->myea, di->di_net.hwaddr, 6);
|
H A D | disk.c | 98 struct device_info *di; local 107 di = ub_dev_get(i); 108 if ((di != NULL) && (di->type & DEV_TYP_STOR)) { 116 stor_info[stor_info_no].type = di->type; 118 di->di_stor.block_count; 120 di->di_stor.block_size;
|
H A D | glue.c | 226 struct device_info *di; local 230 di = &devices[0]; 232 if (!syscall(API_DEV_ENUM, NULL, di)) 235 while (di->cookie != NULL) { 241 di++; 244 di->cookie = devices[n - 1].cookie; 246 if (!syscall(API_DEV_ENUM, NULL, di)) 261 struct device_info *di; local 267 di = &devices[handle]; 268 if (!syscall(API_DEV_OPEN, &err, di)) 277 struct device_info *di; local 327 struct device_info *di; local 360 struct device_info *di; local 379 struct device_info *di; local 433 struct device_info *di = ub_dev_get(handle); local [all...] |
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/hostbridge/ |
H A D | hb_sun4.c | 42 busorrc_new(topo_mod_t *mod, const char *bus_addr, di_node_t di) argument 51 pp->br_din = di;
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_dio.c | 47 static boolean_t is_root_complex(di_prom_handle_t ph, di_node_t di); 49 di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path); 116 is_root_complex(di_prom_handle_t ph, di_node_t di) argument 121 len = di_prom_prop_lookup_strings(ph, di, "device_type", &type); 130 * 'di' is not the root node, and its parent has no parent, 131 * then 'di' represents a root complex node. 133 return ((di_parent_node(di) != DI_NODE_NIL) && 134 (di_parent_node(di_parent_node(di)) == DI_NODE_NIL)); 148 mmd_t *mdp, md_node_t *np, di_node_t di, char *name, char *alt_name) 156 count = di_prom_prop_lookup_strings(ph, di, alt_nam 147 add_prom_string_prop(di_prom_handle_t ph, mmd_t *mdp, md_node_t *np, di_node_t di, char *name, char *alt_name) argument 178 add_prom_int_prop(di_prom_handle_t ph, mmd_t *mdp, md_node_t *np, di_node_t di, char *name, char *alt_name) argument 204 link_device_node(mmd_t *mdp, di_prom_handle_t ph, di_node_t di, md_node_t *node, char *path) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_cmd.c | 88 door_info_t di; local 135 if (!door_ki_info(dh, &di)) { 136 if (di.di_attributes & DOOR_REVOKED) {
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netlogon.c | 82 smb_domain_t di; local 94 smb_config_getdomaininfo(di.di_nbname, NULL, di.di_sid, NULL, NULL); 95 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) { 96 if ((sid = smb_sid_fromstr(di.di_sid)) != NULL)
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_sam.c | 101 smb_domain_t di; local 109 if (!smb_domain_lookup_name(domain, &di) || 110 (di.di_type != SMB_DOMAIN_LOCAL)) 114 if (smb_strcasecmp(domain, di.di_nbname, 0) != 0) 117 if (!smb_domain_lookup_type(SMB_DOMAIN_LOCAL, &di)) 121 if (smb_strcasecmp(name, di.di_nbname, 0) == 0) { 125 account->a_domain = strdup(di.di_nbname); 126 account->a_sid = smb_sid_dup(di.di_binsid); 127 account->a_domsid = smb_sid_dup(di.di_binsid); 139 sid = smb_sid_splice(di 214 smb_domain_t di; local 584 smb_domain_t di; local [all...] |
/illumos-gate/usr/src/common/ficl/ |
H A D | stack.c | 303 ficlStackPush2Integer(ficlStack *stack, ficl2Integer di) argument 306 FICL_2UNSIGNED_SET(FICL_2UNSIGNED_GET_HIGH(di), 307 FICL_2UNSIGNED_GET_LOW(di), du);
|
/illumos-gate/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 223 disc_info_t di; local 233 if (get_disc_info (fd, &di)) { 234 is_blank = (di.disc_status == 0); 235 is_appendable = (di.disc_status == 1); 236 is_rewritable = (di.erasable != 0);
|