Searched refs:devp (Results 1 - 25 of 318) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dcmdev.h35 #define CMDEV_TARG(devp) (devp)->sd_address.a_target
36 #define CMDEV_LUN(devp) (devp)->sd_address.a_lun
/illumos-gate/usr/src/lib/libpkg/common/
H A Ddevtype.c42 devtype(char *alias, struct pkgdev *devp) argument
45 devp->mntflg = 0;
46 devp->name = alias;
47 devp->dirname = devp->pathname = devp->mount = NULL;
48 devp->fstyp = devp->cdevice = devp->bdevice = devp
[all...]
H A Dpkgmount.c52 pkgmount(struct pkgdev *devp, char *pkg, int part, int nparts, int getvolflg) argument
84 if (getvolflg && (n = getvol(devp->bdevice, NULL,
85 (devp->rdonly ? 0 : DM_FORMFS|DM_WLABEL), prompt))) {
90 devp->bdevice);
97 if (devp->fstyp == NULL) {
99 "%s %s", FSTYP, devp->bdevice);
102 logerr(pkg_gt(ERR_FSTYP), devp->bdevice);
108 logerr(pkg_gt(ERR_FSTYP), devp->bdevice);
115 logerr(pkg_gt(ERR_FSTYP), devp->bdevice);
122 logerr(pkg_gt(ERR_FSTYP), devp
147 pkgumount(struct pkgdev *devp) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/
H A Dpreenlib.c227 struct onedev *devp; local
232 for (devp = rdp->alldevs; devp != NULL; devp = devp->nxtdev) {
233 drvp = &dlist[devp->drvid];
234 rc = (*drvp->choosefunc)(devp->mapsize, devp->unitmap,
273 struct onedev *devp; local
297 for (devp
358 struct onedev *devp; local
374 addunit(struct onedev *devp, uint_t unit) argument
445 struct onedev *devp; local
[all...]
/illumos-gate/usr/src/uts/sun/sys/dada/conf/
H A Ddevice.h96 extern int dcd_probe(struct dcd_device *devp, int (*callback)());
97 extern void dcd_unprobe(struct dcd_device *devp);
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dpkgvolume.c47 pkgvolume(struct pkgdev *devp, char *pkg, int part, int nparts) argument
53 if (devp->cdevice)
68 if (devp->mount == NULL) {
78 if (n = pkgumount(devp)) {
80 devp->bdevice, n);
83 if (n = pkgmount(devp, pkg, part, nparts, 1))
85 (void) sprintf(path, "%s/%s", devp->dirname, pkg);
/illumos-gate/usr/src/stand/lib/fs/common/
H A Ddiskread.c57 devid_t *devp; local
63 devp = filep->fi_devp;
65 err = prom_seek(devp->di_dcookie,
72 if ((err = prom_read(devp->di_dcookie, filep->fi_memp, filep->fi_count,
/illumos-gate/usr/src/uts/sun/io/dada/conf/
H A Ddcd_confsubr.c80 dcd_probe(struct dcd_device *devp, int (*callback)()) argument
82 dcd_hba_tran_t *hba_tran = devp->dcd_address->a_hba_tran;
85 return ((*hba_tran->tran_tgt_probe)(devp, callback));
87 return (dcd_hba_probe(devp, callback));
95 dcd_unprobe(struct dcd_device *devp) argument
97 if (devp->dcd_ident) {
98 kmem_free((caddr_t)devp->dcd_ident, SUN_IDENTSIZE);
99 devp->dcd_ident = (struct dcd_identify *)NULL;
103 #define ROUTE (devp->dcd_address)
106 dcd_hba_probe(struct dcd_device *devp, in argument
[all...]
/illumos-gate/usr/src/uts/sun/sys/dada/
H A Ddada_ctl.h91 extern int dcd_get_bus_addr(struct dcd_device *devp, char *name, int len);
92 extern int dcd_get_name(struct dcd_device *devp, char *name, int len);
/illumos-gate/usr/src/uts/common/sys/scsi/
H A Dscsi_watch.h58 opaque_t scsi_watch_request_submit(struct scsi_device *devp,
61 opaque_t scsi_mmc_watch_request_submit(struct scsi_device *devp,
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dslice.c77 static int get_slice_num(slice_t *devp);
526 slice_t *devp; local
546 devp = desc->p.disk->aliases->devpaths;
547 for (cnt = 0; devp != NULL; devp = devp->next)
569 for (devp = desc->p.disk->aliases->devpaths; devp != NULL;
570 devp = devp
616 get_slice_num(slice_t *devp) argument
639 slice_t *devp; local
727 slice_t *devp; local
[all...]
H A Dinuse_lu.c208 char *devp; local
216 if ((devp = strstr(line, "fsDevice=\"")) == NULL) {
220 devp = devp + 10;
222 if ((ep = strchr(devp, '"')) == NULL) {
242 if ((status = add_use_record(devp, nmp)) != 0) {
/illumos-gate/usr/src/common/fs/
H A Dufsops.c89 * So we can keep a single, global devp file descriptor to
101 devid_t *devp = filep->fi_devp; local
108 filep->fi_blocknum = fsbtodb(&devp->un_fs.di_fs,
109 itod(&devp->un_fs.di_fs, inode));
112 filep->fi_count = devp->un_fs.di_fs.fs_bsize;
123 dp[itoo(&devp->un_fs.di_fs, inode)].di_un.di_icom;
152 devid_t *devp; local
163 devp = filep->fi_devp;
185 fsbtodb(&devp->un_fs.di_fs,
223 devid_t *devp; local
327 devid_t *devp; local
372 devid_t *devp; local
437 devid_t *devp; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_ctl.c41 eibnx_devctl_open(dev_t *devp, int flags, int otyp, cred_t *credp) argument
/illumos-gate/usr/src/uts/i86pc/io/acpi_drv/
H A Dacpi_drv.c62 #define ACPI_DRV_DBG(lev, devp, ...) \
64 if (acpi_drv_debug) acpi_drv_printf((devp), \
74 #define ACPI_DRV_DBG(lev, devp, ...)
240 static int acpi_drv_open(dev_t *devp, int flag, int otyp, cred_t *crp);
253 static void acpi_drv_printf(struct acpi_drv_dev *devp, uint_t lev,
450 acpi_drv_open(dev_t *devp, int flag, int otyp, cred_t *crp) argument
745 acpi_drv_printf(struct acpi_drv_dev *devp, uint_t lev, argument
756 if (devp) {
757 cmn_err(lev, "%s.%s: %s", devp->hid, devp
779 acpi_drv_gen_sysevent(struct acpi_drv_dev *devp, char *ev, uint32_t val) argument
939 struct acpi_drv_dev *devp = &acp->dev; local
972 struct acpi_drv_dev *devp = &bp->dev; local
1065 acpi_drv_dev_present(struct acpi_drv_dev *devp) argument
1305 struct acpi_drv_dev *devp = &bp->dev; local
1457 struct acpi_drv_dev *devp = &acp->dev; local
1691 struct acpi_drv_dev *devp; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_acpi.c72 ivhd_deventry_t *devp; local
111 devp = kmem_alloc(sizeof (ivhd_deventry_t), KM_SLEEP);
112 *devp = deventry;
115 c->ivhdc_first_deventry = devp;
117 c->ivhdc_last_deventry->idev_next = devp;
119 c->ivhdc_last_deventry = devp;
126 devp->idev_Lint1Pass = AMD_IOMMU_REG_GET8(&datsetting8,
129 devp->idev_Lint0Pass = AMD_IOMMU_REG_GET8(&datsetting8,
132 devp->idev_SysMgt = AMD_IOMMU_REG_GET8(&datsetting8,
138 devp
154 ivhd_deventry_t *devp; local
387 free_ivhd_deventry(ivhd_deventry_t *devp) argument
400 ivhd_deventry_t *devp; local
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_dummy.c42 static int dummy_modopen(queue_t *q, dev_t *devp, int flag,
85 dummy_modopen(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument
/illumos-gate/usr/src/stand/lib/fs/ufs/
H A Dufsops.c106 * So we can keep a single, global devp file descriptor to
119 devid_t *devp = filep->fi_devp; local
122 if ((filep->fi_inode = get_icache(devp->di_dcookie, inode)) != NULL)
126 filep->fi_blocknum = fsbtodb(&devp->un_fs.di_fs,
127 itod(&devp->un_fs.di_fs, inode));
130 filep->fi_count = devp->un_fs.di_fs.fs_bsize;
146 dp[itoo(&devp->un_fs.di_fs, inode)].di_un.di_icom;
148 if (set_ricache(devp->di_dcookie, inode, (void *)filep->fi_inode,
177 devid_t *devp; local
186 devp
255 devid_t *devp; local
323 devid_t *devp = filep->fi_devp; local
411 devid_t *devp; local
456 devid_t *devp; local
[all...]
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dservices.h67 void scsi_generic_errmsg(struct scsi_device *devp, char *label,
73 void scsi_vu_errmsg(struct scsi_device *devp, struct scsi_pkt *pktp,
79 void scsi_errmsg(struct scsi_device *devp, struct scsi_pkt *pkt,
/illumos-gate/usr/src/uts/common/io/usb/hubd/
H A Dhubd.c41 static int hubd_open(dev_t *devp, int flags, int otyp, cred_t *credp);
182 hubd_open(dev_t *devp, int flags, int otyp, cred_t *credp) argument
184 dev_info_t *dip = hubd_get_dip(*devp);
186 return (usba_hubdi_open(dip, devp, flags, otyp, credp));
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c120 char **devp = (char **)arg; local
124 *devp = strdup(devpath);
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_devctl.c48 static int px_open(dev_t *devp, int flags, int otyp, cred_t *credp);
76 px_open(dev_t *devp, int flags, int otyp, cred_t *credp) argument
78 px_t *px_p = PX_DEV_TO_SOFTSTATE(*devp);
79 int minor = getminor(*devp);
94 DBG(DBG_OPEN, px_p->px_dip, "devp=%x: flags=%x\n", devp, flags);
107 if (rval = pcie_open(px_p->px_dip, devp, flags, otyp, credp)) {
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c328 vgatext_open(dev_t *devp, int flag, int otyp, cred_t *cred) argument
330 struct vgatext_softc *softc = getsoftc(DEV2INST(*devp));
335 return (gfxp_fb_open(devp, flag, otyp, cred, softc->gfxp_state));
339 vgatext_close(dev_t devp, int flag, int otyp, cred_t *cred) argument
341 struct vgatext_softc *softc = getsoftc(DEV2INST(devp));
346 return (gfxp_fb_close(devp, flag, otyp, cred, softc->gfxp_state));
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_watch.c65 #define FILL_SCSI1_LUN(devp, pkt) \
66 if ((devp->sd_address.a_lun > 0) && \
67 (devp->sd_inq->inq_ansi == 0x1)) { \
69 devp->sd_address.a_lun; \
151 static opaque_t scsi_watch_request_submit_impl(struct scsi_device *devp,
192 #define ROUTE &devp->sd_address
196 struct scsi_device *devp,
202 return (scsi_watch_request_submit_impl(devp, interval, sense_length,
208 struct scsi_device *devp,
214 return (scsi_watch_request_submit_impl(devp, interva
195 scsi_watch_request_submit( struct scsi_device *devp, int interval, int sense_length, int (*callback)(), caddr_t cb_arg) argument
207 scsi_mmc_watch_request_submit( struct scsi_device *devp, int interval, int sense_length, int (*callback)(), caddr_t cb_arg) argument
219 scsi_watch_request_submit_impl( struct scsi_device *devp, int interval, int sense_length, int (*callback)(), caddr_t cb_arg, boolean_t mmc) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c293 ibcma_dev_t *devp; local
312 devp = ibchanp->chan_devp;
313 if (devp == NULL) {
315 "init_qp_attr, devp NULL");
318 qpattr->pkey_index = devp->dev_pkey_ix;
319 qpattr->port_num = devp->dev_port_num;
400 ibcma_dev_t *devp; local
426 devp = ep_ibchanp->chan_devp;
427 sol_cma_add_hca_list(ep_chanp, ntohll(devp->dev_node_guid));
441 devp
881 ibcma_dev_t *devp; local
1096 ibcma_dev_t *devp; local
1158 ibcma_dev_t *devp; local
1250 ibcma_dev_t *devp; local
2166 ibcma_dev_t *devp; local
2430 ibcma_dev_t *devp; local
2463 ibcma_dev_t *devp; local
[all...]

Completed in 226 milliseconds

1234567891011>>