Searched refs:dev (Results 151 - 175 of 1656) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/iscsid/
H A Discsi-initiator38 echo "" > /dev/console
41 > /dev/console
42 echo "of the following filesystem(s):" > /dev/console
43 echo "\t$1" > /dev/console
46 > /dev/console
48 echo "Run fsck manually (fsck filesystem...)." > /dev/console
49 echo "" > /dev/console
67 /usr/sbin/fsck -F $2 -m $1 >/dev/null 2>&1
120 /usr/bin/grep " $mountp " /etc/mnttab >/dev/null \
137 /usr/sbin/fsck -m -F $fstype $fsckdev >/dev/nul
[all...]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_bio.h63 extern struct buf *bread_common(void *arg, dev_t dev,
67 extern struct buf *getblk_common(void * arg, dev_t dev,
70 #define UFS_BREAD(ufsvfsp, dev, blkno, bsize) \
71 bread_common(ufsvfsp, dev, blkno, bsize)
82 #define UFS_GETBLK(ufsvfsp, dev, blkno, bsize) \
83 getblk_common(ufsvfsp, dev, blkno, bsize, /* errflg */ 0)
/illumos-gate/usr/src/uts/common/io/
H A Dnet_dacf.c98 dev_t dev; local
102 dev = dacf_get_dev(info_hdl);
104 if ((err = softmac_create(dip, dev)) != 0) {
126 dev_t dev; local
129 dev = dacf_get_dev(info_hdl);
131 if (softmac_destroy(dip, dev) != 0)
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_irq.c174 * @dev: DRM device
182 i915_pipe_enabled(struct drm_device *dev, int pipe) argument
184 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
193 u32 i915_get_vblank_counter(struct drm_device *dev, int pipe) argument
195 drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
203 if (!i915_pipe_enabled(dev, pipe)) {
229 * @dev: drm device
236 static void i915_capture_error_state(struct drm_device *dev) argument
238 struct drm_i915_private *dev_priv = dev->dev_private;
257 if (!IS_I965G(dev)) {
304 i915_handle_error(struct drm_device *dev) argument
416 gm45_get_vblank_counter(struct drm_device *dev, int pipe) argument
429 igdng_irq_handler(struct drm_device *dev) argument
487 drm_device_t *dev = (drm_device_t *) (void *) arg; local
559 i915_emit_irq(drm_device_t * dev) argument
615 i915_user_irq_on(struct drm_device *dev) argument
629 i915_user_irq_off(struct drm_device *dev) argument
643 i915_wait_irq(drm_device_t * dev, int irq_nr) argument
755 igdng_enable_vblank(struct drm_device *dev, int pipe) argument
773 igdng_disable_vblank(struct drm_device *dev, int pipe) argument
791 i915_enable_vblank(struct drm_device *dev, int pipe) argument
815 i915_disable_vblank(struct drm_device *dev, int pipe) argument
891 igdng_irq_preinstall(struct drm_device *dev) argument
909 igdng_irq_postinstall(struct drm_device *dev) argument
939 igdng_irq_uninstall(struct drm_device *dev) argument
953 i915_driver_irq_preinstall(drm_device_t * dev) argument
975 i915_driver_irq_postinstall(drm_device_t * dev) argument
1027 i915_driver_irq_uninstall(drm_device_t * dev) argument
[all...]
H A Di915_gem_tiling.c96 i915_gem_detect_bit_6_swizzle(struct drm_device *dev) argument
98 drm_i915_private_t *dev_priv = dev->dev_private;
102 if (!IS_I9XX(dev)) {
108 } else if (IS_MOBILE(dev)) {
182 if (IS_IGDNG(dev)) {
196 i915_get_fence_size(struct drm_device *dev, int size) argument
201 if (IS_I965G(dev)) {
209 if (IS_I9XX(dev))
223 i915_tiling_ok(struct drm_device *dev, int stride, int size, int tiling_mode) argument
231 if (tiling_mode == I915_TILING_Y && HAS_128_BYTE_Y_TILING(dev))
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_015_neg.ksh55 swap -l | grep /dev/zvol/dsk/$vol_name > /dev/null 2>&1
57 swap -d /dev/zvol/dsk/${vol_name}
86 log_must swap -a /dev/zvol/dsk/$vol_name
88 log_mustnot zpool create $opt $TESTPOOL1 /dev/zvol/dsk/${vol_name}
92 log_must swap -d /dev/zvol/dsk/${vol_name}
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog.kshlib54 zpool status -xv $pool > /dev/null 2>&1
57 zpool iostat > /dev/null 2>&1
61 dd if=/dev/random of=$mntpnt/testfile.$$ &
64 zpool iostat -v 1 3 > /dev/null
112 typeset dev=${dev_stat_tab[$i]}
115 case $dev in
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Ddevicename.c41 static int userboot_parsedev(struct disk_devdesc **dev, const char *devspec, const char **path);
44 * Point (dev) at an allocated device specifier for the device matching the
51 struct disk_devdesc **dev = (struct disk_devdesc **)vdev; local
62 if (((rv = userboot_parsedev(dev, getenv("currdev"), NULL)) == 0) &&
71 return(userboot_parsedev(dev, devspec, path));
75 * Point (dev) at an allocated device specifier matching the string version
89 userboot_parsedev(struct disk_devdesc **dev, const char *devspec, const char **path) argument
163 if (dev == NULL) {
166 *dev = idev;
179 struct disk_devdesc *dev local
[all...]
/illumos-gate/usr/src/cmd/cdrw/
H A Dmisc_scsi.c46 static int check_track_size(cd_device *dev, int trk_num,
162 build_track_info(cd_device *dev, int trackno, struct track_info *t_info) argument
197 if (read_track_info(dev->d_fd, trackno, ti)) {
235 if (!read_toc(dev->d_fd, 0, trackno, 20, toc)) {
241 t_info->ti_data_mode = get_data_mode(dev->d_fd, read_scsi32(&toc[8]));
244 if ((dev->d_blksize == 512) && ((t_info->ti_track_mode & 4) == 0)) {
250 ret = read_toc(dev->d_fd, 1, trackno, 12, toc);
260 ret = read_toc_as_per_8020(dev->d_fd, 1, trackno, 12, toc);
285 if (check_track_size(dev, trackno, t_info) != 1)
300 check_track_size(cd_device *dev, in argument
474 prepare_for_write(cd_device *dev, int track_mode, int test_write, int keep_disc_open) argument
594 finalize(cd_device *dev) argument
708 get_last_possible_lba(cd_device *dev) argument
743 read_audio_through_read_cd(cd_device *dev, uint_t start_lba, uint_t nblks, uchar_t *buf) argument
759 eject_media(cd_device *dev) argument
818 cd_speed_get(cd_device *dev, int cmd) argument
902 cd_speed_ctrl(cd_device *dev, int cmd, int speed) argument
940 do_set_streaming(cd_device *dev, uint_t read_speed, uint_t write_speed) argument
978 rt_streaming_ctrl(cd_device *dev, int cmd, int speed) argument
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdsk_common.c95 vd_efi_ioctl(vd_efi_dev_t *dev, int cmd, void *arg) argument
99 ASSERT(dev->vdisk_ioctl != NULL);
100 ASSERT(dev->vdisk != NULL);
101 status = (*dev->vdisk_ioctl)(dev->vdisk, cmd, (uintptr_t)arg);
161 vd_efi_check_gpt(vd_efi_dev_t *dev, efi_gpt_t *gpt) argument
176 if (LE_32(gpt->efi_gpt_HeaderSize) > dev->block_size) {
179 dev->block_size);
207 vd_efi_alloc_and_read(vd_efi_dev_t *dev, efi_gpt_t **efi_gpt, argument
217 ASSERT(dev
355 vd_efi_free(vd_efi_dev_t *dev, efi_gpt_t *gpt, efi_gpe_t *gpe) argument
[all...]
/illumos-gate/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_cr_6800929_large_command_substitution_hang.sh96 kill -0 ${1} 2>/dev/null && return 0
152 kill -KILL ${childpid} 2>/dev/null
167 ${SHELL} -o errexit -c 'builtin uniq ; set -- `cat /etc/termcap | sort | uniq` ; true' >/dev/null &
172 kill -KILL ${childpid} 2>/dev/null
178 ${SHELL} -o errexit -c 'builtin uniq ; set -- ${ cat /etc/termcap | sort | uniq ; } ; true' >/dev/null &
183 kill -KILL ${childpid} 2>/dev/null
189 ${SHELL} -o errexit -c 'builtin -d uniq /bin/uniq ; set -- `cat /etc/termcap | sort | uniq` ; true' >/dev/null &
194 kill -KILL ${childpid} 2>/dev/null
200 ${SHELL} -o errexit -c 'builtin -d uniq /bin/uniq ; set -- ${ cat /etc/termcap | sort | uniq ; } ; true' >/dev/null &
205 kill -KILL ${childpid} 2>/dev/nul
[all...]
H A Dbasic.sh105 if (command > foo\\abc) 2> /dev/null
111 if ( : > TT* && : > TTfoo ) 2>/dev/null
187 if [[ -p /dev/fd/0 ]]
189 cat - > /dev/null
190 [[ -p /dev/fd/0 ]] && print ok
197 no) err_exit "[[ -p /dev/fd/0 ]] fails for standard input pipe" ;;
218 x=$( (/bin/echo foo) 2> /dev/null )
236 x=$( (/bin/echo hello) 2> /dev/null )
241 read line 2> /dev/null
320 [[ $($SHELL -c 'o=foobar; for x in foo bar; do (o=save);print $o;done' 2> /dev/nul
[all...]
H A Dbuiltins.sh98 print $line | /bin/cat > /dev/null
115 read line < /dev/null
117 then err_exit "read from /dev/null failed"
125 print -f "hello%nbar\n" size > /dev/null
130 [[ -w /dev/fd/1 ]] || err_exit "2<&1- with built-ins has side effects"
135 $SHELL -c 'read x <<< hello' 2> /dev/null || err_exit 'syntax <<< not recognized'
136 ($SHELL -c 'read x[1] <<< hello') 2> /dev/null || err_exit 'read x[1] not working'
150 (continue bad 2>/dev/null && err_exit 'continue bad should return an error')
151 (break bad 2>/dev/null && err_exit 'break bad should return an error')
152 (continue 0 2>/dev/nul
[all...]
/illumos-gate/usr/src/uts/common/xen/sys/
H A Dxenbus_impl.h79 struct xenbus_device *dev; member in struct:xenbus_watch
165 extern int xenbus_watch_path(struct xenbus_device *dev, const char *path,
180 extern int xenbus_watch_path2(struct xenbus_device *dev, const char *path,
193 extern int xenbus_switch_state(struct xenbus_device *dev,
203 extern int xenbus_grant_ring(struct xenbus_device *dev, unsigned long ring_mfn);
212 extern int xenbus_alloc_evtchn(struct xenbus_device *dev, int *port);
226 extern void xenbus_dev_error(struct xenbus_device *dev, int err,
231 * Equivalent to xenbus_dev_error(dev, err, fmt, args), followed by
232 * xenbus_switch_state(dev, NULL, XenbusStateClosing) to schedule an orderly
235 extern void xenbus_dev_fatal(struct xenbus_device *dev,
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dsetup.ksh40 for dev in $ZFS_DISK1 $ZFS_DISK2 ; do
41 log_must cleanup_devices $dev
65 echo "y" | newfs -v /dev/rdsk/$ZFSSIDE_DISK2 >/dev/null 2>&1
72 log_must mount /dev/dsk/$ZFSSIDE_DISK2 $DEVICE_DIR
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_ioctl.c69 if (u1.unique_len >= dev->unique_len) {
70 if (dev->unique_len == 0) {
71 DRM_ERROR("drm_getunique: dev->unique_len = 0");
74 if (DRM_COPY_TO_USER(u1.unique, dev->unique, dev->unique_len))
77 u1.unique_len = dev->unique_len;
106 drm_set_busid(drm_device_t *dev) argument
110 if (dev->unique != NULL) {
115 dev->unique_len = 20;
116 dev
[all...]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-local43 cat /var/run/fs-local >/dev/msglog
46 echo "$SMF_FMRI:" $msg >/dev/msglog
90 /usr/sbin/zfs mount -va >/dev/msglog 2>&1
95 echo "$SMF_FMRI:" $msg >/dev/msglog
102 cd /; /sbin/mountall -l >/dev/msglog
107 echo "$SMF_FMRI:" $msg >/dev/msglog
113 /sbin/swapadd >/dev/null 2>&1
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzvol.h49 extern int zvol_dump(dev_t dev, caddr_t addr, daddr_t offset, int nblocks);
50 extern int zvol_close(dev_t dev, int flag, int otyp, cred_t *cr);
52 extern int zvol_read(dev_t dev, uio_t *uiop, cred_t *cr);
53 extern int zvol_write(dev_t dev, uio_t *uiop, cred_t *cr);
54 extern int zvol_aread(dev_t dev, struct aio_req *aio, cred_t *cr);
55 extern int zvol_awrite(dev_t dev, struct aio_req *aio, cred_t *cr);
56 extern int zvol_ioctl(dev_t dev, int cmd, intptr_t arg, int flag, cred_t *cr,
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dcallers.c176 processdev(char *flds[], char *dev[]) argument
188 sdev = dev;
199 if (EQUALS(ca->CA_type, dev[D_CALLER])) {
200 DEBUG(5, "Internal caller type %s\n", dev[D_CALLER]);
201 if (dev[D_ARG] == NULL) {
204 dev[D_ARG+1] = NULL;
205 dev[D_ARG] = "\\T";
207 dev[D_ARG] = repphone(dev[D_ARG], flds[F_PHONE], "");
208 if ((dcf = (*(ca->CA_caller))(flds, dev)) <
468 tlicall(char *flds[], char *dev[]) argument
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Ddisk.esc49 engine serd.io.scsi.cmd.disk.dev.rqs.merr@P, N=1, T=24h;
54 event fault.io.scsi.cmd.disk.dev.rqs.derr@P;
55 event fault.io.scsi.cmd.disk.dev.rqs.merr@P,
56 engine=serd.io.scsi.cmd.disk.dev.rqs.merr@P;
60 * event fault.io.scsi.cmd.disk.dev.uderr@P;
67 event upset.io.scsi.cmd.disk.dev.rqs.derr@P;
68 event upset.io.scsi.cmd.disk.dev.rqs.merr@P;
69 event upset.io.scsi.cmd.disk.dev.uderr@P;
70 event upset.io.scsi.cmd.disk.dev.serr@P;
83 event ereport.io.scsi.cmd.disk.dev
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_common.kshlib67 zpool history $flags $pool > $OLD_HISTORY 2>/dev/null
73 zpool history $flags $pool > $TMP_HISTORY 2>/dev/null
78 grep "$histcmd" $NEW_HISTORY >/dev/null 2>&1 || \
106 grep "$cmd \[user $uid ($user) on $hname\]" $NEW_HISTORY >/dev/null \
133 >/dev/null 2>&1
164 >/dev/null 2>&1
170 grep "destroy $rb_fs" $NEW_HISTORY >/dev/null 2>&1
192 grep "$subcmd $ds ([0-9]*) ${prop}=" $NEW_HISTORY >/dev/null \
222 echo $cmd | awk '{i = NF - 1; print $i}' | grep '@' >/dev/null \
246 $NEW_HISTORY >/dev/nul
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dirm.c105 struct dev_info dev; local
135 if (mdb_vread(&dev, sizeof (dev),
136 (uintptr_t)pool.ipool_owner) != sizeof (dev)) {
149 if (dev.devi_instance != -1)
151 dev.devi_instance);
191 struct dev_info dev; local
214 if (mdb_vread(&dev, sizeof (dev),
215 (uintptr_t)req.ireq_dip) != sizeof (dev)) {
[all...]
/illumos-gate/usr/src/uts/common/io/usb/hubd/
H A Dhubd.c42 static int hubd_close(dev_t dev, int flag, int otyp, cred_t *credp);
43 static int hubd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode,
137 hubd_get_dip(dev_t dev) argument
139 minor_t minor = getminor(dev);
158 dev_t dev; local
170 dev = (dev_t)arg;
171 instance = HUBD_UNIT(dev);
191 hubd_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
193 dev_info_t *dip = hubd_get_dip(dev);
195 return (usba_hubdi_close(dip, dev, fla
200 hubd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_buf.c55 * dev - software handle to device
63 oce_alloc_dma_buffer(struct oce_dev *dev, argument
84 ret = ddi_dma_alloc_handle(dev->dip, dma_attr,
87 oce_log(dev, CE_WARN, MOD_CONFIG, "%s",
96 oce_log(dev, CE_WARN, MOD_CONFIG, "%s",
107 oce_log(dev, CE_WARN, MOD_CONFIG, "%s",
131 * dev - software handle to device
137 oce_free_dma_buffer(struct oce_dev *dev, oce_dma_buf_t *dbuf) argument
139 _NOTE(ARGUNUSED(dev));
159 * dev
167 create_ring_buffer(struct oce_dev *dev, uint32_t num_items, uint32_t item_size, uint32_t flags) argument
208 destroy_ring_buffer(struct oce_dev *dev, oce_ring_buffer_t *ring) argument
[all...]
/illumos-gate/usr/src/lib/libsecdb/common/
H A Di.rbac68 ${egrep_cmd} -v '^#[pragma ]*ident' $2 > $4.old 2>/dev/null
74 2>/dev/null`
79 $4.old > $4.$$ 2>/dev/null
87 $3 2>/dev/null`
93 $4.old > $4.$$ 2>/dev/null
99 newcr=`${egrep_cmd} '^# CDDL HEADER START' $3 2>/dev/null`
102 $4.old > $4.$$ 2>/dev/null
132 $4 2>/dev/null`
134 $4 2>/dev/null`
139 $4 > $4.$$ 2>/dev/nul
[all...]

Completed in 161 milliseconds

1234567891011>>