/osnet-11/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;
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | dssetup_clnt.c | 41 smb_domainex_t di; local 50 if (!smb_domain_getinfo(&di)) 54 rc = ndr_rpc_bind(&handle, di.d_dc, di.d_primary.di_nbname, 59 smb_dc_report_failure(di.d_primary.di_fqname, 60 di.d_dc); 71 rc = ndr_rpc_bind(&handle, di.d_dc, 72 di.d_primary.di_nbname, user, "DSSETUP"); 77 di.d_primary.di_fqname, di [all...] |
H A D | samr_clnt.c | 84 smb_domainex_t di; local 88 if (!smb_domain_getinfo(&di)) 91 server = di.d_dc; 92 domain = di.d_primary.di_nbname;
|
H A D | lsar_svc.c | 521 smb_domainex_t di; local 525 if (!smb_domain_getinfo(&di)) { 639 smb_domain_t di; local 646 found = smb_domain_lookup_type(SMB_DOMAIN_LOCAL, &di); 648 found = smb_domain_lookup_type(SMB_DOMAIN_PRIMARY, &di); 653 rc = NDR_MSTRING(mxa, di.di_nbname, (ndr_mstring_t *)&info->name); 654 info->sid = (struct mslsa_sid *)NDR_SIDDUP(mxa, di.di_binsid); 677 smb_domain_t di; local 682 if (!smb_domain_lookup_type(SMB_DOMAIN_LOCAL, &di)) 685 rc = NDR_MSTRING(mxa, di [all...] |
H A D | srvsvc_clnt.c | 61 smb_domainex_t di; local 64 if (!smb_domain_getinfo(&di)) 67 server = di.d_dc; 68 domain = di.d_primary.di_nbname; 745 smb_domainex_t di; local 750 if (!smb_domain_getinfo(&di)) 754 rc = srvsvc_net_remote_tod(di.d_dc, di.d_primary.di_nbname, tv, 763 smb_dc_report_failure(di.d_primary.di_fqname, di 886 smb_domainex_t di; local [all...] |
H A D | netr_clnt.c | 293 smb_domain_t di; local 296 if (!smb_domain_lookup_sid((smb_sid_t *)authinfo->a_domainsid, &di)) 299 if (di.di_type != SMB_DOMAIN_PRIMARY) 918 smb_domainex_t di; local 926 if (!smb_domain_getinfo(&di)) { 931 ndr_rpc_format_nbhandle(di.d_dc, nbname, sizeof (nbname)); 934 if (netr_open(di.d_dc, di.d_primary.di_nbname, &netr_handle) 941 smb_dc_report_failure(di.d_primary.di_fqname, 942 di [all...] |
H A D | dfs.c | 180 smb_domain_t di; local 182 if (!smb_domain_lookup_type(SMB_DOMAIN_LOCAL, &di)) 185 (void) strlcpy(dfs_nbname, di.di_nbname, NETBIOS_NAME_SZ);
|
H A D | samr_svc.c | 282 smb_domain_t di; local 290 if (!smb_domain_lookup_name(domain_name, &di)) { 296 param->sid = (struct samr_sid *)NDR_SIDDUP(mxa, di.di_binsid); 723 smb_domain_t di; local 748 if (!smb_domain_lookup_type(SMB_DOMAIN_LOCAL, &di)) { 753 if ((sid = smb_sid_splice(di.di_binsid, data->kd_rid)) == NULL) { 817 smb_domain_t di; local 831 if (!smb_domain_lookup_type(data->kd_type, &di)) { 841 user_sid = smb_sid_splice(di.di_binsid, data->kd_rid);
|
/osnet-11/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...] |
/osnet-11/usr/src/lib/libsmb/common/ |
H A D | smb_sam.c | 98 smb_domain_t di; local 106 if (!smb_domain_lookup_name(domain, &di) || 107 (di.di_type != SMB_DOMAIN_LOCAL)) 111 if ((smb_strcasecmp(domain, di.di_nbname, 0) != 0) && 112 (smb_strcasecmp(domain, di.di_fqname, 0) != 0)) 115 if (!smb_domain_lookup_type(SMB_DOMAIN_LOCAL, &di)) 119 if (smb_strcasecmp(name, di.di_nbname, 0) == 0) { 123 account->a_domain = strdup(di.di_nbname); 124 account->a_sid = smb_sid_dup(di.di_binsid); 125 account->a_domsid = smb_sid_dup(di 212 smb_domain_t di; local [all...] |
H A D | smb_domain.c | 333 smb_domain_t di; local 345 smb_domain_set_basic_info(NT_BUILTIN_DOMAIN_SIDSTR, "BUILTIN", "", &di); 346 rc = smb_domain_add(SMB_DOMAIN_BUILTIN, &di); 373 smb_domain_add(smb_domain_type_t type, smb_domain_t *di) argument 377 if ((di == NULL) || (di->di_sid == NULL)) 381 di->di_type = type; 382 res = smb_dcache_add(di); 393 * If the requested domain is found and given 'di' pointer is not NULL 396 * NULL for 'di' an 401 smb_domain_lookup_name(char *name, smb_domain_t *di) argument 454 smb_domain_lookup_sid(smb_sid_t *sid, smb_domain_t *di) argument 495 smb_domain_lookup_type(smb_domain_type_t type, smb_domain_t *di) argument 613 smb_domain_set_basic_info(char *sid, char *nb_domain, char *fq_domain, smb_domain_t *di) argument 628 smb_domain_set_dns_info(char *sid, char *nb_domain, char *fq_domain, char *forest, char *guid, smb_domain_t *di) argument 641 smb_domain_set_trust_info(char *sid, char *nb_domain, char *fq_domain, uint32_t trust_dir, uint32_t trust_type, uint32_t trust_attrs, smb_domain_t *di) argument 746 smb_domain_t di; local 774 smb_domain_t di; local 820 smb_domain_t *di; local 921 smb_dcache_add(smb_domain_t *di) argument 945 smb_dcache_remove(smb_domain_t *di) argument [all...] |
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_netlogon.c | 81 smb_domain_t di; local 93 smb_config_getdomaininfo(di.di_nbname, NULL, di.di_sid, NULL, NULL); 94 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) { 95 if ((sid = smb_sid_fromstr(di.di_sid)) != NULL)
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_ngz.c | 278 i_ipadm_ngz_persist_if(dladm_handle_t dh, dladm_datalink_info_t *di, void *arg) argument 294 if ((ipstatus = i_ipadm_zone_get_network(zoneid, di->di_linkid, 312 (void) i_ipadm_if_pexists_af(iph, di->di_linkname, &havev4, &havev6); 314 ipstatus = i_ipadm_persist_if(iph, di->di_linkname, AF_INET, 320 ipstatus = i_ipadm_persist_if(iph, di->di_linkname, AF_INET6,
|
/osnet-11/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;
|
/osnet-11/usr/src/grub/grub2/grub-core/fs/ |
H A D | affs.c | 100 struct grub_affs_file di; 134 node->block_cache = grub_malloc ((((grub_be_to_cpu32 (node->di.size) 248 grub_memcpy (&data->diropen.di, rootblock, sizeof (data->diropen.di)); 330 node->di = *fil; 428 file->size = grub_be_to_cpu32 (fdiro->di.size); 471 grub_be_to_cpu32 (data->diropen.di.size), 0); 494 info.mtime = grub_be_to_cpu32 (node->di.mtime.day) * 86400 495 + grub_be_to_cpu32 (node->di.mtime.min) * 60 496 + grub_be_to_cpu32 (node->di 99 struct grub_affs_file di; member in struct:grub_fshelp_node [all...] |
H A D | squash4.c | 521 struct grub_squash_dirent di; local 524 err = read_chunk (dir->data, &di, sizeof (di), 529 off += sizeof (di); 534 grub_cpu_to_le16 (di.ino_offset)); 538 buf = grub_malloc (grub_le_to_cpu16 (di.namelen) + 2); 542 grub_le_to_cpu16 (di.namelen) + 1, 548 off += grub_le_to_cpu16 (di.namelen) + 1; 549 buf[grub_le_to_cpu16 (di.namelen) + 1] = 0; 550 if (grub_le_to_cpu16 (di [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_jfs.c | 67 first_extent (dinode_t *di) argument 72 xtp = (xtpage_t *)&di->di_btroot; 106 di_read (u32 inum, dinode_t *di) argument 124 ioffset, DISIZE, (char *)di);
|
/osnet-11/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 222 disc_info_t di; local 232 if (get_disc_info (fd, &di)) { 233 is_blank = (di.disc_status == 0); 234 is_appendable = (di.disc_status == 1); 235 is_rewritable = (di.erasable != 0);
|
/osnet-11/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 364 get_disc_info(int fd, disc_info_t *di) argument 395 di->disc_status = buf[2] & 0x03; 396 di->erasable = buf[2] & 0x10; 398 di->capacity = ((buf[21] * 60) + buf[22]) * 75; 400 di->capacity = 0; 455 disc_info_t di; local 469 } else if (get_disc_info(fd, &di) && (di.capacity > 0)) { 471 *capacity = di.capacity * mi.dki_lbsize;
|
/osnet-11/usr/src/lib/libpkg/common/ |
H A D | pkgserv.c | 120 struct door_info di; local 133 res = door_info(fd, &di); 255 struct door_info di; local 301 if (door_info(server->door, &di) == 0 && di.di_target >= 0) { 551 struct door_info di; local 568 if (door_info(fd, &di) == 0) {
|
/osnet-11/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus.c | 144 di_node_t di; local 147 di = topo_node_getspecific(bus); 148 assert(di != DI_NODE_NIL); 150 if ((dev32 = pcidev_declare(mod, bus, di, 32)) == NULL) 152 if (pcifn_declare(mod, dev32, di, 0) == NULL) {
|
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | door_calls.c | 214 door_info_t di; local 219 if (__door_info(d, &di) < 0) 231 (*door_server_func)(&di); 242 pdd->pd_uniqid = di.di_uniquifier; 248 if (!door_xcreate_n(&di, pdd, nthread)) {
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | runlist.c | 501 int di, si; /* Current index into @[ds]rl. */ local 540 si = di = 0; 562 for (; drl[di].length; di++) { 563 if (drl[di].vcn + drl[di].length > srl[sstart].vcn) 566 dins = di; 569 if ((drl[di].vcn == srl[si].vcn) && (drl[di].lcn >= 0) && 579 for (dend = di; dr [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlmgmt.c | 532 i_dladm_init_linkinfo(dladm_datalink_info_t *di, datalink_id_t linkid, argument 536 di->di_linkid = linkid; 537 assert(sizeof (di->di_linkname) > strlen(linkname)); 538 (void) strcpy(di->di_linkname, linkname); 539 di->di_class = class; 540 di->di_media = media; 541 di->di_flags = flags & DLMGMT_ACTIVE ? DLADM_OPT_ACTIVE : 0; 542 di->di_flags |= (flags & DLMGMT_PERSIST) ? DLADM_OPT_PERSIST : 0; 543 di->di_zoneid = zoneid; 563 dladm_datalink_info_t di; local [all...] |
/osnet-11/usr/src/grub/grub-0.97/netboot/ |
H A D | undi.h | 52 uint16_t di; member in struct:undi_loader
|