Home
last modified time | relevance | path

Searched refs:un (Results 1 – 25 of 158) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c824 (un)->un_last_state = (un)->un_state, (un)->un_state = (s)
9212 un->un_errstats->ks_private = un; in sd_create_errstats()
13696 if (!un->un_f_is_fibre && !un->un_f_cfg_is_atapi && !ISROD(un) &&
13739 un->un_uscsi_timeout = ((ISCD(un)) ? 2 : 1) * un->un_cmd_timeout;
14952 un, un->un_retry_bp, un->un_throttle,
16251 un, un->un_retry_bp);
16571 un, xp, un->un_rqs_pktp, un->un_rqs_bp);
16719 un, un->un_throttle, un->un_ncmds_in_transport);
16846 un, un->un_throttle);
16960 un, un->un_retry_bp, un->un_ncmds_in_transport);
[all …]
H A Dst.c1306 un->un_status, un->un_pos.fileno, un->un_pos.blkno); in st_detach()
1743 st_add_recovery_info_to_pkt(un, un->un_rqs_bp, un->un_rqs); in st_doattach()
3153 un->un_maxdma, un->un_maxbsize, un->un_minbsize, in st_tape_init()
3276 un->un_read_only |= un->un_wormable(un); in st_tape_init()
3285 un->un_read_only, un->un_pos.eof, un->un_oflags); in st_tape_init()
3522 flag, un->un_fmneeded, un->un_lastop, un->un_pos.eof); in st_close()
4882 un->un_pos.fileno, un->un_pos.blkno, un->un_pos.eof, un->un_state, in st_ioctl()
5693 un->un_pos.fileno, un->un_pos.blkno, un->un_pos.eof); in st_do_mtioctop()
6916 un->un_ncmds, un->un_throttle, un->un_errno, in st_done_and_mutex_exit()
13921 wrt = un->un_wormable(un); in st_is_hp_dat_worm()
[all …]
/illumos-gate/usr/src/uts/sun/io/dada/targets/
H A Ddad.c501 un->un_last_state = un->un_save_state; in dcdattach()
692 un->un_save_state = un->un_last_state; in dcddetach()
2025 if ((un->un_ncmds < un->un_throttle) && in dcdstrategy()
2115 un->un_state = un->un_last_state; in dcdstart()
2126 if ((un->un_ncmds < un->un_throttle) && in dcdstart()
2183 if ((un->un_ncmds < un->un_throttle) && in dcdstart()
2214 if ((un->un_ncmds < un->un_throttle) && in dcdstart()
2303 if (un->un_lbasize != un->un_secsize) { in make_dcd_cmd()
2440 un->un_state = un->un_last_state; in dcdintr()
2535 if (un->un_ncmds >= un->un_throttle) { in dcdintr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfdcunion.c76 f = un->f[un->c].f;
88 if(sfeof(f) && un->c < un->n-1)
89 f = un->f[un->c += 1].f;
115 extent += (sfsize(un->f[i].f) - un->f[i].lower);
127 { s = sfsize(un->f[i].f) - un->f[i].lower;
137 un->c = i;
141 sfseek(un->f[i].f,un->f[i].lower,0);
180 memset(un, 0, sizeof(*un));
186 un->n = n;
197 if(sfdisc(f,(Sfdisc_t*)un) != (Sfdisc_t*)un)
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mbox.c1457 mb->un.varBIUdiag.un.s2.xmit_bde64.addrHigh = PADDR_HI(out); in emlxs_mb_run_biu_diag()
1458 mb->un.varBIUdiag.un.s2.xmit_bde64.addrLow = PADDR_LO(out); in emlxs_mb_run_biu_diag()
1460 mb->un.varBIUdiag.un.s2.rcv_bde64.addrHigh = PADDR_HI(in); in emlxs_mb_run_biu_diag()
1461 mb->un.varBIUdiag.un.s2.rcv_bde64.addrLow = PADDR_LO(in); in emlxs_mb_run_biu_diag()
1526 control = mb->un.varReadLA.un.lilpBde64.tus.f.bdeSize; in emlxs_read_la_mbcmpl()
1767 mb->un.varReadLA.un.lilpBde64.tus.f.bdeSize = 128; in emlxs_mb_read_la()
1768 mb->un.varReadLA.un.lilpBde64.addrHigh = PADDR_HI(mp->phys); in emlxs_mb_read_la()
1769 mb->un.varReadLA.un.lilpBde64.addrLow = PADDR_LO(mp->phys); in emlxs_mb_read_la()
2240 control = mb->un.varRdSparm.un.sp64.tus.f.bdeSize; in emlxs_read_sparam_mbcmpl()
2329 mb->un.varRdSparm.un.sp64.addrHigh = PADDR_HI(mp->phys); in emlxs_mb_read_sparam()
[all …]
H A Demlxs_ip.c53 cmd->ULPSTATUS, cmd->un.ulpWord[4]); in emlxs_ip_handle_event()
79 cmd->un.ulpWord[4], cmd->un.ulpWord[5]); in emlxs_ip_handle_event()
99 cmd->un.ulpWord[4], cmd->un.ulpWord[5]); in emlxs_ip_handle_event()
118 cmd->un.ulpWord[5]); in emlxs_ip_handle_event()
136 cmd->un.ulpWord[4], cmd->un.ulpWord[5]); in emlxs_ip_handle_event()
217 PADDR(cmd->un.cont64[0].addrHigh, in emlxs_ip_handle_unsol_req()
218 cmd->un.cont64[0].addrLow)); in emlxs_ip_handle_unsol_req()
351 cmd->un.cont64[0].addrLow); in emlxs_ip_handle_rcv_seq_list()
397 cmd->un.ulpWord[4]); in emlxs_handle_create_xri()
410 cmd->un.ulpWord[4]); in emlxs_handle_create_xri()
[all …]
H A Demlxs_els.c113 iocb->un.ulpWord[4]); in emlxs_els_handle_event()
2664 els->un.prli.Retry = 1; in emlxs_els_reply()
2668 els->un.prli.Retry = 0; in emlxs_els_reply()
2729 els->un.lsRjt.un.b.lsRjtRsvd0 = 0; in emlxs_els_reply()
2730 els->un.lsRjt.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; in emlxs_els_reply()
2731 els->un.lsRjt.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; in emlxs_els_reply()
2732 els->un.lsRjt.un.b.vendorUnique = 0x01; in emlxs_els_reply()
2849 iocb->un.ulpWord[4]); in emlxs_menlo_handle_event()
2977 iocb->un.ulpWord[4]); in emlxs_ct_handle_event()
3391 bcopy(port->snn, (char *)ct->un.rsnn.snn, ct->un.rsnn.snn_len); in emlxs_send_rsnn()
[all …]
H A Demlxs_dump.c1117 w = entry.un.PortBlock.un.s.bc; in emlxs_dump_port_block()
1126 w = entry.un.PortBlock.un.s.addr; in emlxs_dump_port_block()
1139 w = entry.un.PortBlock.un.s.bc; in emlxs_dump_port_block()
1148 w = entry.un.PortBlock.un.s.addr; in emlxs_dump_port_block()
1202 w = entry.un.PortStruct.un.s.addr; in emlxs_dump_port_struct()
1222 w = entry.un.PortStruct.un.s.addr; in emlxs_dump_port_struct()
2434 entry.un.PortBlock.un.w[0] = mb->un.varWords[4]; in emlxs_dump_table_check()
2585 entry.un.PortBlock.un.w[0] = mb->un.varWords[4]; in emlxs_dump_table_read()
2627 entry.un.PortBlock.un.w[1] = mb->un.varWords[5]; in emlxs_dump_table_read()
2744 (entry.un.PortBlock.un.s. in emlxs_dump_hba_memory()
[all …]
/illumos-gate/usr/src/cmd/uname/
H A Duname.c72 un = &unstr; in main()
73 (void) uname(un); in main()
161 un->sysname); in main()
165 (void) fprintf(stdout, fs, sizeof (un->nodename), un->nodename); in main()
169 (void) fprintf(stdout, fs, sizeof (un->release), un->release); in main()
173 (void) fprintf(stdout, fs, sizeof (un->version), un->version); in main()
177 (void) fprintf(stdout, fs, sizeof (un->machine), un->machine); in main()
206 un->sysname); in main()
210 un->release); in main()
212 sizeof (un->version), un->version); in main()
[all …]
/illumos-gate/usr/src/uts/common/sys/scsi/targets/
H A Dsddef.h769 #define SD_SCSI_DEVP(un) ((un)->un_sd) argument
770 #define SD_DEVINFO(un) ((un)->un_sd->sd_dev) argument
771 #define SD_INQUIRY(un) ((un)->un_sd->sd_inq) argument
772 #define SD_MUTEX(un) (&((un)->un_sd->sd_mutex)) argument
773 #define SD_ADDRESS(un) (&((un)->un_sd->sd_address)) argument
774 #define SD_GET_DEV(un) (sd_make_device(SD_DEVINFO(un))) argument
788 #define ISCD(un) ((un)->un_ctype == CTYPE_CDROM) argument
789 #define ISROD(un) ((un)->un_ctype == CTYPE_ROD) argument
790 #define ISPXRE(un) ((un)->un_ctype == CTYPE_PXRE) argument
799 #define SD_IS_LSI(un) ((un)->un_f_cfg_is_lsi == TRUE) argument
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dunique.c78 un->un_value = value; in unique_insert()
81 while (un->un_value == 0 || un->un_value & ~UNIQUE_MASK || in unique_insert()
82 avl_find(&unique_avl, un, &idx)) { in unique_insert()
85 sizeof (un->un_value)); in unique_insert()
86 un->un_value &= UNIQUE_MASK; in unique_insert()
90 avl_insert(&unique_avl, un, idx); in unique_insert()
93 return (un->un_value); in unique_insert()
100 unique_t *un; in unique_remove() local
105 if (un != NULL) { in unique_remove()
106 avl_remove(&unique_avl, un); in unique_remove()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsbdpriv.h219 sbd_ct_str[nt], (un), \
252 #define SBD_DEVICE_STATE(sb, nt, un) \ argument
397 #define SBD_GET_BOARD_MEMUNIT(sb, un) \ argument
399 #define SBD_GET_BOARD_CPUUNIT(sb, un) \ argument
401 #define SBD_GET_BOARD_IOUNIT(sb, un) \ argument
438 #define SBD_DEV_IS_PRESENT(bp, nt, un) \ argument
440 #define SBD_DEV_SET_PRESENT(bp, nt, un) \ argument
442 #define SBD_DEV_CLR_PRESENT(bp, nt, un) \ argument
447 #define SBD_DEV_IS_ATTACHED(bp, nt, un) \ argument
449 #define SBD_DEV_SET_ATTACHED(bp, nt, un) \ argument
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/
H A Dsfgetr.c39 ssize_t n, un; local
54 un = 0;
112 un = s - f->next;
127 if(!rsrv || rsrv->size < un+n+1)
129 rsrv->slen = un;
130 if((rsrv = _sfrsrv(f,un+n+1)) != NIL(Sfrsrv_t*))
139 s = us+un;
140 un += n;
147 _Sfi = f->val = un;
150 { us[un-1] = '\0';
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppexpr.c280 int un = 0; in subexpr() local
308 un <<= 1; in subexpr()
338 un <<= 1; in subexpr()
342 un = 0; in subexpr()
367 un = xn; in subexpr()
387 un = 0; in subexpr()
405 un = 0; in subexpr()
416 switch (un) in subexpr()
484 un = 0; in subexpr()
492 un >>= 1; in subexpr()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Denv.c34 } un; member
106 ep->env[n++] = vp->un.ptr; in env_get()
130 free((void*)vp->un.ptr); in env_add()
131 vp->un.ptr = (char*)str; in env_add()
148 vp->un.ptr = (void*)str; in env_add()
173 free((void*)vp->un.ptr); in env_delete()
215 vp->un.next = (vp+1); in env_open()
218 vp->un.next = 0; in env_open()
242 vpnext = vp->un.next; in env_close()
245 vp->un.next = top; in env_close()
[all …]
/illumos-gate/usr/src/uts/sun/io/
H A Dsbusmem.c149 struct sbusmem_unit *un; in sbmem_attach() local
212 un->dip = devi; in sbmem_attach()
213 un->size = size; in sbmem_attach()
214 un->pagesize = ddi_ptob(devi, 1); in sbmem_attach()
282 struct sbusmem_unit *un; in sbmem_info() local
289 *result = (void *)un->dip; in sbmem_info()
328 struct sbusmem_unit *un; in sbmem_rw() local
338 dip = un->dip; in sbmem_rw()
339 pagesize = un->pagesize; in sbmem_rw()
377 struct sbusmem_unit *un; in sbmem_devmap() local
[all …]
H A Dfd.c1711 un = fdc->c_un; in fd_strategy()
5295 *(un->un_chars) = fdtypes[un->un_curfdtype]; in fdgetlabel()
5329 un->un_curfdtype = (un->un_curfdtype + 1) % nfdtypes; in fdgetlabel()
5330 *(un->un_chars) = fdtypes[un->un_curfdtype]; in fdgetlabel()
5343 *(un->un_chars) = fdtypes[un->un_curfdtype]; in fdgetlabel()
5790 bzero(&un->un_label, sizeof (un->un_label)); in fd_build_label_vtoc()
5843 un->un_label.dkl_pcyl = un->un_chars->fdc_ncyl; in fd_build_label_vtoc()
5851 un->un_label.dkl_nsect = (un->un_chars->fdc_secptrack * in fd_build_label_vtoc()
5855 un->un_label.dkl_ncyl = un->un_label.dkl_pcyl; in fd_build_label_vtoc()
5856 un->un_label.dkl_nhead = un->un_chars->fdc_nhead; in fd_build_label_vtoc()
[all …]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Ddrctl.h88 } un; member
91 #define res_cpu_id un.cpu.id
92 #define res_mem_size un.mem.size
93 #define res_mem_addr un.mem.addr
94 #define res_dev_path un.dev.path
110 } un; member
113 #define resp_err_msg un.err_msg
114 #define resp_resources un.resources
/illumos-gate/usr/src/uts/sun4/sys/
H A Dfcode.h379 } un; member
382 #define fc_dma_virt un.d.virt
383 #define fc_dma_len un.d.len
384 #define fc_dma_handle un.d.h
386 #define fc_dma_bp un.d.bp
388 #define fc_map_virt un.m.virt
389 #define fc_map_len un.m.len
390 #define fc_map_handle un.m.h
391 #define fc_regspec un.m.regspec
393 #define fc_nodeid_r un.n.nodeid
[all …]
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Dhotplug.c66 …HAL_ERROR (("devpath %s already present in store, ignore event", hotplug_event->un.devfs.devfs_pat… in hotplug_event_begin_devfs_add()
80 if (strcmp(hotplug_event->un.devfs.devfs_path, "/") != 0) { in hotplug_event_begin_devfs_add()
81 …HAL_ERROR (("Parent is NULL devfs_path=%s parent_udi=%s", hotplug_event->un.devfs.devfs_path, pare… in hotplug_event_begin_devfs_add()
95 begin_add_func = hotplug_event->un.devfs.handler->hotplug_begin_add; in hotplug_event_begin_devfs_add()
101 hotplug_event->un.devfs.handler, in hotplug_event_begin_devfs_add()
116 HAL_ERROR (("devpath %s not present in store, ignore event", hotplug_event->un.devfs.devfs_path)); in hotplug_event_begin_devfs_remove()
123 hotplug_event->un.devfs.devfs_path, in hotplug_event_begin_devfs_remove()
132 HAL_INFO (("hotplug_event_begin_devfs: %s", hotplug_event->un.devfs.devfs_path)); in hotplug_event_begin_devfs()
135 hotplug_event->un.devfs.devfs_path); in hotplug_event_begin_devfs()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtdb_agent.c162 (void) memset(&sap->un, 0, sizeof (sap->un)); in alloc_sync_addr()
308 (void) memset(&sap->un, 0, sizeof (sap->un)); in tdb_sync_obj_register()
410 tssp->un.type = TDB_MUTEX; in tdb_mutex_stats()
411 return (&tssp->un.mutex); in tdb_mutex_stats()
427 tssp->un.type = TDB_COND; in tdb_cond_stats()
428 return (&tssp->un.cond); in tdb_cond_stats()
444 tssp->un.type = TDB_RWLOCK; in tdb_rwlock_stats()
445 return (&tssp->un.rwlock); in tdb_rwlock_stats()
462 tssp->un.type = TDB_SEMA; in tdb_sema_stats()
464 tssp->un.sema.sema_max_count = sp->count; in tdb_sema_stats()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/
H A Dodirectory.c79 struct sockaddr_un un; in odir_setup() local
132 (void) memset(&un, '\0', sizeof (un)); in odir_setup()
133 un.sun_family = AF_UNIX; in odir_setup()
134 if (strlcpy(un.sun_path, odir_udspath, sizeof (un.sun_path)) >= in odir_setup()
135 sizeof (un.sun_path)) { in odir_setup()
141 if (bind(odir_uds, (struct sockaddr *)&un, SUN_LEN(&un)) != 0) { in odir_setup()
/illumos-gate/usr/src/uts/sun/sys/dada/targets/
H A Ddaddef.h47 #define DCD_DCD_DEVP (un->un_dcd)
52 #define SECDIV (un->un_secdiv)
53 #define SECSIZE (un->un_secsize)
68 #define New_state(un, s) \ argument
69 (un)->un_last_state = (un)->un_state, (un)->un_state = (s)
70 #define Restore_state(un) \ argument
71 { uchar_t tmp = (un)->un_last_state; New_state((un), tmp); }
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp_link.c136 ire = ire_route_recursive_v4(dst_addr->un.ip4addr, 0, NULL, in ibcm_resolver_pr_lookup()
157 INADDR_ANY, myzoneid, ipst, &wqnp->src_addr.un.ip4addr, in ibcm_resolver_pr_lookup()
163 wqnp->gateway.un.ip4addr = ire->ire_gateway_addr; in ibcm_resolver_pr_lookup()
164 wqnp->netmask.un.ip4addr = ire->ire_mask; in ibcm_resolver_pr_lookup()
198 &wqnp->src_addr.un.ip6addr, NULL, NULL) != 0) { in ibcm_resolver_pr_lookup()
203 wqnp->gateway.un.ip6addr = ire->ire_gateway_addr_v6; in ibcm_resolver_pr_lookup()
204 wqnp->netmask.un.ip6addr = ire->ire_mask_v6; in ibcm_resolver_pr_lookup()
217 ipif = ipif_lookup_addr(wqnp->src_addr.un.ip4addr, ill, in ibcm_resolver_pr_lookup()
220 ipif = ipif_lookup_addr_v6(&wqnp->src_addr.un.ip6addr, in ibcm_resolver_pr_lookup()
310 sin->sin_addr.s_addr = wqnp->dst_addr.un.ip4addr; in ibcm_nce_lookup()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Ddevcache_impl.h56 } un; member
59 #define nvpf_magic un.nvpf.magic
60 #define nvpf_version un.nvpf.version
61 #define nvpf_size un.nvpf.size
62 #define nvpf_hdr_chksum un.nvpf.hdr_chksum
63 #define nvpf_chksum un.nvpf.chksum

1234567