Home
last modified time | relevance | path

Searched refs:rdev (Results 1 – 25 of 44) sorted by relevance

12

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c105 struct rarpdev *rdev; /* which device reply for */ member
154 struct rarpdev *rdev; in main() local
263 for (rdev = rarpdev_head; rdev != NULL; rdev = rdev->next) { in main()
264 init_rarpdev(rdev); in main()
280 for (rdev = rarpdev_head; rdev != NULL; rdev = rdev->next) { in main()
281 if (rdev->dh_rarp != NULL) { in main()
283 (void *(*)(void *))do_rarp, (void *)rdev, in main()
305 struct rarpdev *rdev; in getintf() local
355 if ((rdev = find_device(&ifsp)) == NULL) { in getintf()
356 rdev = calloc(1, sizeof (struct rarpdev)); in getintf()
[all …]
/titanic_41/usr/src/uts/common/avs/ns/solaris/
H A Dnsc_raw.c72 dev_t rdev; /* device number */ member
93 dev_t rdev; in ldi_get_dev_t_from_path() local
106 rdev = vp->v_rdev; in ldi_get_dev_t_from_path()
108 rdev = (dev_t)NULL; in ldi_get_dev_t_from_path()
114 return (rdev); in ldi_get_dev_t_from_path()
290 dev_t rdev; in _raw_open() local
319 if ((rdev = ldi_get_dev_t_from_path(path)) == 0) { in _raw_open()
333 if (rdev == cdi->rdev) { in _raw_open()
355 *cdp = (blind_t)cdi->rdev; in _raw_open()
362 cdi->rdev = rdev; in _raw_open()
[all …]
/titanic_41/usr/src/cmd/avs/sv/
H A Dsvboot.c376 char rdev[CFG_MAX_BUF]; in read_libcfg() local
399 bzero(rdev, CFG_MAX_BUF); in read_libcfg()
401 if (cfg_get_cstring(cfg, key, rdev, sizeof (rdev)) < 0) in read_libcfg()
405 if (stat(rdev, &stb) != 0) { in read_libcfg()
407 rdev, strerror(errno)); in read_libcfg()
413 rdev); in read_libcfg()
419 if (strlen(rdev) >= sizeof (cur_svn->svn_path)) { in read_libcfg()
422 rdev, in read_libcfg()
427 (void) strcpy(cur_svn->svn_path, rdev); in read_libcfg()
H A Dsvadm.c808 char line[1024], rdev[1024], junk[1024]; in read_config_file() local
852 cnt = sscanf(line, "%s %s", rdev, junk); in read_config_file()
863 rdev[sizeof (rdev) - 1] = '\0'; in read_config_file()
867 if (strlen(rdev) >= sizeof (cur_svn->svn_path)) { in read_config_file()
870 lineno, rdev, in read_config_file()
876 (void) strcpy(cur_svn->svn_path, rdev); in read_config_file()
/titanic_41/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c263 char *rdev; member
272 char **lp, *rdev, *bdev; in preen() local
291 rdev = getfullrawname(*lp); in preen()
292 if (rdev == NULL || *rdev == '\0') { in preen()
295 } else if (preen_addev(rdev) != 0) { in preen()
300 if (rdev != NULL) in preen()
301 free(rdev); in preen()
350 ap->rdev = (char *)strdup(name); in preen()
351 if (ap->rdev == NULL) { in preen()
416 preen_releasedev(ap->rdev); in waiter()
[all …]
/titanic_41/usr/src/uts/common/ktli/
H A Dt_kopen.c69 t_kopen(file_t *fp, dev_t rdev, int flags, TIUSER **tiptr, cred_t *cr) in t_kopen() argument
88 KTLILOG(2, "rdev %x, ", rdev); in t_kopen()
95 if (rdev == NODEV) { in t_kopen()
116 vp = makespecvp(rdev, VCHR); in t_kopen()
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_io.h54 extern void _sd_async_flclist(_sd_cctl_t *cclist, dev_t rdev);
56 extern void _sd_async_flcent(_sd_cctl_t *cc_ent, dev_t rdev);
H A Dsd_io.c873 _sd_async_flclist(_sd_cctl_t *cclist, dev_t rdev) in _sd_async_flclist() argument
898 _sd_async_flcent(cc_ent, rdev); in _sd_async_flclist()
918 _sd_async_flcent(cc_ent, rdev); in _sd_async_flclist()
933 bp = sd_alloc_iob(rdev, dblk, toflush, B_WRITE); in _sd_async_flclist()
1069 _sd_async_flcent(_sd_cctl_t *cc_ent, dev_t rdev) in _sd_async_flcent() argument
1094 bp = sd_alloc_iob(rdev, dblk, 1, B_WRITE); in _sd_async_flcent()
1118 bp = sd_alloc_iob(rdev, dblk, 1, B_WRITE); in _sd_async_flcent()
/titanic_41/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c99 char rdev[MAXNAMELEN]; in get_sol_prtnum() local
105 (void) snprintf(rdev, sizeof (rdev), "/devices%s,raw", physpath); in get_sol_prtnum()
107 if ((pos = strrchr(rdev, ':')) == NULL) in get_sol_prtnum()
114 if ((fd = open(rdev, O_RDONLY|O_NDELAY)) >= 0) { in get_sol_prtnum()
132 fd = open(rdev, O_RDONLY); in get_sol_prtnum()
153 if (libfdisk_init(&epp, rdev, NULL, FDISK_READ_DISK) == in get_sol_prtnum()
/titanic_41/usr/src/lib/libdscfg/common/
H A Dcfg_vols.c68 dev_t rdev; member
1021 svc.svc_major = major(statinfo->rdev); in sv_action()
1022 svc.svc_minor = minor(statinfo->rdev); in sv_action()
1196 devlist[ devcount ].rdev = buf.st_rdev; in add_dev_entry()
1230 return (b->rdev - a->rdev); in compare()
1253 key.rdev = buf.st_rdev; in find_devid()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dwebnfs.x127 unsigned rdev; /* special device # */ member
262 wnl_specdata3 rdev; member
/titanic_41/usr/src/lib/pam_modules/timestamp/
H A Dpam_timestamp.c37 dev_t rdev; /* tty device ID */ member
291 info.rdev != tty.st_rdev || info.sid != getsid(getpid()) || in pam_sm_authenticate()
389 info.rdev = tty.st_rdev; in pam_sm_setcred()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_sa.c204 uint64_t uid, gid, mode, rdev, xattr, parent; in zfs_sa_upgrade() local
242 SA_ADD_BULK_ATTR(bulk, count, SA_ZPL_RDEV(zfsvfs), NULL, &rdev, 8); in zfs_sa_upgrade()
280 &rdev, 8); in zfs_sa_upgrade()
H A Dzfs_znode.c702 uint64_t rdev; in zfs_znode_alloc() local
704 &rdev, sizeof (rdev)) == 0); in zfs_znode_alloc()
706 vp->v_rdev = zfs_cmpldev(rdev); in zfs_znode_alloc()
772 uint64_t rdev = 0; in zfs_mknode() local
864 rdev = zfs_expldev(vap->va_rdev); in zfs_mknode()
956 NULL, &rdev, 8); in zfs_mknode()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_nfs.c560 int rdev, blocks, fsid, fileid; in detail_fattr() local
569 rdev = getxdr_long(); in detail_fattr()
580 nlinks, uid, gid, rdev); in detail_fattr()
/titanic_41/usr/src/cmd/avs/nsctl/
H A Dnskernd.c55 static const char *rdev = "/dev/nsctl"; variable
634 fd = open(rdev, O_RDONLY); in get_bsize()
869 nsctl_fd = open(rdev, O_RDONLY); in main()
872 rdev); in main()
/titanic_41/usr/src/uts/common/fs/zev/
H A Dzev_checksums.c816 uint64_t rdev; in zev_create_checksum() local
821 &rdev, sizeof(rdev)); in zev_create_checksum()
825 getmajor(rdev), in zev_create_checksum()
826 getminor(rdev)); in zev_create_checksum()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs3_xdr.c513 na->rdev.specdata1 = IXDR_GET_U_INT32(ptr); in xdr_fattr3()
514 na->rdev.specdata2 = IXDR_GET_U_INT32(ptr); in xdr_fattr3()
531 IXDR_PUT_U_INT32(ptr, na->rdev.specdata1); in xdr_fattr3()
532 IXDR_PUT_U_INT32(ptr, na->rdev.specdata2); in xdr_fattr3()
551 xdr_u_int(xdrs, &na->rdev.specdata1) && in xdr_fattr3()
552 xdr_u_int(xdrs, &na->rdev.specdata2) && in xdr_fattr3()
579 specdata3 rdev; in xdr_fattr3_to_vattr() local
621 rdev.specdata1 = IXDR_GET_U_INT32(ptr); in xdr_fattr3_to_vattr()
622 rdev.specdata2 = IXDR_GET_U_INT32(ptr); in xdr_fattr3_to_vattr()
684 xdr_u_int(xdrs, &rdev.specdata1) && in xdr_fattr3_to_vattr()
[all …]
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dkey_call.c770 dev_t rdev; /* device client handle is using */ member
986 kcp->rdev = stbuf.st_rdev; in set_rdev()
1005 if (kcp->rdev != stbuf.st_rdev) { in check_rdev()
1008 kcp->fd, kcp->rdev, stbuf.st_rdev); in check_rdev()
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dnfs3_xdr.c62 if (!xdr_u_int(xdrs, &objp->rdev.specdata1)) in xdr_b_fattr3()
64 if (!xdr_u_int(xdrs, &objp->rdev.specdata2)) in xdr_b_fattr3()
H A Dnfs_xdr.c88 if (!xdr_u_int(xdrs, &objp->rdev)) { in xdr_b_fattr()
/titanic_41/usr/src/lib/libnsl/yp/
H A Dyp_b.h63 dev_t rdev; /* device id of fd */ member
H A Dyp_bind.c1182 pdomb->rdev = stbuf.st_rdev; in set_rdev()
1200 if (pdomb->rdev != stbuf.st_rdev) { in check_rdev()
1203 pdomb->fd, pdomb->rdev, stbuf.st_rdev); in check_rdev()
/titanic_41/usr/src/cmd/cpio/
H A Dcpio.h255 char rdev[8]; member
/titanic_41/usr/src/lib/libc/port/gen/
H A Dttyname.c156 _ttyname_dev(dev_t rdev, char *buffer, size_t buflen) in _ttyname_dev() argument
160 fsb.st_rdev = rdev; in _ttyname_dev()

12