/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 92 get_stats_for_obj(differ_info_t *di, const char *dsname, uint64_t obj, in get_stats_for_obj() argument 102 error = ioctl(di->zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_STATS, &zc); in get_stats_for_obj() 103 di->zerr = errno; in get_stats_for_obj() 108 ASSERT(di->zerr == 0); in get_stats_for_obj() 113 if (di->zerr == EPERM) { in get_stats_for_obj() 114 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj() 120 (void) snprintf(di->errbuf, sizeof (di->errbuf), in get_stats_for_obj() 191 print_cmn(FILE *fp, differ_info_t *di, const char *file) in print_cmn() argument 193 stream_bytes(fp, di->dsmnt); in print_cmn() 198 print_rename(FILE *fp, differ_info_t *di, const char *old, const char *new, in print_rename() argument [all …]
|
/titanic_41/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) in diordwr() argument 48 static ssize_t diordwr(f, buf, n, di, type) in diordwr() 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->dio.d_miniosz)*di->dio.d_miniosz;; ) 74 if((io = rw) > di->dio.d_maxiosz ) [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_domain.c | 108 smb_domain_t di; in smb_domain_init() local 116 smb_domain_set_basic_info(NT_BUILTIN_DOMAIN_SIDSTR, "BUILTIN", "", &di); in smb_domain_init() 117 (void) smb_domain_add(SMB_DOMAIN_BUILTIN, &di); in smb_domain_init() 137 smb_domain_add(smb_domain_type_t type, smb_domain_t *di) in smb_domain_add() argument 141 if ((di == NULL) || (di->di_sid == NULL)) in smb_domain_add() 145 di->di_type = type; in smb_domain_add() 146 res = smb_dcache_add(di); in smb_domain_add() 165 smb_domain_lookup_name(char *name, smb_domain_t *di) in smb_domain_lookup_name() argument 171 bzero(di, sizeof (smb_domain_t)); in smb_domain_lookup_name() 185 if (di) in smb_domain_lookup_name() [all …]
|
H A D | smb_sam.c | 101 smb_domain_t di; in smb_sam_lookup_name() local 109 if (!smb_domain_lookup_name(domain, &di) || in smb_sam_lookup_name() 110 (di.di_type != SMB_DOMAIN_LOCAL)) in smb_sam_lookup_name() 114 if (smb_strcasecmp(domain, di.di_nbname, 0) != 0) in smb_sam_lookup_name() 117 if (!smb_domain_lookup_type(SMB_DOMAIN_LOCAL, &di)) in smb_sam_lookup_name() 121 if (smb_strcasecmp(name, di.di_nbname, 0) == 0) { in smb_sam_lookup_name() 125 account->a_domain = strdup(di.di_nbname); in smb_sam_lookup_name() 126 account->a_sid = smb_sid_dup(di.di_binsid); in smb_sam_lookup_name() 127 account->a_domsid = smb_sid_dup(di.di_binsid); in smb_sam_lookup_name() 139 sid = smb_sid_splice(di.di_binsid, lwka->lwka_rid); in smb_sam_lookup_name() [all …]
|
/titanic_41/usr/src/grub/grub-0.97/stage2/ |
H A D | start.S | 74 movw $ABS(firstlist - BOOTSEC_LISTSIZE), %di 77 movl (%di), %ebp 83 cmpw $0, 4(%di) 97 movl (%di), %ebx 104 cmpw %ax, 4(%di) /* compare against total number of sectors */ 110 movw 4(%di), %ax 114 subw %ax, 4(%di) 117 addl %eax, (%di) 165 movl (%di), %eax 196 cmpw %ax, 4(%di) /* compare against total number of sectors */ [all …]
|
H A D | nbloader.S | 62 xorw %di, %di 103 xorw %di, %di
|
H A D | apm.S | 64 xorw %di, %di 80 movw %di, ABS(EXT_C(apm_bios_info)) + 18
|
/titanic_41/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) in is_root_complex() argument 121 len = di_prom_prop_lookup_strings(ph, di, "device_type", &type); in is_root_complex() 133 return ((di_parent_node(di) != DI_NODE_NIL) && in is_root_complex() 134 (di_parent_node(di_parent_node(di)) == DI_NODE_NIL)); in is_root_complex() 148 mmd_t *mdp, md_node_t *np, di_node_t di, char *name, char *alt_name) in add_prom_string_prop() argument 156 count = di_prom_prop_lookup_strings(ph, di, alt_name, &pp_data); in add_prom_string_prop() 159 count = di_prom_prop_lookup_strings(ph, di, name, &pp_data); in add_prom_string_prop() 179 mmd_t *mdp, md_node_t *np, di_node_t di, char *name, char *alt_name) in add_prom_int_prop() argument [all …]
|
/titanic_41/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_mptsas.c | 41 mptsas_disk_info_t *di; in get_sas_address() local 61 gdi.PtrDiskInfoArray = di = topo_mod_alloc(mod, disz); in get_sas_address() 62 if (di == NULL) { in get_sas_address() 71 topo_mod_free(mod, di, disz); in get_sas_address() 78 if (di[i].Enclosure == enclosure && di[i].Slot == slot) { in get_sas_address() 80 (void) snprintf(sas, 17, "%llx", di[i].SasAddress); in get_sas_address() 89 topo_mod_free(mod, di, disz); in get_sas_address()
|
/titanic_41/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_join.c | 167 smb_domain_t *di; in smbd_dc_update() local 181 di = &info.d_primary; in smbd_dc_update() 185 status = mlsvc_netlogon(info.d_dc, di->di_nbname); in smbd_dc_update() 248 smb_domain_t *di; in smbd_join_domain() local 291 di = &dxi.d_primary; in smbd_join_domain() 293 smb_config_setdomaininfo(di->di_nbname, di->di_fqname, in smbd_join_domain() 294 di->di_sid, in smbd_join_domain() 295 di->di_u.di_dns.ddi_forest, in smbd_join_domain() 296 di->di_u.di_dns.ddi_guid); in smbd_join_domain()
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | srvsvc_clnt.c | 59 smb_domainex_t di; in srvsvc_open() local 62 if (!smb_domain_getinfo(&di)) in srvsvc_open() 65 server = di.d_dc; in srvsvc_open() 66 domain = di.d_primary.di_nbname; in srvsvc_open() 417 smb_domainex_t di; in srvsvc_timesync() local 422 if (!smb_domain_getinfo(&di)) in srvsvc_timesync() 425 if (srvsvc_net_remote_tod(di.d_dc, di.d_primary.di_nbname, &tv, &tm) in srvsvc_timesync() 443 smb_domainex_t di; in srvsvc_gettime() local 447 if (!smb_domain_getinfo(&di)) in srvsvc_gettime() 450 if (srvsvc_net_remote_tod(di.d_dc, di.d_primary.di_nbname, &tv, &tm) in srvsvc_gettime() [all …]
|
H A D | mlsvc_init.c | 99 smb_domainex_t di; in mlsvc_timecheck() local 111 if (!smb_domain_getinfo(&di)) in mlsvc_timecheck() 114 ndr_srvsvc_timecheck(di.d_dc, di.d_primary.di_nbname); in mlsvc_timecheck()
|
H A D | mlsvc_util.c | 104 smb_domain_t *di = &dxi->d_primary; in mlsvc_join() local 140 err = smb_ads_join(di->di_fqname, in mlsvc_join() 178 rc = smbrdr_logon(dxi->d_dc, di->di_nbname, machine_name); in mlsvc_join() 201 if (smb_config_set_idmap_domain(di->di_fqname) != 0) in mlsvc_join() 231 smb_domain_t *di = &dxi->d_primary; in mlsvc_join_rpc() local 240 rc = samr_open(server, di->di_nbname, admin_user, in mlsvc_join_rpc() 249 (struct samr_sid *)di->di_binsid, &domain_handle); in mlsvc_join_rpc()
|
H A D | dssetup_clnt.c | 42 smb_domainex_t di; in dssetup_get_domain_info() local 47 if (!smb_domain_getinfo(&di)) in dssetup_get_domain_info() 50 if (ndr_rpc_bind(&handle, di.d_dc, di.d_primary.di_nbname, in dssetup_get_domain_info()
|
H A D | netr_logon.c | 153 smb_domainex_t di; in netlogon_logon() local 161 !smb_domain_getinfo(&di)) { in netlogon_logon() 167 if (netr_open(di.d_dc, di.d_primary.di_nbname, &netr_handle) in netlogon_logon() 171 if (di.d_dc && (*netr_global_info.server != '\0')) { in netlogon_logon() 173 "\\\\%s", di.d_dc); in netlogon_logon() 181 status = netlogon_auth(di.d_dc, &netr_handle, in netlogon_logon() 193 &netr_global_info, di.d_dc, user_info, token); in netlogon_logon() 732 smb_domain_t di; in netr_isadmin() local 735 if (!smb_domain_lookup_sid((smb_sid_t *)info3->LogonDomainId, &di)) in netr_isadmin() 738 if (di.di_type != SMB_DOMAIN_PRIMARY) in netr_isadmin()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | sidsys.c | 46 struct door_info di; in allocids() local 56 if ((err = door_ki_info(dh, &di)) != 0) { in allocids() 63 if (curproc->p_pid != di.di_target) in allocids() 128 struct door_info di; in idmap_flush_kcache() local 138 if ((err = door_ki_info(dh, &di)) != 0) { in idmap_flush_kcache() 145 if (curproc->p_pid != di.di_target) in idmap_flush_kcache()
|
/titanic_41/usr/src/cmd/cdrw/ |
H A D | misc_scsi.c | 596 uchar_t *di; in finalize() local 647 di = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); in finalize() 659 ret = read_disc_info(dev->d_fd, di); in finalize() 682 free(di); in finalize() 699 free(di); in finalize() 710 uchar_t *di; in get_last_possible_lba() local 713 di = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); in get_last_possible_lba() 714 if (!read_disc_info(dev->d_fd, di)) { in get_last_possible_lba() 715 free(di); in get_last_possible_lba() 725 if (read_scsi32(&di[20]) != 0xffffffff) { in get_last_possible_lba() [all …]
|
H A D | blank.c | 53 uchar_t *di, *buf; in blank() local 200 di = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); in blank() 203 ret = read_disc_info(target->d_fd, di); in blank() 228 free(di); in blank() 233 free(di); in blank()
|
H A D | write_image.c | 182 uchar_t *di; in write_image() local 185 di = (uchar_t *)my_zalloc(DISC_INFO_BLOCK_SIZE); in write_image() 189 ret = read_disc_info(target->d_fd, di); in write_image()
|
/titanic_41/usr/src/uts/common/os/ |
H A D | autoconf.c | 246 get_neighbors(dev_info_t *di, int flag) in get_neighbors() argument 252 if (di == NULL) in get_neighbors() 255 nid = ddi_get_nodeid(di); in get_neighbors() 274 if (snid && (snid != -1) && ((parent = ddi_get_parent(di)) != NULL)) { in get_neighbors() 297 if (check_status(cnid, buf, di) == DDI_SUCCESS) { in get_neighbors() 298 (void) ddi_add_child(di, buf, cnid, -1); in get_neighbors() 305 if (check_status(cnid, buf, di) in get_neighbors() 308 di, buf, cnid, -1); in get_neighbors()
|
/titanic_41/usr/src/cmd/hal/utils/ |
H A D | cdutils.c | 364 get_disc_info(int fd, disc_info_t *di) in get_disc_info() argument 395 di->disc_status = buf[2] & 0x03; in get_disc_info() 396 di->erasable = buf[2] & 0x10; in get_disc_info() 398 di->capacity = ((buf[21] * 60) + buf[22]) * 75; in get_disc_info() 400 di->capacity = 0; in get_disc_info() 455 disc_info_t di; in get_disc_capacity_for_profile() local 469 } else if (get_disc_info(fd, &di) && (di.capacity > 0)) { in get_disc_capacity_for_profile() 471 *capacity = di.capacity * mi.dki_lbsize; in get_disc_capacity_for_profile()
|
/titanic_41/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) in pr_door_info() argument 48 return (door_info(did, di)); in pr_door_info() 58 adp->arg_object = di; in pr_door_info()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | devinfo.c | 506 struct dev_info di; in devinfo_siblings_walk_init() local 514 if (mdb_vread(&di, sizeof (di), addr) == -1) { in devinfo_siblings_walk_init() 519 if (di.devi_parent == NULL) { in devinfo_siblings_walk_init() 524 if (mdb_vread(&di, sizeof (di), (uintptr_t)di.devi_parent) == -1) { in devinfo_siblings_walk_init() 526 (uintptr_t)di.devi_parent); in devinfo_siblings_walk_init() 530 wsp->walk_addr = (uintptr_t)di.devi_child; in devinfo_siblings_walk_init() 537 struct dev_info di; in devinfo_siblings_walk_step() local 543 if (mdb_vread(&di, sizeof (di), addr) == -1) { in devinfo_siblings_walk_step() 548 wsp->walk_addr = (uintptr_t)di.devi_sibling; in devinfo_siblings_walk_step() 549 return (wsp->walk_callback(addr, &di, wsp->walk_cbdata)); in devinfo_siblings_walk_step() [all …]
|
/titanic_41/usr/src/lib/libc/amd64/fp/ |
H A D | fpcw.s | 58 orw %ax,%di 59 movw %di,4(%rsp)
|
/titanic_41/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netlogon.c | 82 smb_domain_t di; in smb_netlogon_request() local 94 smb_config_getdomaininfo(di.di_nbname, NULL, di.di_sid, NULL, NULL); in smb_netlogon_request() 95 if (smb_strcasecmp(di.di_nbname, domain, 0) == 0) { in smb_netlogon_request() 96 if ((sid = smb_sid_fromstr(di.di_sid)) != NULL) in smb_netlogon_request()
|