Searched refs:dev (Results 226 - 250 of 1656) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_ctl.c48 eibnx_devctl_close(dev_t dev, int flags, int otyp, cred_t *credp) argument
55 eibnx_devctl_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, argument
/illumos-gate/usr/src/uts/sun4/sys/
H A Dbbc_beep.h98 #define BEEP_UNIT(dev) (getminor((dev)))
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_devctl.c49 static int pci_close(dev_t dev, int flags, int otyp, cred_t *credp);
52 static int pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
54 static int pci_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op,
139 pci_close(dev_t dev, int flags, int otyp, cred_t *credp) argument
147 pci_p = DEV_TO_SOFTSTATE(dev);
151 DEBUG2(DBG_CLOSE, pci_p->pci_dip, "dev=%x: flags=%x\n", dev, flags);
155 if (rval = pcihp_ops->cb_close(dev, flags, otyp, credp)) {
235 pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
239 minor_t minor = getminor(dev);
325 pci_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op, int flags, char *name, caddr_t valuep, int *lengthp) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/heci/
H A Dheci.h95 void heci_reset(struct iamt_heci_device *dev, int interrupts);
96 int heci_hw_init(struct iamt_heci_device *dev);
98 int heci_initialize_clients(struct iamt_heci_device *dev);
100 int heci_disconnect_host_client(struct iamt_heci_device *dev,
103 struct iamt_heci_device *dev);
106 void heci_flush_queues(struct iamt_heci_device *dev,
109 void heci_remove_client_from_file_list(struct iamt_heci_device *dev,
127 int heci_ioctl_connect_client(struct iamt_heci_device *dev, int if_num,
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-usr97 # if root dev is a read-only metadevice then fail
99 /dev/md/dsk/*)
100 dd if=/dev/null of=$special count=0 >/dev/null 2>&1 ||
125 # if usr dev is a read-only metadevice then fail
127 /dev/md/dsk/*)
128 dd if=/dev/null of=$special count=0 \
129 >/dev/null 2>&1 || exit $SMF_EXIT_ERR_FATAL
153 readvfstab /dev/fd < $vfstab
154 if [ "$mountp" -a -d /dev/f
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libfirewire/
H A Dfwohci.c44 #include <dev/firewire/firewire_phy.h>
110 device_printf(sc->fc.dev, "phy read failed(1).\n");
121 device_printf(sc->fc.dev, "phy read failed(2).\n");
128 device_printf(sc->fc.dev,
136 fwohci_probe_phy(struct fwohci_softc *sc, device_t dev) argument
157 device_printf(dev, "invalid speed %d (fixed to %d).\n",
161 device_printf(dev,
169 device_printf(dev, "invalid speed %d (fixed to %d).\n",
173 device_printf(dev,
185 device_printf(dev,
212 fwohci_reset(struct fwohci_softc *sc, device_t dev) argument
270 fwohci_init(struct fwohci_softc *sc, device_t dev) argument
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get_001_pos.ksh47 zpool get > /dev/null 2>&1
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_pci.c86 gfxp_pci_get_bsf(dev_info_t *dip, uint8_t *bus, uint8_t *dev, uint8_t *func) argument
102 *dev = PCI_REG_DEV_G(pci_rp->pci_phys_hi);
117 uint8_t bus, dev, func; local
135 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS)
140 if ((bus == pci_bsf->bus) && (dev == pci_bsf->slot) &&
199 uint8_t bus, dev, func; local
204 if (gfxp_pci_get_bsf(dip, &bus, &dev, &func) != DDI_SUCCESS)
207 val = (*pci_getb_func)(bus, dev, func, offset);
216 uint8_t bus, dev, func; local
221 if (gfxp_pci_get_bsf(dip, &bus, &dev,
233 uint8_t bus, dev, func; local
249 uint8_t bus, dev, func; local
264 uint8_t bus, dev, func; local
279 uint8_t bus, dev, func; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defipart.c77 #define PD(dev) (pdinfo[(dev)->d_unit])
209 struct devdesc *dev; local
215 dev = va_arg(args, struct devdesc*);
218 h = efi_find_handle(&efipart_dev, dev->d_unit);
229 dev->d_opendata = blkio;
230 PD(dev).pd_open++;
231 if (PD(dev).pd_bcache == NULL)
232 PD(dev).pd_bcache = bcache_allocate();
239 struct devdesc *dev; local
299 struct devdesc *dev; local
313 struct devdesc *dev = (struct devdesc *)devdata; local
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dcallers.c230 processdev(flds, dev)
231 char *flds[], *dev[];
246 sdev = dev;
257 if (EQUALS(ca->CA_type, dev[D_CALLER])) {
258 DEBUG(5, "Internal caller type %s\n", dev[D_CALLER]);
259 if (dev[D_ARG] == NULL) {
261 dev[D_ARG+1] = NULL; /* needed for for loop later to mark the end */
262 dev[D_ARG] = "\\T";
264 dev[D_ARG] = repphone(dev[D_AR
[all...]
/illumos-gate/usr/src/cmd/print/scripts/
H A Dppdmgr145 /bin/chmod -f ${1} "${3}" >/dev/null 2>&1
146 /bin/chown -f ${2} "${3}" >/dev/null 2>&1
207 gettext "invalid PPD file: ${1}" 2>/dev/null
236 gettext "invalid PPD file repository name: ${4}" 2>/dev/null
245 gettext "unable to create destination directories" 2>/dev/null
251 ${GZIP} "${1}" >"${dst_copy_path}" 2>/dev/null
253 gettext "unable to copy PPD file " 2>/dev/null
254 gettext "to destination" 2>/dev/null
258 /bin/cp -f "${1}" "${dst_copy_path}" >/dev/null 2>&1
260 gettext "unable to copy PPD file " 2>/dev/nul
[all...]
/illumos-gate/usr/src/cmd/avs/sdbc/etc/
H A Dscm.sh76 count=`$SVCS -o STATE -D $1 2>>/dev/null | grep "^online" | wc -l`
84 $SVCS -D $1 2>>/dev/null | grep "^online"
92 $SVCS -D $1 2>>/dev/null | grep "^online"
117 if [ ! -r /dev/sdbc ]
131 ps -e | grep -w nskernd > /dev/null 2>&1
143 /usr/sbin/modunload -i $mid > /dev/null 2>&1
159 if [ -r /dev/ncall -a -x $ESMSCMLIB/ncalladm ]
188 ps -e | grep -w nskernd > /dev/null 2>&1
200 ps -e | grep -w dscfgloc > /dev/null 2>&1
217 rm -f $NODELIST >/dev/nul
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/svc/
H A Dnfs-server161 nfs_name=`svcprop -p $FW_CONTEXT_PG/name $FMRI 2>/dev/null`
162 tport=`$SERVINFO -p -t -s $nfs_name 2>/dev/null`
167 tport6=`$SERVINFO -p -t6 -s $nfs_name 2>/dev/null`
172 uport=`$SERVINFO -p -u -s $nfs_name 2>/dev/null`
177 uport6=`$SERVINFO -p -u6 -s $nfs_name 2>/dev/null`
184 tports=`$SERVINFO -R -p -t -s "mountd" 2>/dev/null`
185 tports6=`$SERVINFO -R -p -t6 -s "mountd" 2>/dev/null`
201 uports=`$SERVINFO -R -p -u -s "mountd" 2>/dev/null`
202 uports6=`$SERVINFO -R -p -u6 -s "mountd" 2>/dev/null`
223 tports=`$SERVINFO -R -p -t -s $iana_name 2>/dev/nul
[all...]
/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_cp.c45 static int radeon_do_cleanup_cp(drm_device_t *dev);
825 static int RADEON_READ_PLL(drm_device_t *dev, int addr) argument
827 drm_radeon_private_t *dev_priv = dev->dev_private;
1069 static int radeon_do_engine_reset(drm_device_t *dev) argument
1071 drm_radeon_private_t *dev_priv = dev->dev_private;
1078 mclk_cntl = RADEON_READ_PLL(dev, RADEON_MCLK_CNTL);
1120 radeon_freelist_reset(dev);
1126 radeon_cp_init_ring_buffer(drm_device_t *dev, drm_radeon_private_t *dev_priv) argument
1145 RADEON_WRITE(RADEON_AGP_BASE, (unsigned int)dev->agp->base);
1152 dev
1361 radeon_do_init_cp(drm_device_t *dev, drm_radeon_init_t *init) argument
1711 radeon_do_cleanup_cp(drm_device_t *dev) argument
1768 radeon_do_resume_cp(drm_device_t *dev) argument
1932 radeon_do_release(drm_device_t *dev) argument
2076 radeon_freelist_get(drm_device_t *dev) argument
2152 radeon_freelist_reset(drm_device_t *dev) argument
2204 radeon_cp_get_buffers(drm_file_t *filp, drm_device_t *dev, drm_dma_t *d) argument
2305 radeon_driver_load(struct drm_device *dev, unsigned long flags) argument
2348 radeon_driver_firstopen(struct drm_device *dev) argument
2378 radeon_driver_unload(struct drm_device *dev) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dcoprocess.sh91 kill $(jobs -p) 2>/dev/null
99 $file 2> /dev/null || err_exit "parent coprocess prevents script coprocess"
102 kill $(jobs -p) 2>/dev/null
116 { sleep 4; kill $cop; } 2>/dev/null &
118 if wait $cop 2>/dev/null
119 then kill $spy 2>/dev/null
139 { : |& } 2>/dev/null ||
155 ) 2>/dev/null | read -t 10 r
167 ) 2>/dev/null | read -t 10 r
177 kill $! 2> /dev/nul
[all...]
H A Darith.sh129 ( ((x++)) ) 2>/dev/null
133 ( ((++x)) ) 2>/dev/null
138 ( ((x%1.1)) ) 2>/dev/null
149 ( [[ $(( pow(2,(3)) )) == 8 ]] ) 2> /dev/null
159 { z=$(typeset -RZ2 z2; (( z2 = 8 )); print $z2) ;} 2>/dev/null
163 { z=$(typeset -RZ3 z3; (( z3 = 8 )); print $z3) ;} 2>/dev/null
237 $SHELL -nc '((a = 1))' 2> /dev/null || err_exit "sh -n fails with arithmetic"
238 $SHELL -nc '((a.b++))' 2> /dev/null || err_exit "sh -n fails with arithmetic2"
241 if { (( z%2 != 1));} 2> /dev/null
315 $SHELL -c 'i=0;(( ofiles[i] != -1 && (ofiles[i] < mins || mins == -1) ));exit 0' 2> /dev/nul
[all...]
H A Dio.sh40 done 2> /dev/null
47 eval "a=\$(print foo | $tmp/mycat" $i $i'>&1 > /dev/null |cat)' 2> /dev/null
50 exec 3> /dev/null
66 if ( 4> file1 ) 2> /dev/null
74 ( dir=/dev/fd semantics='open|dup' )
75 ( dir=/dev/fd semantics='dup' )
78 do [[ -e ${FDFS[fdfs].dir} ]] && { command : > ${FDFS[fdfs].dir}/1; } 2>/dev/null && break
94 # 2004-11-25 ancient /dev/fd/N redirection bug fix
123 do exec 4< /dev/nul
[all...]
H A Dappend.sh32 x+=def ;} 2> /dev/null
37 { i+=4;} 2> /dev/null
42 { iarray+= (four five six) ;} 2> /dev/null
48 { iarray+= (four five six) ;} 2> /dev/null
H A Dsun_solaris_cr_6881017_background_process_in_subshell_hangs_caller.sh38 # ( sleep 100000 </dev/null >/dev/null 2>&1 & )
46 # redirecting the subshell output to /dev/null.
72 $SHELL -c '( sleep 10 </dev/null >/dev/null 2>&1 & ) ; exit 0' | cat >/dev/null
/illumos-gate/usr/src/cmd/boot/scripts/
H A Droot_archive.ksh49 umount $MNT 2> /dev/null
53 lofiadm -d "$TMR" 2>/dev/null
65 find . -print | cpio -pdum "$UNPACKED_ROOT" 2> /dev/null
129 echo $file | cpio -pdum $DST 2> /dev/null
143 -print 2> /dev/null > /tmp/flist$$
144 find usr/kernel -type file -print 2> /dev/null \
153 -type file -print 2> /dev/null | \
162 echo $file | cpio -pdum $DST 2> /dev/null
166 cpio -pdum $DST 2> /dev/null
168 2> /dev/nul
[all...]
H A Dcreate_ramdisk.ksh155 umount -f "$rdmnt32" 2>/dev/null
156 umount -f "$rdmnt64" 2>/dev/null
157 lofiadm -d "$rdfile32" 2>/dev/null
158 lofiadm -d "$rdfile64" 2>/dev/null
159 [ -n "$rddir" ] && rm -fr "$rddir" 2> /dev/null
160 [ -n "$new_rddir" ] && rm -fr "$new_rddir" 2>/dev/null
176 size32=$(cat "$list32" | xargs -I {} ls -lLd "{}" 2> /dev/null |
180 size64=$(cat "$list64" | xargs -I {} ls -lLd "{}" 2> /dev/null |
221 done <"$list" | cpio -pdum "$rdmnt" 2>/dev/null
225 find $filelist -type l -print 2>/dev/nul
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dbioscd.c93 #define BC(dev) (bcinfo[(dev)->d_unit])
197 * Attempt to open the disk described by (dev) for use by (f).
203 struct i386_devdesc *dev; local
206 dev = va_arg(ap, struct i386_devdesc *);
208 if (dev->d_unit >= nbcinfo) {
213 BC(dev).bc_open++;
214 if (BC(dev).bc_bcache == NULL)
215 BC(dev).bc_bcache = bcache_allocate();
222 struct i386_devdesc *dev; local
238 struct i386_devdesc *dev; local
252 struct i386_devdesc *dev; local
420 bc_getdev(struct i386_devdesc *dev) argument
[all...]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dnet_include.sh34 echo "Failed to $1 interface(s):$2" >/dev/msglog
180 /sbin/ifconfig $1 >/dev/null 2>&1 && return 1
181 /sbin/ifconfig $1 inet6 >/dev/null 2>&1 && return 1
182 /sbin/ifconfig $1 $3 ipmp group $2 2>/dev/null
305 macaddrtype=`/sbin/dladm show-vnic $1 -o MACADDRTYPE -p 2>/dev/null`
485 >/dev/msglog
494 "in an IPMP group)\c" >/dev/msglog
536 /sbin/ifconfig $grifname $type $line >/dev/null
550 addif $two >/dev/null
556 echo " $ifname (moved to $grifname)\c" > /dev/msglo
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_replace.c52 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev)));
66 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev),
87 assert(sp->setno == MD_MIN2SET(meta_getminor(np->dev)));
101 return (mdmderror(ep, MDE_UNKNOWN_TYPE, meta_getminor(np->dev),
/illumos-gate/usr/src/lib/libxcurses/h/posix/
H A Dmkslocal.h521 #define M_LOGGER_CONSOLE "/dev/console"
553 #define M_TAR_TAPENAME "/dev/mt/%c%c"
568 * will use "/dev/mt/%c%c"
760 #define M_TTYNAME "/dev/tty" /* Device to open to access the controlling
761 * tty; posix.2 does require this to be /dev/tty
762 * but dos for example calls it /dev/con.
763 * <mks.h> will default to /dev/tty.
766 #define M_NULLNAME "/dev/null" /* Device to open for the null device as defined
768 * /dev/null, but dos for example calls it
769 * /dev/nu
[all...]

Completed in 592 milliseconds

1234567891011>>