Searched refs:dev (Results 201 - 225 of 1552) sorted by relevance

1234567891011>>

/opensolaris-onvv-gate/usr/src/lib/libshell/common/tests/
H A Dbracket.sh75 if [[ -f /dev/null ]]
76 then err_exit "-f: /dev/null should not be an ordinary file"
110 if [[ ! -r /dev/fd/0 ]]
111 then err_exit "/dev/fd/0 not open for reading"
113 if [[ ! -w /dev/fd/2 ]]
114 then err_exit "/dev/fd/2 not open for writing"
165 x='bin|dev|?'
170 if [[ dev != $x ]]
183 test \( -n x \) -o \( -n y \) 2> /dev/null || err_exit 'test ( -n x ) -o ( -n y) not working'
184 test \( -n x \) -o -n y 2> /dev/nul
[all...]
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...]
/opensolaris-onvv-gate/usr/src/lib/libvolmgt/
H A Dvolmgt.h45 * path - the name of the device in /dev. For example,
46 * /dev/rdiskette. If path is NULL, all "checkable" devices are
60 * path - the name of the device in /dev. For example,
61 * "/dev/rdiskette".
84 * what the symbolic name (e.g. "floppy0") for the /dev/rdiskette
88 * path - a string containing the /dev device name. For example,
89 * "/dev/diskette" or "/dev/rdiskette".
112 * pointer to a string containing the /dev name.
265 * dev
[all...]
/opensolaris-onvv-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
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dcopyops.c34 physio(int (*strat)(struct buf *), struct buf *bp, dev_t dev, argument
37 return (default_physio(strat, bp, dev, rw, mincnt, uio));
/opensolaris-onvv-gate/usr/src/uts/common/syscall/
H A Dmknod.c56 * dev = device number - b/c specials only
59 mknodat(int fd, char *fname, mode_t fmode, dev_t dev) argument
86 dev = expldev(dev);
87 if (dev == NODEV || (getemajor(dev)) == (major_t)NODEV)
89 vattr.va_rdev = dev;
112 mknod(char *fname, mode_t fmode, dev_t dev) argument
114 return (mknodat(AT_FDCWD, fname, fmode, dev));
/opensolaris-onvv-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_segmap.c60 gfxp_ddi_segmap_setup(dev_t dev, off_t offset, struct as *as, caddr_t *addrp, argument
65 int (*mapfunc)(dev_t dev, off_t off, int prot);
70 if ((mapfunc = devopsp[getmajor(dev)]->devo_cb_ops->cb_mmap) == nodev)
84 if (ddi_device_mapping_check(dev, accattrp, rnumber, &hat_attr) == -1)
113 if ((pfn = (pfn_t)cdev_mmap(mapfunc, dev, offset,
117 if (cdev_mmap(mapfunc, dev, offset + i, maxprot) ==
142 dev_a.dev = dev;
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...]
/opensolaris-onvv-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,
/opensolaris-onvv-gate/usr/src/uts/sun4/sys/
H A Dbbc_beep.h98 #define BEEP_UNIT(dev) (getminor((dev)))
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/svc/shell/
H A Dipf_include.sh28 2>/dev/null`
33 2>/dev/null`
38 2>/dev/null`
140 $IPF_FMRI 2>/dev/null | awk '{$2=" "; print $0}'`
164 svcprop -p $config_pg/${POLICY_PROP} $1 2>/dev/null
173 svcprop -p $config_pg/${EXCEPTIONS_PROP} $1 2>/dev/null
182 svcprop -p $config_pg/${APPLY2_PROP} $1 2>/dev/null
188 mkdir $VAR_IPF_DIR >/dev/null 2>&1 || return 1
210 enabled_ovr=`svcprop -c -p general_ovr/enabled $1 2>/dev/null`
215 enabled=`svcprop -c -p general/enabled $1 2>/dev/nul
[all...]
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...]
/opensolaris-onvv-gate/usr/src/lib/libparted/common/libparted/labels/
H A Dpc98.c133 static PedSector chs_to_sector (const PedDevice* dev, int c, int h, int s);
134 static void sector_to_chs (const PedDevice* dev, PedSector sector,
155 check_partition_consistency (const PedDevice* dev, argument
158 if (raw_part->ipl_sect >= dev->hw_geom.sectors
159 || raw_part->sector >= dev->hw_geom.sectors
160 || raw_part->end_sector >= dev->hw_geom.sectors
161 || raw_part->ipl_head >= dev->hw_geom.heads
162 || raw_part->head >= dev->hw_geom.heads
163 || raw_part->end_head >= dev->hw_geom.heads
164 || PED_LE16_TO_CPU(raw_part->ipl_cyl) >= dev
185 pc98_probe(const PedDevice *dev) argument
231 pc98_clobber(PedDevice* dev) argument
254 pc98_alloc(const PedDevice* dev) argument
276 chs_to_sector(const PedDevice* dev, int c, int h, int s) argument
283 sector_to_chs(const PedDevice* dev, PedSector sector, int* c, int* h, int* s) argument
735 PedDevice* dev = disk->dev; local
[all...]
H A Dsun.c139 sun_probe (const PedDevice *dev) argument
143 PED_ASSERT (dev != NULL, return 0);
145 if (dev->sector_size != 512)
148 if (!ped_device_read (dev, &label, 0, 1))
170 sun_clobber (PedDevice* dev) argument
174 PED_ASSERT (dev != NULL, return 0);
175 PED_ASSERT (sun_probe (dev), return 0);
177 if (!ped_device_read (dev, &label, 0, 1))
181 return ped_device_write (dev, &label, 0, 1);
186 sun_alloc (const PedDevice* dev) argument
269 PedDevice* dev = disk->dev; local
660 PedDevice* dev = disk->dev; local
681 PedDevice* dev = disk->dev; local
[all...]
/opensolaris-onvv-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...]
/opensolaris-onvv-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...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/uts/common/fs/dev/
H A Dsdev_ipnetops.c27 * vnode ops for the /dev/ipnet directory
47 devipnet_fill_vattr(struct vattr *vap, dev_t dev) argument
52 vap->va_rdev = dev;
67 dev_t dev; local
69 dev = ipnet_if_getdev(dv->sdev_name, getzoneid());
70 if (dev == (dev_t)-1)
72 if (getminor(SDEVTOV(dv)->v_rdev) != getminor(dev))
86 dev_t dev; local
90 if ((dev = ipnet_if_getdev(nm, getzoneid())) == (dev_t)-1)
93 devipnet_fill_vattr(vap, dev);
138 devipnet_filldir_entry(const char *name, void *arg, dev_t dev) argument
[all...]
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/cmd/boot/scripts/
H A Dcreate_ramdisk.ksh149 umount -f "$rdmnt32" 2>/dev/null
150 umount -f "$rdmnt64" 2>/dev/null
151 lofiadm -d "$rdfile32" 2>/dev/null
152 lofiadm -d "$rdfile64" 2>/dev/null
153 [ -n "$rddir" ] && rm -fr "$rddir" 2> /dev/null
154 [ -n "$new_rddir" ] && rm -fr "$new_rddir" 2>/dev/null
170 size32=$(cat "$list32" | xargs -I {} ls -lLd "{}" 2> /dev/null |
174 size64=$(cat "$list64" | xargs -I {} ls -lLd "{}" 2> /dev/null |
215 done <"$list" | cpio -pdum "$rdmnt" 2>/dev/null
219 find $filelist -type l -print 2>/dev/nul
[all...]
H A Dcreate_diskmap.ksh36 /sbin/biosdev 2> /dev/null | while read diskno diskpath
38 devname=`/bin/ls -l /dev/rdsk/*p0 | /bin/grep $diskpath | /bin/nawk '{ print $9 }'`
39 ctdname=`echo $devname | /bin/sed "s#/dev/rdsk/##" | /bin/sed "s#p0##"`
/opensolaris-onvv-gate/usr/src/cmd/agents/
H A DMakefile.vars34 UNAME=` uname -r 2>/dev/null` ||.; \
38 5.*) PNAME=`uname -p 2>/dev/null` ||.; \

Completed in 2411 milliseconds

1234567891011>>